mariadb/mysql-test/t/insert.test

13 lines
248 B
Text
Raw Normal View History

#
# Test of refering to old values
#
drop table if exists t1;
create table t1 (a int not null);
insert into t1 values (1);
insert into t1 values (a+2);
insert into t1 values (a+3);
insert into t1 values (4),(a+5);
select * from t1;
drop table t1;