freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

數(shù)據(jù)庫應用與開發(fā)實驗報告-展示頁

2025-07-30 11:37本頁面
  

【正文】 RE成績SMALLINT,查看是否成功(7~50)四、實驗步驟進入sql server 2008 選擇SSMS 新建查詢,分析運行以上試題五、實驗結果創(chuàng)建表的代碼如下: table s(sno char(5) unique, 學號上建立唯一索引Sn char(10) ,Sex char(2),Age smallint,Sdept char(10)) table c(o char(5) unique, 課程號建立唯一索引Cn char(10),Ct smallint) table sc(sno char(5),Cno char(5),Score smllint Primay key (sno,o) 學號和課程號上建立唯一索引 table s Add tel char(11), Addres varchar(50) table s Drop column tel,addres table s Add Constraint s_ck check(age=7 and age=50) 六、實驗小結通過該實驗對本次實驗學生應能熟練的利用create table命令在查詢分析器下實現(xiàn)表格的創(chuàng)建,熟練掌握sql語言的數(shù)據(jù)定義功能,并對其完整性約束有個初步的認識。 熟悉和掌握對數(shù)據(jù)表中數(shù)據(jù)的查詢操作和SQL命令的使用 學會靈活熟練的使用SQL 語句的各種形式; 加深理解關系運算的各種操作(尤其關系的連接和嵌套運算)。② 查詢不學數(shù)據(jù)庫的學生學號。④ 查詢選了數(shù)據(jù)庫的學生學號⑤查詢選修了跟王偉一樣課程的學生姓名及成績⑥查詢有3人以上選修的課程名。(要求列出學號,姓名,課程號,課程名)⑧查詢既選修了1號課又選修了3號課的學生學號(用自身連接)。⑩查詢所有學生的信息和對應的選課信息,沒有選課的學生選課記錄為NULL。12查詢“數(shù)據(jù)庫”課程的選課人數(shù)和總成績。四、實驗步驟進入sql server 2008 選擇SSMS 新建查詢,分析運行以上試題五、實驗結果①Select from s,c,sc where = and = and sn=‘馬曉偉’②select sno from sc where sno not in (select sno from sc,c where = And =’數(shù)據(jù)庫’)③select * from sc,c where = and sdept=‘計算機’and score60④select sno from sc,c where = and =’數(shù)據(jù)庫’⑤select sn,score from s,c,sc where = and = and sn=‘王偉’⑥select from c ,sc where = group by having count(sno)=3⑦select ,sn, from s,c,sc where = and =⑧select from sc x,sc y where =39。 and =39。 and =⑨select ,sn from s,sc where = and o=39。 and score=90⑩select s.*,sc.* from s left join sc on =11 select * from student where depart=39。and sno not in(select sno from student where sex=39。)12 select count(sno)人數(shù),sum(grade)總成績from sel_c where o=(select o from course where ame=39。)13 select sname,age from student wher
點擊復制文檔內容
范文總結相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1