I have a query as I would in the following: I have 3 tables, a Sales
table,another sales_detail and finally table_inventories, the sales
table is related to the sales_detail by the id sales,and the
sales_details is related to inventories by the produ...