title: Query to print null if there are no data available for the selected date
body: <p>Suppose I have data available for 09-02-2020 and I want last 8 days data between 01-02-2020 to 09-02-2020 but if there is no data available for 01-02-2020 to 08-02-2020 so then just print " - " at the place of data.</p>
  
  <p>I want the query for this scenario.  </p>
  
  <pre><code>Expected Output -:
  
  |Date          counts|
  |09-02-2020       15 |
  |08-02-2020        - |
  |07-02-2020        - |
  |06-02-2020        - |         
  |05-02-2020        - |
  |04-02-2020        - |
  |03-02-2020        - |
  |02-02-2020        - |
  |01-02-2020        - |
  </code></pre>