| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Ralph Graulich | Date: | July 14 1999 9:14am |
| Subject: | Re: what's equiv to 'NOT IN' | ||
| View as plain text | |||
Hi Hawke, >SHOW COLUMNS FROM GamerFinder WHERE Field NOT >IN('ID','Email','PhoneNum'); You need to get through the logic of SQL, then it's easy. First make a positive statement. Do it like this: [...] WHERE fieldname IN (set-definition) As next step you negate the complete WHERE-clause, like this: [...] WHERE NOT (fieldname IN (set-definition)) For example: SELECT horse,horse_country FROM dams WHERE NOT (horse_country IN("GB")) Regards, Ralph
| Thread | ||
|---|---|---|
| • what's equiv to 'NOT IN' | Hawke Robinson | 14 Jul |
| • Re: what's equiv to 'NOT IN' | Martin Ramsch | 14 Jul |
| • Re: what's equiv to 'NOT IN' | Michael Widenius | 30 Jul |
| • what's equiv to 'NOT IN' | sinisa | 14 Jul |
| • Re: what's equiv to 'NOT IN' | Ralph Graulich | 14 Jul |
