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 / dhana

update e2 set e2.empname = e1.empname
from emp2 e2,emp1 e1
where e1.empid = e2.empid

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many clustered indexes there can be on table ?

1072


Does the unique constraint create an index?

1134


What is merge join?

1240


How to filter records of table in SQL SERVER?

1133


List the different normalization forms?

1022


What are types of subqueries?

1133


where can you add custom error messages to sql server? : Sql server administration

1176


Explain what is analysis service repository?

1049


What are the limitations/drawbacks or ssrs 2008 r2?

152


Why truncate is ddl?

1134


Explain about protocol layer present in SQL server?

1294


Does partitioning improve performance?

1021


Where sql server user names and passwords are stored in sql server? : sql server database administration

1103


What is a not null constraint?

1088


What is 2nf example?

1054