change double->single quotes for string literal in sql query