I have a table named \'test\'
It contains a column named \'AND\'
For that I use the following queries
insert into test values (\'a\',\'abc\')
use backtick to escape keyword instead. just like how you created your table. using double quote or single quote will parse it into string that is why you're getting two records of and
backtick
string
and
select `AND` from test;