title: How Apply Join in SQL Server
body: <p>I have two table Tab1  and Tab2.  Tab1 contain some data but Tab2 doesn't contain any data in present but in future it may be contain data . Now i want to apply join b/w both table</p>
  
  <p>Tab1</p>
  
  <pre><code>Id Name
  1    A
  2    B
  </code></pre>
  
  <p>Tab2</p>
  
  <pre><code>Id   Class
  </code></pre>
  
  <p>if Tab2 is Null table then data of Tab1 table must be show and Column of Tab2 Table must be contain..</p>
  
  <p>Like</p>
  
  <pre><code>ID  Name  Class
  1   A     NULL
  2   B     NULL
  3   C     NULL
  </code></pre>
  
  <p>So please help me how can I obtain such output?</p>