I am on MSSQL. I have two tables. One has ID and row values:
ID
1
2
3
4
5
Another table has ID and Amount