Views for Dummies

Can someone give me an explanation what a view does and how it works?

I have to use SQL code that was done by others and  their views are very long -- makes it confusing.
lcorAsked:
Who is Participating?
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
please start reading here:
http://en.wikipedia.org/wiki/View_(database)

need more clarifications?
0
 
awking00Connect With a Mentor Commented:
Basically, a view is not much more than a memorized query that gets updated (refreshed) based on the criteria established at the time of the view's creation.
0
 
sventhanConnect With a Mentor Commented:
0
 
rbrookerConnect With a Mentor Commented:
if you have a complicated sql statement that you need to keep, turn it into a view.
SQL> select * from <view>; will then be interpreted as SQL> select * from ( really complicated sql statement );
it simplifies things for you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.