title: SQL values for min and max rows in one row
body: <p>I have a table with price changes and I need to get initial price and latest price.
  In other words I want to display price values for min(StartDate) and max(StartDate) in one row for each product.</p>
  
  <p>Table structure is simple:</p>
  
  <pre><code>ProductID, StartDate, Price
  </code></pre>
  
  <p>Desired result is </p>
  
  <pre><code>ProductId, StartDate, InitialPrice, LatestDate, LatestPrice
  </code></pre>