Excel Add-In for Marketo

Build 23.0.8839

集計関数

COUNT

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

SELECT COUNT(*) FROM Leads WHERE Email = '[email protected]'

COUNT(DISTINCT)

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

SELECT COUNT(DISTINCT Id) AS DistinctValues FROM Leads WHERE Email = '[email protected]'

AVG

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

SELECT Email, AVG(AnnualRevenue) FROM Leads WHERE Email = '[email protected]'  GROUP BY Email

MIN

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

SELECT MIN(AnnualRevenue), Email FROM Leads WHERE Email = '[email protected]' GROUP BY Email

MAX

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

SELECT Email, MAX(AnnualRevenue) FROM Leads WHERE Email = '[email protected]' GROUP BY Email

SUM

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

SELECT SUM(AnnualRevenue) FROM Leads WHERE Email = '[email protected]'

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