
1>
select
from
教师表
where
系别
='cs';
2>
select
姓名,2011-年龄
as
出生日期
from
学生表
3>
select
from
学生表
where
年龄<=20
and
系别='cs';
4>
select
from
学生表
where
年龄
not
between
18
and
20;
5>
select
姓名,年龄
from
教师表
where
系别
in('cs','is');
6>
select
from
教师表
where
姓名
like
'%敏';
7>
select
from
选课表
where
先修课
is
null;
8>
select
count()
from
教师表
9>
select
avg(成绩),max(成绩),min(成绩)
from
选课表
where
课程号=5;
10>
select
count()
from
选课表
group
by
课程号
以上就是关于sql语言实验报告全部的内容,包括:sql语言实验报告、、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)