According to the MySQL documentation, it doesn't currently support full 
outer joins and won't do in the immediate future. Does anyone have any 
suggestions for a workaround?

I need to join three tables, only one of which has a common identifier with 
the others, and produce a result which shows not only the matching 
information (eg, where A.first_id = B.first_id and A.second_id = 
C.second_id), but also find any rows in either B or C that don't have a 
matching row in A, as well as any rows in A that don't match either B or C.

Starting with A, I can easily show rows that don't have a corresponding 
match in B or C by means of a left join, but I can't work out how to get 
the reverse information in the same select.

Any ideas? Or am I missing something obvious?

Mark


-- 
"With sufficient thrust, pigs fly just fine". From RFC1925


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to