Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
SQL for Database Construction Questions
Stored procedures: which of the following is NOT an advantage of using stored procedures in a database system?
SQL Data Definition Language (DDL): which statement is used to create a named view over one or more base tables?
In SQL, what does the DROP TABLE statement do with respect to the table’s structure and data, considering referential integrity?
Terminology check: a program stored inside the database that performs a common action on data is called a(n) ________.
SQL constraints: which of the following is NOT a standard SQL constraint type supported by mainstream relational databases?
What do we call an SQL virtual table constructed from one or more base tables using a saved SELECT definition?
SQL views: for what purposes can views be used (rows/columns security and complexity hiding)?
Updatable views: to update a view, the DBMS must be able to map the update to which underlying element(s)?
Oracle triggers: which timing/event trigger types are supported for table/view operations?
In SQL-92 compliant relational databases, views that are defined using a SELECT query have certain restrictions. Which clause is not allowed inside the defining SELECT of a view (i.e., the view's query text itself)?
In relational databases, what can an SQL view hide from end users or client code?
In SQL and relational databases, what do we call a stored program attached to a table or view that automatically fires in response to DML events (INSERT, UPDATE, DELETE)?
Considering standard SQL, what is true about inserting rows using the SQL INSERT statement?
In SQL Data Definition Language (DDL), what can the ALTER TABLE statement be used to do?
Which of the following is NOT one of the common categories for SQL CHECK constraints used to limit acceptable values?
What is an advantage of placing computed expressions or derived columns inside an SQL view definition?
Which SQL statement creates a new base table (i.e., defines a table in the schema)?
Why might you use an SQL view specifically to hide certain columns from end users?
In standard SQL, which constraint type is used directly on a column or table to limit allowed values (for example, enforce a range, a list, or a comparison rule)?
A view that contains a computed column can be easily updated.
1
2