I\'m working on a query like this:
SELECT * FROM requests where (id,langid) IN (SELECT nid,langid FROM node)
My questions are
Your query would work in Postgres. Best I'm aware, not in MySQL.
The portable version for DBs that would support it is:
SELECT * FROM requests where ROW(id,langid) IN (SELECT nid,langid FROM node)
(row is a reserved keyword since SQL:1999.)
A more portable version will be to use exists() as suggested in the other answer.