2020-12-31 08:06:12 +00:00
|
|
|
drop event if exists gh_ost_test;
|
|
|
|
|
2020-12-31 07:53:37 +00:00
|
|
|
drop table if exists gh_ost_test;
|
|
|
|
create table gh_ost_test (
|
|
|
|
id int auto_increment,
|
|
|
|
i int not null,
|
|
|
|
primary key(id)
|
|
|
|
) auto_increment=1;
|
|
|
|
|
|
|
|
insert into gh_ost_test values (NULL, 11);
|
|
|
|
insert into gh_ost_test values (NULL, 13);
|
|
|
|
insert into gh_ost_test values (NULL, 17);
|
|
|
|
insert into gh_ost_test values (NULL, 23);
|
|
|
|
insert into gh_ost_test values (NULL, 29);
|
|
|
|
insert into gh_ost_test values (NULL, 31);
|
|
|
|
insert into gh_ost_test values (NULL, 37);
|
2020-12-31 09:06:53 +00:00
|
|
|
delete from gh_ost_test where id>=5;
|