hi iam raam
select count(*) as [No of Callers] from
(select empcode,empname ,count(*) as [No of Calls],convert(varcha r(10),details.L ogintime ,101) as Date
from details join employee on employee.empid = details.empcode
where employee.Permis sion <> '1' and details.Loginti me between '06/10/2006' and '06/11/2006'
group by empcode,empname , convert(varchar (10),details.Lo gintime ,101))e
i have this query to get count of callers.But i want date wise count of callers from table name status details.
just like this
date No of callers
06/07/2006 45
06/07/2007 50
can any one help me
thanks
select count(*) as [No of Callers] from
(select empcode,empname ,count(*) as [No of Calls],convert(varcha r(10),details.L ogintime ,101) as Date
from details join employee on employee.empid = details.empcode
where employee.Permis sion <> '1' and details.Loginti me between '06/10/2006' and '06/11/2006'
group by empcode,empname , convert(varchar (10),details.Lo gintime ,101))e
i have this query to get count of callers.But i want date wise count of callers from table name status details.
just like this
date No of callers
06/07/2006 45
06/07/2007 50
can any one help me
thanks
Comment