rpiwebapp-public/test.sql
Matthew Welch 308b1e1791 Re-structured code and added search feature for comics.
The project structure has been changed to make it more manageable and modular. A search feature has been added to the comics page.
2019-07-23 15:50:25 -07:00

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"