Question
Which of the following integrity constraints ensures
that every non-null foreign key value must reference an existing primary key value in another table?Solution
Referential integrity enforces a relationship between two tables by ensuring that a foreign key in one table matches a valid primary key in another table. This constraint guarantees that the data is consistent and prevents "orphan" records. For example, in an "Orders" table with a foreign key referencing a "Customers" table, referential integrity ensures that every order must belong to an existing customer. If a foreign key value does not match any primary key value in the referenced table, the database system will reject the operation, ensuring data consistency. Why Other Options Are Incorrect:
- Option A: Entity integrity relates to primary keys, ensuring they are unique and not NULL. It does not address relationships between tables.
- Option C: Domain integrity enforces the validity of data types and permissible values for attributes, such as ensuring an "age" column only contains integers.
- Option D: Key integrity is not a formal term in relational database theory. It may be confused with primary or candidate key constraints but is not relevant here.
- Option E: Tuple integrity is not a standard concept in relational databases, making this option invalid.
A man invested a certain amount of sum at 12.5% per annum simple interest and earned an interest of Rs.2200 after 4 years. If the same amount is investe...
12 5 20
m 13 8
If ‘m’ is the resultant of the first row, what the resultant of the second row?
...48 6 3
x 12 11
If ‘ x' is the resultant of the first row, what is the resultant of the second row?
...A series is given with one term missing. Choose the correct alternative from the given ones that will complete the series:-
The downstream speed of a boat is 6 km/hr more than its upstream speed and the ratio of the speed of the boat in still water to the speed of the stream ...
Select the option that is related to the third number in the same way as the second number is related to the first number.
25:16::41:?
How many pair of digits in forward and backward direction are there in the number “9257364” that has as many numbers between them as in the ...

What will be the resultant if the first digit of the lowest number is multiplied by the third digit of the highest number?
Select the correct combination of mathematical signs that can sequentially replace '*' sign and balance the equation given below.
196 * 7 * 45 * ...