SQL syntax correction.