Thread AS oder was? (2 answers)
Opened by Froschpopo at 2007-02-07 16:07

nepos
 2007-02-07 16:14
#35229 #35229
User since
2005-08-17
1420 Artikel
BenutzerIn
[Homepage] [default_avatar]
Code: (dl )
SELECT id, name, IF(status IS NOT NULL, '1','0') FROM users WHERE status IS NOT NULL

Wobei du dir den IF(...)-Part auch gleich sparen kannst, weil da dann eh nur immer ne 1 drinsteht...\n\n

<!--EDIT|nepos|1170857744-->

View full thread AS oder was?