select * from GPS_LOG t where to_char(t.gps_time,'hh24:mm:ss')>='15:30:00'and to_char(t.gps_time,'hh24:mm:ss')<='17:00:00' order by t.gps_time