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

Update emp2 set empname = (Select empName from emp1 where
emp2.empid =emp1.empid)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Normalization and DE normalization

1055


Suggest a method of joining two tables.

1104


How to perform backup for certificates in sql server? : sql server security

1026


How to get the definition of a user defined function back?

1003


What is a derived table?

872


Your table has a large character field there are queries that use this field in their search clause what should you do?

854


Explain ms sql server reporting services vs crystal reports?

857


What is snapshot report?

153


What do you understand by physical_only option in dbcc checkdb?

935


Tell me can we use custom code in ssrs?

959


what types of replication are supported in sql server? : Sql server database administration

959


What is a schema in ms sql server 2005?

917


Your company has 50 branches all over the country all the branches, including the head office have sql server as the database every night all 50 branches upload certain information to the head office which replication topology is best suited for the above scenario?

1069


What are the different types of sql server replication? : sql server replication

1159


How to retrieve field values using mssql_result()?

1192