阿摩線上測驗 登入

申論題資訊

試卷:104年 - 104 高等考試_三級_資料處理:資料庫應用#24776
科目:公職◆資料庫應用
年份:104年
排序:0

題組內容

一、有一個與租船有關的資料庫,其綱要(Schema)及案例內容(Instance)如下: Sailors(sid:integer, sname:string, rating:integer, age:real) Boats(bid: integer, bname:string, color:string) Reserves(sid: integer, bid:integer, day:date)  圖三、Boats 表格的案例 請回答下列各題:(每小題 5 分,共 40 分)。請注意:答案必須具備一般性,表 格案例內容只為參考用,案例內容更改後,答案仍須正確。

申論題內容

(8)寫出一個關聯代數(Relational Algebra)運算式,以關聯代數運算子(selection: σ、 projection: Π、join: 、divide: ÷、union: ∪、intersection: ∩、cartesian product: ×、 difference: -)表示,查詢租過船名為"Blast"的船的船員名字。