I have a table like this
ID Day Start End
----------- ---- ----- -----
1 M 7:30 9:30
2 T 7:30 11:30
3 T 12:30 14:30
And another table like this
Day Start End
---- ----- -----
M 8:30 11:30
T 8:30 10:30
I want to select all records from the first table that is based from the second table.
Example Result :
ID Day Start End
----------- ---- ----- -----
1 M 7:30 9:30
2 T 7:30 11:30
The result is like that because the first 2 records in the 1st table matched the criterion from the second table. The 1st and 2nd row has the same day and the time clashed with the other one.
StartandEnd?