11zon DBMS1 PDF
11zon DBMS1 PDF
[DATE]
[COMPANY NAME]
[Company address]
DATA
Data is the collection of raw facts and figures. Actually, data is unprocessed,
that is why data is called collection of raw facts and figures. We collect data
from different resources. After collection, data is entered into computer for
processing. Data may be collection of words, numbers, pictures, or sounds etc.
Examples of Data
Student Data on Admission Forms
Data of Citizens
Survey Data
Students Examination data
.
INFORMATION
Processed data is called information. When raw facts and figures are
processed and arranged in some proper order then they become information.
Information has proper meanings. Information is useful in decision-making.
Actually we process data to convert it into information. Here are some clear
easy to understand differences between data and information.
Examples of Information:
Student Address Labels
Census Report (Total population, Literacy Rate, Male / Female ratio
etc.)
Survey Reports and Results
Result Cards of Individual Students, Result sheets of a particular
Class
Merit List
What is a Database?
What is DBMS?
Database Management System is software for storing, editing, processing,
managing and retrieving users' data by considering appropriate security
measures. It allows users to create their own databases as per their requirement.
The DBMS accepts the request for data from an application and instructs the
operating system to provide the specific data. In large systems, a DBMS helps
users and other third-party software to store and retrieve data.
MySQL
Microsoft Access
Oracle
dBASE
FoxPro
Types of DBMS
Hierarchical
Network
Relational
Object-Oriented DBMS
Hierarchical DBMS
Network Model
The network database model allows each child to have multiple parents. It
helps you to address the need to model more complex relationships like as the
orders/parts many-to-many relationship. In this model, entities are organized in
a graph which can be accessed through several paths.
Relational model
Relational DBMS is the most widely used DBMS model because it is one of
the easiest. This model is based on normalizing data in the rows and columns
of the tables. Relational model stored in fixed structures and manipulated using
SQL.
Object-Oriented Model
Advantages of DBMS
Objects of MS-ACCESS
1. Tables
Tables are responsible for storing information within the database. Tables are
the building block of database. They contain columns and rows. Each column
has a name at the top, and each row has a number.
2. Queries
Queries are requests for information. Queries can sort, calculate, filter, update
data and more based on the results you are looking for.
3. Forms
Forms are the objects of DBMS which are used to enter the records in DBMS.
4. Reports
The final output of MS-Access is Report. It is the formatted output.
Data Types in DBMS
Data Types
The data type must be consistent with the data to be stored in the field. The
“text” type is the most commonly used data type, including numbers that will
not be added like social security or street address numbers. Here is a partial list
of Access data types:
Normalization
25 Chemistry 30
25 Biology 30
47 English 35
83 Math 38
83 Computer 38
TEACHER_ID TEACHER_AGE
25 30
47 35
83 38
TEACHER_ID SUBJECT
25 Chemistry
25 Biology
47 English
83 Math
83 Computer
A relation will be in 3NF if it is in 2NF and not contain any transitive partial
dependency.
3NF is used to reduce the data duplication. It is also used to achieve the data
integrity.
If there is no transitive dependency for non-prime attributes, then the relation
must be in third normal form.
A relation is in third normal form if it holds atleast one of the following
conditions for every non-trivial function dependency X → Y.
X is a super key.
Y is a prime attribute, i.e., each element of Y is part of some candidate key.
EMP_ID EMP_NAME EMP_ZIP EMP_STATE EMP_CITY
201010 UP Noida
02228 US Boston
60007 US Chicago
06389 UK Norwich
462007 MP Bhopal
EMP_ID EMP_COUNTRY
264 India
264 India
EMP_ID EMP_DEPT
D394 283
D394 300
D283 232
D283 549
21 Math Singing
34 Chemistry Dancing
74 Biology Cricket
59 Physics Hockey
STU_ID COURSE
21 Computer
21 Math
34 Chemistry
74 Biology
59 Physics
STU_ID HOBBY
21 Dancing
21 Singing
34 Dancing
74 Cricket
59 Hockey
Fifth normal form (5NF)
A relation is in 5NF if it is in 4NF and not contains any join dependency and
joining should be lossless.
5NF is satisfied when all the tables are broken into as many tables as possible
in order to avoid redundancy.
5NF is also known as Project-join normal form (PJ/NF).
SUBJECT LECTURER SEMESTER
SEMESTER SUBJECT
Semester 1 Computer
Semester 1 Math
Semester 1 Chemistry
Semester 2 Math
SUBJECT LECTURER
Computer Anshika
Computer John
Math John
Math Akash
Chemistry Praveen
SEMSTER LECTURER
Semester 1 Anshika
Semester 1 John
Semester 1 John
Semester 2 Akash
Semester 1 Praveen