More quotation issues in sql