| Subject | comparing column with constant value |
|---|---|
| Author | Michal Žeravík |
| Post date | 2004-11-20T10:26:27Z |
Hi there,
I'd like to use this construction :
SELECT userid, username, userid=3 isthis FROM users;
Is it possible to get 1 in column isthis when userid=3 ?
Michal
I'd like to use this construction :
SELECT userid, username, userid=3 isthis FROM users;
Is it possible to get 1 in column isthis when userid=3 ?
Michal