Aggregated SQL table
First stage of SQL aggregation
Merge pull request #56 from alexanderson/master

First stage of SQL aggregation