11 lines
494 B
Plaintext
11 lines
494 B
Plaintext
select rongxuan()
|
|
select table()
|
|
select current_time()
|
|
select database()
|
|
#update rongxuan.t1 vt1 set c2=c1+1 where c1 > 1 order by c1 desc
|
|
#select t1.c1, t2.c1 from t1 join t2 on t1.c1=t2.c1 where t1.c1>0
|
|
#select rongxuan.t1.* from t1;
|
|
#select t1.c1, rongxuan.t2.c1 from rongxuan.t1 join rongxuan.t2 on rongxuan.t1.c1=t2.c1 where t1.c1>0
|
|
#select t1.c1, sum(t1.c2) from rongxuan.t1 where t1.c1 > 0 and t1.c2 + t.c1 = 100 group by c2 order by t1.c1 desc limit 0, 1;
|
|
#select @@sys_var, c1 from t1
|