I have two tables of scores of student:
The Fields of the two table like:
Table1:StID, Math, Nature
Table2: StID, GradeID, Math, Nature
When I update the sore in Table1 form Table2 where Table2.GradeID=2
Update Table1 set Table1.Math=(Select Math from Table2 where
Table2.StID=Table1.StID and Table2.GradeID=2;
Update Table1 set Table1.Nature=(Select Nature from Table2 where
Table2.StID=Table1.StID and Table2.GradeID=2;
Can I do that just as one SQL?