Matthew Welch
308b1e1791
The project structure has been changed to make it more manageable and modular. A search feature has been added to the comics page.
21 lines
410 B
SQL
21 lines
410 B
SQL
.open "/var/lib/rpiWebApp/database.db"
|
|
|
|
.print "Start database query"
|
|
.print ""
|
|
|
|
.print "Number of publishers:"
|
|
SELECT count(DISTINCT publisher) FROM comics;
|
|
.print ""
|
|
.print "Number of series:"
|
|
SELECT count(DISTINCT series) FROM comics;
|
|
.print ""
|
|
.print "Number of comics:"
|
|
SELECT count(id) FROM comics;
|
|
.print ""
|
|
|
|
.print "Number of movies"
|
|
SELECT count(*) FROM movies;
|
|
|
|
.print ""
|
|
.print "End database query"
|