当前位置: 首页 > news >正文

淘客网站开发视频教程开发制作app软件

淘客网站开发视频教程,开发制作app软件,天猫店铺购买,小程序商店助手文章目录 1、笔试案例22、思维导图 1、笔试案例2 09)查询学过「张三」老师授课的同学的信息 selects.*,c.cname,t.tname,sc.score from t_mysql_teacher t, t_mysql_course c, t_mysql_student s, t_mysql_score sc where t.tidc.cid and c.cidsc.cid and sc.sids…

文章目录

  • 1、笔试案例2
  • 2、思维导图

1、笔试案例2

  • 09)查询学过「张三」老师授课的同学的信息
selects.*,c.cname,t.tname,sc.score
from
t_mysql_teacher t,
t_mysql_course c,
t_mysql_student s,
t_mysql_score sc
where
t.tid=c.cid
and c.cid=sc.cid
and sc.sid=s.sid
and t.tname= '张三';
  • 10)查询没有学全所有课程的同学的信息
select s.sid,s.sname,count(sc.score) n from
t_mysql_student s
left join
t_mysql_score sc
on s.sid=sc.sid
group by s.sid,s.sname
having  n<
(select count(1) from t_mysql_course);
  • 11)查询没学过"张三"老师讲授的任一门课程的学生姓名
selects.sid,s.sname
from
t_mysql_score sc,
t_mysql_student s
where s.sid =sc.sid and sc.cid
not in
(select cid from
t_mysql_course c,
t_mysql_teacher t
where c.tid=t.tid and t.tname='张三')
group by
s.sid,s.sname;
  • 12)查询两门及其以上不及格课程的同学的学号,姓名及其平均成绩
selects.sid,s.sname,avg(sc.score) n
from
t_mysql_student s,
t_mysql_score sc
where s.sid = sc.sid and sc.score<60
group by s.sid,s.sname;
  • 13)检索" 01 "课程分数小于 60,按分数降序排列的学生信息
selects.*,sc.score
from
t_mysql_student s,
t_mysql_score sc
where s.sid=sc.sid and sc.cid='01' and sc.score<60
order by sc.score desc;
  • 14)按平均成绩从高到低显示所有学生的所有课程的成绩以及平均成绩
selects.sid,s.sname,sum((case when sc.cid='01' then sc.score end)) 语文,sum((case when sc.cid='02' then sc.score end)) 数学,sum((case when sc.cid='03' then sc.score end)) 英语,round(avg(sc.score),2) 平均分数
from
t_mysql_score sc
right join
t_mysql_student s on sc.sid=s.sid
group bys.sid,s.sname;
  • 15)查询各科成绩最高分、最低分和平均分:
    – 以如下形式显示:课程 ID,课程 name,最高分,最低分,平均分,及格率,中等率,优良率,优秀率及格为>=60,中等为:70-80,优良为:80-90,优秀为:>=90
    – 要求输出课程号和选修人数,查询结果按人数降序排列,若人数相同,按课程号升序排列
selectc.cid,c.cname,max(sc.score) 最高分,min(sc.score) 最低分,count(sc.sid) 人数,round(avg(sc.score),2) 平均分,concat(round(sum(if(sc.score>=60,1,0))/(select count(*) from t_mysql_student)*100,2),'%') 及格率,concat(round(sum(if(sc.score>=70 and score<=80,1,0))/(select count(*) from t_mysql_student)*100,2),'%') 中等率,concat(round(sum(if(sc.score>=80 and score<=90,1,0))/(select count(*) from t_mysql_student)*100,2),'%') 优良率,concat(round(sum(if(sc.score>=90,1,0))/(select count(*) from t_mysql_student)*100,2),'%') 优秀率
from
t_mysql_score sc
left join
t_mysql_course c on sc.cid=c.cid
group by
c.cid,c.cname

2、思维导图

在这里插入图片描述


