Answer Posted / babji009
A view is a virtual table made up of data from base
tables and other views, but not stored separately.
Ex:
CREATE VIEW GOOD1_SUPPLIERS
AS SELECT S#, STATUS, CITY
FROM S
WHERE STATUS > 15;
SELECT * FROM GOOD1_SUPPLIERS;
---------+---------+---------+---------+-----------
SELECT * FROM GOOD1_SUPPLIERS;
---------+---------+---------+---------+-----------
S# STATUS CITY
---------+---------+---------+---------+---
S3 40 PARIS
S4 110 LONDON
S8 30 ATHENS
S7 20 U.S.A
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is db2? Explain.
What are catalog tables in db2?
What is the role of union all and union
Why do we use cursor?
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?
How to check table size in db2 sap?
What is with ur in db2?
What is db2 plan table?
How to execute stored procedures?
What type of database is db2?
How do you simulate the explain of an embedded sql statement in spufi/qmf?
What is cursor with hold option in db2?
What are union and union all?
What is database reorganization?
What is the maximum number of columns in a db2 table?