Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
507 views
in Programming by (72.7k points)
closed by
Domain constraints, functional dependency and referential integrity are special forms of ____________.
1. Foreign key
2. Primary key
3. Assertion
4. Referential constraint

1 Answer

0 votes
by (121k points)
selected by
 
Best answer
Correct Answer - Option 3 : Assertion

 Domain constraints, functional dependency, and referential integrity are special forms of Assertion

Domain constraints: example (age cannot be negative)

functional dependency: Dependency of attributes in relations

Foreign key

  • foreign key means that values in one table must also appear in another table. T
  • he referenced table is called the parent table while the table with the foreign key is called the child table.
  • The foreign key in the child table will generally reference a primary key in the parent table.

Primary key

  • primary key is a specific choice of a minimal set of attributes (columns) that uniquely specify a tuple (row) in a relation (table). Primary key cannot accept null values and there can be only one primary key constraint for one table.

 

Referential integrity constraints

  • In a relational database, a referential integrity constraint is specified between two tables with the help of a foreign key.
  • In the Referential integrity constraints, if a foreign key in Table 1 refers to the primary Key of Table 2, then every value of the Foreign Key in Table 1 must be null or be available in Table 2.

​ 

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...