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
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
What does db2 stand for?
What is bufferpool in db2?
What is lock escalation in db2?
define clustering index.
What is the purpose of rollback and commit?
List out the three types of page locks that can be held.
What is dbrm? When it will be created?
Explain about cursor stability?
What is the difference between bind and rebind in db2?
How do I add a column to a table in db2?
How do you stop a db2 database in linux?
What is commit in db2?
Explain about rct.
What are the rules for db2 programming?