Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有什么区别
SELECT * FROM `this`
和
SELECT * FROM this
?
前者逃脱了,后者没有。考虑:
SELECT * FROM `FROM`
在反引号是转义的系统上,它将从一个名为的表中进行选择FROM(而没有反引号,这是一个语法错误)。一些系统使用方括号代替,例如,SELECT * FROM [FROM].
FROM
SELECT * FROM [FROM]