SHOW VIEWs
SHOW VIEWs [name]
The first form of this command displays a list of all views in the current database.Drilling down using the second form of the command will display the columns and source code for a specific view.
SQL> show views; PHONE_LIST SQL> show view phone_list; EMP_NO (EMPNO) SMALLINT Not Null FIRST_NAME (FIRSTNAME) VARCHAR(15) Not Null LAST_NAME (LASTNAME) VARCHAR(20) Not Null PHONE_EXT VARCHAR(4) Nullable LOCATION VARCHAR(15) Nullable PHONE_NO (PHONENUMBER) VARCHAR(20) Nullable View Source: ==== ====== SELECT emp_no, first_name, last_name, phone_ext, location, phone_no FROM employee, department WHERE employee.dept_no = department.dept_no