当前位置:Gxlcms > 数据库问题 > mysql中" ' "和 " ` "的区别

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

时间:2021-07-01 10:21:17 帮助过:18人阅读

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

主要区别就是

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

如:

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

 

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

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

标签:win   sql   引用   索引   数据   post   gpo   class   区分   

人气教程排行