title: Delete row if exists
body: <pre><code>DELETE IF EXIST `#__menu`.*
  FROM `#__menu` 
  LEFT JOIN `#__extensions` ON `#__extensions`.`name` = 'com_view' 
  WHERE `#__menu`.`component_id` = `#__xtensions`.`extension_id`
  AND `#__menu`.`alias` = 'view-sites' AND `#__menu`.`path` = 'view-sites' AND `#__menu`.`title` = 'View sites';
  </code></pre>
  
  <p>What is wrong in my sql? I think the problem is in <code>IF EXIST</code>, but i could not figure out how to use it on row.</p>