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]