aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/select/optional_as_warn.sql
blob: 1dd720af5dc716a5b077912d132150e9d13cef55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* syntax version 1 */
/* dq can not */
/* dqfile can not */
/* yt can not */
use plato;

pragma AnsiOptionalAs;

select
  key subkey,
  value v,
from Input order by subkey;


select
  key AS subkey,
  value v,
from Input order by subkey;