thank kris, the problem i am having is that all the information i find is 
always centered around getting a median using every single row in the table. 
except i have groups of data in the table and want to work out a median for 
each group. the group is identified by 4 different columns (the 5th column is 
what i want to get the median on but for each group not the entire table) and i 
want to produce a resulting table that has 1 row for each group and therefore 
contains the median value for the group instead of the individual numbers that 
it currently has.

e.g. the current table is like this

column1   column2    column3    column 4  column5(i need the mean of this)

value 1   value 2    value 3    value 4     1.2
value 1   value 2    value 3    value 4     1.0
value 1   value 2    value 3    value 4     1.5
value 2   value 3    value 4    value 5     0.2
value 2   value 3    value 4    value 5     0.4
etc...

and i need a query to get the results to show like this

column1   column2    column3    column 4  column5(i need the mean of this)

value 1   value 2    value 3    value 4     1.0
value 2   value 3    value 4    value 5     0.3
etc...

This is driving me crazy and i will be very helpful if anyone can help

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272388
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to