0% found this document useful (0 votes)
141 views2 pages

Relational Database Concepts: Among of Candidate Keys If Any Single Candidate Key

This document discusses relational database concepts. It defines key terms like database, DBMS, RDBMS and how they relate. It explains that a database system combines a database with DBMS software. It also outlines the different data models used to represent data, including the relational data model. Finally, it differentiates between concepts like candidate keys and alternate keys, primary keys and foreign keys, and how to maintain data integrity through constraints.

Uploaded by

dimpy yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
141 views2 pages

Relational Database Concepts: Among of Candidate Keys If Any Single Candidate Key

This document discusses relational database concepts. It defines key terms like database, DBMS, RDBMS and how they relate. It explains that a database system combines a database with DBMS software. It also outlines the different data models used to represent data, including the relational data model. Finally, it differentiates between concepts like candidate keys and alternate keys, primary keys and foreign keys, and how to maintain data integrity through constraints.

Uploaded by

dimpy yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

RELATIONAL DATABASE CONCEPTS

Q1. What is database?

Ans. A database is a collection of data or information that is organized so that it can be easily
accessed, managed and update.

Q2.What is DBMS?

Ans. Database management system(DBMS) refers to a software that is responsible for storing,,
maintaining and utilizing database in an efficient way.

Q3. What is RDBMS?

Ans. Relational database management system(RDBMS) is a collective set of multiple data sets
organized by tables, records and columns

Q4. What is database system?

Ans. A database along with DBMS software is called database system. Eg- MS access, paradox etc.

Q5. What is data model?

Ans. Data model is the way of representing data. There are 5 ways of representing data:-

1. Relational data model


2. Network data model
3. Hierarchical data model
4. Network data model
5. Object oriented data model

Q6. A table “Transport” in a database has degree 3 and cardinality 8. What is the

number of rows and columns in it?

Ans. No. of columns= 3

No. of rows= 8

Q7.Differentiate between Alternate key and Candidate key.

Ans. ALTERNATE KEY CANDIDATE KEY


Among of candidate keys if any single All keys in a table that become unique is
key or combination of keys made as primary called as candidate key.
key then rest candidate key is called as
alternate key.
Q8. What is the difference between primary and foreign key?

Ans. PRIMARY KEY FOREIGN KEY


A primary key act as a column or set of Foreign key are the columns of a table that
columns in a table that uniquely identifies points to the primary key of another table and
tuples or rows in that table. it act as a cross reference between tables.

Q9. Mr. Sanghi created two tables with CITY as Primary key in Table1 and Foreign Key in Table2.
While inserting a row in Table2, Mr. Sanghi is not able to enter a value in the column CITY. What
could be the possible reason for it?

Ans. Mr. Sanghi could have tried to enter the name of city in table 2 that is not present in table 1.

Q10. Give two characteristics of Primary key?

Ans. 1. A primary key is to be permanent and unchangeable.

2. A primary key is able to guarantee unique values.

Q11. A table FUNFOOD has 13 rows and 17 columns. What is the cardinality and degree of this
table?

Ans. Cardinality = 13

Degree = 17

Q12. How data integrity and accuracy be maintained in a table?

Ans. Data integrity and accuracy can be maintained in a table by applying validations or constrain
like a primary key for an attribute.

You might also like