134
134
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'as 'with_alias', d as 'x', d as 'z' from t2' at line 1
135
135
create table t3 select t2.*, t2.* as 'with_alias', 3 from t2;
136
136
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'as 'with_alias', 3 from t2' at line 1
144
select t1.*, t1.* from t1;
148
select t1.*, a, t1.* from t1;
152
select a, t1.* from t1;
156
select t1.*, a from t1;
160
select a, t1.*, b from t1;
164
select (select d from t2 where d > a), t1.* from t1;
165
(select d from t2 where d > a) a b c
168
select t1.*, (select a from t2 where d > a) from t1;
169
a b c (select a from t2 where d > a)
172
select a as 'x', t1.* from t1;
176
select t1.*, a as 'x' from t1;
180
select a as 'x', t1.*, b as 'x' from t1;
184
select (select d from t2 where d > a) as 'x', t1.* from t1;
188
select t1.*, (select a from t2 where d > a) as 'x' from t1;
192
select (select t2.* from t2) from t1;
193
(select t2.* from t2)
196
select a, (select t2.* from t2) from t1;
197
a (select t2.* from t2)
200
select t1.*, (select t2.* from t2) from t1;
201
a b c (select t2.* from t2)
204
insert into t3 select t1.* from t1;
205
insert into t3 select t2.*, 1, 2 from t2;
206
insert into t3 select t2.*, d as 'x', d as 'z' from t2;
207
insert into t3 select t2.*, t2.*, 3 from t2;
208
create table t4 select t1.* from t1;
210
create table t4 select t2.*, 1, 2 from t2;
212
create table t4 select t2.*, d as 'x', d as 'z' from t2;
214
137
drop table t1,t2,t3;