πŸ“Š MySQL
Q. Which of the following does not support materialized view?
  • (A) Oracle
  • (B) SybaseSQL
  • (C) MySQL
  • (D) PostgreSQL
πŸ’¬ Discuss
βœ… Correct Answer: (C) MySQL
πŸ“Š MySQL
Q. What can be used to check for views that have been invalidated by DROP or ALTER operations?
  • (A) DETAILS TABLE
  • (B) CHECK TABLE
  • (C) VERIFY TABLE
  • (D) CREATE TABLE
πŸ’¬ Discuss
βœ… Correct Answer: (B) CHECK TABLE
πŸ“Š MySQL
Q. What cannot be done on a view?
  • (A) index
  • (B) drop
  • (C) display
  • (D) filter
πŸ’¬ Discuss
βœ… Correct Answer: (A) index
πŸ“Š MySQL
Q. A view can be deleted using the command __________
  • (A) CLEAR
  • (B) DROP
  • (C) DELETE
  • (D) REMOVE
πŸ’¬ Discuss
βœ… Correct Answer: (B) DROP
πŸ“Š MySQL
Q. Views are not updatable.
  • (A) False
  • (B) True
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (A) False
πŸ“Š MySQL
Q. A view can refer to multiple tables via
  • (A) SELECT
  • (B) GROUP
  • (C) UNION
  • (D) JOIN
πŸ’¬ Discuss
βœ… Correct Answer: (D) JOIN
πŸ“Š MySQL
Q. What is abc in the following statement?
Code:
CREATE VIEW xyz (abc) AS SELECT a FROM t;
  • (A) view
  • (B) database
  • (C) column name
  • (D) row name
πŸ’¬ Discuss
βœ… Correct Answer: (C) column name
πŸ“Š MySQL
Q. What is xyz in the following statement?
Code:
CREATE VIEW xyz AS SELECT a, b FROM t;
  • (A) column
  • (B) database
  • (C) table
  • (D) view
πŸ’¬ Discuss
βœ… Correct Answer: (D) view
πŸ“Š MySQL
Q. A View can be used to select a subset of the table columns.
  • (A) False
  • (B) True
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (B) True
πŸ“Š MySQL
Q. Which of these is also known as a virtual table?
  • (A) JOIN
  • (B) VIEW
  • (C) DATABASE
  • (D) SCHEMA
πŸ’¬ Discuss
βœ… Correct Answer: (B) VIEW