Mysql break a condition in bracket
<p>I have 2 mysql query : </p>

<pre><code>SELECT * FROM table WHERE !(col1 = 'a' &amp;&amp; col2 = 'b');
</code></pre>

<p>and </p>

<pre><code>SELECT * FROM table WHERE col1 != 'a' AND col2 != 'b';
</code></pre>

<p>This return a different result, and i want it to be like the second statement (without bracket).</p>

<p>Any idea guys ?,</p>

<p>Thanks in advance.</p>