This commit is contained in:
Saveen Reddy 2017-07-04 14:57:46 -07:00
Родитель 358e3c96ba
Коммит 2277b8bca6
1 изменённых файлов: 16 добавлений и 2 удалений

Просмотреть файл

@ -40,12 +40,26 @@ OUTPUT @output
TO "/output.md"
USING new MarkdownFormat.MarkdownOutputter(outputHeader: true, outputHeaderType: true );
@projectmembers2 =
SELECT *
FROM
( VALUES
( "Website", new SqlMap<string,int?> {
{"Mallory", 1},
{"Bob", 2} ,
{"Alice", 3} ,
}
)
)
AS T(Project, Members);
@output2 =
SELECT
Project,
Members["Mallory"] AS MalloryRole
FROM @projectmembers;
Members["Mallory"] AS MalloryRole1,
Members["Mallory2"] AS MalloryRole2
FROM @projectmembers2;
OUTPUT @output2