diff --git a/README.md b/README.md index a4ae322..9d8be8d 100644 --- a/README.md +++ b/README.md @@ -123,3 +123,19 @@ To correct in FreeBSD, edit `~/.login_conf` to use UTF-8, for example: me:\ :charset=UTF-8:\ :lang=en_US.UTF-8: + +## Useful sqlite3 queries + +- Which students have already done at least one topic? + + sqlite3 students.db "select distinct student_id from studenttopic" + + +- How many topics have done each student? + + sqlite3 students.db "select student_id, count(topic_id) from studenttopic group by student_id" + + +- What questions have more wrong answers? + + sqlite3 students.db "select count(ref), ref from answers where grade<1.0 group by ref order by count(ref) desc" diff --git a/templates/learn.html b/templates/learn.html index 8596145..5067f54 100644 --- a/templates/learn.html +++ b/templates/learn.html @@ -83,7 +83,7 @@
-
+
diff --git a/templates/login.html b/templates/login.html index c4fc892..6e9501b 100644 --- a/templates/login.html +++ b/templates/login.html @@ -9,11 +9,7 @@ - - - - - + @@ -44,4 +40,3 @@
- -- libgit2 0.21.2