Professional Documents
Culture Documents
Unit-8 DBMS
Unit-8 DBMS
Unit-8 DBMS
STD – 10
1) WHAT ARE ALL THE ACTIONS PERFORMED IN DBMS?
● Managing data
● Managing transactions
3) ADVANTAGES OF DBMS?
Reduces data inconsistency – when the data is changed in one location it is changed in
other location also.
Backup and Recovery – protecting the data from hardware or software failures.
4) TYPES OF DATABASE?
FLAT FILE DATABASE – it is a type of database in which single table stores all the data.
6) DEFINE RDBMS?
*Having a relation between the tables. *It allows a manipulation of data using
relational operators. *full form is RELATIONAL DATABASE MANAGEMENT SYSTEM.
PRIMARY KEY: *Refers to a key that helps us to uniquely identify a record in a table.
* It helps to search record faster. Ex: Student_ID, Emp_ID.
FOREIGN KEY – A key in one table that is a reference to a column in another table. Ex:
Student_name, Emp_name
COMPOSITE KEY – *Refers to the combination of more than one key. *Primary key
applied to many columns are known as composite key. Ex: Student_ID with the
combination of Student_enrollno.
RECORDS or ROWS or TUPLES– *Each row in a table represent a set of related data.
* Every row in the table has the same structure.
TABLE or RELATION– *It is used to store data in an organized form. *It is stored in
the form of rows and columns where rows are called records and columns are called
as fields.
FORMS – *Forms usually shows one record at a time. *You can edit, display the
records in a form.
QUERIES- *It is a request sent to a database to get data from a table. *When you
search for records you can use query.
8) WHAT ARE THE TYPES OF DATA TYPES USED IN DATABASE? (Very Very Important)
9)
DATE DATE
TIME TIME
TIMESTAMP TIMESTAMP
INTEGERS INT
BIGINTEGERS BIGINT
DOUBLE DOUBLE
FLOAT FLOAT
DECIMAL DECIMAL
BINARY VARBINARY
ONE-TO-ONE-RELATIONSHIPS
Single record from the first table is linked to the Single record in the second table and
vice versa.
Single record in the first table is linked with multiple records in the second table. BUT
Single record in second table is linked with single record in the first table.
MANY TO MANY RELATIONSHIPS:
Multiple records from the first table is linked with multiple records in the second table
and vice versa.
Asterisk(*) – EX: To* - Toll, Tower,Tour 🡪 finds the word that starts with To and *X –
finds the word that ends with X.
Question Mark(?) – Ex: t?ll – tell, till, tall 🡪 find the words which matches with the
word which can form a name.
Square Brackets[] – Ex: t[el]ll -🡪finds the word tall and tell.
Exclamation Mark(!) – Ex: !k 🡪 finds all the words that does not begin with ‘k’.
13) GIVE THE DIFFERENCE BETWEEN PRIMARY KEY AND FOREIGN KEY?
there can be only one primary key in a a table can have multiple foreign keys
table