mysql中 查询 包含括号的字段时提示出错,如何解决啊!
SELECT`test`.`dy`FROMtestWHERE(`test`.`dy`SHORTTIME(200MS)LIMIT0,30MySQL返回:#1064-Youh...
SELECT `test`.`dy`
FROM test
WHERE (`test`.`dy` SHORTTIME(200MS)
LIMIT 0 , 30
MySQL 返回:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"SHORTTIME(200MS)" )
LIMIT 0, 30' at line 1 展开
FROM test
WHERE (`test`.`dy` SHORTTIME(200MS)
LIMIT 0 , 30
MySQL 返回:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"SHORTTIME(200MS)" )
LIMIT 0, 30' at line 1 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询