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.
私はSQLを学んでいて、誰かがクエリの何が問題になっているのか教えてもらえますか?
SELECT * FROM customers AS C Inner Join customers AS CC on CC.City=C.City INNER JOIN customers AS CCC ON CCC.City=C.City
クエリテストにMYSQLで「仮想データベース」を使用しています。
次のようにしてみてください:
SELECT C.* FROM customers C Inner Join customers CC on CC.City=C.City INNER JOIN customers CCC ON CCC.City=C.City