Revert "back sql"

This reverts commit 97ccaac75aeb8c6d24a35049012ccabc454c7c11.