SSIS Components for Trello

Build 21.0.8137

集計関数

COUNT

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

SELECT COUNT(*) FROM Cards WHERE CardId = '614060b2c37da423f30dc7d6'

COUNT(DISTINCT)

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

SELECT COUNT(DISTINCT Name) AS DistinctValues FROM Cards WHERE CardId = '614060b2c37da423f30dc7d6'

AVG

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

SELECT ListId, AVG(AnnualRevenue) FROM Cards WHERE CardId = '614060b2c37da423f30dc7d6'  GROUP BY ListId

MIN

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

SELECT MIN(AnnualRevenue), ListId FROM Cards WHERE CardId = '614060b2c37da423f30dc7d6' GROUP BY ListId

MAX

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

SELECT ListId, MAX(AnnualRevenue) FROM Cards WHERE CardId = '614060b2c37da423f30dc7d6' GROUP BY ListId

SUM

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

SELECT SUM(AnnualRevenue) FROM Cards WHERE CardId = '614060b2c37da423f30dc7d6'

Copyright (c) 2022 CData Software, Inc. - All rights reserved.
Build 21.0.8137