title: How to create a summary table?
body: <p>I have rows:</p>
  
  <pre><code>PLACE   DATE_OPEN   SUM
  -----------------------
  PLACE1  03.09.2018  2
  PLACE2  03.09.2018  2
  PLACE1  04.09.2018  8
  PLACE1  05.09.2018  9
  PLACE2  05.09.2018  1
  </code></pre>
  
  <p>I get the rows using this SQL query:</p>
  
  <pre><code>SELECT
      SB AS [PLACE], 
      CAST(OPEN_TIME AS DATE) AS [DATE_OPEN], 
      COUNT(ID) AS [SUM]
  FROM
      [Table]
  WHERE
      SB IN ('PLACE1', 'PLACE2')
  GROUP BY 
      SB, CAST(OPEN_TIME AS DATE)
  </code></pre>
  
  <p>I want to get a table in the form of a summary table, is it possible to do this using SQL?</p>
  
  <p>Example of the desired output:</p>
  
  <pre><code>PLACE   DATE_OPEN   
          03.09.2018  04.09.2018  05.09.2018
  PLACE1  2           8           9
  PLACE2  2                       1
  </code></pre>