new directory for sql files
This commit is contained in:
parent
655dbea39b
commit
c748758b9e
4 changed files with 3 additions and 3 deletions
7
sql/create_db.sql
Normal file
7
sql/create_db.sql
Normal 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
|
||||
)
|
4
sql/insert_data.sql
Normal file
4
sql/insert_data.sql
Normal file
|
@ -0,0 +1,4 @@
|
|||
INSERT INTO customers VALUES(1, 'Egger', 'Stefan', 'St. Gallen', '9000');
|
||||
INSERT INTO customers VALUES(2, 'Müller', 'Sepp', 'St.Gallen', '9000');
|
||||
INSERT INTO customers VALUES(3, 'Kurt', 'Kurtl', 'St. gallen', '9000');
|
||||
INSERT INTO customers VALUES(4, 'Kurt', 'Kurtl', 'St.gallen', '9000');
|
1
sql/show_all.sql
Normal file
1
sql/show_all.sql
Normal file
|
@ -0,0 +1 @@
|
|||
SELECT * from customers;
|
Loading…
Add table
Add a link
Reference in a new issue