title: Golang SQL expected 0 arguments got 1
body: <p>I am using the following query to query the DB. But I get the error <code>sql: expected 0 arguments, got 1</code>.</p>
  <p>Following is the code that I am using:</p>
  <pre><code>row := DB.QueryRow(`SELECT COUNT(*) FROM Users WHERE Id = &quot;%s&quot;;`, userID)
  if err != nil {
      return err.Error()
  }
  </code></pre>
  <p>I am using the following package and driver</p>
  <pre><code>import (
      &quot;database/sql&quot;
      _ &quot;github.com/go-sql-driver/mysql&quot;
  )
  </code></pre>
  <p>Edit:</p>
  <p>I also tried with the following query, but I get the same error.</p>
  <pre><code>row := DB.QueryRow(`SELECT COUNT(*) FROM Users WHERE Id = &quot;$1&quot;;`, userID)
  if err != nil {
      return err.Error()
  }
  </code></pre>