And I have a query similar to the following (but a LOT more complex):
-Invoice_Table- Customer Job_No Sale_Amt 12345678 123456 123.45 87654321 246800 645.23 -Vendor_Table- Customer Job_No Vendor Vendor_Cost 12345678 123456 ABCDEF 10.50 12345678 123456 UVWXYZ 20.92 87654321 246800 LMNOPQ 12.45
This query produces output similar to the following:
SELECT Inv.Customer, Inv.Job_No, Ven.Vendor, Ven.Cendor_Cost, Inv.Sale_Amt FROM Invoice_Table Inv LEFT OUTER JOIN Vendor_Table Ven ON Inv.Customer = Ven.Customer AND Inv.Job_No = Ven.Job_No
Customer Job_No Vendor Vendor_Cost Sale_Amt 12345678 123456 ABCDEF 10.50 123.45 12345678 123456 UVWXYZ 20.92 123.45 87654321 246800 LMNOPQ 12.45 645.23
Customer Job_No Vendor Vendor_Cost Sale_Amt 12345678 123456 ABCDEF 10.50 123.45 12345678 123456 UVWXYZ 20.92 0 (or NULL) 87654321 246800 LMNOPQ 12.45 645.23
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE