我正在尝试在 PhpMtAdmin 5.6.12,MySQL 客户端版本:5.6.12 中使用不相等的选择,但它似乎不起作用:
我试过这个查询:
SELECT * FROM table WHERE field <> 05.05.2013
SELECT * FROM table WHERE field <> '05.05.2013'
SELECT * FROM table WHERE field <> "05.05.2013"
SELECT * FROM table WHERE field != 05.05.2013
SELECT * FROM table WHERE field != '05.05.2013'
SELECT * FROM table WHERE field != "05.05.2013"
SELECT * FROM table WHERE field not in ('05.05.2013')
...
我收到错误消息:
ERROR: Unclosed quote @ 38
STR: '
SQL: SELECT * FROM `table` WHERE field <> \'05.05.2013\'