what is a view?

Answer Posted / sunil maurya

A view is simply the representation of a SQL statement that
is stored in memory so that it can easily be re-used. For
example, if we frequently issue the following query

SELECT empid FROM emp;

I might well want to make this a view (the reality is that
we would probably never create a view for a statement this
simple but we wanted to use an easy example).

To create a view use the create view command as seen in this
example
CREATE VIEW view_emp
AS
SELECT empid FROM emp;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create an oracle database?

571


How to display row numbers with the records?

575


What is PL/SQL ?

1103


What are the restrictions on external table columns?

541


How to export your connection information to a file?

586






How many memory layers are in the oracle shared pool?

632


What is the data type of dual table?

513


What do you know about normalization? Explain in detail?

493


What are the set operators union, union all, minus & intersect meant to do?

554


Give the various exception types.

536


 How to use an oracle sequence generator in a mapping?

556


How do I start tns listener?

528


What is the fastest query method to fetch data from the table?

852


What to do if the binary spfile is wrong for the default instance?

553


How do I reset a sequence in oracle?

580