Re: Why Oracle View can not use Order by clause in the View definition query ?...

From: Paul Brewer <paulb_at_pbrewer.demon.co.uk>
Date: Wed, 13 May 1998 11:20:04 +0100
Message-ID: <eBKiiLAUPXW1EwPL_at_pbrewer.demon.co.uk>


>create view dept_v as select * from dept order by deptno;
>
>And then you ran the query:
>
>select * from emp_v, dept_v where emp_v.empno = dept_v.deptno;
>
>What would happen to the order by's since they conflict with eachother?
>
All that you write makes perfect sense. But what would happen if you 'cheated' in the creation of the views and grouped by the primary keys?

-- 
Paul Brewer
Received on Wed May 13 1998 - 12:20:04 CEST

Original text of this message