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
DROP SEQUENCE seq1; | |
DROP SEQUENCE seq2; | |
DROP TABLE rdata; | |
CREATE SEQUENCE seq1; | |
CREATE SEQUENCE seq2; | |
CREATE TABLE rdata ( | |
id serial PRIMARY KEY NOT NULL, | |
name VARCHAR(255), | |
balance FLOAT, |
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 SEQUENCE seq1; | |
CREATE SEQUENCE seq2; | |
CREATE TABLE rdata ( | |
id serial PRIMARY KEY NOT NULL, | |
name VARCHAR(255), | |
balance FLOAT, | |
unique_val1 INTEGER, | |
unique_val2 INTEGER, | |
registered BOOLEAN, |
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 TABLE students( | |
id serial PRIMARY KEY, | |
name TEXT, | |
mark INTEGER, | |
age INTEGER, | |
subject TEXT | |
); |
OlderNewer