Fix Issue in SQL Syntax