PRODUCTSnorthwindproductsproductidproducts.productnameproductnamesuppliers.companynamecategories.categorynameProduct NameSupplierCategory
SELECT productname as [Product Name],categoryname as Category,suppliers.companyname as Supplier,QuantityperUnit AS [Quantity per Unit]
from ((products
LEFT JOIN suppliers on products.supplierid=suppliers.supplierid)
LEFT JOIN categories on products.categoryid=categories.categoryid)
SELECT productname as [Product Name],categoryname as Category,suppliers.companyname as Supplier,QuantityperUnit AS [Quantity per Unit]
from ((products
LEFT JOIN suppliers on products.supplierid=suppliers.supplierid)
LEFT JOIN categories on products.categoryid=categories.categoryid)
SELECT products.productname,products.supplierid,suppliers.companyname,products.categoryid,categories.categoryname,
products.QuantityperUnit,products.unitprice,products.unitsinstock,products.unitsonorder,products.reorderlevel,products.discontinued
FROM ((products
LEFT JOIN suppliers on products.supplierid=suppliers.supplierid)
LEFT JOIN categories on products.categoryid=categories.categoryid)
SELECT companyname FROM suppliers WHERE supplierid=#supplierid#SELECT categoryname FROM categories WHERE categoryid=#categoryid#