SELECt a.YWID,a.PSTIME,a.PETIME,a.DID,a.PID,a.DSTIME,a.DETIME,b.NUM FROM DWJF_ZC AS a INNER JOIN COUNT_NUM AS b ON a.YWID=b.YWID;
这句话哪里有问题?显示[Err] ORA-00933: SQL 命令未正确结束
oracle中inner join的正确写法?
答案:2 悬赏:80 手机版
解决时间 2021-02-23 20:42
- 提问者网友:锁深秋
- 2021-02-23 07:19
最佳答案
- 五星知识达人网友:污到你湿
- 2021-02-23 07:25
把as去掉;
SELECt a.YWID,a.PSTIME,a.PETIME,a.DID,a.PID,a.DSTIME,a.DETIME,b.NUM
FROM DWJF_ZC a
INNER JOIN COUNT_NUM b
ON a.YWID=b.YWID;
SELECt a.YWID,a.PSTIME,a.PETIME,a.DID,a.PID,a.DSTIME,a.DETIME,b.NUM
FROM DWJF_ZC a
INNER JOIN COUNT_NUM b
ON a.YWID=b.YWID;
全部回答
- 1楼网友:持酒劝斜阳
- 2021-02-23 08:48
from t1 in table
join t2 in table2
on t2.t1id=t1.id
where t1.ff='aa'
select new
{
xxx=t1.ff,
zzz=t2.xx
}其中xxx和zzz可以任意代替
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