I have this table from fingerprint sensor and I need to show the result in one row
ID | DateTime | Flag
----------------------------------------
41 | 2017-02-22 08:05:56.000 | I
41 | 2017-02-22 18:11:03.000 | O
Result needed like this:
ID | IN-DateTime | OUT-DateTime
--------------------------------------------------------
41 | 2017-02-22 08:05:56.000 | 2017-02-22 18:11:03.000
Can anyone help me ?