title: DateWise Query with sum count in Oracle
body: <p>Below is the one is my actual resulset in oracle database </p>
  
  <pre><code>TIMESTAMP          SUCESS  FAILURE  
  
  26-01-2017            1      0    
  
  31-01-2017            0      1            
  </code></pre>
  
  <p>If i select from <code>26-01-2017</code> to <code>31-01-2017</code> .Query has to return like this below </p>
  
  <p>expected resultset</p>
  
  <p>Timestamp 26-01-2017  27-01-2017 28-01-2017  29-01-2017   30-01-2017 31-01-2017 </p>
  
  <p>Sucess      1             0          0         0             0         0      |</p>
  
  <p>Failure     0             0          0         0             0         0 </p>
  
  <pre><code> Please can anyone give me suggestions to write logic for above expected resultset?
  </code></pre>