1
Fork 0

add back test for postgres limit syntax, convert tpch queries to ansi fetch first n rows only syntax

This commit is contained in:
Jake Wheat 2013-12-17 20:04:49 +02:00
parent 558d44140a
commit 9b1bbbf307
3 changed files with 15 additions and 25 deletions

17
TODO
View file

@ -3,23 +3,6 @@ next release:
review tests to copy from hssqlppp
group by extensions. Question: some of the syntax can be represented
by app and row ctor, should this be reused or new syntax created
(the standard has special grammar for cube and rollup).
SELECT EmpId, Yr, SUM(Sales) AS Sales
FROM Sales
GROUP BY GROUPING SETS((EmpId, Yr), (EmpId), ())
SELECT EmpId, Yr, SUM(Sales) AS Sales
FROM Sales
GROUP BY GROUPING SETS((EmpId, Yr), (EmpId))
{ (grouping_column[, ...]) | ROLLUP (grouping_column[, ...]) |
CUBE (grouping_column[, ...]) | GROUPING SETS (grouping_set_list) |
( ) | grouping_set, grouping_set_list }
collate? -> postfix operator which binds very tightly:
a < 'foo' collate 'C'
->