我在phpmyadmin中遇到mysql代码的问题。我想运行这段代码:
SELECT *
FROM table
WHERE ID
IN (
38b5f138683c57ccb1d5beec62284d8f, 08dcd7bf2fb5dc6d73d114c84c252393, bda3a36a9392a91f9142e0442e24bf24, 38963779bc562e388cbf702d6f0189cc, 98989c3c20be63f856d48a3f0584b85e
)
但我收到了此错误:#1054 - Unknown column '38b5f138683c57ccb1d5beec62284d8f' in 'where clause'
任何人都可以指出我正确的方向可能导致此错误的原因吗?
答案 0 :(得分:0)
试
SELECT * FROM table WHERE ID IN ( "38b5f138683c57ccb1d5beec62284d8f", "08dcd7bf2fb5dc6d73d114c84c252393", "bda3a36a9392a91f9142e0442e24bf24", "38963779bc562e388cbf702d6f0189cc", "98989c3c20be63f856d48a3f0584b85e" )