SlideShare a Scribd company logo
DATABASE
BY: SHWETANSHU GUPTA
MBA-TBS-49
CONTENTS
• INTRODUCTION
• DATABASE CONCEPTS
• DATA HIERARCHY
• ENTITIES AND ATTRIBUTES

• TYPES OF ATTRIBUTES
• DATABASE COMPONENTS
• DATABASE ARCHITECTURE

• DATABASE MODELS
• PLAYING WITH DATABASE
• ADVANTAGES OF DATABASE
File based system:
Limitations:
Program-Data Dependence.
 No centralized control of data.
Multiple file formats, duplication of information in different
files.
Each app. has its own private files & users has little chance
to share data outside their own app.
Each different data access request (a query) performed by a
separate program.
Cont’d
Creating the system requires a lot of effort

For each new application, programmers have to design
their own file formats & descriptions from scratch.
Excessive Program Maintenance: 80% of information
systems budget.
Need to write a new program to carry out each new task.

Data Redundancy (Duplication of data).
INTRODUCTION
 A database is an organised collection of related data
:
•

ƒ Representing/capturing the information about
a real-world , enterprise or part of an enterprise.

• ƒ Collected and maintained to serve specific data
management needs of the enterprise.
• It can be of varying size and complexity .
By data, we mean known facts that can be recorded.
Cont’d
For example: University Database
• Data about students, faculty, courses,
research laboratories, course registration/
enrolment etc.
• Purpose: To keep an accurate track of the
academic activities of the university.
Morphbank
It is a database of images that
scientists use for international
collaboration, research and
education.
Mind
Manager: is a
comprehensive
organizer for PC
users who want
to keep track of
just about
anything in their
daily lives.
Advantages of database over file system
Efficiency: highly efficient as data is stored in one central location.
Minimal Data Redundancy: reduce file duplication.
Data Consistency: less redundancy leads to consistency.
Data Integration: Since related data is stored in one single database, enforcing
data integrity is much easier..

Data Sharing: Related data can be shared across programs since the data is
stored in a centralized manner.
Cont’d
Better Controls: Better controls can be achieved due to the
centralized nature of the system
Application Development Ease: no need to write different programmes for
different applications.

Reduced Maintenance: Maintenance is less and easy, again, due to the
centralized nature of the system.
Providing backup and recovery services.
Database vs. File Systems
database
DATA HIERARCHY
BITS

0’s and 1’s

CHARACTER

Combination of 0’s and 1’s
011000111(A-Z)(0-9)(!-*)

FIELD

Combination of characters. Name, roll
no, class, rank

RECORD

Record of MBA 1st sem.

FILE

Record of each student of MBA 1st
sem.

DATABASE

Record of MBA 1st and 4th sem.
database
DATABASE CONCEPTS
 Database management system (dbms):Software to manipulate database.

 Metadata : Data that describe the properties or characteristics of end-user
data .

 Database administrator : Persons who are responsible for the overall
management of data resources

 Database system: Comprised of database, DBMS, and application programs
Cont’d
System developers: Programmers who design new application
programs.
End users : Who request or receive information from it.
Computer-aided software engineering (case) tools: CASE tools are
automated tools used to design databases and application programs.
Database management system (DBMS)
• A database management system (DBMS) is a general purpose
software system that:
• Defines, creates, and maintains a database.
• Allow access to data in database.
3- LEVEL DATABASE SYSTEM ARCHITECTURE
Levels of database
 The Internal level : It is the physical level which shows how the data is stored,
how bytes are transferred to and from storage devices. It interacts directly with
hardware.

 The Conceptual level: It is the representation of the entire information content
of the database. Main functions of DBMS are also defined on this level.

 The External Level : Represents the collection of views available to different
end-users. It changes data coming from conceptual level to a format and view that
is familiar to users.
ENTITIES AND ATTRIBUTES
TYPES OF ATTRIBUTES
ATOMIC
COMPOSITE
SINGLE-VALUED
MULTI-VALUED

• DOESN’T CONTAIN MEANINGFUL SMALLER
COMPONENTS- GENDER
• IF IT CONTAINS ONE OR MORE COMPONENTSADDRESS- HOUSE NO. STREET NO. PIN CODE
• HAVING SINGLE VALUE
• AGE, NAME
• MORE THAN ONE VALUE
• PHONE NUMBER, ID’s

