Complete the code to select all columns from the table named 'employees'.
SELECT [1] FROM employees;The asterisk (*) means select all columns from the table.
Complete the code to select only the 'name' column from the 'students' table.
SELECT [1] FROM students;Use the exact column name 'name' to select that column.
Fix the error in the code to select the 'age' column from the 'users' table.
SELECT [1] FROM users;The correct column name is 'age'. Using 'ages' or 'user_age' will cause errors.
Fill both blanks to select the 'id' and 'email' columns from the 'contacts' table.
SELECT [1], [2] FROM contacts;
To select multiple columns, list them separated by commas. Here, 'id' and 'email' are the correct columns.
Fill all three blanks to select 'product_name', 'price', and 'stock' columns from the 'inventory' table.
SELECT [1], [2], [3] FROM inventory;
List the exact column names separated by commas to select multiple columns.