[quote]Originally posted by X002548
SELECT m1.memid, m2.memamount, m3.memamount FROM (SELECT DISTINCT memid FROM memories WHERE memname IN ('CFYT', 'FYCt') LEFT JOIN memories m2 ON m1.memid = m2.memid LEFT JOIN memories m3 ON m1.memid = m3.memid WHERE m2.memname = 'FYCt' AND m2.memamount > '3' AND m3.memname = 'CFYT' ????Brett8-)I get an Incorrect sytnax near the keyword 'LEFT' error. I added a closed parens at the end of the select statement, but that didn't help. I'm continuing to ponder what you sent to see if I can figure out what's wrong with the syntax. THANKS!