add two failing sql reduction tests
fix syntax error in test
Merge branch 'master' into fix-sql-reductions
columnwise on complex selection
sql: fix reductions on complex selectables
sql: clean head, count, and reductions on by
count first column if no primary-key specified
Merge pull request #626 from mrocklin/fix-sql-reductions

Improve SQL generation for reductions and By on reductions