Search before asking
- I had searched in the issues and found no similar issues.
Description
support limit offset, size use default order, Currently, we need to manually specify order by to use it, which is incompatible with mysql syntax
Use case
[42000][1064] errCode = 2, detailMessage = OFFSET requires an ORDER BY clause: LIMIT 1, 10
Related issues
- No response*
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
3条答案
按热度按时间mrzz3bfm1#
Could you give a certain example?
fnatzsnv2#
select * from test limit 10
select * from test limit 1, 10 (default order by courseId)
4sup72z83#
select * from test limit 10
select * from test limit 1, 10 (default order by courseId)
It makes me confused...
And what about a more complex query?