作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我怎样才能逃脱 '
(单引号)在 Presto 中?
这是我尝试使用它的地方select count(*) as count
from uploads
where title not in ('Driver's License')
我尝试了通常的转义: , 'Driver\'s License'
, "Driver's License"
, E'Driver\'s License'
但似乎没有任何效果。 Presto 的文档含糊不清。有人知道吗?
最佳答案
答案,由 a_horse_with_no_name 提供, 是使用另一个 '
.'Driver''s License'
关于sql - 如何在 Presto 中转义单引号?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46331827/
我是一名优秀的程序员,十分优秀!