
-- DROP TABLE tl_quest_lin;




CREATE TABLE tl_quest_lin (
    object_id number(12) NOT NULL ,
    object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
    object_created_date date DEFAULT SYSDATE NOT NULL
    ,
    description varchar2(80) NULL,
    is_right_quest char(1) NULL,
    section_number number(12)  NULL,
    right_quest_number number(12)  NULL
    );



ALTER TABLE tl_quest_lin ADD    
    CONSTRAINT PK_tl_quest_lin PRIMARY KEY 
    (
        object_id
    ) ;
    
    
    
    CREATE INDEX idx_tl_quest_lin_section_number 
    ON tl_quest_lin (section_number);

    CREATE INDEX idx_tl_quest_lin_right_quest_number 
    ON tl_quest_lin (right_quest_number);
