Complete the code to select all columns from a table named users.
SELECT [1] FROM users;The asterisk (*) means select all columns from the table.
Complete the code to create a new table named products with an id column.
CREATE TABLE [1] (id SERIAL PRIMARY KEY);The table name should be 'products' as requested.
Fix the error in the query to get the count of rows in the users table.
SELECT COUNT([1]) FROM users;Using COUNT(*) counts all rows regardless of column values.
Fill all three blanks to select name and age from people where age is greater than 30.
SELECT [1], [2] FROM people WHERE age [3] 30;
Select 'name' and 'age' columns and filter rows where age is greater than 30.
Fill all three blanks to insert a new user with name 'Alice' and age 25 into the users table.
INSERT INTO users ([1], [2]) VALUES ([3], 25);
Insert into columns 'name' and 'age' the values 'Alice' and 25 respectively.
