How can I select all records except the first 10 records from a MySQL table?
(I know that limit 10,x selects records from 10th to xth, but what should I use instead of x to select all the other records?)
limit 10,x
Use OFFSET . Then you can skip 10 entries and select the rest to the end.
OFFSET
Then your request should look like
SELECT field FROM table WHERE (condition) LIMIT 18446744073709551615 OFFSET 10;
Itβs better to get used to LIMIT because you can use it also for pagination.
Source: https://habr.com/ru/post/1484058/More articles:Timing errors in our game, currentTimeMillis freezing? - androidDrupal 7 - update user using PHP Curl - jsonMVC3 editor template does not generate client-side validation - c #Dynamically changing column name in PDO statement - phpSubclass of `type` and` tuple` - pythonUnhandled exception type in JAVA - javaWhy do I have so many CLASS files in the bin folder? - javaAndroid Google Maps V2 - OnInfoWindowClick on multiple markers - androidHow to link list to DataGrid using MVVM at runtime - c #if you can? in Ruby on Rails - ruby ββ| fooobar.comAll Articles