I want to select from more than one table in one statement, from an Access Database.
Can one do this?
What would the statement look like?
Or do I need to run some form of a loop and change the TableName each time? (I don't like this way very much...)
Thanks
Select from more than one Table at once
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Sourabh Sharma13 pointsPosted Apr 14, 2008, 9:32 PM EDT
Either use JOIN on multiple table
Select field1,field2,......FROM TABLE1 INNER JOIN TABLE2 ON
table1.field1(PK)=table2.field1(FK) and so on
Or u can use select statement if u dnt have any coniditon
· SELECT * FROM
· (SELECT * FROM Customers ORDER BY Id ASC) AS Table1
ORDER BY Id DESC