Complete the code to select only the 'name' column from the 'employees' table.
SELECT [1] FROM employees;The SELECT statement specifies which columns to retrieve. Here, we want only the 'name' column.
Complete the code to select the 'id' and 'email' columns from the 'users' table.
SELECT id, [1] FROM users;We want to select both 'id' and 'email' columns, so 'email' should be after 'id' separated by a comma.
Fix the error in the code to select the 'product_name' column from the 'products' table.
SELECT [1] FROM products;The semicolon ; marks the end of the SQL statement. It should come after the column name.
Fill both blanks to select 'first_name' and 'last_name' columns from the 'customers' table.
SELECT [1], [2] FROM customers;
We want to select 'first_name' and 'last_name' columns separated by a comma.
Fill all three blanks to select 'title', 'author', and 'year' columns from the 'books' table.
SELECT [1], [2], [3] FROM books;
The query selects 'title', 'author', and 'year' columns in that order, separated by commas.