Hi
This might be a basic question for all of u, but i need help from you guys.
here is my query
select (sum(datediff(dd,DateAdmitted, DateDischarged))/count(*)) AS Avrvg
from table1
where DateDischarged is not null
this gives me the result as 4 in the column Avrvg. but the actual result should be 4.178082191. How can I display the value after the decimal point. Please help.
Thanks In advance.