Home >Database >Mysql Tutorial >mysql小小笔试题_MySQL

mysql小小笔试题_MySQL

WBOY
WBOYOriginal
2016-06-01 13:35:49930browse

bitsCN.com

mysql小小笔试题

题目如下: 

mysql小小笔试题_MySQL 

要求: 
  1,查询两门及两门以上不及格的学生的平均分。比如:张三有两门功课不及格,
语文 50 分,地理 40分, 他的平均分为:(90+50+40)/3 = 60。 
  2,用 where 或 group by 或 having  等一条语句实现查询。 

解答: 
mysql小小笔试题_MySQL

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn