linux:
1.单引号:将其中的内容都作为了字符串来,忽略所有的命令和特殊字符,类似于一个字符串的用法。
'var ./'
2.双引号:可以包含特殊字符
"here is a 'this is a string' "
3.反引号
mysql
1.单引号
'select * from table where time= '2021-10-28 00:00:00'' #此处必须是单引号
2.反引号
linux:
1.单引号:将其中的内容都作为了字符串来,忽略所有的命令和特殊字符,类似于一个字符串的用法。
'var ./'
2.双引号:可以包含特殊字符
"here is a 'this is a string' "
3.反引号
mysql
1.单引号
'select * from table where time= '2021-10-28 00:00:00'' #此处必须是单引号
2.反引号