Changed underlying sql request to match a new MySQL table
Commit for Sales
Revert "Commit for Sales"

This reverts commit 01a360054137665cd1019ae204b03c8266ed5afb.