Revert "Port sql-query, sql-drop, and sql-create to new sql classes."

This reverts commit e8634ed845b1bec20d94e93ebabed5ef87d7c74b.