Version : 11.2
Can I make sql results more readbale like below using SqlPlus ? ie. enclosing result columns neatly in a table like structure.
+------------+------------+
| department | Avg Salary |
+------------+------------+
| Finance | 63863.2479 |
| Hardware | 66308.3700 |
| HR | 66402.6549 |
| QA | 66012.7119 |
| Software | 61928.2700 |
| Switch | 66413.2231 |
+------------+------------+
I think this is from MySQL or Postgress (the below doesn't anything about that)
http://guylichtman.com/db-spring06/hw1_solution_sql.txt
If not possible using SQL*Plus , can this be done using some other tools like PL/SQL developer (which we have) ?
Not a business case . I just want to send some SQL training stuff to my friend.
Moreover , during posting in OTN, it would be better to post some sample data , so that volunteer gurus can quickly understand what they are looking at.