General information
Category:
Database DAO/RDO/ODBC/ADO
Title:
SQL Query to join tables
I need to join 2 tables to link the key and reference to the
other fields.
Eg: Table : Customer (customer table with detial particular)
Table : DayTrans (keeps daily transactions)
The DayTrans table has a CustCode and I need to link it to
Customer table by "CustCode" and retrieve the Customer.Address
field. How could I do it by the SELECT statment?
Is it using the JOIN INNER or OUTER? Pls advise, thanks.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only