Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Post New Answer

More English Interview Questions

i need R S Agrawal objective general english...can somebody provide the path to download that book/

0 Answers  


what is the meaning of kpo

2 Answers  


the average marks obtained by 22 candidtes is 45 the average of the first 10 is 55 while that of the last 11 is 40 the marks obtained by the candidates are

2 Answers  


i am a college student in our place...i have a question What is the most question use in interviewing a company for making a system analysis and design proposal. give me some exmple for the open ended question and closed ended?

0 Answers   Ocwen,


pivot table is use for?

3 Answers   eClerx, Epicenter,


SSC ? Grade ?D? Exam ENGLISH ORDERING OF SENTENCES

2 Answers   NIIT, TCS, Temenos,


why want to join amex

1 Answers   American Express, Amex,


SSC ? Grade ?D? Exam ENGLISH CLOSET TEST TEST ? 19

1 Answers  


i have applied syndicate bank clerk post . what type of questions may be will ask at the time of interview .Is there prefear for bnking questions? or prefere for current affirs questions?? plese send me any one answer....thank you.

0 Answers  


Give two activities for improving the skill of speaking.

0 Answers   Mahatma Gandhi University,


how will change the sequence of firing triggers for text item in forms 6i

1 Answers  


SSC ? Grade ?D? Exam ENGLISH CLOSET TEST TEST ? 14

2 Answers  


Categories