Target… pe lîngă

Bun, ştim că Target, ZF si Business Magazin sunt fraţi, da chiar împart şi aceeaşi programatori?

O mostră de SQL apărut pe sait azi:

select *,(select financialobject_value from financialobject where financialentity_id = 4 and financialobject_title = A.financialobject_title and financialobject_datetime = (select DISTINCT financialobject_datetime from financialobject order by financialobject_datetime DESC LIMIT 1,1) ) as previousvalue from financialobject as A where financialentity_id = 4 and financialobject_datetime = (select DISTINCT financialobject_datetime from financialobject order by financialobject_datetime DESC LIMIT 0,1)

Tare, nu?

Poza mai jos:

AlteDude

Leave a Reply

Your email address will not be published. Required fields are marked *

*