Add 实验7

main
pcrze68gk 2 years ago
parent 7fffdec8b3
commit d587fea672

@ -0,0 +1,24 @@
#实验7
#1.
select * from bmxx;
#2.
select now();
#3.
select * from spxx where Sslb='文具' and Jg>=80 and Jg<=100;
#4.
select * from spxx where Sslb='电器' and (Jg<=100 or Jg>=200);
#5.
select * from ygxx where Name like '刘%' and ssbmbh != '1001';
#6.
select * from ygxx where Name like '张%' and Sfzh is not null;
#7.
select Sslb,sum(sl) from spxx group by Sslb having sum(sl)>12;
#8
select Spmc,Jg,sl from spxx where Sslb='文具' order by Jg DESC LIMIT 3;
Loading…
Cancel
Save