This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- create | |
CREATE TABLE family ( | |
id INTEGER PRIMARY KEY, | |
name VARCHAR(100) NOT NULL, | |
parent_id INTEGER | |
); | |
-- insert | |
INSERT INTO family values (1, 'Zaki', 2); | |
INSERT INTO family values (2, 'Ilham', null); |