From e0e3f45db9178297578ae47ca241889c748d4b7c Mon Sep 17 00:00:00 2001 From: Saveen Reddy Date: Mon, 14 Aug 2017 18:54:30 -0700 Subject: [PATCH] Update array_agg.usql --- Examples/Language/ComplexTypes/array_agg.usql | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Examples/Language/ComplexTypes/array_agg.usql b/Examples/Language/ComplexTypes/array_agg.usql index a66d0aa..ce0d2a9 100644 --- a/Examples/Language/ComplexTypes/array_agg.usql +++ b/Examples/Language/ComplexTypes/array_agg.usql @@ -1,14 +1,14 @@ @a = - SELECT * FROM + SELECT * + FROM (VALUES - ("en-us", "A" ), - ("en-us", "B" ), - ("en-us", "C" ), - ("en-gb", "D" ), - ("en-gb", "E" ), - ("en-gb", "F" ) - ) AS - D( Region, Code ); + ("en-us", "A"), + ("en-us", "B"), + ("en-us", "C"), + ("en-gb", "D"), + ("en-gb", "E"), + ("en-gb", "F") + ) AS D(Region, Code); @b = SELECT @@ -20,9 +20,9 @@ @c = SELECT Region, - string.Join( ";", CodesArray) AS CodesString + string.Join(";", CodesArray) AS CodesString FROM @b; OUTPUT @c TO @"/Samples/Output/ARRAY_AGG_output.tsv" - USING Outputters.Tsv(); \ No newline at end of file + USING Outputters.Tsv();