Revert "sql"

This reverts commit b856434227a69b1cdd6b2697d7ab70bdbb22975f.