1.

Which statement can produce the same output as ‘SHOW COLUMNS’?(a) DESCRIBE(b) DISPLAY(c) SEE(d) GETThis question was posed to me during a job interview.Asked question is from SQL Statement Syntax (Non-Compound Statements) topic in chapter SQL Syntax of MySQL

Answer»

The CORRECT choice is (a) DESCRIBE

Explanation: The ‘DESCRIBE’ statement with a table name or VIEW name produces the same kind of output as the ‘SHOW COLUMNS’ statement. The ‘SHOW’ entry can be referred to for further INFORMATION.



Discussion

No Comment Found

Related InterviewSolutions