Sep 17, 2002 #1 Awuah Programmer May 22, 2002 7 US what is the syntax for joining 3 tables on a primary key that is present in all three tables. Thank you.
what is the syntax for joining 3 tables on a primary key that is present in all three tables. Thank you.
Sep 17, 2002 #2 MeanGreen IS-IT--Management Sep 12, 2002 672 US This is a basic Equi-Join: Select * from Table1 join table2 on table1.key = table2.key join table3 on table1.key = table3.key If you want all rows from one of the tables then you want to do an outer join. Good Luck! Upvote 0 Downvote
This is a basic Equi-Join: Select * from Table1 join table2 on table1.key = table2.key join table3 on table1.key = table3.key If you want all rows from one of the tables then you want to do an outer join. Good Luck!
Sep 17, 2002 Thread starter #3 Awuah Programmer May 22, 2002 7 US Thank you MeanGreen. I appreciate your help. It worked. Upvote 0 Downvote