Skip to content

Remove redundant brackets in condition

Tako Lee edited this page Feb 17, 2014 · 1 revision

Turn this SQL

SELECT * 
FROM   syspar 
WHERE 
  ((( (( a = b )) 
      AND ( c = d ) ))) 

into

SELECT * 
FROM   syspar 
WHERE 
  ( ( a = b ) 
    AND ( c = d ) ) 
Clone this wiki locally