I\'m working on a query like this:
SELECT * FROM requests where (id,langid) IN (SELECT nid,langid FROM node)
My questions are
Standard and portable SQL would be EXISTS.. and is semantically the same IN
SELECT *
FROM requests R
WHERE
EXISTS (SELECT *
FROM node n
WHERE r.id = n.nid AND r.langid = n.langid
)
The multi-column IN isn't portable to SQL Server or Sybase at least.
Other notes: