Data sample :
Date;User
"2016-04-01 09:31:05";"john.doe@gmail.com
"2016-04-01 09:31:06";"jessica.doe@hotmail.com
"2016-04-01 19:31:06";"jessica.doe@hotmail.com
"2016-04-02 11:31:05";"john.doe@gmail.com
"2016-04-02 12:31:06";"jessica.doe@hotmail.com
"2016-04-03 13:31:05";"john.doe@gmail.com
"2016-04-03 14:31:06";"jessica.doe@hotmail.com
"2016-04-04 15:31:05";"john.doe@gmail.com
"2016-04-04 16:31:06";"jessica.doe@hotmail.com
"2016-04-04 18:31:05";"john.doe@gmail.com
The desired output :
Nb users|01/04/2016|02/04/2016|03/04/2016|04/04/2016
1 time |1 |1 |1 |1
2 times |1 |0 |0 |1
3 times |0 |0 |0 |0
↧