Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deciding to get latest address between two tables!

Status
Not open for further replies.

present2002

Programmer
Jul 5, 2002
9
US
Hello Everybody!

I have three tables:-

1. Cust [this table has customer address]

2. Cust_ORD [this table records customer's orders, and has Cust_ord_number as key field]

2. Alt_addr [this table has Latest customer's address, or he is requesting to receive his merchandise at this address, and has Cust_ord_number as key field]

Now I want to pull the address from Alt_addr table, if there is a customer_order_number in it, that matches with Cust_Ord_number that is present in Cust_ord table.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top