This commit is contained in:
Saveen Reddy 2017-08-14 18:54:30 -07:00 коммит произвёл GitHub
Родитель e94357df67
Коммит e0e3f45db9
1 изменённых файлов: 11 добавлений и 11 удалений

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

@ -1,14 +1,14 @@
@a = @a =
SELECT * FROM SELECT *
FROM
(VALUES (VALUES
("en-us", "A" ), ("en-us", "A"),
("en-us", "B" ), ("en-us", "B"),
("en-us", "C" ), ("en-us", "C"),
("en-gb", "D" ), ("en-gb", "D"),
("en-gb", "E" ), ("en-gb", "E"),
("en-gb", "F" ) ("en-gb", "F")
) AS ) AS D(Region, Code);
D( Region, Code );
@b = @b =
SELECT SELECT
@ -20,9 +20,9 @@
@c = @c =
SELECT SELECT
Region, Region,
string.Join( ";", CodesArray) AS CodesString string.Join(";", CodesArray) AS CodesString
FROM @b; FROM @b;
OUTPUT @c OUTPUT @c
TO @"/Samples/Output/ARRAY_AGG_output.tsv" TO @"/Samples/Output/ARRAY_AGG_output.tsv"
USING Outputters.Tsv(); USING Outputters.Tsv();