|
found here.... http://www.sqlteam.com/Forums/topic.asp?TOPIC_ID=22242 Ciao! Michael Schutte rpg400-l-bounces@xxxxxxxxxxxx wrote on 12/15/2006 11:46:51 AM:
SELECT x.Value AS median
FROM Vals x
CROSS JOIN Vals y
GROUP BY x.Value
HAVING SUM(SIGN(x.Value-y.Value)) IN (1,0)
Ciao! Michael Schutte Admin Professional Bob Evans Farms, Inc. 3776 South High Street, Columbus, OH 43207 Phone: 614/492-7419 Fax: 614/409-2017 Visit us on the web! www.bobevans.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.