Cmdlets for AlloyDB

Build 23.0.8839

GroupBy Parameter (Select-AlloyDB Cmdlet)

結果セットがグループ化されるカラムのカンマ区切りリスト。

Syntax

Select-AlloyDB -GroupBy string

Remarks

値を集計してsummary 関数を実行するための、カラムのカンマ区切りリストです。SQL ステートメントに使用するのと同じ構文を使って、Columns パラメータにsummary 関数を指定します。次に例を示します。

Select-AlloyDB -Connection $conn -Table "alloydb"."schema01".Orders -Columns @("ShipCity","SUM(Freight)") -GroupBy "ShipCity" -Where "ShipCountry = 'USA'"

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