Third time lucky. Sorry, I think I need more sleep.
id name start finish1 A 07:00 18:592 B 19:00 23:593 B 00:00 06:594 C 07:00 18:595 D 19:00 23:596 D 00:00 06:59
-- Michael Wood <esiotrot(at)gmail(dot)com>