Hi
i am looking for an sql statement which returns the overlapping date ranges
here is the data in my table
bookingid start finish
1001 2004/10/11 08:00 2004/10/11 17:30
1002 2004/10/11 09:00 2004/10/11 14:30
1003 2004/10/11 10:00 2004/10/11 18:00
1004 2004/10/11 11:00 2004/10/11 12:30
1005 2004/10/11 18:00 2004/10/11 19:30
i only wanted to return
1001
1002
1003
1004
thanks for any help
mrpro.
i am looking for an sql statement which returns the overlapping date ranges
here is the data in my table
bookingid start finish
1001 2004/10/11 08:00 2004/10/11 17:30
1002 2004/10/11 09:00 2004/10/11 14:30
1003 2004/10/11 10:00 2004/10/11 18:00
1004 2004/10/11 11:00 2004/10/11 12:30
1005 2004/10/11 18:00 2004/10/11 19:30
i only wanted to return
1001
1002
1003
1004
thanks for any help
mrpro.