Update Multiple Data from 1 Table to Other Table in Single Query.
1. Table A
| ID | Name | Age | CourseName |
| 1 | Rahul | 25 |
|
| 2 | XYZ | 26 |
|
| 3 | ABC | 30 |
|
| 4 | PQR | 22 |
|
2. Table B

Markandeshwar JhaPosted May 23, 2014, 6:39 AM
u can also write like thisupdate tableA set tableA.Coursename=tableB.courseName from tableB where tableA.id=tableB.id
ajit kadanPosted Apr 14, 2014, 8:43 AM
Great work :)