I have a postgres 9.3 table with two columns. The first column has times and the second has routes. A route may have multiple times. I want to list all routes with their most minimum times. My table:
Times Routes
07:15:00 Route a
09:15:00 Route a
08:15:00 Route b
11:30:00 Route b
09:15:00 Route c
12:00:00 Route c
What i want output:
Times Routes
07:15:00 Route a
08:15:00 Route b
09:15:00 Route c
Any help would be appriciated and thanks in advance.