DERIVED

• THAT CAN BE DERIVED FROM OTHER
• AGE

STORED

• THAT CAN BE FOUND WITH HELP OF OTHER
ATTRIBUTES - DATE OF BIRTH

NULL-VALUED

• THAT HAVE VALUE ONLY FOR PARTICULAR
ATTRIBUTE- DEGREE
Types of database models

Hierarchical model
Network model
Relational model
Hierarchical database model

Logically represented by an upside down tree
Each entity have one parent but can have several parents.
At top of hierarchy there is only one entity called root.
Network data model
Each record can have multiple parents.
Each entity can be accessed through several paths.
Relational database model
RDBMS: the relational database management system
(RDBMS)
Relation: a relation is a 2D table has the following
features:

Attributes
Entity
Tuples
Relational database model
All data is maintained in the form of tables consisting of
rows and columns.
Operators are provided.
This, in fact, is a major reason for the relational model to
become more programmer friendly and much more
dominant and popular.
Oracle, Sybase, DB2, Ingres, Informix, MS-SQL Server are
few of the popular Relational DBMSs.
Relation

A table

Tuple

A row or a record in a relation.

Attribute

A field or a column in a relation.

Cardinality of a relation

The number of tuples in a relation.

Degree of a relation

The number of attributes in a relation.

Foreign Key

An attribute or a combination of attributes in one
relation R1 connecting it to R2

Primary Key
of a relation

An attribute or a combination of attributes that
uniquely defines each tuple in a relation.
Degree
Attributes
Agent
code

Primary key

Agent
name

Agent
area code

Agent
phone

501

Alex

713

56789

502

John

615

67542

Agent
code
501

Foreign key

Customer
code
601

Customer
name
Bob

product

502

602

Alice

Detergent

Soap

T
U
P
L
E

C
A
D
I
N
A
L
I
T
Y
Advantages
Conceptual simplicity
Handles more relationship types
Data access flexibility
Promotes database integrity
Data independence
Conformance to standards
Disadvantages
System complexity
Lack of structural independence
PLAYING WITH DATABASE
DATA DEFINITION LANGUAGE (DDL)
Collection of instructions and commands used to define and describe data and data
relationships.

DATA DICTIONARY
Detailed description of all data used in the database.
Provide a standard definition of terms and data elements

DATA MANIPULATION LANGUAGE (DML)
Allows users to access, modify, and make queries about data contained in the database
Generate reports

REPORT:
A view of just a portion of a database records and/or fields as desired by user.
database
database
Ad

More Related Content

What's hot (20)

Structured Query Language (SQL)
Structured Query Language (SQL)Structured Query Language (SQL)
Structured Query Language (SQL)
Syed Hassan Ali
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
rahulrathore725
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
emailharmeet
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 
Data models
Data modelsData models
Data models
Usman Tariq
 
Data Models
Data ModelsData Models
Data Models
RituBhargava7
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
philipsinter
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
Arpee Callejo
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
Amiya9439793168
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
Trinath
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
Marlon Jamera
 
OODM-object oriented data model
OODM-object oriented data modelOODM-object oriented data model
OODM-object oriented data model
AnilPokhrel7
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
a9oolq8
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
Smriti Jain
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
SHIKHA GAUTAM
 
introduction to database
 introduction to database introduction to database
introduction to database
Akif shexi
 
Database systems introduction
Database systems introductionDatabase systems introduction
Database systems introduction
Balasingham Karthiban
 
Database System Concepts and Architecture
Database System Concepts and ArchitectureDatabase System Concepts and Architecture
Database System Concepts and Architecture
sontumax
 
Rdbms
RdbmsRdbms
Rdbms
Muhammad Adeel Rajput
 
Structured Query Language (SQL)
Structured Query Language (SQL)Structured Query Language (SQL)
Structured Query Language (SQL)
Syed Hassan Ali
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
emailharmeet
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
philipsinter
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
Arpee Callejo
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
Amiya9439793168
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
Trinath
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
Marlon Jamera
 
OODM-object oriented data model
OODM-object oriented data modelOODM-object oriented data model
OODM-object oriented data model
AnilPokhrel7
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
a9oolq8
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
Smriti Jain
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
SHIKHA GAUTAM
 
