mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Fix another issue to do with window-functions in aggregate queries.
FossilOrigin-Name: 6413e38a174044c28fa9b8b937e6c972d144547a246e6f2882e782538300d042
This commit is contained in:
@ -231,4 +231,12 @@ do_execsql_test 4.1 {
|
||||
SELECT max(c), max(b) OVER (ORDER BY b) FROM ttt GROUP BY b;
|
||||
} {3 1 4 2 5 3}
|
||||
|
||||
do_execsql_test 4.2 {
|
||||
SELECT max(b) OVER (ORDER BY max(c)) FROM ttt GROUP BY b;
|
||||
} {1 2 3}
|
||||
|
||||
do_execsql_test 4.3 {
|
||||
SELECT abs(max(b) OVER (ORDER BY b)) FROM ttt GROUP BY b;
|
||||
} {1 2 3}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user