CLC-2311 Remove no-op join from SQL query

https://jira.media.berkeley.edu/jira/browse/CLC-2311

Not the cause of the pathological performance, but pretty embarrassing.