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
define clustering index.
What is phantom read in db2?
How to test SQL -911 error while developing COB-DB2 program
How to fetch the last row from the table in SQL (db2)?
How to create db2 table in mainframe?
List some fields from sqlca?
What is the picture clause of null indicator variable?
How to create backup table in db2?
What is a trigger in the db2 database?
Explain db2.
When the like statement is used?
Can we insert update delete in view?
How to find the maximum value in a column in the db2 database?
What is the default page size of buffer pools?
What is the difference between nvl and coalesce?