Mistři v programování na #hovnokod

Keď je databázový expert Rumun.

BEGIN 
 FOR r IN (SELECT * FROM Picture WHERE qr_frame_color IS NULL)
 LOOP
  UPDATE Picture SET qr_frame_color = '#ff0000' WHERE pic_id = r.pic_id
  COMMIT;
 END LOOP;
END;

Anonymous,

Aneb když se mi zdá, že málo vyhledávám.

SELECT village_part_description_id
FROM village_part_description_assignment
WHERE village_part_description_id = 78

Zbyněk Rybička,

Kde se konají schůzky? Nejspíš v hospodě, protože jen tam se člověk směje.

select begin as start, end, ':-)' as title from meetings

Zbyněk Rybička,

Miluji subselecty

select * from items where client_id in (select client_id from clients where client_id = 43820)

Anonymous,

Ked isnull proste nestaci ..

... cast(case when isnull(pz.email, '') <> '' then pz.email else '' end as varchar(500)) as [E-mail] ...

Anonymous,