Select a column with a keyword name

前端 未结 6 1039
感动是毒
感动是毒 2020-12-03 15:22

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\')         


        
6条回答
  •  猫巷女王i
    2020-12-03 15:56

    Its a SO old question and solved. Read here more.

    But still you can Try this :

    select your_tablename.column_name from table_name;
    

    Your code :-

    select test.AND from test;
    

提交回复
热议问题