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 insert a new record into the 'products' table with columns 'name' and 'price'.
INSERT INTO products (name, price) VALUES ([1]);When inserting multiple values, separate them by commas inside the parentheses.
Fix the error in the SQL query to update the 'age' of a user with id 5.
UPDATE users SET age = [1] WHERE id = 5;
Numbers in SQL should not be in quotes when updating numeric columns.
Fill both blanks to create a NoSQL document filter that finds users older than 25.
{ 'age': { [1]: [2] } }In NoSQL (like MongoDB), $gt means 'greater than'.
Fill all three blanks to create a SQL query that selects users with age greater than 30 and orders by name ascending.
SELECT [1] FROM users WHERE age [2] 30 ORDER BY [3] ASC;
Select all columns, filter age greater than 30, and order by name ascending.