title: How to troubleshoot/debug a MySQL slow query?
body: <p>If you have a slow SQL query, how do you debug it?   </p>
  
  <p>Where do you start and what are the steps needed to identify the problem?</p>
  
  <p>I'm new to this subject and searching online wouldn't give me a clear idea how to start.</p>