Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

fixed an extra case

Language: Layout:
absolute service time: 0,46 sec 
edit mode |  history
   ticket_id c2s_time c2s_message s2c_time s2c_message time_taken rank
1 12 14.05.2017 12:20:20 first customer post NULL NULL NULL 1
2 12 14.05.2017 12:21:20 additional info added to first post, should not appear 14.05.2017 12:30:20 support first response to customer 00:09:00 2
3 12 14.05.2017 12:40:00 customer second post 14.05.2017 12:55:30 support second reponse to customer 00:15:30 3
4 12 14.05.2017 13:10:20 customer third response NULL NULL NULL 4
5 13 14.05.2017 12:20:20 new customer question 14.05.2017 12:20:30 support responding to new customer question 00:00:10 1
   ticket_id c2s_time c2s_message s2c_time s2c_message time_taken rank
1 12 14.05.2017 12:20:20 first customer post 14.05.2017 12:30:20 support first response to customer 00:10:00 1
2 12 14.05.2017 12:40:00 customer second post 14.05.2017 12:55:30 support second reponse to customer 00:15:30 2
3 12 14.05.2017 13:10:20 customer third response NULL NULL NULL 3
4 13 14.05.2017 12:20:20 new customer question 14.05.2017 12:20:30 support responding to new customer question 00:00:10 1
   ticket_id c2s_time c2s_message s2c_time s2c_message time_taken rank
1 12 14.05.2017 12:20:20 first customer post 14.05.2017 12:30:20 support first response to customer 00:10:00 1
2 12 14.05.2017 12:40:00 customer second post 14.05.2017 12:55:30 support second reponse to customer 00:15:30 2
3 12 14.05.2017 13:10:20 customer third response NULL NULL NULL 3
4 13 14.05.2017 12:20:20 new customer question 14.05.2017 12:20:30 support responding to new customer question 00:00:10 1

    
                
λ
.NET NoSQL database for rapid development