SQL期末考试题,来个大神帮解答一下

SQL期末考试题,来个大神帮解答一下,第1张

select fph from mz_brsf

whereje > 200;

2select sum(je) from mz_brsf

where sfsj >=  '2012-01-01'

and sfsj < '2012-02-01';

3delete from mz_bfsf

where cfh is null;

4update mz_bfsf

set substr(sfsj,1,4) =2013

where ks ='内科' ;

5 select ks, sum(je) from mz_bfsf

group by ks

having sum(je) >500;

6select top 2 ys,sum(je)

from mz_bfsf

group by ys

order by sum(je) desc;

7update  a

set azc = bzc

from mz_bfsf a,mz_brxx b

where  ays = bys

真题网>

以上就是关于SQL期末考试题来个大神帮解答一下全部的内容,包括:SQL期末考试题,来个大神帮解答一下、数据库技术试题、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/sjk/9419101.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-28
下一篇 2023-04-28

发表评论

登录后才能评论

评论列表(0条)

保存