This file contains 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
-- Creating Table | |
CREATE TABLE CensusPeople ( | |
id serial primary key, | |
name varchar, | |
parent_id int | |
); | |
-- Inserting Data | |
INSERT INTO CensusPeople (id, name, parent_id) | |
VALUES (1, 'Zaki', 2), |