190
190
#Bug: ap309865 These fail in drizzle: "drizzletest: Result content mismatch"
191
# select t1.* from t1;
192
# select t2.* from t2;
193
# select t1.*, t1.* from t1;
194
# select t1.*, a, t1.* from t1;
193
select t1.*, t1.* from t1;
194
select t1.*, a, t1.* from t1;
196
196
# other fields without alias
197
197
#Bug: ap309865 These fail in drizzle: "drizzletest: Result content mismatch"
198
# select a, t1.* from t1;
199
#select t1.*, a from t1;
200
#select a, t1.*, b from t1;
201
#select (select d from t2 where d > a), t1.* from t1;
202
#select t1.*, (select a from t2 where d > a) from t1;
198
select a, t1.* from t1;
199
select t1.*, a from t1;
200
select a, t1.*, b from t1;
201
select (select d from t2 where d > a), t1.* from t1;
202
select t1.*, (select a from t2 where d > a) from t1;
204
204
# other fields with alias
205
205
#Bug: ap309865 These fail in drizzle: "drizzletest: Result content mismatch"
206
#select a as 'x', t1.* from t1;
207
#select t1.*, a as 'x' from t1;
208
#select a as 'x', t1.*, b as 'x' from t1;
209
#select (select d from t2 where d > a) as 'x', t1.* from t1;
210
#select t1.*, (select a from t2 where d > a) as 'x' from t1;
206
select a as 'x', t1.* from t1;
207
select t1.*, a as 'x' from t1;
208
select a as 'x', t1.*, b as 'x' from t1;
209
select (select d from t2 where d > a) as 'x', t1.* from t1;
210
select t1.*, (select a from t2 where d > a) as 'x' from t1;
212
212
# some more subquery
213
213
#Bug: ap309865 These fail in drizzle: "drizzletest: Result content mismatch"
214
#select (select t2.* from t2) from t1;
215
#select a, (select t2.* from t2) from t1;
216
#select t1.*, (select t2.* from t2) from t1;
214
select (select t2.* from t2) from t1;
215
select a, (select t2.* from t2) from t1;
216
select t1.*, (select t2.* from t2) from t1;
219
219
#Bug: ap309865 These fail in drizzle: "drizzletest: Result content mismatch"
220
#insert into t3 select t1.* from t1;
221
#insert into t3 select t2.*, 1, 2 from t2;
222
#insert into t3.* select t2, d as 'x', d as 'z' from t2;
223
#insert into t3 select t2.*, t2.*, 3 from t2;
220
insert into t3 select t1.* from t1;
221
insert into t3 select t2.*, 1, 2 from t2;
222
insert into t3 select t2.*, d as 'x', d as 'z' from t2;
223
insert into t3 select t2.*, t2.*, 3 from t2;
226
226
#Bug: ap309865 These fail in drizzle: "drizzletest: Result content mismatch"
227
#create table t4 select t1.* from t1;
229
#create table t4 select t2.*, 1, 2 from t2;
231
#create table t4 select t2.*, d as 'x', d as 'z' from t2;
227
create table t4 select t1.* from t1;
229
create table t4 select t2.*, 1, 2 from t2;
231
create table t4 select t2.*, d as 'x', d as 'z' from t2;
235
235
drop table t1,t2,t3;