sql-words: add some keywords.

This commit is contained in:
Kei Hibino 2017-05-29 16:48:58 +09:00
parent c1d7f33da6
commit b015740ef0

View File

@ -56,12 +56,15 @@ dspace = dString " "
-- | Type represent SQL keywords.
data Keyword = SELECT | ALL | DISTINCT | ON
| GROUP | COUNT | SUM | AVG | MAX | MIN | EVERY | ANY | SOME
| ORDER | BY | ASC | DESC
| CUBE | ROLLUP | GROUPING | SETS | HAVING
| FOR
| ORDER | BY | ASC | DESC | NULLS | LAST
| OFFSET
| LIMIT
| FETCH | FIRST | NEXT | ROW | ROWS | ONLY
| FETCH | FIRST | NEXT | PERCENT
| ROW | ROWS | ONLY | TIES
| UNION | EXCEPT | INTERSECT