introduction to database
 introduction to database introduction to database
introduction to database
Akif shexi
 
Database System Concepts and Architecture
Database System Concepts and ArchitectureDatabase System Concepts and Architecture
Database System Concepts and Architecture
sontumax
 

Viewers also liked (20)

Database systems
Database systemsDatabase systems
Database systems
Dhani Ahmad
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
lubna19
 
Bsc cs ii-dbms- u-i-database systems
Bsc cs ii-dbms- u-i-database systemsBsc cs ii-dbms- u-i-database systems
Bsc cs ii-dbms- u-i-database systems
Rai University
 
Chapter01 1
Chapter01 1Chapter01 1
Chapter01 1
Waqas !!!!
 
Chapter06 initiating and planning systems development projects
Chapter06 initiating and planning systems development projectsChapter06 initiating and planning systems development projects
Chapter06 initiating and planning systems development projects
Dhani Ahmad
 
Chapter02 succeeding as a systems analyst
Chapter02 succeeding as a systems analystChapter02 succeeding as a systems analyst
Chapter02 succeeding as a systems analyst
Dhani Ahmad
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
WanBK Leo
 
Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Data processing by Neeraj Bhandari ( Surkhet.Nepal )Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Neeraj Bhandari
 
Chapter03 managing the information systems project
Chapter03 managing the information systems projectChapter03 managing the information systems project
Chapter03 managing the information systems project
Dhani Ahmad
 
Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)
julyprum
 
Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04
Beni Krisbiantoro
 
Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02
Beni Krisbiantoro
 
Database design
Database designDatabase design
Database design
Dhani Ahmad
 
Database Design and Implementation
Database Design and ImplementationDatabase Design and Implementation
Database Design and Implementation
Christian Reina
 
Database Design Process
Database Design ProcessDatabase Design Process
Database Design Process
mussawir20
 
Database design process
Database design processDatabase design process
Database design process
Tayyab Hameed
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
ahfiki
 
Database - Design & Implementation - 1
Database - Design & Implementation - 1Database - Design & Implementation - 1
Database - Design & Implementation - 1
Trivuz ত্রিভুজ
 
Macam software
Macam softwareMacam software
Macam software
Adrian Resipien Up Normal
 
Database systems
Database systemsDatabase systems
Database systems
Dhani Ahmad
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
lubna19
 
Bsc cs ii-dbms- u-i-database systems
Bsc cs ii-dbms- u-i-database systemsBsc cs ii-dbms- u-i-database systems
Bsc cs ii-dbms- u-i-database systems
Rai University
 
Chapter06 initiating and planning systems development projects
Chapter06 initiating and planning systems development projectsChapter06 initiating and planning systems development projects
Chapter06 initiating and planning systems development projects
Dhani Ahmad
 
Chapter02 succeeding as a systems analyst
Chapter02 succeeding as a systems analystChapter02 succeeding as a systems analyst
Chapter02 succeeding as a systems analyst
Dhani Ahmad
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
WanBK Leo
 
Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Data processing by Neeraj Bhandari ( Surkhet.Nepal )Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Neeraj Bhandari
 
Chapter03 managing the information systems project
Chapter03 managing the information systems projectChapter03 managing the information systems project
Chapter03 managing the information systems project
Dhani Ahmad
 
Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)
julyprum
 
Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04
Beni Krisbiantoro
 
Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02
Beni Krisbiantoro
 
Database Design and Implementation
Database Design and ImplementationDatabase Design and Implementation
Database Design and Implementation
Christian Reina
 
Database Design Process
Database Design ProcessDatabase Design Process
Database Design Process
mussawir20
 
Database design process
Database design processDatabase design process
Database design process
Tayyab Hameed
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
ahfiki
 
Ad

Similar to database (20)

data base management system (DBMS)
data base management system (DBMS)data base management system (DBMS)
data base management system (DBMS)
Varish Bajaj
 
Introduction to Database System-WEEK2.pptx
Introduction to Database System-WEEK2.pptxIntroduction to Database System-WEEK2.pptx
Introduction to Database System-WEEK2.pptx
melissaguillermo
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
chatkall46
 
Computer class of agriculture production 5.pptx
Computer class of agriculture production 5.pptxComputer class of agriculture production 5.pptx
Computer class of agriculture production 5.pptx
muddydevil2003
 
