1. Home
  2. Computer Science MCQs
  3. MySQL
  4. USE keyword is used to select a ____

Added 19 Jan 2024

USE keyword is used to select a ____

  1. Table
  2. Column
  3. Database Correct answer
  4. All of the above

Correct answer

C. Database

14 views

MCQSEXAM

Explanation

The USE statement selects a database as the default for the statements that follow: USE mcqs_db;. After that, table names are looked up in that database without a prefix.

Tables and columns are not "selected" with USE — they are referenced inside queries such as SELECT.

Want more practice? Try the full set of Database Management Systems MCQs on MCQsExam.com.

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More MySQL MCQs

Practise all MySQL MCQs

Similar MCQs