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 for storing text up to 100 characters.
CREATE TABLE books (title [1](100));
VARCHAR(100) defines a variable-length string column with max 100 characters.
Fix the error in the code to correctly create a table with a primary key.
CREATE TABLE employees (id INT [1] PRIMARY KEY, name VARCHAR(50));
Primary key columns must be NOT NULL to ensure uniqueness.
Fill both blanks to create a table with an integer ID and a date column.
CREATE TABLE orders (order_id [1], order_date [2]);
order_id should be INT and order_date should be DATE type.
Fill all three blanks to create a table with a primary key, a name, and a salary column.
CREATE TABLE staff (staff_id [1] [2] PRIMARY KEY, name [3]);
staff_id is INT NOT NULL PRIMARY KEY, name is VARCHAR(100) for text.
