1.

Which statement is used to select a default database?(a) USE(b) CREATE(c) DROP(d) SCHEMAThis question was addressed to me at a job interview.This key question is from Selecting, Creating, Dropping and Altering Databases in chapter Using SQL to Manage Data of MySQL

Answer»

The CORRECT ANSWER is (a) USE

To elaborate: MySQL has the facility to use VARIOUS statements specifically at the database level. For selecting a DEFAULT database, the keyword or clause used is the ‘USE’ statement.



Discussion

No Comment Found

Related InterviewSolutions