.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"