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

This reverts commit 19dcfb6189bd832255c429facaaaa9b984ce02d2.
minor cleanup of unused method.