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 optimize sql query with multiple joins in sql server?

874


How do you maintain database integrity where deletions from one table will automatically cause deletions in another table?

1175


What is indexed view?

966


How would you choose between a clustered and a non-clustered index?

951


What are the different types of cursor?

1072


What do you mean by data manipulation language?

993


Does a server store data?

905


What is the full meaning of dml?

939


What is best institute to Learn DotNET And SQL in chennai?

2151


Do you know what are the differences between lost updates and uncommitted dependencies?

1055


What is CTE in SQL

929


How does a profiler work?

907


What do you mean by SQL injection attack?

1040


Is it possible to replicate data from sql server to oracle? : sql server replication

1070


Explain linked server in sql?

1197