Some examples of how you can generate interesting SQL execution plans to help to unserstand how they work.
These scripts have been tested on Oracle Database 12c Release 2
DISCLAIMER:
-- These scripts are provided for educational purposes only.
-- They are NOT supported by Oracle World Wide Technical Support.
-- The scripts have been tested and they appear to work as intended.
-- You should always run scripts on a test instance.