Where's the documentation for listaggdistinct?

0

Last 2 statements do the same thing, but where's the syntax documentation for "listaggdistinct"?

create temp table t(a int, b int);
insert into t values(1,2),(1,2),(2,2);
select listagg(a), b from t group by b;
select listagg(distinct a), b from t group by b;
select listaggdistinct(a), b from t group by b;
質問済み 1年前235ビュー
1回答
0

Hello meyerovb,

You can find LISTTAG Syntax here, which includes information on the DISTINCT argument.

profile pictureAWS
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