PL/SQL was used to consolidate data from multiple external systems into a single SQL query. Pipelined functions gathered data from different sources like databases, web pages, and files into a dataset. Embedded Java executed OS commands to access remote databases and send HTTP requests. Autonomous transactions logged all queries while not interfering with other operations, providing a secure way to access diverse data sources through a single SQL interface.