Excel Add-In for Acumatica

Build 24.0.9062

集計関数

COUNT

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

SELECT COUNT(*) FROM Events WHERE Id = 'Jq74mCczmFXk1tC10GB'

COUNT(DISTINCT)

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

SELECT COUNT(DISTINCT Id) AS DistinctValues FROM Events WHERE Id = 'Jq74mCczmFXk1tC10GB'

AVG

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

SELECT location_displayName, AVG(Reminder) FROM Events WHERE Id = 'Jq74mCczmFXk1tC10GB'  GROUP BY location_displayName

MIN

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

SELECT MIN(Reminder), location_displayName FROM Events WHERE Id = 'Jq74mCczmFXk1tC10GB' GROUP BY location_displayName

MAX

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

SELECT location_displayName, MAX(Reminder) FROM Events WHERE Id = 'Jq74mCczmFXk1tC10GB' GROUP BY location_displayName

SUM

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

SELECT SUM(Reminder) FROM Events WHERE Id = 'Jq74mCczmFXk1tC10GB'

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