Feb 2, 2010 #1 jslmvl Vendor Jan 26, 2008 268 GB Hi, Can you tell me what is wrong: sql = "Select * From Table1 Left Join (Select Table2.[User] From Table2 Group By Table2.[User]) On Table1.[User]=Table2.[User] " I got "Syntax error in JOIN operation
Hi, Can you tell me what is wrong: sql = "Select * From Table1 Left Join (Select Table2.[User] From Table2 Group By Table2.[User]) On Table1.[User]=Table2.[User] " I got "Syntax error in JOIN operation
Feb 2, 2010 1 #2 Remou Technical User Sep 30, 2002 13,030 BE You must use an alias for the subquery, try: Select * From Table1 Left Join (Select Table2.[User] From Table2 Group By Table2.[User]) As t On Table1.[User]=t.[User] http://lessthandot.com Upvote 0 Downvote
You must use an alias for the subquery, try: Select * From Table1 Left Join (Select Table2.[User] From Table2 Group By Table2.[User]) As t On Table1.[User]=t.[User] http://lessthandot.com
Feb 2, 2010 Thread starter #3 jslmvl Vendor Jan 26, 2008 268 GB Yes you are absolutely right! Upvote 0 Downvote