In SQL or MySQL, can we join a table and a subquery?
Is it possible to join a table with the result of a subquery like:
select name from gifts
LEFT OUTER JOIN (select giftID from gifts) ...
If not, can this be done with some methods like creating a temporary table?
PS Can a subquery only appear using IN or NOT IN or EXISTS or NOT EXISTS?
+2
a source to share
4 answers