how to create table with date datatype in oracle code example
Example 1: create table oracle
CREATE TABLE ot.persons(
person_id NUMBER GENERATED BY DEFAULT AS IDENTITY,
first_name VARCHAR2(50) NOT NULL,
last_name VARCHAR2(50) NOT NULL,
PRIMARY KEY(person_id)
);
Example 2: date datatype in livesql
create table this_table_has_three_columns (
this_is_a_character_column varchar2(100),
this_is_a_number_column number,
this_is_a_date_column date
);