title: Azure Logic Apps: Set condition to False when SQL query returns no rows of data
body: <p>How can i conditionally test the output from an Execute SQL Query to make sure it returns some rows of data.</p>
  
  <p>In my example below if the query returns no rows I don't want it to send an email, I want to do something else. What is the test?</p>
  
  <p><a href="https://i.stack.imgur.com/ysxLJ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ysxLJ.jpg" alt="What do i put here"></a></p>
  
  <p>Thanks for your time</p>