SHARE
TWEET

Untitled

a guest Sep 6th, 2011 42 Never
  1. select * from Table where ID = 7 and Flag = 1
  2. UNION
  3. select * from Table where ID = 7
  4. WHERE NOT EXISTS (select * from Table where ID = 7 and Flag = 1)
RAW Paste Data
Top