Complete the code to create a table with a column that stores small integer values.
CREATE TABLE numbers (id [1]);The smallint type stores small integer values in PostgreSQL.
Complete the code to create a table with a column that stores standard integer values.
CREATE TABLE employees (employee_id [1] PRIMARY KEY);The integer type is the standard integer type in PostgreSQL, suitable for most integer values.
Fix the error in the code to create a table with a column that stores very large integer values.
CREATE TABLE big_numbers (big_id [1]);The bigint type stores very large integer values, suitable for numbers larger than the integer range.
Fill both blanks to create a table with two columns: one for small integers and one for big integers.
CREATE TABLE mixed_numbers (small_col [1], big_col [2]);
The smallint type is used for small numbers, and bigint is used for very large numbers.
Fill all three blanks to create a table with columns for smallint, integer, and bigint types.
CREATE TABLE all_int_types (col1 [1], col2 [2], col3 [3]);
This table uses smallint for small numbers, integer for standard numbers, and bigint for very large numbers.