Tuesday, May 4, 2010

Get results by taking user defined starting id

Below query fetched the results as firt row with id 36
SELECT * from users where uid=36 union SELECT * from users where uid!=36

0 comments: