Matches are generally more effective because the databases are written with the given operations in mind (and the union operations are performed).
However, performance will vary from database to database, how tables are structured, how much data there is, and how much will be returned by the query.
, , .
:
SELECT body
FROM node_revisions nr
INNER JOIN node n
ON nr.vid = n.vid
WHERE n.nid = 4
, , , node nid = 4, .
:
SELECT body
FROM node_revisions
WHERE vid IN (SELECT vid
FROM node
WHERE nid = 4);
? .