Santysri1976
IS-IT--Management
I am having a database like
Childid Month Height
1 Jan-2019 12.5
1 Feb-2019 null
1 Mar-2019 null
1 Apr-2019 13.5
2 Jan-2019 10.0
2 Feb-2019 null
2 Mar-2019 10.5
Now I want a query which will update null value in height with last taken month and the result should be like
Childid Month Height
1 Jan-2019 12.5
1 Feb-2019 12.5
1 Mar-2019 12.5
1 Apr-2019 13.5
2 Jan-2019 10.0
2 Feb-2019 10.0
2 Mar-2019 10.5
Childid Month Height
1 Jan-2019 12.5
1 Feb-2019 null
1 Mar-2019 null
1 Apr-2019 13.5
2 Jan-2019 10.0
2 Feb-2019 null
2 Mar-2019 10.5
Now I want a query which will update null value in height with last taken month and the result should be like
Childid Month Height
1 Jan-2019 12.5
1 Feb-2019 12.5
1 Mar-2019 12.5
1 Apr-2019 13.5
2 Jan-2019 10.0
2 Feb-2019 10.0
2 Mar-2019 10.5