Print query time after table
Avoid RAND() in SQL. Fixes #3.