ADO.NET Provider for Google Contacts

Build 24.0.9062

集計関数

COUNT

クエリ条件に一致する行の数を返します。

SELECT COUNT(*) FROM [My Contacts] WHERE Id = 'c7782206569106794554'

COUNT(DISTINCT)

クエリ条件に一致する、null 以外の個別のフィールド値の数を返します。

SELECT COUNT(DISTINCT GivenName) AS DistinctValues FROM [My Contacts] WHERE Id = 'c7782206569106794554'

AVG

カラムの値の平均を返します。

SELECT HomeEmailAddresses, AVG(AnnualRevenue) FROM [My Contacts] WHERE Id = 'c7782206569106794554'  GROUP BY HomeEmailAddresses

MIN

カラムの値の最小値を返します。

SELECT MIN(AnnualRevenue), HomeEmailAddresses FROM [My Contacts] WHERE Id = 'c7782206569106794554' GROUP BY HomeEmailAddresses

MAX

カラムの値の最大値を返します。

SELECT HomeEmailAddresses, MAX(AnnualRevenue) FROM [My Contacts] WHERE Id = 'c7782206569106794554' GROUP BY HomeEmailAddresses

SUM

カラムの値の合計を返します。

SELECT SUM(AnnualRevenue) FROM [My Contacts] WHERE Id = 'c7782206569106794554'

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062