column title
should not have single quotation punctuation('
)
sqlite interpreter could not interpret this below query:
sqlite> .schema movie
CREATE TABLE movie (
id INTEGER PRIMARY KEY, title TEXT, year INTEGER, nth TEXT, for_video BOOLEAN
);
sqlite>
sqlite>
sqlite>
sqlite> SELECT title
...> FROM movie
...> WHERE title NOT LIKE '%\'%'
...> ORDER BY title ASC LIMIT 1;
...>
How to check for single quotation punctuation? for both mysql and sqlite