January 2005
Beginner to intermediate
928 pages
22h 14m
English
A view is a virtual table derived from one or more tables or other views. It is virtual because it does not contain any data, but a definition of a table based on the result of a SELECT statement. Figure 7.21 illustrates view view1 derived from table table1.

A view does not need to contain all the columns of the base table. Its columns do not need to have the same names as the base table, either. This is illustrated in Figure 7.21, where the view consists of only two columns, and the first column of the view has a different name than the corresponding column in the base table. This is particularly ...
Read now
Unlock full access