correction scripts sql