Creating a Table Syntax
CREATE TABLE “Table Name”
([column1] [data type])
CREATE TABLE employee_num
(firstname varchar (15), lastname varchar (20), age number (3), salary (7,2) \<-- (0000000.00)
CHAR(SIZE)
Fixed-length character string, Size is specified in parenthesis
VARCHAR(SIZE)
Variable-length character string. Max size is specified.
NUMBER(SIZE)
Number value with a max number of column digits
DATE
Date value
NUMBER(size,d)
Number value (Max number places, Max decimal places)
INSERT Data
INSERT into employee
(first, last, age, address, city, state)
VALUES ('Luke', 'Duke', 45, '2130 Boars Nest', 'Hazard Co', 'Georgia');