19 lines
349 B
Plaintext
19 lines
349 B
Plaintext
--disable_query_log
|
|
set @@session.explicit_defaults_for_timestamp=off;
|
|
--enable_query_log
|
|
#owner: link.zt
|
|
#owner group: sql1
|
|
|
|
--disable_warnings
|
|
drop table if exists t1,t2,left_table;
|
|
--enable_warnings
|
|
|
|
create table t1(c0 int primary key, c1 int , c2 int);
|
|
|
|
insert into t1 values(1,10,100);
|
|
|
|
|
|
select c1+10 c3, c2 from t1 where c0=1;
|
|
|
|
drop table t1;
|