Questions
When a "one" table's primary key field is added to a related "many" table in order to create the common field which relates the two tables, it is called a…
View QuestionA primary key is a column whose values uniquely identify every row in a table. Primary key values can never be reused. If a row is deleted from the table,…
View QuestionProperties of the transaction can be summarized as ACID Properties. 1. Atomicity A transaction consists of many steps. When all the steps in a transaction gets completed, it will get…
View QuestionPrimary keys are the unique identifiers for each row. They must contain unique values and cannot be null. Due to their importance in relational databases, Primary keys are the most…
View QuestionA stored procedure is like a function that contains a set of operations compiled together. It contains a set of operations that are commonly used in an application to do…
View QuestionA Trigger is a code that associated with insert, update or delete operations. The code is executed automatically whenever the associated query is executed on a table. Triggers can be…
View Question1. Views can represent a subset of the data contained in a table; consequently, a view can limit the degree of exposure of the underlying tables to the outer world:…
View QuestionA view is a virtual table based on the result-set of an SQL statement. We can create using create view syntax. CREATE VIEW view_name AS SELECT column_name(s) FROM table_name WHERE…
View QuestionPrimary key cannot have NULL value, the unique constraints can have NULL values. There is only one primary key in a table, but there can be multiple unique constrains.
View QuestionA super key is a set of attributes of a relation schema upon which all attributes of the schema are functionally dependent. No two rows can have the same value…
View Question