title: Error to make SQLite command in C# using variables?
body: <p>I have problem in C# to make a SQLite command. I've trying to use code like this:</p>
  
  <pre><code>SQLiteCommand komenda = new SQLiteCommand("SELECT cena FROM dniowka WHERE (model = '@Name' AND element = '@Name2')", cnn);
  </code></pre>
  
  <p>but it doesn't work... :( before i used LIKE statement: </p>
  
  <pre><code>SQLiteCommand komenda = new SQLiteCommand("SELECT cena FROM dniowka WHERE model LIKE @Name AND element LIKE @Name2", cnn);
  </code></pre>
  
  <p>it works. But I have a little problem. When I have a few records that contain "AL" for example, "1AL, 2AL, AL ...". I do not know how to do to get the only one record "AL" (@ Name2 = AL).</p>
  
  <p>Does anyone have any idea?</p>
  
  <p>[P. S. sorry for my english ..]</p>