03-database-management-system-revision-notes.pdf
03-database-management-system-revision-notes.pdf03-database-management-system-revision-notes.pdf
03-database-management-system-revision-notes.pdf
Amit Mishra
 
Dbms module i
Dbms module iDbms module i
Dbms module i
SANTOSH RATH
 
INTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptx
INTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptxINTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptx
INTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptx
renadmajid789
 
Introduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).pptIntroduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).ppt
RuelDogma1
 
data base management sysytem a new apprach .pptx
data base management sysytem a new apprach .pptxdata base management sysytem a new apprach .pptx
data base management sysytem a new apprach .pptx
urvashipundir04
 
Ch09
Ch09Ch09
Ch09
S&P Capital IQ
 
DBMS
DBMS DBMS
DBMS
addisonabner
 
Lecture#5
Lecture#5Lecture#5
Lecture#5
TolganayAnarbekova
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdf
SameerKhanPathan7
 
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
OECLIB Odisha Electronics Control Library
 
DATABASE MANAGEMENT SYSTEMS CS 3492.pptx
DATABASE MANAGEMENT SYSTEMS CS 3492.pptxDATABASE MANAGEMENT SYSTEMS CS 3492.pptx
DATABASE MANAGEMENT SYSTEMS CS 3492.pptx
venigkrish89
 
Unit-1 DBMS24.pptxruzruxtidtixift8ffticiycyoc
Unit-1 DBMS24.pptxruzruxtidtixift8ffticiycyocUnit-1 DBMS24.pptxruzruxtidtixift8ffticiycyoc
Unit-1 DBMS24.pptxruzruxtidtixift8ffticiycyoc
dagadsai0330
 
BM322_03.pptx123456786546654525165654646564
BM322_03.pptx123456786546654525165654646564BM322_03.pptx123456786546654525165654646564
BM322_03.pptx123456786546654525165654646564
DrMoizAkhtar
 
IET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptx
IET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptxIET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptx
IET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptx
chinmaygulhane747
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
AnmolThakur67
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
arnold 7490
 
data base management system (DBMS)
data base management system (DBMS)data base management system (DBMS)
data base management system (DBMS)
Varish Bajaj
 
Introduction to Database System-WEEK2.pptx
Introduction to Database System-WEEK2.pptxIntroduction to Database System-WEEK2.pptx
Introduction to Database System-WEEK2.pptx
melissaguillermo
 
Computer class of agriculture production 5.pptx
Computer class of agriculture production 5.pptxComputer class of agriculture production 5.pptx
Computer class of agriculture production 5.pptx
muddydevil2003
 
03-database-management-system-revision-notes.pdf
03-database-management-system-revision-notes.pdf03-database-management-system-revision-notes.pdf
03-database-management-system-revision-notes.pdf
Amit Mishra
 
INTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptx
INTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptxINTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptx
INTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptx
renadmajid789
 
Introduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).pptIntroduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).ppt
RuelDogma1
 
data base management sysytem a new apprach .pptx
data base management sysytem a new apprach .pptxdata base management sysytem a new apprach .pptx
data base management sysytem a new apprach .pptx
urvashipundir04
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdf
SameerKhanPathan7
 
DATABASE MANAGEMENT SYSTEMS CS 3492.pptx
DATABASE MANAGEMENT SYSTEMS CS 3492.pptxDATABASE MANAGEMENT SYSTEMS CS 3492.pptx
DATABASE MANAGEMENT SYSTEMS CS 3492.pptx
venigkrish89
 
Unit-1 DBMS24.pptxruzruxtidtixift8ffticiycyoc
Unit-1 DBMS24.pptxruzruxtidtixift8ffticiycyocUnit-1 DBMS24.pptxruzruxtidtixift8ffticiycyoc
Unit-1 DBMS24.pptxruzruxtidtixift8ffticiycyoc
dagadsai0330
 
BM322_03.pptx123456786546654525165654646564
BM322_03.pptx123456786546654525165654646564BM322_03.pptx123456786546654525165654646564
BM322_03.pptx123456786546654525165654646564
DrMoizAkhtar
 
IET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptx
IET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptxIET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptx
IET MySQL PPT Ver9ZESXRDCTFYVGBUHNIJOMK.pptx
chinmaygulhane747
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
AnmolThakur67
 
