Compare commits

..

No commits in common. "3d924c1359d783ff089a5c40b7564c0ee5396709" and "92c4d9d557ec7b4a2308c525853b624f9c48dd4a" have entirely different histories.

4 changed files with 5 additions and 15 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
*.db

View file

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

View file

@ -1,9 +0,0 @@
#!/bin/bash
if [[ $1 -eq "0" ]]; then
sqlite3 test.db ".read create_db.sql"
elif [[ $1 -eq "1" ]]; then
sqlite3 test.db ".read insert_data.sql"
elif [[ $1 -eq "9" ]]; then
sqlite3 test.db ".read show_all.sql"
fi

View file

@ -1 +0,0 @@
SELECT * from customers;