【发布时间】:2016-10-13 08:36:12
【问题描述】:
I have this data. Can someone help how can I combine them into one?
id employeeID date timein timeout timein1 timeout1
1 12286 2016-09-10 08:08:00 00:00:00 00:00:00 00:00:00
2 12286 2016-09-10 00:00:00 12:08:32 00:00:00 00:00:00
3 12286 2016-09-10 00:00:00 00:00:00 12:41:54 00:00:00
4 12286 2016-09-10 00:00:00 00:00:00 00:00:00 17:10:05
5 12286 2016-10-10 07:41:05 00:00:00 00:00:00 00:00:00
6 12286 2016-10-10 00:00:00 12:15:00 00:00:00 00:00:00
7 12286 2016-10-10 00:00:00 00:00:00 12:35:15 00:00:00
8 12286 2016-10-10 00:00:00 00:00:00 00:00:00 17:15:15
This is the output that I wanted. Help me. Thanks
id employeeID date timein timeout timein1 timeout1
1 12286 2016-09-10 08:08:00 12:08:32 12:41:54 17:10:05
2 12286 2016-10-10 07:41:05 12:15:00 12:35:15 17:15:15
【问题讨论】:
-
您能告诉我们您已经尝试过什么以及为什么没有成功吗?
-
半夜人来人往。
-
另外,id 在这个结果中似乎是无意义的。
标签: php mysql database multidimensional-array phpmyadmin