title: same column value output as percentage in mysql
body: <p>Sample Table:</p>
  
  <p><a href="https://i.stack.imgur.com/wUpqQ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wUpqQ.jpg" alt="enter image description here"></a></p>
  
  <p>Here table has 5 entries for employee 1. 1 means present, 2 means absent and 3 means late. I want following output.</p>
  
  <p>sample Output:
  <a href="https://i.stack.imgur.com/yCD7O.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yCD7O.jpg" alt="enter image description here"></a> </p>