title: SQL query returnin previous weeks
body: <p>I need the SQL query which will return previous 10 weeks in format 2017W03 for given week in the sam format.</p>
  
  <p>So for week given in format 2017W05 this query should return:</p>
  
  <pre><code>2017W05
  2017W04
  2017W03
  2017W02
  2017W01
  2016W52
  2016W51
  2016W50
  2016W49
  2016W48
  </code></pre>