title: Teradata Sql query
body: <p>I have data  as follows in a Table ( 3 columns ):</p>
  
  <pre><code>Name    StartDt         EndDt
   A     01/01/2009    12/31/2009
   A     01/01/2010    11/30/2010
   B     03/01/2011    10/31/2011
   A     04/01/2012    12/31/2012
   A     01/01/2013    08/01/2013
  </code></pre>
  
  <p>Now I want to create a Output using Terdata Sql query as follows:</p>
  
  <pre><code>Name    Min_Startdt    Max_Startdt
   A       01/01/2009    11/30/2010
   A       04/01/2012    08/01/2013
   B       03/01/2011    10/31/2011
  </code></pre>
  
  <p>Please let me how this can be achieved via a Teradata Query</p>