Trevatwork
IS-IT--Management
- Nov 30, 2006
- 309
Can someone please tell me why my Time results are not retrieving a time value greater than 3 minutes
SELECT TIMEDIFF(EndTime,StartTime) AS 'Duration',StartTime,EndTime,NumberDialed
FROM blackvox.call_detail_records c
WHERE StartTime BETWEEN '2005-07-01 08:00:00' AND '2005-07-31 23:59:59'
AND NumberDialed LIKE '91%'
AND 'Duration' >='00:03:00'
Results:
00:01:06, '2005-07-28 14:21:03', '2005-07-28 14:22:09', '914162896552'
Thanks
Trevor
SELECT TIMEDIFF(EndTime,StartTime) AS 'Duration',StartTime,EndTime,NumberDialed
FROM blackvox.call_detail_records c
WHERE StartTime BETWEEN '2005-07-01 08:00:00' AND '2005-07-31 23:59:59'
AND NumberDialed LIKE '91%'
AND 'Duration' >='00:03:00'
Results:
00:01:06, '2005-07-28 14:21:03', '2005-07-28 14:22:09', '914162896552'
Thanks
Trevor