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
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 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

More Related Content

What's hot

Database systems
Database systemsDatabase systems
Database systems
Dhani Ahmad
 
DBMS and its Models
DBMS and its ModelsDBMS and its Models
DBMS and its Models
AhmadShah Sultani
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
Arpee Callejo
 
Types of databases
Types of databases   Types of databases
Types of databases
Md Showrov Ahmed
 
Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
oudesign
 
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMSkoolkampus
 
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Atik Israk
 
Type of database models
Type of database modelsType of database models
Type of database models
SanthiNivas
 
DBMS - Database Management System
DBMS - Database Management System DBMS - Database Management System
DBMS - Database Management System
Krishna Patel
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
Marlon Jamera
 
DATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEM
Mahmud Hasan Tanvir
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentationsameerraaj
 
A short introduction to database systems.ppt
A short introduction to  database systems.pptA short introduction to  database systems.ppt
A short introduction to database systems.pptMuruly Krishan
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
Overview of Database and Database Management
Overview of Database and Database ManagementOverview of Database and Database Management
Overview of Database and Database Management
Mayuree Srikulwong
 
introduction to database
 introduction to database introduction to database
introduction to database
Akif shexi
 
Codd's rules
Codd's rulesCodd's rules
Codd's rulesMohd Arif
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
Smriti Jain
 

What's hot (20)

Database systems
Database systemsDatabase systems
Database systems
 
DBMS and its Models
DBMS and its ModelsDBMS and its Models
DBMS and its Models
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Types of databases
Types of databases   Types of databases
Types of databases
 
Data base management system
Data base management systemData base management system
Data base management system
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
 
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMS
 
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
 
Type of database models
Type of database modelsType of database models
Type of database models
 
DBMS - Database Management System
DBMS - Database Management System DBMS - Database Management System
DBMS - Database Management System
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 
DATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEM
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
A short introduction to database systems.ppt
A short introduction to  database systems.pptA short introduction to  database systems.ppt
A short introduction to database systems.ppt
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Overview of Database and Database Management
Overview of Database and Database ManagementOverview of Database and Database Management
Overview of Database and Database Management
 
introduction to database
 introduction to database introduction to database
introduction to database
 
Codd's rules
Codd's rulesCodd's rules
Codd's rules
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
 

Viewers also liked

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 DatabaseWanBK 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 ImplementationChristian Reina
 
Database Design Process
Database Design ProcessDatabase Design Process
Database Design Processmussawir20
 
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 1ahfiki
 
Macam software
Macam softwareMacam software

Viewers also liked (20)

Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
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
 
Chapter01 1
Chapter01 1Chapter01 1
Chapter01 1
 
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
 
Chapter02 succeeding as a systems analyst
Chapter02 succeeding as a systems analystChapter02 succeeding as a systems analyst
Chapter02 succeeding as a systems analyst
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
 
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 )
 
Chapter03 managing the information systems project
Chapter03 managing the information systems projectChapter03 managing the information systems project
Chapter03 managing the information systems project
 
Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)
 
Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04
 
Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02
 
Database design
Database designDatabase design
Database design
 
Database Design and Implementation
Database Design and ImplementationDatabase Design and Implementation
Database Design and Implementation
 
Database Design Process
Database Design ProcessDatabase Design Process
Database Design Process
 
Database design process
Database design processDatabase design process
Database design process
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
 
Database - Design & Implementation - 1
Database - Design & Implementation - 1Database - Design & Implementation - 1
Database - Design & Implementation - 1
 
Propsal purna bakti 2013
Propsal purna bakti 2013Propsal purna bakti 2013
Propsal purna bakti 2013
 
Macam software
Macam softwareMacam software
Macam software
 
Jenis Software Database
Jenis Software DatabaseJenis Software Database
Jenis Software Database
 

Similar to database

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
 
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
 
DBMS
DBMS DBMS
Lecture#5
Lecture#5Lecture#5
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
OECLIB Odisha Electronics Control Library
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdf
SameerKhanPathan7
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
AnmolThakur67
 
