2015-08-25 89 views

回答

2
SELECT startTime, SUM(duration) as sum 
FROM myTable 
WHERE startTime = endTime 
GROUP BY startTime 
2

這是你想要的嗎?

select sum(duration) 
from table t 
where startTime = endTime; 
相關問題