Hi I'm a newbie to this and I'm attempting to join 3 different tables:
Invoice: CustID, VIN, InvoiceType Customer: CustID, Zip Zipcode: Zip, City
I know I need to use a join clause but I'm not exactly sure how to show the specific City of the associated customer tied to the invoice along with all fields provided in invoice and show a specific InvoiceType. Here is what I currently have and I'm really where to go next or what other options to consider.
SELECT invoiceno, invoice.customerid, vin, invoicetype, city
FROM invoice, customer, zip
WHERE invoicetype = 'sell'
try this