如何查询
SL STATUS DATETIME
1 STOP 2012-12-19 13:10:00
2 STOP 2012-12-19 13:12:00
3 STOP 2012-12-19 13:14:00
4 STOP 2012-12-19 13:16:00
5 STOP 2012-12-19 13:18:00
6 STOP 2012-12-19 13:20:00
7 START 2012-12-19 13:22:00
从表 mysql 查询为
SL STATUS DATETIME STOPPAGE
1 STOP 2012-12-19 13:10:00 00:10
2 START 2012-12-19 13:22:00
我必须将日期值之间的差异作为状态为STOP的STOPPAGE