From 2277b8bca62068f26ea0a853637c0556ab665f85 Mon Sep 17 00:00:00 2001 From: Saveen Reddy Date: Tue, 4 Jul 2017 14:57:46 -0700 Subject: [PATCH] updated --- .../MarkdownOutputter/WindowFunctions.usql | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Training/Extending_USQL/MVA_MarkDownOutputter/MarkdownOutputter/WindowFunctions.usql b/Training/Extending_USQL/MVA_MarkDownOutputter/MarkdownOutputter/WindowFunctions.usql index 759b557..d29ba79 100644 --- a/Training/Extending_USQL/MVA_MarkDownOutputter/MarkdownOutputter/WindowFunctions.usql +++ b/Training/Extending_USQL/MVA_MarkDownOutputter/MarkdownOutputter/WindowFunctions.usql @@ -40,12 +40,26 @@ OUTPUT @output TO "/output.md" USING new MarkdownFormat.MarkdownOutputter(outputHeader: true, outputHeaderType: true ); +@projectmembers2 = + SELECT * + FROM + ( VALUES + ( "Website", new SqlMap { + {"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