fixed SQL Syntax