1.

Define the following database terms:Data modelTupleDomainPrimary keyForeign key

Answer»

1. Data model:
Data models are fundamental entities that define how the logical structure of a database is modeled. Data models define how data is connected to each other and how they are processed and stored inside the system.

2. Tuple:
Collection of related fields (e.g. Name, Age, register number, marks)

3. Domain:
A domain describes the set of possible values for a given attribute.

4. Primary key:
A primary key is a field in a table which uniquely identifies each row/record in a database table. Primary keys must contain unique values. A primary key column cannot have NULL values.

5. Foreign key:
A foreign key is a key used to link two tables together. Foreign Key is a column or a combination of columns whose values match a Primary Key in a different table.



Discussion

No Comment Found

Related InterviewSolutions