Revert "sql"

This reverts commit d3c7d168d6431a45aab774b75d92817c4f5028a1.