Ad

More from Shwetanshu Gupta (20)

project report on FITNESS HUB
project report on FITNESS HUBproject report on FITNESS HUB
project report on FITNESS HUB
Shwetanshu Gupta
 
Sales training: program, execution and evaluation
Sales training: program, execution and evaluationSales training: program, execution and evaluation
Sales training: program, execution and evaluation
Shwetanshu Gupta
 
Films , music and sports
Films , music and sportsFilms , music and sports
Films , music and sports
Shwetanshu Gupta
 
Brand and brand equity
Brand and brand equityBrand and brand equity
Brand and brand equity
Shwetanshu Gupta
 
Introduction to law
Introduction to lawIntroduction to law
Introduction to law
Shwetanshu Gupta
 
Trade pattern
Trade patternTrade pattern
Trade pattern
Shwetanshu Gupta
 
Legal & ethical issues in retailing
Legal & ethical issues in retailingLegal & ethical issues in retailing
Legal & ethical issues in retailing
Shwetanshu Gupta
 
Crm technology
Crm technologyCrm technology
Crm technology
Shwetanshu Gupta
 
basic Anchoring script for buiness quiz competition
basic Anchoring script for buiness quiz competitionbasic Anchoring script for buiness quiz competition
basic Anchoring script for buiness quiz competition
Shwetanshu Gupta
 
Just in time concept
Just in time conceptJust in time concept
Just in time concept
Shwetanshu Gupta
 
barriers and use case study of mobile internet for the age group above 40-- A...
barriers and use case study of mobile internet for the age group above 40-- A...barriers and use case study of mobile internet for the age group above 40-- A...
barriers and use case study of mobile internet for the age group above 40-- A...
Shwetanshu Gupta
 
barriers and use case study for mobile internet for the age group above 40- A...
barriers and use case study for mobile internet for the age group above 40- A...barriers and use case study for mobile internet for the age group above 40- A...
barriers and use case study for mobile internet for the age group above 40- A...
Shwetanshu Gupta
 
Adaptibility: the new competitive advantage
Adaptibility: the new competitive advantageAdaptibility: the new competitive advantage
Adaptibility: the new competitive advantage
Shwetanshu Gupta
 
STP STRATEGIES
STP STRATEGIESSTP STRATEGIES
STP STRATEGIES
Shwetanshu Gupta
 
Supply and demand management in services
Supply and demand management in servicesSupply and demand management in services
Supply and demand management in services
Shwetanshu Gupta
 
M naraSIMHAM COMMITEE ON FINANCIAL AND BANKING SECTOR REFORM pdf
M naraSIMHAM COMMITEE ON FINANCIAL AND BANKING SECTOR REFORM pdfM naraSIMHAM COMMITEE ON FINANCIAL AND BANKING SECTOR REFORM pdf
M naraSIMHAM COMMITEE ON FINANCIAL AND BANKING SECTOR REFORM pdf
Shwetanshu Gupta
 
M Narasinhan committee on banking sector reforms
M Narasinhan committee on banking sector reformsM Narasinhan committee on banking sector reforms
M Narasinhan committee on banking sector reforms
Shwetanshu Gupta
 
Financial services
Financial servicesFinancial services
Financial services
Shwetanshu Gupta
 
management information system in elections
management information system in electionsmanagement information system in elections
management information system in elections
Shwetanshu Gupta
 
Final research
Final researchFinal research
Final research
Shwetanshu Gupta
 
project report on FITNESS HUB
project report on FITNESS HUBproject report on FITNESS HUB
project report on FITNESS HUB
Shwetanshu Gupta
 
Sales training: program, execution and evaluation
Sales training: program, execution and evaluationSales training: program, execution and evaluation
Sales training: program, execution and evaluation
Shwetanshu Gupta
 
Legal & ethical issues in retailing
Legal & ethical issues in retailingLegal & ethical issues in retailing
Legal & ethical issues in retailing
Shwetanshu Gupta
 
basic Anchoring script for buiness quiz competition
basic Anchoring script for buiness quiz competitionbasic Anchoring script for buiness quiz competition
basic Anchoring script for buiness quiz competition
Shwetanshu Gupta
 
