I don't understant, why MySQL queries completely random, and unsorted rows, when I'm trying to get only 'id' from table. I won't to use 'ORDER by ...'.
SELECT `id` FROM `indicator` LIMIT 20;
This query returns completely random rows, and unsorted.
If I'll add name
, to my query, and code will look like:
SELECT `id`, `name` FROM `indicator` LIMIT 20
I will get right sorted elements, which I need. So, what is that?