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
What is the difference between a fill factor of 100 and 0?
How will you decide the active and passive nodes?
Will sql server 2005 allow you to reduce the size of a column?
How to rename an existing column with the "sp_rename" stored procedure in ms sql server?
Can binary strings be converted into numeric or float data types?
What are the advantages dts has over bcp?
What is sql server replication? : sql server replication
what information is maintained within the msdb database? : Sql server administration
How many databases Microsoft SQL server provides?
Is sql server is free?
What is data file in computer?
How to use “drop” keyword in sql server and give an example?
How do I edit a stored procedure in sql server?
Delete duplicate rows without using rowid.
What is “begin trans”, “commit tran”, “rollback tran” and “savetran”?