I get a problem today. Here is my jobs table:
select id,name,is_active from jobs order by `is_active` desc
and result is :
But when I want to get first 10 records I select this:
select id,name,is_active from jobs order by `is_active` desc limit 10 offset 0
And result is
Why id is from 14 to 5, it should be 1 to 10. Who can tell me why?