How to view the structure of a table?
Once the table is created, you can also see the structure of the table using the SQL statement, DESC with following syntax
Syntax
DESC tablename;
Example
Write the SQL statement to view the structure of book table.
USE demodb;
DESC book;
Comments
Post a Comment