A brief Introduction to Oracle SQL/PL-SQL - Solution You can add new or alternate solutions. And if you find any mistakes, let me know. Happy querying.