add filter and within group aggregates
This commit is contained in:
parent
59826ecce2
commit
7057241974
5 changed files with 129 additions and 21 deletions
tools/Language/SQL/SimpleSQL
|
@ -331,13 +331,13 @@ target_string
|
|||
|
||||
> ,("sum(a order by a)"
|
||||
> ,AggregateApp [Name "sum"] SQDefault [Iden [Name "a"]]
|
||||
> [SortSpec (Iden [Name "a"]) DirDefault NullsOrderDefault])
|
||||
> [SortSpec (Iden [Name "a"]) DirDefault NullsOrderDefault] Nothing)
|
||||
|
||||
> ,("sum(all a)"
|
||||
> ,AggregateApp [Name "sum"] All [Iden [Name "a"]] [])
|
||||
> ,AggregateApp [Name "sum"] All [Iden [Name "a"]] [] Nothing)
|
||||
|
||||
> ,("count(distinct a)"
|
||||
> ,AggregateApp [Name "count"] Distinct [Iden [Name "a"]] [])
|
||||
> ,AggregateApp [Name "count"] Distinct [Iden [Name "a"]] [] Nothing)
|
||||
> ]
|
||||
|
||||
> windowFunctions :: TestItem
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue