问题描述:
sql直接运行或在2.2环境下运行没有问题,升级3.0后报如下错误
sql代码
SELECT CASE WHEN m.pid = 0 THEN m.id ELSE pid END AS pxh, m.id, ( SELECT r.nickname FROM USER r WHERE r.id = m.rid ) AS rname, m.pid, uid, u.nickname NAME, u.face, m.time, m.content FROM message AS m INNER JOIN `user` AS u ON m.uid = u.id where classify = 1 and aid = 66 ORDER BY pxh,m.time
报错信息
项目:JFinal