Computer Science

How would you view the structure of table Dept ?

DDL & DML

3 Likes

Answer

To view the structure of a table in SQL, we use DESC[RIBE] command of MySQL * Plus. The syntax of this command is as follows : DESC[RIBE] <tablename> ;.

For example, the command to view the structure of table Dept is DESCRIBE Dept ; or DESC Dept ;.

Answered By

3 Likes


Related Questions