Revert "SQL Edit Part 2"

This reverts commit b47c40580bf26aa324a22da3a98689e2bfdb05fb.