0

Giving a negative offset with LIMIT

What would happen if we give a negative offset in using the LIMIT command? Would it return an error as with arrays in Java? Also, what happens if we do not have a row of the given index? (E.g. Table with 3 row, type LIMIT 5,2)

22nd Feb 2017, 1:15 AM
[Insert Name Here]
[Insert Name Here] - avatar
1 ответ
+ 1
For MySQL Negative limit: error 1064 Don't have row: empty result
22nd Feb 2017, 2:11 PM
Nick Kuleba
Nick Kuleba - avatar