Complete the code to create a table named 'students'.
CREATE TABLE [1] (id INT, name VARCHAR(50));
The table name should be 'students' as specified.
Complete the code to define a column 'age' as an integer.
CREATE TABLE people (name VARCHAR(100), age [1]);
The 'age' column should be an integer type, so 'INT' is correct.
Fix the error in the column definition for 'email' to allow text up to 255 characters.
CREATE TABLE contacts (email [1](255));
'VARCHAR(255)' is the correct way to define a variable-length string up to 255 characters.
Fill both blanks to create a table 'orders' with a primary key 'order_id' that auto-increments.
CREATE TABLE orders (order_id [1] [2] PRIMARY KEY, order_date DATE);
The 'order_id' should be an integer and auto-increment to uniquely identify each order.
Fill all three blanks to create a table 'employees' with 'id' as primary key, 'name' as text, and 'salary' as decimal with 10 digits and 2 decimals.
CREATE TABLE employees (id [1] [2], name [3], salary DECIMAL(10,2));
'id' should be an integer and primary key, 'name' should be a variable-length string up to 100 characters.