mysql optimized queries work - now doing postgres
asdf