title: How can I simulate a print statement in MySQL?
body: <p>I have some procedures where I would like to get some kind of acknowledgement after a condition has been assessed.</p>
  
  <p>For example, the pusedocode would be like,</p>
  
  <pre><code>if ( select count(*) from assgn to where eid = 1 )  &gt; 5
    print " the total number of projects employee working is more than 5 "
  else
    insert the value into the assgnto table  
  </code></pre>
  
  <p>How should I go about doing that in MySQL?</p>