I have a select statements that outputs this:
[Total Days]
[991]
[127]
[664]
[889]
These values represent the total days each customer is registered. In this example I used 4 records, so to get the avarage I need to do ((991 + 127 + 664 + 889 ) / 4).
How to I achieve such thing in SQL?