Repository navigation
Database
Doug Hagan edited this page Jan 22, 2017
·
11 revisions
- Login to jumpbox.
- Run
aurora/connect.sh. Enter password when prompted (from gdrive). - After login, a mysql client is presented.
> show databases;
> use *<database>*;
> show tables;
> show columns from *<table>*;
> select count(*) from h2conversation where creation > UNIX_TIMESTAMP('20160801') * 1000;
> select count(distinct author) from h2conversation where creation > UNIX_TIMESTAMP('20160801') * 1000;
> select count(distinct author) from h2attendance where timestamp_c > UNIX_TIMESTAMP('20160801') * 1000;