Revert "clean up and clarify SQL queries"

This reverts commit 7204805683e6c049a23342d5ce679c22ee78d031.
can't do backticks an asterisk in SQL apparently