Complete the code to define an integer column named 'age'.
CREATE TABLE people (age [1]);The INT data type is used to store whole numbers like age.
Complete the code to define a column 'name' that stores text up to 50 characters.
CREATE TABLE users (name [1]);VARCHAR(50) stores variable-length text up to 50 characters.
Fix the error in the code to define a 'birthdate' column storing dates.
CREATE TABLE employees (birthdate [1]);The DATE type stores calendar dates like birthdate.
Fill both blanks to define a 'price' column with decimal numbers having 7 digits total and 2 after the decimal point.
CREATE TABLE products (price [1]([2], 2));
DECIMAL(7, 2) stores numbers with 7 digits total and 2 decimal places.
Fill all three blanks to create a table 'orders' with columns: 'order_id' as integer, 'customer_name' as text up to 100 chars, and 'order_date' as date.
CREATE TABLE orders (order_id [1], customer_name [2]([3]), order_date DATE);
order_id is INT, customer_name is VARCHAR(100), order_date is DATE.