下面这个SQL语句,写的虽然不合理,但它的确不应该报语法错误吧。
SELECT
MIN(opertime) opertime
FROM
(
SELECT MIN(c.billdate) opertime FROM ipb_itemlist c
WHERE c.inid = ‘’
)
报错信息:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 7 column 3 near “”
时间: 0.001s