-3

这就是我要检索的内容:“查找在教授某些课程的每个房间中任教的教职员工的姓名”

我的桌子是:

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)     
);
4

1 回答 1

2

你应该用谷歌搜索关键字“LEFT JOIN”

于 2012-04-17T08:30:26.203 回答