String contains a quote '
From SQLZoo
String contains a quote '
schema:scott
If the data contains a single quote it must be escaped.
DELETE FROM t_q
DROP TABLE t_q;
CREATE TABLE t_q (a VARCHAR(8));
INSERT INTO t_q VALUES ('O''Brian');
SELECT * FROM t_q