0 0 votes For the following relational tables, Grocery(Grocery_ID, Name, Category,Exp_date,Mfg_date) Sale_Grocery(SaleID,Grocery_ID) Sale(SaleID, Price) What is the total money made by selling “Tomato_Sauce” by December 2017? Choose correct SQL query from below for above question : ) a) SELECT Sum(Sale.Price) FROM Sale INNER JOIN Sale_Grocery ON Sale.SaleID = Sale_Grocery.SaleID WHERE ((Exp_date < '2017-31-12') AND Grocery.Name = ‘Tomato_Sauce’); SELECT Sum(Sale.Price) FROM Sale LEFT JOIN Sale_Grocery ON Sale.SaleID = Sale_Grocery.SaleID WHERE ((Exp_date < '2017-31-12') AND Grocery.Name = ‘Tomato_Sauce’); SELECT Sum(Sale.Price) FROM Sale FULL JOIN Sale_Grocery ON Sale.SaleID = Sale_Grocery.SaleID WHERE ((Exp_date < '2017-31-12') AND Grocery.Name = ‘Tomato_Sauce’); None of these Databases + – heena singh 422 views answer comment Share Follow Print See 1 comment 1 1 comment reply Ashwin Kulkarni commented Dec 4, 2017 reply Follow flag Yes None of these must be correct because join between Sale_Grocery and Grocery is missing. and hence we cannot get item name. 0 0 replyShare Please log in or register to add a comment.