I am working in SQL Server. Suppose I have the following table:
3/1/2013 aaa 7 5
1/1/2013 bbb 1 2
10/10/2012 ccc 5 8
9/9/2012 ddd 6 9
8/8/2012 bbb 2 3
I would like to take the values from the "bbb" rows and propagate them upwards (ordering by date) essentially making:
3/1/2013 aaa 1 2
1/1/2013 bbb 1 2
10/10/2012 ccc 2 3
9/9/2012 ddd 2 3
8/8/2012 bbb 2 3
What is the best way to do this in SQL Server?