Query Set #0f – creating the MORT table

To create the MORT table, use the following code:

sqlite> CREATE TABLE MORT(
Pid VARCHAR(30) NOT NULL,
Mortality_date DATE NOT NULL,
PRIMARY KEY (Pid)
);

sqlite> INSERT INTO MORT (Pid, Mortality_date)
VALUES ('1', '2016-05-15');

sqlite> INSERT INTO MORT (Pid, Mortality_date)
VALUES ('4', '2016-06-08');
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset