CData BizTalk Adapter for FedEx 2019 - Online Help
Questions / Feedback?

Aggregate Functions

CData BizTalk Adapter for FedEx 2019 - Build 19.0.7354

COUNT

Returns the number of rows matching the query criteria.

SELECT COUNT(*) FROM Senders WHERE SenderID = '25'

COUNT(DISTINCT)

Returns the number of distinct, non-null field values matching the query criteria.

SELECT COUNT(DISTINCT FirstName) AS DistinctValues FROM Senders WHERE SenderID = '25'

AVG

Returns the average of the column values.

SELECT Phone, AVG(AnnualRevenue) FROM Senders WHERE SenderID = '25'  GROUP BY Phone

MIN

Returns the minimum column value.

SELECT MIN(AnnualRevenue), Phone FROM Senders WHERE SenderID = '25' GROUP BY Phone

MAX

Returns the maximum column value.

SELECT Phone, MAX(AnnualRevenue) FROM Senders WHERE SenderID = '25' GROUP BY Phone

SUM

Returns the total sum of the column values.

SELECT SUM(AnnualRevenue) FROM Senders WHERE SenderID = '25'

 
 
Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 19.0.7354.0