title: Excluding Columns From SELECT Statement
body: <p>Hello I'm trying to know how to exclude columns from SELECT statement , 
  I have 2 tables joined.</p>
  
  <p>First Table:  </p>
  
  <pre><code> |--ID--|--Name--|--Date 1--|--Date 2--|
  </code></pre>
  
  <p>Second Table:</p>
  
  <pre><code>|--ID--|--Tax--|--Total--|
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>  |--ID--|--Name--|--Date 1--|--Date 2--|--ID--|--Tax--|--Total--|
  </code></pre>
  
  <p>This is the output what i want:</p>
  
  <pre><code>   |--Name--|--Tax--|--Total| 
  </code></pre>
  
  <p>Here's my Code:</p>
  
  <pre><code>Dim loadq As String =
              "SELECT HelperEmpEarns.*, HelperEmpDed.*" &amp; _
              "FROM (HelperEmpEarns RIGHT JOIN HelperEmpDed ON HelperEmpEarns.EmpPID = HelperEmpDed.EmpPID) " &amp; _
              "WHERE [Position] LIKE '%Helper%' AND [Pday1] &gt;= # " &amp; MetroDateTime1.Value.ToShortDateString &amp; "# AND [Pday2] &lt;= # " &amp; MetroDateTime2.Value.ToShortDateString &amp; "# AND HelperEmpEarns.EmpPID = HelperEmpDed.EmpPID"
  </code></pre>