In the following set of data in SQL Server 2014 how would I select prices >= 2/1/2014 and then the 7 rows prior to 2/1/2014? Date Price 2014-01-23 10269.389648 2014-01-24 10034.44043 2014-01-27 9981.349609 2014-01-28 10066.839844 2014-01-29 9962.919922 2014-01-30 10048.69043 2014-01-31 9967.650391 2014-02-03 9741.580078 2014-02-04 9816.969727 2014-02-05 9809.030273 2014-02-06 9940.219727 2014-02-07 10055.339844 2014-02-10 10050.400391 I can […]
The post How to get specified number of prior rows from a specified row in SQL Server 2014? appeared first on BlogoSfera.