Complete the code to select all columns from a table named 'users'.
SELECT [1] FROM users;In SQL, * means select all columns from the table.
Complete the code to create a table named 'products' with an integer 'id' column as primary key.
CREATE TABLE products (id [1] PRIMARY KEY);The INT type is used for integer numbers, suitable for an ID column.
Fix the error in the query to get the count of rows in 'orders'.
SELECT COUNT([1]) FROM orders;Using COUNT(*) counts all rows in the table.
Fill both blanks to select the name and price from 'items' where price is greater than 100.
SELECT [1], price FROM items WHERE price [2] 100;
Select the column name and filter rows where price > 100.
Fill all three blanks to insert a new user with id 5, name 'Alice', and email 'alice@example.com' into 'users'.
INSERT INTO users ([1], [2], [3]) VALUES (5, 'Alice', 'alice@example.com');
The columns must match the values: id, name, and email.
