Vidyalelo
MySQL · Q1139

MySQL

Programming · MySQL · question 1139

Q1139

It is required to have an access privilege for a database before selecting it with 'USE'.

A.
True
Answer
B.
False

Answer: Option A

Solution

Answer: Option A
Solution:
This question asks if you need a special permission (an access privilege) to use a specific database in MySQL.

Think of it like this: imagine a library with different sections for different types of books. You can't just walk into any section and start reading. You need to be allowed to access that specific section first.

In MySQL, it's the same. Before you can use the USE command to switch to a particular database, you need the right permission to access it.

So the answer is Option A: True.