barriers and use case study of mobile internet for the age group above 40-- A...
barriers and use case study of mobile internet for the age group above 40-- A...barriers and use case study of mobile internet for the age group above 40-- A...
barriers and use case study of mobile internet for the age group above 40-- A...
Shwetanshu Gupta
 
barriers and use case study for mobile internet for the age group above 40- A...
barriers and use case study for mobile internet for the age group above 40- A...barriers and use case study for mobile internet for the age group above 40- A...
barriers and use case study for mobile internet for the age group above 40- A...
Shwetanshu Gupta
 
Adaptibility: the new competitive advantage
Adaptibility: the new competitive advantageAdaptibility: the new competitive advantage
Adaptibility: the new competitive advantage
Shwetanshu Gupta
 
Supply and demand management in services
Supply and demand management in servicesSupply and demand management in services
Supply and demand management in services
Shwetanshu Gupta
 
M naraSIMHAM COMMITEE ON FINANCIAL AND BANKING SECTOR REFORM pdf
M naraSIMHAM COMMITEE ON FINANCIAL AND BANKING SECTOR REFORM pdfM naraSIMHAM COMMITEE ON FINANCIAL AND BANKING SECTOR REFORM pdf
M naraSIMHAM COMMITEE ON FINANCIAL AND BANKING SECTOR REFORM pdf
Shwetanshu Gupta
 
M Narasinhan committee on banking sector reforms
M Narasinhan committee on banking sector reformsM Narasinhan committee on banking sector reforms
M Narasinhan committee on banking sector reforms
Shwetanshu Gupta
 
management information system in elections
management information system in electionsmanagement information system in elections
management information system in elections
Shwetanshu Gupta
 

Recently uploaded (20)

Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdfBiophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
PKLI-Institute of Nursing and Allied Health Sciences Lahore , Pakistan.
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
milanasargsyan5
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
Anti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptxAnti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptx
Mayuri Chavan
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Political History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptxPolitical History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptx
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
Unit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdfUnit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdf
KanchanPatil34
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
milanasargsyan5
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
Anti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptxAnti-Depressants pharmacology 1slide.pptx
Anti-Depressants pharmacology 1slide.pptx
Mayuri Chavan
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
Unit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdfUnit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdf
KanchanPatil34
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 

