SQL> desc product1;
Name Null? Type
----------------------------------------- --------
----------------------------
PROD_ID NOT NULL NUMBER(38)
PROD_QTY NUMBER(38)
SQL> select * from product1;
PROD_ID PROD_QTY
---------- ----------
123 300
124 200
SQL> desc pmsales;
Name Null? Type
----------------------------------------- --------
----------------------------
PROD_ID NOT NULL NUMBER(38)
PMS_QTY NUMBER(38)
SQL> select * from pmsales;
PROD_ID PMS_QTY
---------- ----------
123 100
124 200
SQL> create view pmas_prod
2 as select p.prod_id,p.prod_qty,pm.pms_qty
3 from product1 p,pmsales pm
4 where p.prod_id=pm.prod_id;
View created.
SQL> update pmas_prod
2 set prod_qty=prod_qty-pms_qty;
2 rows updated.
SQL> select * from product1;
PROD_ID PROD_QTY
---------- ----------
123 200
124 0
SQL> insert into pmas_prod values(125,400,200);
insert into pmas_prod values(125,400,200)
*
ERROR at line 1:
ORA-01776: cannot modify more than one base table through a
join view
Q How can we insert into this table ?
No Answer is Posted For this Question
Be the First to Post Answer
Major expressions used with find command to select file is it has been accessed in more than 375 days,is A)-a time +365 B) -m time +365 C)-a time -365 D) -m time -365
Differentiate between content and structural words.
0 Answers Mahatma Gandhi University,
what is difren bitween outbond & inbound
in andhra bank probatatinary officers , description exam is there what type of questions asking in that exam ,
please send me canara bank probationary officer question paper atleast four or five papers
0 Answers Canara Bank, Central Bank of India,
what improvement make in your unit?
They were having __ essential debate on __ role of girl empowerment in __ auditorium.
who is our finanace minister?
15 Answers Cholamandalam DBS, HDFC,
Can you please mail me the frequently asked model in Railway Recruit ment Board with answers?
I am 7 letter word: § § d § p § § Clues: 1. Politician like it. 2. Advocates use it. 3. Public hate it. answer inniku night kulla sonna nenga brillant.
on c,c++.core java
can you describe for me one or two of your most important accomplishments?