whos could be much efficient if I use nestted subquery, JOINs Or maybe temp tables .. another question : in subqueries if i use IN Cl
nestted subquery
JOINs
temp tables
Joins are far quicker than the other suggestions you made.
Joins will perform the ON condition for every record whereas doing selects with a WHERE will pull in ALL records first, then perform the filter, thus being much slower.
Joins all the way !!