On 18 Apr 2011, at 4:52pm, Jay A. Kreibich wrote: > SELECT book, chapter, count(verse) AS total_verses > FROM scripture > GROUP BY 1, 2;
Just for clarity, since he's still learning, I might suggest instead SELECT book, chapter, count(verse) AS total_verses FROM scripture GROUP BY book, chapter; Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users