MySQL Forums
Forum List  »  PHP

Re: A Kind of Reverse Join
Posted by: Barry Galbraith
Date: June 05, 2012 06:41PM

What you are looking for is called an Exclusion Join.
If you show us your CREATE TABLE statements, and some INSERTs to populate them, we might be able to show you how to write what you want.

So, from a mysql commnad prompt
mysql>SHOW CREATE TABLE Members \G


mysql>SHOW CREATE TABLE Events \G

mysql>SHOW CREATE TABLE mem_event \G
and some Inserts, and we'll be good to go.

BTW.
When you copy/paste the SHOW CREATE TABLE prints, put them between [ code ] and [ /code ] tags, without the spaces I've shown, and it will preserve the formatting and make it easier to read.

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
June 05, 2012 01:35PM
June 06, 2012 01:33PM
Re: A Kind of Reverse Join
June 05, 2012 06:41PM
June 06, 2012 01:31PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.