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 do indexes help, types?

911


you want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition? : Sql server administration

1004


How many types of relations are there between dimension and measure group? : sql server analysis services, ssas

1158


What is 2nf example?

943


Does partitioning ssd reduce performance?

849


What is sql server 2000 work load governor?

978


How do I make a resultset scrollable?

911


Difference between report and query parameter. Why do we need different type of parameter?

906


What is a subquery in a select query statement in ms sql server?

1069


What are the different Topologies in which Replication can be configured?

1120


which backup strategy you are following at ur company

2103


What is the federation in sql azure?

95


What is catalog views?

1025


Which is faster statement or preparedstatement?

894


What is tcl in sql server?

1080