title: Delete multiple rows of data from multiple tables in SQL
body: <p>I need help of making a SQL query, when I delete the main category it should delete all the data of my subcategory and all the products related to that subcategory. Basically deleting data from 3 tables.</p>
  
  <p>Can it be done in one query?</p>