Hi,
If i have the following 2 tables in a database:
Table 1
Cust_ID Contract_ID Facility_ID
10 1 4
10 2 40
10 3 150
10 4 150
10 5 150
Table 2
Cust_ID Facility_ID
10 4
10 40
10 150
How do i join both table and get only the five rows with the contract_id from Table 1 without duplicates?
If i have the following 2 tables in a database:
Table 1
Cust_ID Contract_ID Facility_ID
10 1 4
10 2 40
10 3 150
10 4 150
10 5 150
Table 2
Cust_ID Facility_ID
10 4
10 40
10 150
How do i join both table and get only the five rows with the contract_id from Table 1 without duplicates?