1
Fork 0

add support for values

This commit is contained in:
Jake Wheat 2013-12-17 13:27:16 +02:00
parent 4330b3d7e0
commit c52334943f
5 changed files with 18 additions and 4 deletions
tools/Language/SQL/SimpleSQL

View file

@ -122,7 +122,7 @@ queries section
> ,"SELECT DISTINCT select_list t"
> --,"VALUES (1, 'one'), (2, 'two'), (3, 'three');" -- values list
> ,"VALUES (1, 'one'), (2, 'two'), (3, 'three');"
> ,"SELECT 1 AS column1, 'one' AS column2\n\
> \UNION ALL\n\
@ -130,8 +130,7 @@ queries section
> \UNION ALL\n\
> \SELECT 3, 'three';"
> --,"SELECT * FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) AS t (num,letter);"
> -- values list
> ,"SELECT * FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) AS t (num,letter);"
> ,"WITH regional_sales AS (\n\
> \ SELECT region, SUM(amount) AS total_sales\n\