SQL is this equivalent to a LEFT JoIn?
Posted
by Jim
on Stack Overflow
See other posts from Stack Overflow
or by Jim
Published on 2010-03-08T20:02:35Z
Indexed on
2010/03/08
20:21 UTC
Read the original article
Hit count: 171
Is this equivalent to a LEFT JOIN
?
SELECT DISTINCT a.name, b.name
FROM tableA a,
(SELECT DISTINCT name FROM tableB) as b
It seems as though there is no link between the two tables.
Is there an easier / more efficient way to write this?
© Stack Overflow or respective owner