mysql中" ' "和 " ` "的区别

两者在linux下和windows下不同,linux下不区分,windows下区分。

主要区别就是

单引号( ' )或双引号主要用于 字符串的引用符号

如:

mysql> SELECT 'hello', '"hello"', '""hello""', 'hel''lo', '/'hello';

 

数据库、表、索引、列和别名用的是引用符是反勾号(‘`’)  注:Esc下面的键

posted @ 2018-01-07 13:06  宇的季节  阅读(3633)  评论(0编辑  收藏  举报