I have a table as below. Need a Query to select the Last activity of the User. (There should not be multiple listing for same user, Single user single row)
+----------------+---------+--------------------+-----------------+------------+
| Date | BOT_ID | Process | LastModified | Status |
+----------------+---------+--------------------+-----------------+------------+
| 17/09/26 00:00 | User 1 | Interaction record | 9/19/2017 10:50 | In Process |
| 17/09/26 00:00 | User 2 | Single Assessed | 9/26/2017 12:00 | In process |
| 17/09/26 00:00 | User 3 | Interaction record | 9/26/2017 11:35 | Completed |
| 17/09/26 00:00 | User 4 | Metering | 9/26/2017 11:50 | In proce |
| 17/09/26 00:00 | User 1 | Move In | 9/26/2017 11:50 | In process |
| 17/09/26 00:00 | User 4 | Interaction record | 9/26/2017 11:58 | Completed |
| 17/09/26 00:00 | User 5 | Direct Debit | 9/26/2017 11:10 | Completed |
| 17/09/26 00:00 | User 17 | latest | 9/26/2017 0:15 | In Process |
+----------------+---------+--------------------+-----------------+------------+