课程表分为
❶ 怎样在电脑上做课程表,上午和下午要分开
在电脑上做课程表,上午和下午要分开的方法
1.新建一个word文档,单击“文件”-“保存”, 保存文件名为“课程表”, 在文档中输入“某某班级课程表”;
2.点击“表格”-“插入”-“表格”,打开“插入表格”对话框,在行列中输入需要的行和列,在行中输入8,在列中输入6。即我们一天一般七节课和一个星期五天,各加一个表头。
3.在插入的表格中输入数据,表头列为星期一到星期天,行为第一节到第七节;
4.把光标移动到边框线上对表格宽度进行调整, 调整后选中整个表格,右击,在弹出的菜单中选择“平均分布各行”,同理,再执行一次操作,选择“平均分布各列”。
5.把光标移动支第一个单元格,选择“表格”菜单,执行“绘制斜线表头”命令,在弹出的对话框中选择 一种表头样式,我们选择“样式一”,字体大小选择五号字;在行标题中输入“星期”,列标题中输入“节次”;
6.绘制斜线表头就制作好了,稍微调整好位置,让表头美观,;
7.选择整个表格,点击右键,在弹出的菜单中选择“单元格对齐方式”,找到居中对齐;文字就上下左右全部居中了,再次选择表格,对文字格式进行设置,选择加粗,四号字;
8.选择文字“某某班级课程表”,设置为二号字大小,加粗显示,居中,仿宋字体;设置好与表格的间距;
9.选择“星期一”到“星期五”单元格,右击,在弹出的菜单中选择“边框和底纹”;在打开的“边框和底纹”选项卡中找到底纹,选择一种颜色作为单元格的底纹。
10.设置好后,点击“确定”,返回到编辑区,同上面的方法,选择第一节到第七节单元格,设置节次的底纹,全部设置好后,效果如下图;
❷ 学生—课程"数据库中包含学生表,课程表,学生选课表3个表,分别是:
您好,您这样:
--1
select Sname,Sage from Student where Sage<(select Sage from Student where Sno='某一学生') and Sdept='数学系'
--2
select Sname from Student where Sno in (select Sno from SC)
--3
select Sname from Student where Sno in (select Sno from SC group by Sno having count(*)=(select count(*) from Course ))
❸ 3张表,课程表(课程id,课程名,分类) 学生表(学生id,学生姓名) 成绩表(学生id,课程id
select a.课程名,b.学生姓名,max(c.分数) from 课程表 a ,学生表 b ,成绩表 c where a.课程id=c.课程id and b.学生id=c.学生id
❹ 数据库中包含学生表、课程表、学生选课表3个表,分别是什么
1、SELECT
课程号,
课程名,
课程学分
FROM
课程
WHERE
课程号
IN(SELECT
课程号
FROM
选课
GROUP
BY
课程号
HAVING
COUNT(学生号)
BETWEEN
2
AND
4
)
2、SELECT
MAX(成绩)
-
MIN(成绩)
AS
分数之差
FROM
选课
倘若要每门课程相差
SELECT
课程,
MAX(成绩)
-
MIN(成绩)
AS
分数之差
FROM
选课
GROUP
BY
课程
❺ 假设当前有课程表,课程表的结构包括(课程名,学时,学分),删除课程表中的学时字段
在命令窗口中输入
alter table 课程 drop column 学时
如果提示找不到表,可以先输入set defa to 表所在路径
如set defa to d:\练习1
或者用菜单,选择"文件|打开",文件类型选"表",把课程表打开,然后选择菜单"显示|表设计器",选中"学时",然后单击"删除"按钮.
❻ 个人课表和班级课表有甚么区分
班级课表上之外的时间,由你自己安排。
❼ 建立自定义函数要求显示课程表中学分小于等于2的课程为选修课(sql server)
SQL语句:
select * from 课程表 where 学分<=2
❽ 要设计一个学生课程管理数据库,包含3个关系分别是:学生表Student、课程表Cors
1.SELECT COUNT(DISTINCT(学号)) FROM SC 2.SELECT 姓名 FROM S,SC WHERE S.学号=SC.学号 AND S.学号=1号 3.SELECT S.学号,姓名,课程名,成绩 FROM S,SC,C WHERE S.学号=SC.学号 AND SC.课程号=C.课程 AND 课程号=1号 4.SELECT S.学号,姓名 FROM S,SC WHERE S.学号=SC.学号 AND SC.课程=‘人工智能’ 5.SELECT MAX(成绩) FROM S,SC WHERE S.学号=SC.学号 AND S.学号=1号 6.SELECT 学号,姓名 FROM S WHERE SUBSTRING(姓名,3,2)=’月’ 7.SELECT 课程号,COUNT(*) FROM C,SC WHERE C.课程号=SC.课程号 8.SELECT S.学号,姓名 FROM S,SC,C WHERE S.学号=SC.学号 AND SC.课程号=C.课程号 AND C.成绩>80 9.SELECT DISTINCT(省区) FROM S WHERE S.系别=‘物理’ 10.SELECT * FROM S ORDER BY 系别 ASC,年龄 DSC 11.SELECT AVG(成绩 ) FROM C WHERE 课程号=2号 12.SELECT 学号,姓名 FROM S WHERE SUBSTRING(姓名,3,2)=’阳’
❾ 开发一个安卓手机课程表分为几步
大哥。这个好像比较难啊,这么强的技术课题不应该在这问,不一定能有人回答正确啊,建议你找技术型的论坛发帖子,那肯定有知道的跟帖,望采纳
❿ SQL语句的一道题 三个基本表:学生表(Student)、课程表(Course)、学生选课表(SC)
1. select * from SC
2. select Sname,Sage from Student where Sdept = '计算机'
3. select Sno,Cno,Grade from SC where Grade >= 70 and Grade <= 80
4. select Sname,Sage from Student where Sage between 18 and 20 and Ssex = '男'
5. select top 1 Grade from SC where Cno = 'C01'
6. select max(Sage),min(Sage) from Student
7. select Sdept,sum(Sno) from Student group by Sdept
8. select course.Cname,sum(sc.Sno),max(Grade) from SC
join studet on Student.Sno = SC.Sno
join Course on Course.Cno = SC.Cno
group by course.cname,max(grade)
9. select sum(Cno),avg(Grade) from SC
join Course on Course.Cno = SC.Cno
join Student on Student.Sno= SC.Sno
order by SC.Sno
10. select Stuent.Sno,Stuent.Sname,sum(Grade) A from SC
join Student on Student.Sno = SC.Sno
group by sc.Sno,student.Sname
having A > 200
11. select Student.Sname,Student.Sdept from Student
join Course on Course.Cno = SC.Cno
join SC on SC.Sno = Student.Sno
where SC.Cno = 'C02'
12. select Student.sname,course.cno,sc.grade from sc
join student on student.sno = sc.sno
join course on course.cno = sc.cno
where sc.grade >= 80
order by sc.grade desc
13. select cno,cname from
(
select course.cno,course.cname,sun(sno) from student
join course on course.cno = sc.cno
join sc on sc.sno = student.sno
group by cno,cname
having sun(sno) > 0
)
14. ① select student.sname,student.sdept from
(
select student.sname,student.sdept,course.cname from student
join sc on sc.sno = student.sno
join course on course.cno = sc.cno
where course.cname = 'C01'
)
② select student.sno,student.sname from
(
select student.sno,student.sname,student.sdept,sc.grade from sc
join student on student.sno = sc,sno
where student.sdept = '信息' and sc.grade >= 80
)
③ select top 1 student.sname from
(
select student.sname,student.sdept,sum(sc.grade) from sc
join student on student.sno = sc.sno
where student.sdept = '计算机'
group by student.sname,student.sdept
order by
)
15. delete from sc where grade < 50
16. update sc set grade += 5 from sc
join course on course.cno = sc.cn
join student on student.sno = sc.sno
where student.sno =
(
select student.sno from sc
join course on course.cno = sc.cno
where course.cname = 'c01'
)
17. update sc set grade += 10 from sc
join student on student.sno = sc.sno
where student.sno =
(
select student.sno from student
join sc on sc.sno = student.sno
join course on course.cno = sc.cno
where student.sdept = '计算机' and course.cname = '计算机文化基础'
)
18. create view [A] as
select student.sno,student.sname,student.sdept,course.cno,course.cname,sc.grade from sc
join student on student.sno = sc.sno
join course on course.cno = sc.cno
19. create view [A] as
select student.sno,avg(sc.grade) from sc
join student on student.sno = sc.sno
group by student.sno
20. create view [A] as
select student.sno,sum(sc.grade) from sc
join student on student.sno = sc.sno
group by student.sno
21. create index A on student(sname)
22. 不会