Apostrophe

From SQLZOO
Revision as of 13:12, 12 July 2012 by Marek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to build a statement on a word with an Apostrophe such as WHERE name='Tom's Book'

schema:gisq
SELECT * FROM bbc
WHERE name = 'Cote d''Ivoire'
SELECT * FROM bbc
WHERE name = 'Cote d''Ivoire'