【发布时间】:2016-02-07 11:20:58
【问题描述】:
我有这两张桌子:
表 1:
员工:
fname. minit (example:John [B] Smith). lname. ssn. bdate. address. sex. salary. dno.
表 2:
部门:
dname. dnumber. mgrstartdate. mgrssn.
外键为department表中的dnumber,与employee表中的dno相连...
我想要查询显示[lname,minit,fname,and adrress of the people that work in the department store],因为我说连接是来自部门表的 dnumber 和来自员工表 [dnumber has 1/4/5 as values and dno has 1/2/3/4/5 as values 的 dno,所以你能帮帮我吗?
【问题讨论】: