The SQL MAKE TABLE command is used to construct tables, define columns, define column constraints and create relationships.
The SQL MAKE TABLE command is used to construct tables, define columns, define column constraints and create relationships.
When a foreign key column is created without a corresponding foreign key constraint, we have created a "casual relationship" between the two tables.
When a foreign key column is created without a corresponding foreign key constraint, we have created a "casual relationship" between the two tables.
A trigger is a stored program that is attached to a database.
A trigger is a stored program that is attached to a database.
What SQL structure is used to limit column values of a table?
What SQL structure is used to limit column values of a table?
The DROP TABLE statement:
The DROP TABLE statement:
Which of the following is an SQL trigger supported by Oracle?
Which of the following is an SQL trigger supported by Oracle?
What is an SQL virtual table that is constructed from other tables?
What is an SQL virtual table that is constructed from other tables?
For what purposes are views used?
For what purposes are views used?
The SQL command to create a table is:
The SQL command to create a table is:
A SQL view is a virtual table that is constructed from other tables or views.
A SQL view is a virtual table that is constructed from other tables or views.
A stored procedure is a program that performs some common action on database data and is stored in the database.
A stored procedure is a program that performs some common action on database data and is stored in the database.
The SQL ALTER statement can be used to:
The SQL ALTER statement can be used to:
When using the SQL INSERT statement:
When using the SQL INSERT statement:
To update an SQL view, the DBMS must be able to associate the column(s) to be updated with:
To update an SQL view, the DBMS must be able to associate the column(s) to be updated with:
A ________ is a program that performs some common action on database data and that is stored in the database.
A ________ is a program that performs some common action on database data and that is stored in the database.
SQL has a JOIN ON syntax that can be used to create inner joins and outer joins.
SQL has a JOIN ON syntax that can be used to create inner joins and outer joins.
A ________ is a stored program that is attached to a table or a view.
A ________ is a stored program that is attached to a table or a view.
SQL views can be used to hide:
SQL views can be used to hide:
The SQL DELETE statement is used to delete both the table structure and table data.
The SQL DELETE statement is used to delete both the table structure and table data.
Common types of SQL CHECK constraints include range checks and limiting columns values.
Common types of SQL CHECK constraints include range checks and limiting columns values.
Which is NOT one of the most common types of SQL CHECK constraints?
Which is NOT one of the most common types of SQL CHECK constraints?
Which of the following is NOT a type of SQL constraint?
Which of the following is NOT a type of SQL constraint?
There are three SQL data modification operations: insert, modify and delete.
There are three SQL data modification operations: insert, modify and delete.
SQL Server does not support the BEFORE trigger.
SQL Server does not support the BEFORE trigger.
A view that contains a computed column can be easily updated.
A view that contains a computed column can be easily updated.
Standard SQL-92 views are constructed from SQL SELECT statements that do not contain the GROUP BY clause.
Standard SQL-92 views are constructed from SQL SELECT statements that do not contain the GROUP BY clause.
A updatable view has its own data.
A updatable view has its own data.
Views constructed from SQL SELECT statements that conform to the SQL-92 standard may not contain:
Views constructed from SQL SELECT statements that conform to the SQL-92 standard may not contain:
SQL statements can be embedded in triggers, stored procedures, and program code.
SQL statements can be embedded in triggers, stored procedures, and program code.
The SQL CHECK constraint is fully defined by the SQL-92 standard, and is consistently implemented by all DBMS vendors.
The SQL CHECK constraint is fully defined by the SQL-92 standard, and is consistently implemented by all DBMS vendors.
Views can be used to show the results of computed columns.
Views can be used to show the results of computed columns.
Three types of triggers are: BEFORE, AFTER and EXCEPTION.
Three types of triggers are: BEFORE, AFTER and EXCEPTION.
The SQL statement to create a view is:
The SQL statement to create a view is:
A reason for using an SQL view to hide columns is:
A reason for using an SQL view to hide columns is:
If any required (NOT NULL) columns are missing from the view, the view cannot be used for inserting new data.
If any required (NOT NULL) columns are missing from the view, the view cannot be used for inserting new data.
What is not an advantage of stored procedures?
What is not an advantage of stored procedures?
The SQL statement used to create a view is CREATE VIEW.
The SQL statement used to create a view is CREATE VIEW.
What is an advantage of placing computations in SQL views?
What is an advantage of placing computations in SQL views?
A benefit of using a stored procedure is that it can be distributed to client computers.
A benefit of using a stored procedure is that it can be distributed to client computers.