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

Fix another issue to do with window-functions in aggregate queries.

FossilOrigin-Name: 6413e38a174044c28fa9b8b937e6c972d144547a246e6f2882e782538300d042
This commit is contained in:
dan
2018-06-12 20:53:38 +00:00
parent 7392569f5e
commit c0bb4459d3
6 changed files with 100 additions and 32 deletions

View File

@ -149,6 +149,14 @@ execsql_test 4.1 {
SELECT max(c), max(b) OVER (ORDER BY b) FROM ttt GROUP BY b;
}
execsql_test 4.2 {
SELECT max(b) OVER (ORDER BY max(c)) FROM ttt GROUP BY b;
}
execsql_test 4.3 {
SELECT abs(max(b) OVER (ORDER BY b)) FROM ttt GROUP BY b;
}
finish_test