some quick questions.
I have this query:
SELECT u.Table_Name, u.Column_Name
FROM User_Tab_Columns u;
Which gives me these results:
TABLE_NAME COLUMN_NAME
------------------------------ -----------
BONUS ENAME
BONUS JOB
BONUS SAL
BONUS COMM
DEPT DEPTNO
DEPT DNAME
DEPT LOC
DUMMY DUMMY
EMP EMPNO
EMP ENAME
EMP JOB
EMP MGR
EMP HIREDATE
EMP SAL
EMP COMM
EMP DEPTNO
SALGRADE GRADE
SALGRADE LOSAL
SALGRADE HISAL
I'm unsure how to make it so that the table_name results do not repeat (so one of each result) and to have the number of columns that each table has in place of the column_name.
Thanks in advance for any help.