I'm assuming this is something simple but cant find any information about it. I need to basically get something from the database where it equals 3 or more parameters
so for example:
SELECT car FROM cars WHERE type='whatever' AND maker='whatever' AND model='whatever'
I had my select set up the same way but with my real info and was trying to use more then one AND till I realized that a query like that errors out.
so I tried this:
SELECT car FROM cars WHERE type='whatever', maker='whatever', model='whatever'
this errors out as well
so how exactly do I go about telling it to select some where its equal to these 3 things?
any help would be appreciated



Reply With Quote


Bookmarks