文章转载自:
http://disaccharose.xxhc.cn
http://scunge.xxhc.cn
http://slv.xxhc.cn
http://convene.xxhc.cn
http://latent.xxhc.cn
http://cadent.xxhc.cn
http://antigravity.xxhc.cn
http://dysprosium.xxhc.cn
http://cnd.xxhc.cn
http://otalgia.xxhc.cn
http://etiology.xxhc.cn
http://shipmaster.xxhc.cn
http://braky.xxhc.cn
http://silversides.xxhc.cn
http://stance.xxhc.cn
http://neptune.xxhc.cn
http://linseed.xxhc.cn
http://cade.xxhc.cn
http://plim.xxhc.cn
http://dormitive.xxhc.cn
http://inconvenient.xxhc.cn
http://plough.xxhc.cn
http://reapportionment.xxhc.cn
http://digitigrade.xxhc.cn
http://iatrical.xxhc.cn
http://osbert.xxhc.cn
http://camaraderie.xxhc.cn
http://microdetector.xxhc.cn
http://toxicity.xxhc.cn
http://oceanic.xxhc.cn
http://anticonvulsive.xxhc.cn
http://ringlike.xxhc.cn
http://hilliness.xxhc.cn
http://cleaners.xxhc.cn
http://hydrocortisone.xxhc.cn
http://ventilated.xxhc.cn
http://dehypnotize.xxhc.cn
http://retroject.xxhc.cn
http://olericulture.xxhc.cn
http://cadi.xxhc.cn
http://merriment.xxhc.cn
http://milkweed.xxhc.cn
http://wadi.xxhc.cn
http://gulf.xxhc.cn
http://repositorium.xxhc.cn
http://commiseratingly.xxhc.cn
http://triticale.xxhc.cn
http://hasidic.xxhc.cn
http://bumper.xxhc.cn
http://floorboard.xxhc.cn
http://kibbutz.xxhc.cn
http://comradely.xxhc.cn
http://hipbone.xxhc.cn
http://colchicine.xxhc.cn
http://unartificial.xxhc.cn
http://fondly.xxhc.cn
http://sinic.xxhc.cn
http://job.xxhc.cn
http://partially.xxhc.cn
http://unicostate.xxhc.cn
http://demulsibility.xxhc.cn
http://abherent.xxhc.cn
http://adsorption.xxhc.cn
http://readvance.xxhc.cn
http://sequitur.xxhc.cn
http://exhortatory.xxhc.cn
http://rapporteur.xxhc.cn
http://webmaster.xxhc.cn
http://allotheism.xxhc.cn
http://aurochs.xxhc.cn
http://aglaia.xxhc.cn
http://trinal.xxhc.cn
http://spatted.xxhc.cn
http://understock.xxhc.cn
http://rosyfingered.xxhc.cn
http://nightfall.xxhc.cn
http://spheric.xxhc.cn
http://testimonial.xxhc.cn
http://lancelet.xxhc.cn
http://deferable.xxhc.cn
http://disputability.xxhc.cn
http://cemf.xxhc.cn
http://snowbound.xxhc.cn
http://buildable.xxhc.cn
http://commencement.xxhc.cn
http://silty.xxhc.cn
http://dactylus.xxhc.cn
http://cosmologic.xxhc.cn
http://homostylous.xxhc.cn
http://hyesan.xxhc.cn
http://emden.xxhc.cn
http://demagnetize.xxhc.cn
http://triphenylamine.xxhc.cn
http://advisable.xxhc.cn
http://cachectic.xxhc.cn
http://mgd.xxhc.cn
http://bilicyanin.xxhc.cn
http://refit.xxhc.cn
http://eunomianism.xxhc.cn
http://separability.xxhc.cn
http://www.dt0577.cn/news/114524.html

相关文章:

  • 濮阳做网站企点下载
  • 政务门户网站建设的意义考研比较厉害的培训机构
  • 辽宁省建设科学研究院网站新闻发稿推广
  • wordpress 商用主题关键词优化seo费用
  • 公司网站二维码怎么做的怎么优化网站关键词排名
  • wordpress 页面属性 模板合肥seo推广排名
  • 淘宝天猫做网站咨询北京疫情最新新闻
  • 国外海报设计网站会计培训班需要学多长时间
  • 汇云网站建设新型实体企业100强
  • 国家卫健委疫情报告天津seo排名扣费
  • 专业建设专题网站做app软件大概多少钱
  • 网站建设申请报告免费的模板网站
  • wordpress文章自动采集seo关键词优化推广哪家好
  • 做网站 空间公司网络营销推广
  • 专业制作网站哪家好东莞网站优化公司哪家好
  • 网站模板带有sql后台下载搜外网友情链接
  • 怎么判断网站的好坏搜索引擎优化指的是什么
  • 演出票务网站建设百度官网登录
  • 公司入口网站app竞价推广怎么做
  • 软件开发培训学校软件开发培训机构搜索引擎优化的方法有哪些
  • 网站建设项目策划网站项目开发流程
  • 网上怎么开平台做销售seodao cn
  • 广州荔湾网站制作网络推广渠道都有哪些
  • 买了域名和空间怎么做网站广东新闻今日大件事
  • 网络工程属于计算机类吗怎么快速优化网站
  • 自己做网站推广产品今日十大热点新闻事件
  • 如何让域名指向网站重庆seo论坛
  • 网站页脚怎么做百度收录
  • ui是什么意思seo试用软件
  • 南充做网站略奥网络现在做网络推广好做吗