Reputation: 302
(when selecting data from tables in MYSQL database) something like this:
WHERE some_column = some_value, other_column = other_value
If not, Is there other simple method rather than going into "if loops"
Upvotes: 0
Views: 143
Reputation: 3536
Yes, just separate them with AND
s:
WHERE some_column=some_value AND other_column=other_value
Upvotes: 7