title: PostgreSQL 9.3: Split one column into multiple
body: <p>I want to split one column that is <code>colb</code> in the given below example into two columns
  like <code>column1</code> and <code>column2</code>.</p>
  
  <p>I have a table with two columns:</p>
  
  <p><strong>Example</strong>:</p>
  
  <pre><code>create table t3
  (
      cola varchar,
      colb varchar
  );
  </code></pre>
  
  <p>Insertion:</p>
  
  <pre><code>insert into t3 values('D1','2021to123'),
                       ('D2','112to24201'),
                       ('D3','51to201');
  </code></pre>
  
  <p>I want to split the <code>colb</code> values into two columns like the following expected result:</p>
  
  <p><strong>Expected Result</strong>:</p>
  
  <pre><code>cola      column1        column2
  ---------------------------------
  D1        2021           123
  D2        112            24201
  D3        51             201
  </code></pre>