Brilliant! Simply Brilliant! That didn't even cross my mind to put that in the having clause, and great explination on how where works before group by and having works after. I did not know that :-)
So far I've asked 2 questions here on PerlMonks and got 2 great answers!
PerlMonks++ and socketdave++
In reply to Re^2: (Class::DBI Oracle SQL) rownum and group by woes
by Tyraziel
in thread (Class::DBI Oracle SQL) rownum and group by woes
by Tyraziel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |