title: How to use delete query with and condition in magento
body: <p>I need to execute following query in magento </p>
  
  <pre><code>DELETE FROM `table_name` WHERE `column1` = '" . $value1. "' and `column2`='" . $value2. "'"
  </code></pre>
  
  <p>How can I frame this in magento basis like,</p>
  
  <pre><code>Mage::getModel('module/model')-&gt;setId($id)-&gt;delete();
  </code></pre>
  
  <p>Thanks in advance....</p>