I've never worked in MySQL, but take a look at the below.  It should get you
in the right direction.  BTW, it's a 2 step process.  1st, your combining
the User and Docs tables to get a list.  Then you take that list and bounce
it agaist the USER_DOCS table and show anything where SIGNOFF is NULL.

SELECT a.USER_ID, a.USER_NAME, b.DOC_ID, b.DOC_NAME
INTO #TEMPTBL FROM USERS a, DOCS b

SELECT a.USER_ID, a.USER_NAME, a.DOC_ID, a.DOC_NAME, b.SIGNOFF_ID
FROM #TEMPTBL a LEFT JOIN USER_DOCS b ON (a.USER_ID = b.USER_ID) AND (
a.DOC_ID = b.DOC_ID)
WHERE b.SIGNOFF_ID is null

Good Luck!!

- Dae


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300790
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to