diff --git a/README.md b/README.md index a6d7c7c..88996cc 100644 --- a/README.md +++ b/README.md @@ -135,3 +135,4 @@ Write queries that: Submit a file `notes.sql` with the queries that build (`CREATE TABLE`/`INSERT`) and query the database as noted above. +** Initial commit \ No newline at end of file diff --git a/album_year_between_1975_1990.txt b/album_year_between_1975_1990.txt new file mode 100644 index 0000000..81a7f49 --- /dev/null +++ b/album_year_between_1975_1990.txt @@ -0,0 +1,11 @@ +id title release_year +---------- ------------------- ------------ +1 Super Awesome Album 1990 +3 Super Disco Album 1978 +4 Super Hairband Albu 1984 +6 Super Awesome Album 1990 +8 Super Disco Album 1978 +9 Super Hairband Albu 1984 +11 Super Awesome Album 1990 +13 Super Disco Album 1978 +14 Super Hairband Albu 1984 diff --git a/albums_where_release_year_null.txt b/albums_where_release_year_null.txt new file mode 100644 index 0000000..d35087c --- /dev/null +++ b/albums_where_release_year_null.txt @@ -0,0 +1,8 @@ +id title release_year +---------- ----------------- ------------ +2 Super Funky Album +5 Super Dubstep Alb +7 Super Funky Album +10 Super Dubstep Alb +12 Super Funky Album +15 Super Dubstep Alb diff --git a/albums_where_title_start_with_Super_D.txt b/albums_where_title_start_with_Super_D.txt new file mode 100644 index 0000000..28db1d4 --- /dev/null +++ b/albums_where_title_start_with_Super_D.txt @@ -0,0 +1,8 @@ +id title release_year +---------- ----------------- ------------ +3 Super Disco Album 1978 +5 Super Dubstep Alb +8 Super Disco Album 1978 +10 Super Dubstep Alb +13 Super Disco Album 1978 +15 Super Dubstep Alb diff --git a/all_albums.txt b/all_albums.txt new file mode 100644 index 0000000..15b8780 --- /dev/null +++ b/all_albums.txt @@ -0,0 +1,17 @@ +id title release_year +---------- ------------------- ------------ +1 Super Awesome Album 1990 +2 Super Funky Album +3 Super Disco Album 1978 +4 Super Hairband Albu 1984 +5 Super Dubstep Album +6 Super Awesome Album 1990 +7 Super Funky Album +8 Super Disco Album 1978 +9 Super Hairband Albu 1984 +10 Super Dubstep Album +11 Super Awesome Album 1990 +12 Super Funky Album +13 Super Disco Album 1978 +14 Super Hairband Albu 1984 +15 Super Dubstep Album diff --git a/music_tables.sql b/music_tables.sql new file mode 100644 index 0000000..51fb744 --- /dev/null +++ b/music_tables.sql @@ -0,0 +1,5 @@ +PRAGMA foreign_keys=OFF; +BEGIN TRANSACTION; +CREATE TABLE album (id integer primary key autoincrement, title varchar(128) not null, release_year integer); +CREATE TABLE aritist ( id integer primary key autoincrement, name varchar(128) not null); +COMMIT; diff --git a/mydatabase.db b/mydatabase.db new file mode 100644 index 0000000..1ce95ab Binary files /dev/null and b/mydatabase.db differ diff --git a/titles_from_super_funky_album.txt b/titles_from_super_funky_album.txt new file mode 100644 index 0000000..bc0614e --- /dev/null +++ b/titles_from_super_funky_album.txt @@ -0,0 +1,6 @@ +title +------------------- +Super Funky Track 1 +Super Funky Track 2 +Super Funky Track 3 +Super Funky Track 4