Using SQL like Excel
SQL allow you to manage a result set as a spreadsheet. It is possible using the MODEL clause.
Oracle introduced MODEL in 10g version [1].
It is simple to visualize how MODEL works, if you understand the relation between SQL and the spreadsheet.
How you can see in the following picture