Skip to main contentSkip to solution

We can view structure of an already created table using which of the following statement?

Solution

✅ Correct Option: 1

DESCRIBE is the SQL statement that displays the structure of an existing table: its column names, data types, sizes and constraints such as NULL or key. For example, DESCRIBE student;\texttt{DESCRIBE student;} lists all columns of the table student.


Option 2: DES is not a valid SQL keyword. The accepted short form is DESC.

Option 3: CREATE is used to make a new table, not to view an existing one.

Option 4: DESCRIPTION is not an SQL command.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question