Hello,
I have a query
SELECT * FROM table where name IN (SELECT name from nametable where year=2007)
however i want to be able to do something like this
SELECT * FROM table where name AND description IN (SELECT name, description from nametable where year=2007)
but i get a syntax error
any ideas?
thanks
I have a query
SELECT * FROM table where name IN (SELECT name from nametable where year=2007)
however i want to be able to do something like this
SELECT * FROM table where name AND description IN (SELECT name, description from nametable where year=2007)
but i get a syntax error
any ideas?
thanks