I think i need to put my OR in (), but not sure how . . query runs longer than it should..
I want SITE_ID to be LIke 'AP%' OR Like 'G9%' then the other ANDs.
[code language="sql"]HAVING
Q.PERI
I want SITE_ID to be LIke 'AP%' OR Like 'G9%' then the other ANDs.
[code language="sql"]HAVING
Q.PERI