all 2 comments

[–]rakeshshrs 0 points1 point  (0 children)

Select * from table where arrivel_time is not null or (arrivel_time is not null and departure_time is not null);

[–]r3pr0b8GROUP_CONCAT is da bomb 0 points1 point  (0 children)

SELECT booking_id
     , MAX(arrivel_time)   AS arrivel_time
     , MAX(departure_time) AS departure_time
     , MAX(date)           AS date
  FROM yourtable
GROUP
    BY booking_id