Data set example is as follows:
noteid seq notebalance 1 4 125.00 1 3 120.00 2 8 235.00 2 6 235.00 2 5 200.00 3 9 145.00 4 17 550.00 4 16 550.00 4 14 500.00 4 12 450.00 4 10 400.00 ...
so we basically have the latest notebalance at the beginning of each noteid group.
What is the proper sql syntax to obtain the latest balances for each noteid?
as in:
1 4 125.00 2 8 235.00 3 9 145.00 4 17 550.00