这个是4个表的join,分别是bustype,bus,cleaner和depot四个表,现在要求把其他3个表都插在bustype这个表中,我写了下面的代码,但是报错了,不知道出什么问题,请高手帮忙看看Select cl.cno,cl.cname,de.dname,b.reg_no
From cleaner cl,depot de,bus b
Where bustype.cno=cl.cno
And bustype.dno=de.dno
And bustype.reg_no=b.reg_noAnd bustype.reg_no=b.reg_no
*ERROR at line 5:
ORA-00904: "BUSTYPE"."REG_NO": invalid identifier
From cleaner cl,depot de,bus b
Where bustype.cno=cl.cno
And bustype.dno=de.dno
And bustype.reg_no=b.reg_noAnd bustype.reg_no=b.reg_no
*ERROR at line 5:
ORA-00904: "BUSTYPE"."REG_NO": invalid identifier
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货