6
I have tried unsuccessfully to get a result.
I have the table with the following login and logout information:
|Group |User |EventDate |Event |Camp
------------------------
|Evolution |1012 |2014-07-07 10:36:04 |LOGIN |AUTENTI1
|Evolution |1012 |2014-07-07 10:38:18 |LOGOUT |AUTENTI1
|Evolution |1012 |2014-07-07 10:38:28 |LOGIN |AUTENTI1
|Evolution |1012 |2014-07-07 10:39:21 |LOGOUT |AUTENTI1
|Evolution |1012 |2014-07-07 10:41:46 |LOGIN |EVOL1
|Evolution |1012 |2014-07-07 13:09:53 |LOGOUT |EVOL1
|Evolution |1012 |2014-07-07 13:11:19 |LOGIN |EVOL1
|Evolution |1012 |2014-07-07 13:39:49 |LOGOUT |EVOL1
How do I get Login and Logout on the same line separated by campaign.
|Group |User |Login |LogOut |Camp
--------
|Evolution |1012 |2014-07-07 10:36:04 |2014-07-07 10:38:18 |AUTENTI1
|Evolution |1012 |2014-07-07 10:38:28 |2014-07-07 10:39:21 |AUTENTI1
|Evolution |1012 |2014-07-07 10:41:46 |2014-07-07 13:09:53 |EVOL1
|Evolution |1012 |2014-07-07 13:11:19 |2014-07-07 13:39:49 |EVOL1
What would be "group" and "camp"?
– ptkato
Hello, Group a team to which the user belongs, one can ignore, and Camp, where the user entered a line when he logged in, and another when he logged out. The system inserts a new line whenever there is a user interaction indicating, puts the date/time and if it is login or logout, I cannot change this, but I need to get a listing per campaign and per user of the time of login in a column and logout in another column.
– Vitor Freitas
I have information that’s in the same column in separate rows, that I need to turn into a different row and columns.
– Vitor Freitas