Answers for "oracle sql create table as select"

SQL
9

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)
);
Posted by: Guest on February-07-2020
1

oracle create as select

CREATE TABLE my_table AS
SELECT * FROM another_table t
WHERE 1=2 --delete the where condition if you also want the data
Posted by: Guest on March-15-2021

Code answers related to "oracle sql create table as select"

Code answers related to "SQL"

Browse Popular Code Answers by Language