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

write down the sql query?

Table Name : emp1
empid empname
1 bala
2 guna

Table Name : emp2
empid empname
1 <Null>
2 <Null>

Solution : emp1 names are updated in emp2, write a query?

Answer Posted / vidya

update emp2 set empname =e.empname from emp1 e where
e.empid =emp2.empid

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to transfer data from a cursor to variables with a "fetch" statement?

1019


how to do partition in sqlserver

2406


Explain “@@rowcount” and “@@error” in sql server?

997


what is raid and what are different types of raid configurations? : Sql server database administration

972


Is null in sql server?

938


Explain sql delete command?

1002


What is the architecture of ms sql reporting service?

918


What is the synonym of join?

892


What is scrollable cursor?

981


How do I setup a sql server database?

996


Can an entity have two primary keys?

921


Suppose you want to implement the many-to-many relationships while designing tables. How would you do it?

951


Explain what is “asynchronous” communication in sql server service broker?

865


What is constraints and its types?

875


What is ddl command?

923