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.
という名前の MySQL 列がありますpost/zip_code。これを次のようなSQLクエリに入れようとすると:
post/zip_code
SELECT post/zip_code
1 つの文字列として読み取られませんpost/zip_code。名前を参照するにはどうすればよいですか?
SELECT `post/zip_code`
列名を後ろの目盛りで囲みます。
スキーマオブジェクト名のMySqlドキュメントによると:
識別子の引用文字はバッククォート (「`」) です。
ドキュメンテーション