MySQL中SQL语句之反引号,单引号

在SQL语句中有几点问题,特此记录。
1.表、字段等用什么符号?用反引号或者不用,用单引号会产生错误;
2.字符串需要使用单引号或着双引号。

eg: create table test; ok
create table test;ok
create table 'test'; error

posted @ 2018-04-21 22:11  生活它不如诗  阅读(2440)  评论(0编辑  收藏  举报