|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
more then one item
hi what is the query for this:
I have got an id coloum, now I want to select all where id is 12, 15 , 16 and 19 How do I do that |
|
#2
|
|||
|
|||
|
RE: more then one item
select all where id is 12 OR id is 15 OR id is 16 OR id is 19
hope that makes sense. EDIT: 3/21/2004 2:47pm Use honcho's suggestion, much cleaner!! |
|
#3
|
||||
|
||||
|
RE: more then one item
It's probably easier to use: WHERE id IN ('12','15','16','19')
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > more then one item |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|