9 lines
216 B
Plaintext
9 lines
216 B
Plaintext
# TestQueryTime
|
|
set @a = now();
|
|
drop table if exists t;
|
|
create table t(a int);
|
|
insert into t values (1), (1), (1), (1), (1);
|
|
select * from t t1 join t t2 on t1.a = t2.a;
|
|
select timestampdiff(second,@a, now()) < 1;
|
|
|