0

I need to query the data base for multiple options for the same field in the where clause.

Example:

select * from table where (name='john' or name='phil' or name='ann')

For one selection I would write:

select * from table where name='john'

How would you do it for the multiple options? (name='john' or name='phil' or name='ann')

Calvin
  • 194
  • 17

0 Answers0