summaryrefslogtreecommitdiffstats
path: root/yql/essentials/docs/en/syntax/into_result.md
blob: bb79ec7dae2db8b53c4d27ae5bd2bf237a404212 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# INTO RESULT

Lets you set a custom label for [SELECT](select/index.md), [PROCESS](process.md), or [REDUCE](reduce.md). It can't be used along with [DISCARD](discard.md).

## Examples

```yql
SELECT 1 INTO RESULT foo;
```

```yql
SELECT * FROM
my_table
WHERE value % 2 == 0
INTO RESULT `Result name`;
```