If my answer helped you and you want to learn more about Oracle SQL, please check out my new book, Pro Oracle SQL Development.
I am an Oracle SQL and PL/SQL fanatic. I love writing and tuning large queries and gluing them together with PL/SQL.
If you work with lots of Oracle databases, check out my open source remote execution program Method5. It lets you easily run SQL, PL/SQL, and shell scripts quickly and securely on hundreds of databases.
Feel free to email me about my projects, answers, or book at firstname.lastname@example.org