I'm not entirely sure how to properly write a select query that will select a value from a table where two particular values are found in the same row.
SELECT value FROM table WHERE id=1 AND field=2
What's the correct syntax?
I'm not entirely sure how to properly write a select query that will select a value from a table where two particular values are found in the same row.
SELECT value FROM table WHERE id=1 AND field=2
What's the correct syntax?
select * from table_name where id=1 and name='any' add quotes for string value only