Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculating Median

Status
Not open for further replies.

dpgirl

Technical User
Apr 5, 2005
45
US
Not sure if this has been posted already, but how do you create a function or query to calculate the median of a set of values?
 
SQL has the Median() function. Look it up in Books Online for further details on its usage.



Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top