title: CAML query to get items from SPList
body: <p>I wanted to update the Name field in a list which contain 'finance' in the department list. I wrote the following code but it updates every item in the Name column whether it contains 'finance' or not.              </p>
  
  <p>What am i doing wrong?</p>
  
  <pre><code>SPListItemCollection Items = RiskAssesment.GetItems(new SPQuery()
  {
       Query = @"&lt;where&gt;
                     &lt;Eq&gt;
                         &lt;FiledRef Name 'Department'/&gt;
                         &lt;Value Type='Text'&gt;Finance &lt;/Value&gt;
                     &lt;/Eq&gt;
                 &lt;/Where&gt;"
  });
  
  foreach (SPListItem item in Items)
  {
      item["Name"] = "abcdef";
      item.Update();
  }     
  </code></pre>