簡單的資料庫題

2021-09-22 21:16:52 字數 1048 閱讀 8959

1樓:

1selece sname,sno

from student

where s***= "girl"

2selece student.sname,sc.gradefrom student,sc

where student.sno=sc.snoorder by grade desc

3update student

set sname="李志誠"

where sno=07010205 字元形才加引號

2樓:匿名使用者

select sname,sno from student where s***="女"

select grade from sc order by grade desc

updata student set sname="李志誠" where sno=04010205

3樓:匿名使用者

--1查詢所有女生的姓名和學號

select sno,sname

from student

where s***='女'

--2把學生的成績按照降序排序;

select grade

from sc

group by grade desc

--3 修改學號碼為"07010205"的學生姓名為"李志誠"

update student

set sname="李志誠"

where sno=07010205

4樓:匿名使用者

1. select sno,sname

from student

where s***='女'

2. select grade,cno

from sc

group by cno

oder by grade desc

3. update student

set sname="李志誠"

where sno=07010205

Delphi資料庫,Delphi 資料庫

第一 將資料庫和程式檔案放在一個目錄下就行了。delphi的工作原理是先按ado提供的絕對路徑查詢資料庫,如果沒有,則在當前程式的目錄下查詢資料庫。你將你的程式打包之後在其他機器上安裝,絕對路徑不一樣了,而且程式目錄下也沒有資料庫,當然會提示找不到了。第二 1,檢視一下控制面板裡的sql odbc資...

什麼是資料庫,什麼是資料庫?資料庫有什麼用?

資料庫 database 是按照 資料結構來組織 儲存和管理資料的倉庫,它產生於距今六十多年前,隨著 資訊科技和市場的發展,特別是二十世紀九十年代以後,資料管理不再僅僅是儲存和管理資料,而轉變成使用者所需要的各種資料管理的方式。資料庫有很多種 型別,從最簡單的儲存有各種資料的 到能夠進行海量 資料儲...

資料庫高手來,資料庫高手來個!!!

1,在選修表裡查出學號 和課程數量 按學號分組。這題目出的有問題,學號唯一的還按學號分組 1.1 在選修表中,按學號分組,查詢出所有學號和每個學號對應的課程總數。2 在選修表中,查詢課程號為3的所有學號及分數,查詢結果按分數降序排序。2.關係代數式都是些亂起八糟的符號,在這裡不好敲.3.5 sele...