InterviewSolution
Saved Bookmarks
| 1. |
Which statement is used to see the definition for an existing database?(a) SHOW CREATE DATABASE(b) SHOW DATABASE(c) SHOW CREATE(d) SHOW CREATE DATABASE TABLEI got this question during an interview.Enquiry is from Selecting, Creating, Dropping and Altering Databases topic in chapter Using SQL to Manage Data of MySQL |
|
Answer» CORRECT OPTION is (a) SHOW CREATE DATABASE For EXPLANATION: The statement ‘SHOW CREATE DATABASE’ is invoked to see the definition of an EXISTING database in the MySQL server. It is followed by the qualified name of the database. |
|