If i have a table named products and its structure looked like this
id
product
price
How can I select only the rows whose id’s are 3,6,10,13,15 ?
These values are dynamic though but will be provided.
Instead of doing select statement where id = '3' and id='6' and so on is there another way of doing this?
Assuming PHP…