这就是我要检索的内容:“查找在教授某些课程的每个房间中任教的教职员工的姓名”
我的桌子是:
CREATE TABLE FACULTY (
fid NUMERIC(6) NOT NULL,
fname VARCHAR(20),
dept VARCHAR(5),
PRIMARY KEY (fid),
FOREIGN KEY (fid)
references STUDENT (sid)
);
CREATE TABLE CLASS(
cnum VARCHAR(6),
meets_at TIME,
room VARCHAR(6),
fid NUMERIC(6) ,
PRIMARY KEY (cnum),
FOREIGN KEY (fid)
references FACULTY (fid)
);