I have 2 tables with common column id
Table A:
ID value1 value2 value3
------------------------------------
1 0 0 0
Table B:
ID value_type value
--------------------------------------
1 value1 0.01
2 value2 0.02
3 value3 0.03
I want to update table A value using table b value,
Final Output :
ID value1 value2 value3
-----------------------------------------
1 0.01 0.02 0.03
Can anyone show me how to write a query and fetch the result as above, Thanks very much! I have tried join, pivot. all result nothing.

Table Ahas more than oneIDvalue?