title: If Else If Else - How can it work in Delphi?
body: <p>How does this  piece of code work?</p>
  
  <pre><code> if name &lt;&gt; '' then 
  
      begin 
        sql_1
      end
  
  else if PARAMETRIC then 
      begin
           sql2
      end 
  else 
      begin
          sql3
     end
   end;
  </code></pre>
  
  <p>execute sql choosed by if or elseif or else.....</p>
  
  <pre><code>name = is a string
  PARAMETRIC = is a boolean
  sql1, sql2, sql3 are different queries (sorry for forgot it :( )
  </code></pre>