Question
MySQL Multiple Choice Answer as soon as possible 1. One of the limitations of views is that they cannot be used as part of the
MySQL Multiple Choice Answer as soon as possible
1. One of the limitations of views is that they cannot be used as part of the definition of another view. (a) True (b) False
2. A view can have dynamically calculated columns based on the data within the base table. Ex: score / total AS grade. (where grade is a new column calculated from the score and total columns in the base table). (a) True (b) False
3. In order to have privileges to a view, we need BOTH privileges to the base table(s) and to the view. (a) True (b) False
4. We can use stored functions to create unique sequences of numbers and strings which can be used for product ids. (a) True (b) False
5. If I have privileges on the base table that a view is created from, I have access to the view as well. (a) True (b) False
6. Views show up as a 'table' when running the SHOW TABLES command. (a) True (b) False
7. In order to enforce data integrity on the data within a single table, which triggers need to be implemented? (a) SELECT only (b) INSERT, UPDATE, DELETE (c) UPDATE, DELETE (d) DELETE only (e) INSERT, UPDATE (f) INSERT, DELETE (g) INSERT only
8. In order to keep an accurate count of the number of rows in a table, which triggers are required to be implemented? (a) INSERT, UPDATE, DELETE (b) INSERT, UPDATE (c) UPDATE, DELETE (d) INSERT only (e) UPDATE only (f) DELETE only (g) INSERT, DELETE
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started