First commit

This commit is contained in:
caminsha 2022-07-15 21:49:40 +02:00
commit 92c4d9d557
2 changed files with 12 additions and 0 deletions

7
create_db.sql Normal file
View file

@ -0,0 +1,7 @@
CREATE TABLE customers(
ID INT PRIMARY KEY NOT NULL
, NAME VARCHAR(10) NOT NULL
, SURNAME VARCHAR(20) NOT NULL
, CITY VARCHAR(20) NOT NULL
, PLZ INTEGER(4) NOT NULL
)

5
insert_data.sql Normal file
View file

@ -0,0 +1,5 @@
INSERT INTO customers (ID, NAME, SURNAME, CITY, PLZ)
VALUES(1, 'Egger', 'Stefan', 'St. Gallen', '9000')
VALUES(2, 'Müller', 'Sepp', 'St.Gallen', '9000')
VALUES(3, 'Kurt', 'Kurtl', 'St. gallen', '9000')
VALUES(3, 'Kurt', 'Kurtl', 'St.gallen', '9000')