database

  • 2. CONTENTS • INTRODUCTION • DATABASE CONCEPTS • DATA HIERARCHY • ENTITIES AND ATTRIBUTES • TYPES OF ATTRIBUTES • DATABASE COMPONENTS • DATABASE ARCHITECTURE • DATABASE MODELS • PLAYING WITH DATABASE • ADVANTAGES OF DATABASE
  • 4. Limitations: Program-Data Dependence.  No centralized control of data. Multiple file formats, duplication of information in different files. Each app. has its own private files & users has little chance to share data outside their own app. Each different data access request (a query) performed by a separate program.
  • 5. Cont’d Creating the system requires a lot of effort For each new application, programmers have to design their own file formats & descriptions from scratch. Excessive Program Maintenance: 80% of information systems budget. Need to write a new program to carry out each new task. Data Redundancy (Duplication of data).
  • 6. INTRODUCTION  A database is an organised collection of related data : • ƒ Representing/capturing the information about a real-world , enterprise or part of an enterprise. • ƒ Collected and maintained to serve specific data management needs of the enterprise. • It can be of varying size and complexity . By data, we mean known facts that can be recorded.
  • 7. Cont’d For example: University Database • Data about students, faculty, courses, research laboratories, course registration/ enrolment etc. • Purpose: To keep an accurate track of the academic activities of the university.
  • 8. Morphbank It is a database of images that scientists use for international collaboration, research and education.
  • 9. Mind Manager: is a comprehensive organizer for PC users who want to keep track of just about anything in their daily lives.
  • 10. Advantages of database over file system Efficiency: highly efficient as data is stored in one central location. Minimal Data Redundancy: reduce file duplication. Data Consistency: less redundancy leads to consistency. Data Integration: Since related data is stored in one single database, enforcing data integrity is much easier.. Data Sharing: Related data can be shared across programs since the data is stored in a centralized manner.
  • 11. Cont’d Better Controls: Better controls can be achieved due to the centralized nature of the system Application Development Ease: no need to write different programmes for different applications. Reduced Maintenance: Maintenance is less and easy, again, due to the centralized nature of the system. Providing backup and recovery services.
  • 12. Database vs. File Systems
  • 14. DATA HIERARCHY BITS 0’s and 1’s CHARACTER Combination of 0’s and 1’s 011000111(A-Z)(0-9)(!-*) FIELD Combination of characters. Name, roll no, class, rank RECORD Record of MBA 1st sem. FILE Record of each student of MBA 1st sem. DATABASE Record of MBA 1st and 4th sem.
  • 16. DATABASE CONCEPTS  Database management system (dbms):Software to manipulate database.  Metadata : Data that describe the properties or characteristics of end-user data .  Database administrator : Persons who are responsible for the overall management of data resources  Database system: Comprised of database, DBMS, and application programs
  • 17. Cont’d System developers: Programmers who design new application programs. End users : Who request or receive information from it. Computer-aided software engineering (case) tools: CASE tools are automated tools used to design databases and application programs.
  • 18. Database management system (DBMS) • A database management system (DBMS) is a general purpose software system that: • Defines, creates, and maintains a database. • Allow access to data in database.
  • 19. 3- LEVEL DATABASE SYSTEM ARCHITECTURE
  • 20. Levels of database  The Internal level : It is the physical level which shows how the data is stored, how bytes are transferred to and from storage devices. It interacts directly with hardware.  The Conceptual level: It is the representation of the entire information content of the database. Main functions of DBMS are also defined on this level.  The External Level : Represents the collection of views available to different end-users. It changes data coming from conceptual level to a format and view that is familiar to users.
  • 22. TYPES OF ATTRIBUTES ATOMIC COMPOSITE SINGLE-VALUED MULTI-VALUED • DOESN’T CONTAIN MEANINGFUL SMALLER COMPONENTS- GENDER • IF IT CONTAINS ONE OR MORE COMPONENTSADDRESS- HOUSE NO. STREET NO. PIN CODE • HAVING SINGLE VALUE • AGE, NAME • MORE THAN ONE VALUE • PHONE NUMBER, ID’s DERIVED • THAT CAN BE DERIVED FROM OTHER • AGE STORED • THAT CAN BE FOUND WITH HELP OF OTHER ATTRIBUTES - DATE OF BIRTH NULL-VALUED • THAT HAVE VALUE ONLY FOR PARTICULAR ATTRIBUTE- DEGREE
  • 23. Types of database models Hierarchical model Network model Relational model
  • 24. Hierarchical database model Logically represented by an upside down tree Each entity have one parent but can have several parents. At top of hierarchy there is only one entity called root.
  • 25. Network data model Each record can have multiple parents. Each entity can be accessed through several paths.
  • 26. Relational database model RDBMS: the relational database management system (RDBMS) Relation: a relation is a 2D table has the following features: Attributes Entity Tuples
  • 27. Relational database model All data is maintained in the form of tables consisting of rows and columns. Operators are provided. This, in fact, is a major reason for the relational model to become more programmer friendly and much more dominant and popular. Oracle, Sybase, DB2, Ingres, Informix, MS-SQL Server are few of the popular Relational DBMSs.
  • 28. Relation A table Tuple A row or a record in a relation. Attribute A field or a column in a relation. Cardinality of a relation The number of tuples in a relation. Degree of a relation The number of attributes in a relation. Foreign Key An attribute or a combination of attributes in one relation R1 connecting it to R2 Primary Key of a relation An attribute or a combination of attributes that uniquely defines each tuple in a relation.
  • 29. Degree Attributes Agent code Primary key Agent name Agent area code Agent phone 501 Alex 713 56789 502 John 615 67542 Agent code 501 Foreign key Customer code 601 Customer name Bob product 502 602 Alice Detergent Soap T U P L E C A D I N A L I T Y
  • 30. Advantages Conceptual simplicity Handles more relationship types Data access flexibility Promotes database integrity Data independence Conformance to standards Disadvantages System complexity Lack of structural independence
  • 32. DATA DEFINITION LANGUAGE (DDL) Collection of instructions and commands used to define and describe data and data relationships. DATA DICTIONARY Detailed description of all data used in the database. Provide a standard definition of terms and data elements DATA MANIPULATION LANGUAGE (DML) Allows users to access, modify, and make queries about data contained in the database Generate reports REPORT: A view of just a portion of a database records and/or fields as desired by user.