Rdbms Notes CH 01 10th
Rdbms Notes CH 01 10th
UNIT – 4 RDBMS
[Chapter 1- Basics]
TOTAL MARKS – 12
3. State the relationship and difference between the primary key and foreign key?
Ans. Primary key: A primary key is a unique value that identifies a row in a table.
Foreign key: The foreign key identifies a column or set of columns in one referencing table that refers
to a column or a set of columns in another (referenced) table.
5. Define RDBMS.
Ans. RDBMS is a type of Database Management System that stores data in the form of relations
(tables).relational databases are powerful, so they require few assumptions about how data is related or
how, it will be extracted from the databases.
9. A table named School (containing data of students of whole school) is created where each
record consists of several fields including AdmissionNo, RollNo, and Name. Which field out of
these three should be set as the primary key and why?
Ans. AdmissionNo should be set as the primary key because admission numbers are unique for each and
every student of the school, which is not possible in the case with rollno and name.
10. What is a database server? In how many ways data can be organized?
Ans. Database servers are dedicated computers that hold the actual databases and run only the DBMS
and related software. Data can be organized into two types:
• Flat File: Data is stored in a single table. Usually suitable for less amount of data.
• Relational Database: Data is stored in multiple tables and the tables are linked using a common field.
Relational is suitable for medium to large amount of data.
11. What is the relationship between the database and the table?
Ans. Database: A database is a collection of interrelated data, these data are stored in the table which
are related to one another, to search and retrieve data queries are made.
Table: a table is made up of rows and columns, data of databases are stored in the table. A database
contains multiple tables whereas, a table cannot exist outside a database.