Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 11 additions & 0 deletions album_year_between_1975_1990.txt
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions albums_where_release_year_null.txt
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions albums_where_title_start_with_Super_D.txt
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions all_albums.txt
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions music_tables.sql
Original file line number Diff line number Diff line change
@@ -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;
Binary file added mydatabase.db
Binary file not shown.
6 changes: 6 additions & 0 deletions titles_from_super_funky_album.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
title
-------------------
Super Funky Track 1
Super Funky Track 2
Super Funky Track 3
Super Funky Track 4