How can I select all records except first 10 records from MySQL table?
(I know that limit 10,x
selects records from the 10th to x-th, but what should I use instead of x to select all remaining records?)
Use OFFSET
. Then you can skip 10 records and select the remaining ones until the end.
Then your query should look like
SELECT field FROM table WHERE (condition) LIMIT 18446744073709551615 OFFSET 10;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With