Revert "fix the sql script"

This reverts commit 101e14f5d3aa51c30e01cd74899887027b74f511.