The correct answer is C. make-table.
An action query is a query that changes the data in a database. The four main types of action
512">
The correct answer is C. make-table.
An action query is a query that changes the data in a database. The four main types of action
512">A make-table query is not an action query because it does not change the data in a database. Instead, it creates a new table based on the results of a query.
Here is a brief explanation of each option:
Customers table:sql
INSERT INTO Customers (CustomerID, FirstName, LastName) VALUES (1000, 'John', 'Doe');
Customers table:sql
DELETE FROM Customers WHERE CustomerID = 1000;
sql
UPDATE Customers SET FirstName = 'Jane' WHERE CustomerID = 1000;
Customers table with the Orders table into a new table called CustomerOrders:sql
MERGE INTO CustomerOrders AS CO
USING Customers AS C
ON CO.CustomerID = C.CustomerID
WHEN MATCHED THEN
UPDATE SET CO.FirstName = C.FirstName, CO.LastName = C.LastName
WHEN NOT MATCHED THEN
INSERT (CustomerID, FirstName, LastName) VALUES (C.CustomerID, C.FirstName, C.LastName);