Table looks like this
Play_name Status Date
1 Romeo & juliet Start 23.01.2018 16:30:00
2 Romeo & juliet Break 23.01.2018 17:15:00
3 Romeo & juliet END 23.01.2018 18:30:00
4 Hamlet Start 25.01.2018 15:45:00
5 Hamlet END 25.01.2018 16:40:00
etc
I need to return play_name with column under_hour with yes for all the plays that lasted shorter than 1h ( from Start to End ).
Results should look like that:
Play_name under_hour
1 Romeo & Juliet NO
2 Hamlet Yes
How can i achieve that?