誰能幫我做這一道SQL題

2021-05-01 10:02:57 字數 1301 閱讀 6770

1樓:匿名使用者

1select sname,city from s

2select pname,color,weight from p

3select distinct jno from spj where sno='s2'

4select p.pname,p.color,p.

weight from p,j,spj where p.pno=spj.pno and j.

jno=spj.jno and j.jno='j3'

5select spj.jno from s,spj where s.sno=spj.sno and s.city='杭州'

6select jname from j where jno in (select spj.jno from s,spj where s.sno=spj.

sno and s.city='杭州')

7select jno from j where jno not in

(select j.jno from s,j,spj where j.jno=spj.jno and s.sno=spj.sno and s.city='天津')

8update p set color='藍色' where color='紅色'

9update spj set sno='s3' where sno='s4' and jno='j3' and pno='p5'

10分兩步,第一步刪除spj表

delete from spj where sno='s3'

第二步,刪除s表

delete from s where sno='s3'

11insert into spj values ('s2','j6','p4',300)

sql資料庫一道試題幫忙做做

2樓:匿名使用者

資料庫的專業英語吧,看看我答的data 資料 database 資料庫 rdbms 關係型資料庫管理系統(relational database management system) grant 授權 revoke 許可權**內 deny 拒絕 declare 宣告 procedure程式 transaction 轉換容 trigger 觸發器 continue 連續 unqiue 唯一 primary key 主鍵 identity 標識 foreign key 外來鍵

誰能幫我解一道題,誰能幫我解一道題

這個題目用相對速度解決比 較簡單。題目所說的速度以及我們通常所說的速度都是相對地球靜止而言的,參照系是地球。此時我們取隊伍為參照,他向前跑隊伍不動,此時相對速度等於他的速度減去隊伍的速度,他返回跑是隊伍和他的速度相反,所以相對速度等於他的速度加上隊伍的速度。設隊伍長為x,x 12 8 x 12 8 ...

幫我做一道題,幫我算一道題

點o在四邊形abcd內,則 aob,boc,cod,aod之和為360 aob 6 aob 2 aob 12 aob 36021 aob 360 aob 120 7 aod 12 aob 1440 7 設男職工有a人,女職工有b人,按照題目意思有 48a 13b 32 a b 得到a b 19 16...

這一道題怎麼寫,怎麼寫這一道題怎麼寫

題怎麼寫?你得把這道題的公式給我用 方式拍過來,我才能幫你解答,否則我無法給你解答這道題 這一道題怎麼寫?首先來說沒有看到題目,不知道寫一個什麼樣的問題了。關鍵你只看見你這道題怎麼寫,沒有看見你的題目呀?是不是你忘了拍 或者是那些上來那寫的字上來了?還是我手機有問題。電腦版 打不開,看不到 那你題目...