1. Home
  2. Computer Science MCQs
  3. MySQL
  4. What is the benefit of using views in MySQL?

Added 27 Jan 2024

What is the benefit of using views in MySQL?

  1. Improve query performance by pre-calculated data. 
  2. Simplify complex queries for users.
  3. Increase data security by restricting access.
  4. All of the above. Correct answer

Correct answer

D. All of the above.

19 views

MCQSEXAM

Explanation

Views simplify complex queries by saving them as virtual tables, and they increase security by exposing only selected columns/rows. Hence all of the above apply.

Doubts & discussion

Not sure why the answer is D? 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