Calling Array Functions on ColdFusion Query Columns

<!--- Get the sum of weights. --->
<cfset flWeightSum = ArraySum( qGirls["weight"] ) />
 
<!--- Get the max weight. --->
<cfset flMaxWeight = ArrayMax( qGirls["weight"] ) />
 
<!--- Get the min weight. --->
<cfset flMinWeight = ArrayMin( qGirls["weight"] ) />
 
<!--- Get the average weight. --->
<cfset flAvgWeight = ArrayAvg( qGirls["weight"] ) />

For Cut-and-Paste