SQL: select * from （select * from t1 order by id desc）AS t2 这样的语句在mysql是工作的
<select id ="queryId" , resultMap="XXX">
select * from (
select * from t1
order by id desc
) AS t2
Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 '' at line 27
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.