未找到要求的from关键字

2024-11-25 11:48:22
推荐回答(2个)
回答1:

select * from (select A.*,rownum rn from (select * from ClientData
c,TransactionData t,GoodsData g,GoodsPhoto gp where 1=1 and
c.clientBH=t.ClientBH and t.TransactionBH=g.TransactionBH and
g.GoodsBH=gp.GoodsBH order by transactionDateTime desc) A where
rownum<=100) where rn>0;

回答2:

把你的代码嵌套,一段一段执行,找出是哪一个查询结果有问题