0% found this document useful (0 votes)
46 views

Create Table View - Demo (Id Number, Data Varchar2 (200) ) : Program To Study View in PL/SQL

The document creates a table called view_demo with two columns, id and data. It inserts a row into the table. A view called view_t is then created that selects the id and data columns from view_demo. When the view is queried it returns the inserted row.

Uploaded by

virusyadav
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

Create Table View - Demo (Id Number, Data Varchar2 (200) ) : Program To Study View in PL/SQL

The document creates a table called view_demo with two columns, id and data. It inserts a row into the table. A view called view_t is then created that selects the id and data columns from view_demo. When the view is queried it returns the inserted row.

Uploaded by

virusyadav
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Program to study view in pl/sql. create table view_demo( id number, data varchar2(200) ); Table created.

insert into view_demo values(113, 'MCA'); 1 row created.

create or replace view view_t as select id view_id, data view_data from view_demo; View created.

select * from view_t;

VIEW_ID 113 MCA 23 MCA 17 MCA

VIEW_DATA

You might also like