g12 Important Questions Database Concepts
g12 Important Questions Database Concepts
Concepts
Question. What are all the domain names possible in
gender?
Answer. Male, Female and third gender
Question. What are keys? Name all the keys used in DBMS.
Answer. The key is defined as the column or attribute or a
combination of attributes that is used to identify records of the
database table. Sometimes we might have to retrieve data from
more than one table, in that case we require to join tables with
the help of keys. It also controls and maintains the integrity of
information stored in the database.
There are various types of keys, as
(i) Primary key
(ii) Candidate key
(iii) Alternate key
(iv) Foreign key