I have MySQL table like this,
id time day
1 1:55 Mon
2 2:00 Sun
3 1:00 Mon
4 3:00 Tue
5 2:30 Sun
I can filter all result using this query
SELECT * FROM time_slots
but how to filter result like this output
Sun
-----
2:00 2:30
Mon
-------
1:00 1:55
Tue
------
3:00
is this possible to get result using only MySQL or should I use PHP MySQL both?