[HERCULES] Fixed minor issues in the sql files from 3ecf877 https://github.com/HerculesWS/Hercules/commit/f62ce0c0bae2c1b674aca5c1d7918ec97d9a7a74
[HERCULES] SQL Re-Organization.
https://github.com/HerculesWS/Hercules/commit/3ecf877ba3f6d92bc323522bd166248464f83f79