select created_at as time,id
from table
where created_at between FROM_UNIXTIME(1542196778) and FROM_UNIXTIME(1545893190)
ORDER BY created_at;
det här borde fungera
select created_at as time,id
from table
where created_at between FROM_UNIXTIME(1542196778) and FROM_UNIXTIME(1545893190)
ORDER BY created_at;
det här borde fungera