Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Select statement in from clause
> We select from this view:
> SELECT
> *
> FROM foo
>
> Replace the view name with its select and you get:
> SELECT
> *
> FROM (SELECT * FROM table2 WHERE col1 < SYSDATE)
>
> There is very little difference between SQL 1 and SQL 2. In 2 we simply
> substituted the name of the view with the actual SELECT statement for that
> view. Which is exactly what the database engine does with SQL 1.
Thnx !
Can you give me an example why they did not use a view ? It is more plesant to read, in mine opinion, when u are using the view.
Thnx again
Dennis Received on Wed Sep 18 2002 - 10:13:08 CDT