title: How to insert variable inside a Select statement
body: <pre><code>string table = "City";
  string query = "Select * from '"+table+"'";
  </code></pre>
  
  <blockquote>
    <p>This gives me error stating incorrect symbol near ".</p>
  </blockquote>
  
  <p>However,</p>
  
  <pre><code>string query = "Select * from City";
  </code></pre>
  
  <p>Gives the proper output.</p>