1) Which keywords are used in SQL? a) SELECT b) FROM c) WHAT d) WHERE e) WHILE f) GRAB 2) Which keywords cannot be used in SQL? a) SELECT b) FROM c) WHAT d) WHERE e) WHILE f) GRAB 3) Which SQL statement is correct? Write an SQL statement to retrieve the FirstName and LastName from the table Customers who live in the city of 'London'. a) SELCT FirstName, LastName FROM Customers WHERE City EQUALS 'London'; b) SELECT FirstName, LastName FROM Customers WHERE City = 'London'; 4) Which SQL statement is correct? Write an SQL statement to retrieve the ProductName and Price of all products that belong to the 'Electronics' category and have a StockQuantity greater than 50. a) SELECT ProductName, Price WHERE Category = 'Electronics' AND StockQuantity > 50; b) SELECT ProductName, Price FROM Products WHERE Category = 'Electronics' OR StockQuantity > 50; c) SELECT ProductName, Price FROM Products WHERE Category = 'Electronics' AND StockQuantity > 50; d) SELECT Product_Name, Price FROM Products WHILE Category = 'Electronics' AND StockQuantity > 50; 5) What do we place after the word SELECT? a) The name of the table b) The name of the column we want to select c) The condition we want to get information based on. 6) What do we place after the word FROM? a) The name of the table b) The name of the column we want to select c) The condition we want to get information based on. 7) What do we place after the word WHERE? a) The name of the table b) The name of the column we want to select c) The condition we want to get information based on.

Tabela

Vizuelni stil

Postavke

Promeni šablon

Vrati automatski sačuvano: ?