Assuming that the tables and columns are correct and there i…

Assuming that the tables and columns are correct and there is valid data, what is the result of the following query? SELECT       sales_person_id       , SUM(sales_totals) FROM sales_records WHERE sales_person_id IN (       SELECT sales_person_id       FROM employee       INNER JOIN departments       ON employee.departmentId = departments.departmentId       AND departments.deparmentName = ‘Agriculture’ ) AND sales_records.quarter = 2 GROUP BY sales_person_id;

Assuming that the table and column names are correct, consid…

Assuming that the table and column names are correct, consider the following trigger: CREATE TRIGGER Product_Insert_Update ON Product AFTER INSERT, UPDATE AS        UPDATE Product        SET ProductCategory = LOWER(ProductCategory)        WHERE ProductID IN (SELECT ProductID FROM Inserted) – the inserted ProductID ;   What is the effect of running the following statements? INSERT INTO Product(ProductID, ProductName, ProductCategory) VALUES (‘1235453′,’Alpha 39′,’Alpha’);   SELECT ProductID, ProductName, ProductCategory FROM Products WHERE ProductID = ‘1235453’;