Can a view can be built from the below requirement :
For eg,
I have a table having price from period_key 150 to period_key 156
My max(period_key) is 165
I want a view that will show
price from period_key 150 untill period_key 165 and the price will be the latest price i.e price of period_key 156
for the period_key 157 untill 165.