RDMS AND SQL
RDMS AND SQLRDMS AND SQL
RDMS AND SQL
milanmehta7
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
gowrivageesan87
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health Informatics
Zulfiquer Ahmed Amin
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptx
Riannel Tecson
 
Data resource management and DSS
Data resource management and DSSData resource management and DSS
Data resource management and DSS
RajThakuri
 

Similar to database (20)

data base management system (DBMS)
data base management system (DBMS)data base management system (DBMS)
data base management system (DBMS)
 
Introduction to Database System-WEEK2.pptx
Introduction to Database System-WEEK2.pptxIntroduction to Database System-WEEK2.pptx
Introduction to Database System-WEEK2.pptx
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
Dbms module i
Dbms module iDbms module i
Dbms module i
 
INTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptx
INTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptxINTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptx
INTRODUCTION TO DATABASE-SYSTEMS PRESENTATION.pptx
 
Introduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).pptIntroduction to Database (Lecture 1).ppt
Introduction to Database (Lecture 1).ppt
 
Ch09
Ch09Ch09
Ch09
 
DBMS
DBMS DBMS
DBMS
 
Lecture#5
Lecture#5Lecture#5
Lecture#5
 
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdf
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
 
RDMS AND SQL
RDMS AND SQLRDMS AND SQL
RDMS AND SQL
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health Informatics
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptx
 
Dbms9
Dbms9Dbms9
Dbms9
 
unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
Data resource management and DSS
Data resource management and DSSData resource management and DSS
Data resource management and DSS
 

More from Shwetanshu Gupta

project report on FITNESS HUB
project report on FITNESS HUBproject report on FITNESS HUB
project report on FITNESS HUBShwetanshu Gupta
 
Sales training: program, execution and evaluation
Sales training: program, execution and evaluationSales training: program, execution and evaluation
Sales training: program, execution and evaluationShwetanshu Gupta
 
Legal & ethical issues in retailing
Legal & ethical issues in retailingLegal & ethical issues in retailing
Legal & ethical issues in retailingShwetanshu 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 competitionShwetanshu 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 advantageShwetanshu Gupta
 
Supply and demand management in services
Supply and demand management in servicesSupply and demand management in services
Supply and demand management in servicesShwetanshu 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 pdfShwetanshu 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 reformsShwetanshu Gupta
 
management information system in elections
management information system in electionsmanagement information system in elections
management information system in electionsShwetanshu Gupta
 

More from Shwetanshu Gupta (20)

project report on FITNESS HUB
project report on FITNESS HUBproject report on FITNESS HUB
project report on FITNESS HUB
 
Sales training: program, execution and evaluation
Sales training: program, execution and evaluationSales training: program, execution and evaluation
Sales training: program, execution and evaluation
 
Films , music and sports
Films , music and sportsFilms , music and sports
Films , music and sports
 
Brand and brand equity
Brand and brand equityBrand and brand equity
Brand and brand equity
 
Introduction to law
Introduction to lawIntroduction to law
Introduction to law
 
Trade pattern
Trade patternTrade pattern
Trade pattern
 
Legal & ethical issues in retailing
Legal & ethical issues in retailingLegal & ethical issues in retailing
Legal & ethical issues in retailing
 
Crm technology
Crm technologyCrm technology
Crm technology
 
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
 
Just in time concept
Just in time conceptJust in time concept
Just in time concept
 
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...
 
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...
 
Adaptibility: the new competitive advantage
Adaptibility: the new competitive advantageAdaptibility: the new competitive advantage
Adaptibility: the new competitive advantage
 
STP STRATEGIES
STP STRATEGIESSTP STRATEGIES
STP STRATEGIES
 
Supply and demand management in services
Supply and demand management in servicesSupply and demand management in services
Supply and demand management in services
 
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
 
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
 
Financial services
Financial servicesFinancial services
Financial services
 
management information system in elections
management information system in electionsmanagement information system in elections
management information system in elections
 
Final research
Final researchFinal research
Final research
 

Recently uploaded

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 

Recently uploaded (20)

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 

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
  • 13.
  • 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.
  • 15.
  • 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.