09.06.2013, 10:28
Hm - I've worked with similar grouping before. I think you should wrap up t1.time in MIN().
// Edit. Did not see you had solved it. However if you see this, feel free to post your solution to it. I remember such queries making me shiver all over a few years ago.
// Edit. Did not see you had solved it. However if you see this, feel free to post your solution to it. I remember such queries making me shiver all over a few years ago.