📜  创建表 oracle - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:34.685000             🧑  作者: Mango

代码示例1
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)
);