By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
lead_id | comment_id | follow_up_time | comment_data | assigned_to |
---|---|---|---|---|
1 | 3 | 2018-08-27 17:18:00 | new task line1 | Smith |
1 | 1 | 2018-08-27 14:18:26 | old task line2 | Smith |
2 | 4 | 2018-09-27 20:18:26 | new task line3 | Drew |
2 | 5 | 2018-08-27 21:18:26 | old task line2 | Drew |
2 | 2 | 2018-08-27 14:18:26 | old task line1 | Drew |
3 | null | null | null | Amit |