I have 2 tables A- columns id & Amount.
Table A
Id Amount
1 10
2 20
3 30
Another table B columns id,Total_Amount,Product
Table B
Id Total_Amount Product
1 Apple
3 Mango
5 Orange
Now I want to update B with the Amount in A where A.id=B.Id
can u give me a script for this in MS SQL server 2000.I am a newbie.