Dear All,
I am trying to write a select statement with the following situation :
Table1 (Order.dbf) Table2 (Customer.dbf)(For Customer and Agent)
OrderNo C12 IDCust C12
IDCustomer C12 IDName C30
IDAgent C12
I want my sql result to be
OrderNo IDName IDName
OrderNo IDName IDName
where the first column IDName is from IDCustomer and the second column IDName is IDAgent
How do I write the sql statement with the above situation ?
Thanks
Eng An
I am trying to write a select statement with the following situation :
Table1 (Order.dbf) Table2 (Customer.dbf)(For Customer and Agent)
OrderNo C12 IDCust C12
IDCustomer C12 IDName C30
IDAgent C12
I want my sql result to be
OrderNo IDName IDName
OrderNo IDName IDName
where the first column IDName is from IDCustomer and the second column IDName is IDAgent
How do I write the sql statement with the above situation ?
Thanks
Eng An