【发布时间】:2011-03-31 22:21:44
【问题描述】:
select DISTINCT a.FNAME||' '||a.LNAME
from AUTHOR a, books B, BOOKAUTHOR ba, customers C, orders
where C.firstname='BECCA'
and C.lastname='NELSON'
and a.AUTHORID=ba.AUTHORID
and b.ISBN=bA.ISBN
order by a.LNAME
给出 ORA-01791: not a SELECTed expression 但无需 DISTINCT 即可工作。
如何让它发挥作用?
【问题讨论】:
标签: oracle10g