1 個回答
- 最新
- 最多得票
- 最多評論
0
The single and double quote are used for different things.
-
Single quotes are used to denote string literals. For example, if you want to search for a specific string value in a column, you would enclose the string in single quotes, like 'search string'.
-
Double quotes are used to escape reserved keywords that are being used as column or table names.
In your first query you are looking for a literal value - Science Fiction. So you should use single quotes, not double quotes.
已回答 2 個月前
相關內容
- AWS 官方已更新 1 年前
- AWS 官方已更新 3 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 年前
Thank you! My issue is the query is being generated by an LLM and I have been trying to "prompt it to use single quotes.