How can I escape a '
(single quote) in Presto?
This is where I am trying to use it
select count(*) as count
from uploads
where title not in ('Driver's License')
I've tried the usual escapes: , 'Driver\'s License'
, "Driver's License"
, E'Driver\'s License'
but nothing seems to work. Presto's docs are vague. Anyone know?
The answer, provided by a_horse_with_no_name, is to use another '
.
'Driver''s License'