select created_at as time,id
from table
where created_at between FROM_UNIXTIME(1542196778) and FROM_UNIXTIME(1545893190)
ORDER BY created_at;
cái này sẽ hoạt động
select created_at as time,id
from table
where created_at between FROM_UNIXTIME(1542196778) and FROM_UNIXTIME(1545893190)
ORDER BY created_at;
cái này sẽ hoạt động