課程表分為
❶ 怎樣在電腦上做課程表,上午和下午要分開
在電腦上做課程表,上午和下午要分開的方法
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. 不會