I have data in column now i want to separat it status wise one col Status(1)IN and Col(2)Out
|
EmpID
|
DateTime | StatusINOUT |
| 1 | 2018-05-26 08:44 | 1 |
| 1 | 2018-05-26 08:44 | 2 |
| 2 | 2018-05-28 08:44 | 1 |
| 2 | 2018-05-28 12:44 | 2 |
| 1 | 2018-05-21 08:44 | 1 |
| 1 | 2018-05-21 10:44 | 2 |
| 2 | 2018-05-23 08:44 | 1 |
| 2 | 2018-05-23 08:44 | 2 |
Now i want to display Status wise INTIME(1) and OUTTIME(2) it as below
| Empid | INTIME(1) | OUTIME(2) |
| 1 | 2018-05-26 08:44 | 2018-05-26 08:44 |
| 2 | 2018-05-28 08:44 | 2018-05-28 12:44 |
| 1 | 2018-05-21 08:44 | 2018-05-21 10:44 |
| 2 | 2018-05-23 08:44 | 2018-05-23 08:44 |


Suraj KumarRank #353 · 7.1K reputationPosted Dec 17, 2018, 5:56 PM EST
Sreekanth ReddyRank #726 · 3.2K reputationPosted Dec 16, 2018, 11:11 PM EST
Akhter HUssainRank #1,522 · 1K reputationPosted Dec 17, 2018, 12:12 AM EST
Akhter HUssainRank #1,522 · 1K reputationPosted Dec 17, 2018, 12:32 AM EST
Suraj KumarRank #353 · 7.1K reputationPosted Dec 17, 2018, 2:36 AM EST
Akhter HUssainRank #1,522 · 1K reputationPosted Dec 17, 2018, 5:36 AM EST
Suraj KumarRank #353 · 7.1K reputationPosted Dec 17, 2018, 6:15 AM EST
Akhter HUssainRank #1,522 · 1K reputationPosted Dec 17, 2018, 2:59 PM EST
Akhter HUssainRank #1,522 · 1K reputationPosted Dec 16, 2018, 11:42 PM EST
Akhter HUssainRank #1,522 · 1K reputationPosted Dec 17, 2018, 6:20 PM EST
Akhter HUssainRank #1,522 · 1K reputationPosted Dec 17, 2018, 6:27 PM EST
Suraj KumarRank #353 · 7.1K reputationPosted Dec 17, 2018, 6:43 PM EST
Suraj KumarRank #353 · 7.1K reputationPosted Dec 18, 2018, 1:00 AM EST
Akhter HUssainRank #1,522 · 1K reputationPosted Dec 18, 2018, 1:33 AM EST