title: Gmod Lua/Sql Error (attempt to concatenate a table value)
body: <p>Hey guys I'm having a problem with SQL queries</p>
  
  <p>i have this code:</p>
  
  <pre><code>sql.Query("SELECT hp FROM hp_data WHERE steam =  '"..ply:SteamID().."';")
  </code></pre>
  
  <p>This is the error I get:</p>
  
  <blockquote>
    <p>"attempt to concatenate a table value"</p>
  </blockquote>
  
  <p>My table looks like this:</p>
  
  <p>The table is called hp_data</p>
  
  <pre><code> | steam      | hp  | money |
  
  1|STEAM:0_0_0 | 100 | 500   |
  </code></pre>
  
  <p>What can I do to make 
  <code>"sql.Query("SELECT hp FROM hp_data WHERE steam = '"..ply:SteamID().."';")"</code> return 100 ?</p>
  
  <p>Thanks for reading :) </p>