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...


. With the help of above table EMP, perform the following
operation is sql.
a) Add the new column “DEPTNO”
b) Rename the table
c) Update table
d) Modify the table if column ‘SAL’ whose data type is
number (10) and you want to enter varchar2 (15) . For
example $USD 20 etc.

Answers were Sorted based on User's Feedback



. With the help of above table EMP, perform the following operation is sql. a) Add the new colum..

Answer / guest

create table emp(EMPID number(9),SAL number(10));
Result:creates a table named EMP.
a)alter table EMP add DEPTNO number(9);
Result:a new coloumn DEPTNO is added to the existing table EMP.
b)alter table EMP rename to EMP-RENAMED;
Result:renames the table name EMP to EMP-RENAMED.
c)update EMP-RENAMED
set SAL=SAL+10000
where EMPID>=xxxx;
Result:updates the salaries of Table emp depending upon the condition.
d)alter table EMP-RENAMED modify SAL varchar2(15);
Result:alters the SAL coloumn datatype to varchar2.

Is This Answer Correct ?    2 Yes 0 No

. With the help of above table EMP, perform the following operation is sql. a) Add the new colum..

Answer / arvind agrawal

if want a column in table emp then perform above operation
sql>add deptno into emp;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

Urgent Openings for Java and .NET ( India, Singapore, Australia, Japan)

6 Answers   CTS,


differences between qtp10.0 and 11.0 ?

0 Answers  


what is the similarity between networking devices?

0 Answers   Cygnus, Infosys,


pleasew define carrier scope in abap (sap).

0 Answers  


EXPLAIN UNARY OPEARATORS

0 Answers  


What is dialog programming?

0 Answers  


What do you mean by text editor?

1 Answers   Infosys,


How to print a name "ARCHANA" in any programming language

6 Answers   Value Labs,


Write a program to swap the content of two variables without using a third variable.

0 Answers   Zensar,


What is meaning of web application. & the purpose of web application. with description.

1 Answers  


hi viewers, tell me,what is scripting and programming, define and difference...pls

0 Answers   Symphony,


Hi I am Rathnam, How To Remove the duplicates with out using remove duplicate stage in the datastage

0 Answers   TCS,


Categories