A little more back ground on my tables...
I have a table called storyboard...
ID int(3) NOT NULL auto_increment,
TITLE text NOT NULL,
SECTION text NOT NULL,
SUBSECTION text NOT NULL,
ASSETNAME varchar(24) NOT NULL default '',
DESCRIPTION text NOT NULL,
SCREENNUMBER int(3) NOT NULL default '0',
ORDERINSET int(3) NOT NULL default '0',
TOTALINSET int(3) NOT NULL default '0',
UNIQUE KEY ID (ID),
UNIQUE KEY screenNumber (SCREENNUMBER)
I have a table called APPROVE...
ID int(3) NOT NULL auto_increment,
UNAME varchar(24) NOT NULL default '',
STORYBOARDID int(3) NOT NULL default '0',
COMMENTS text NOT NULL,
DATE timestamp(14) NOT NULL,
SEVERITY enum('low','medium','high') NOT NULL default 'low',
And when a user reviews a storyboard, a new row gets inserted into "APPROVE". The first join brings back all rows that have been approved. I am looking for all rows in sotryboard that dont have a corresponding row in STORYBOARD.
Does that help?