有一个在navicat可以执行的sql
SELECT * FROM user where sex = 1 ORDER BY user_id NOT IN(7,8,9),score DESC;
在用jfinal分页时控制台打印sql变成
SELECT count(*) FROM user where sex = 1 NOT IN(7,8,9),score DESC;
然后执行出错
这是怎么回事?