Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
Database
»
SQL for Database Construction
What is an advantage of placing computations in SQL views?
To save users from having to write an expression.
To ensure that the results are consistent.
To accomplish both of the above.
None of the above is correct - computations cannot be placed in a view.
Correct Answer:
To accomplish both of the above.
← Previous Question
Next Question→
More Questions from
SQL for Database Construction
The SQL command to create a table is:
A reason for using an SQL view to hide columns is:
What SQL structure is used to limit column values of a table?
A view that contains a computed column can be easily updated.
Views can be used to show the results of computed columns.
Common types of SQL CHECK constraints include range checks and limiting columns values.
The SQL DELETE statement is used to delete both the table structure and table data.
SQL statements can be embedded in triggers, stored procedures, and program code.
There are three SQL data modification operations: insert, modify and delete.
If any required (NOT NULL) columns are missing from the view, the view cannot be used for inserting new data.
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments