college_amy
Regular
- Joined
- Jan 3, 2004
- Messages
- 83
What is the most efficient way to obtain data from multiple tables on one page?
select * from table1 inner join table2
on table1.id=table2.id
inner join table3 on table1.id=table3.id
select table1.field1, table2.field1 from ...
SELECT table1.id as Table1_ID, table2.id as Table2_ID FROM ...
SELECT * FROM (((Login INNER JOIN billing ON Login.LoginID = billing.LoginID) INNER JOIN info ON Login.LoginID = info.LoginID) INNER JOIN description ON Login.LoginID = description.LoginID)