1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

Add string_agg(X,Y) as an alias for group_concat(X,Y), for compatibility

with SQLServer and PG.

FossilOrigin-Name: b91c19bf2680f60d7826ab5d9e7902e2dc2a55d847bbea565a6489d47f2cc8f1
This commit is contained in:
drh
2023-10-20 20:19:30 +00:00
parent 71bae9f19f
commit d5e040b6f0
39 changed files with 89 additions and 125 deletions

View File

@ -1930,7 +1930,7 @@ foreach {tn expr restype resval} {
6 { ( SELECT y FROM t4 ORDER BY y DESC ) } text two
7 { ( SELECT sum(x) FROM t4 ) } integer 6
8 { ( SELECT group_concat(y,'') FROM t4 ) } text onetwothree
8 { ( SELECT string_agg(y,'') FROM t4 ) } text onetwothree
9 { ( SELECT max(x) FROM t4 WHERE y LIKE '___') } integer 2
} {