某個關聯式資料庫中,已有一個關聯(relation)表 Student1,其屬性(attributes)包括 reg_no、name、score、address。對 Student1 使用下列那一種關聯運算,可以產生一個新的關聯表 Student2,其屬性只包括 reg_no、name、address?
AJoin
BUnion
CProject正確答案
DIntersection
答案與詳解
Project(投影)π 運算可從關聯中挑出指定的屬性欄位,產生新的關聯表。本題從 Student1 投影出 reg_no、name、address 三欄,正是 Project 的典型應用。
