Can you UNION 2 queries and use the result to JOIN with another table?

(SELECT tableA.name, tableC.company FROM tableA)
UNION
(SELECT tableB.name FROM tableB)
LEFT JOIN tableC ON tableA.name = tableC.name;

This doesn't work.  But I don't know if it isn't working because I have the
wrong syntax or if it's simply not possible with SQL/MySQL.

thnx,
Chris



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to