How to check which one of the username or password is incorrect?
<p>I want to check which one of the username or password is incorrect in a single mysql query.</p>

<p>Scenario:</p>

<p>When a user types a username and password and clicks submit, I want to show an error message which one is incorrect. I need a simple and optimized query for this.</p>
