SlideShare a Scribd company logo
1 of 32
Database Management System
Topic :
Presented to:
Sir Waqar.
Presented by:
Umer Hassan.
Ali Raza.
Nauman Sarfaraz.
Talal Mir.
Imran Ali.
Contents:
 Introduction of Database.
 Basic terms of Database.
 Flat file Database structures.
 Working with Database.
 How to create a Database.
 Forms and filters.
 SQL (Structured query language).
 Examples of queries.
 RDBMS.
 Normalization.
 Database at work.
 Common Corporate DBMS.
 Data warehouse.
 Data Mining.
• People need data so people create kinds of lists to store and organize it.
• A database is a collection of information that is organized so that it can
easily be accessed, managed, and updated.
• Previously, different departments in a company would design their own
databases with their own copies of data.
• Reduced data redundancy (copies of data).
• Improved data access to users.
• Improved data security.
• Reduced data entry, storage, and retrieval costs.
• Entity: An entity is a piece of an object about which data is stored. i.e. Student,
Employee.
• Fields: A field is a combination of one or more related characters or bytes and it is
the smallest of data fields also called attribues or column. i.e. studentID, studentname,
studentsaddress, employeename,emloyeemailaddress.
• Records: Is a group of related fields.
• Tables: Is a complete collection of records make a table.
• The most basic way to organize data is as a flat file
• In databases a flat file refers to data files that contain records with
no structured relationships. Flat files may contain only basic
formatting, have a small fixed number of fields, and it may or may
not have a file format.
• A flat file database is a database that stores data in a plain text file.
• Flat file database for certain single user for small group situation.
• A data model is a collection of concepts and rules for the
description of the structure of the database.
• Database systems can be based on different data models or
database models respectively.
• Structure of the database means the data types, the constraints
and the relationships for the description or storage of data
respectively.
There are four basic types of database:-
• Hierarchical Model
• Network Model
• Relational Model
• Object-oriented Model
• Hierarchical Model: A hierarchical database model is a data model in
which the data is organized into a tree-like structure. The data is stored as records
which are connected to one another through links.
• Network Model: The network model is a database model conceived as a
flexible way of representing objects and their relationships.
• Relational Model :The relational model for database management is
a database model based on
first-order predicate logic
• Object-oriented Model:
• Object Oriented DBMS Database that stores data elements as objects. Uses of
object-oriented concepts. The term object oriented is abbreviated by OO or O-O
• An object database (also object-oriented database management system) is a
database management system .
Relational Database Structures:
• RDBMS are most important database system used in the software
industry today. It was exclusively used to establish the relation the
relationship between two-database objects. One of the database
objects is one table.
The BDMS:
• A database management system (DBMS) is system software for
creating and managing databases. The DBMS provides users and
programmers with a systematic way to create, retrieve, update and
manage data in a database.
• The DBMS is perhaps most useful for providing a centralized view
of data that can be accessed by multiple users, from multiple
locations, in a controlled manner.
• When you have a lot of data to organize, putting it into a
database can be a big help.
• The DBMS interface present the user with data and the tools
required to work with the data.
• You work with the interface’s tools to perform these data
management functions:
• Creating tables
• Sorting records
• Creating Queries
• Generating reports
Querying a Database
• Queries are the primary mechanism for retrieving
information from a database and consist of questions
presented to the database in a predefined format.
• Allow the DBMS to locate records.
• Establish relationship or linked b/w tables to update records.
• List a subset of records.
• Perform calculations.
• Delete obsolete records.
• Perform other data management tasks.
• For example, you might only want to see how many individuals in your
database live in a given city. Or you might only want to see which
individuals have registered with your database within a given time
period.
SQL
• SQL stands for Structured query language.
• SQL is used to write query.
• SQL ( Structured Query Language) is a special-purpose programming
language designed for managing data held in a relational database
management system (RDBMS).
• The SQL statements can be used for both interactive queries and
collecting data for reports from relational database.
• There are four common and main queries
1. Select
2. Insert into
3. Delete
4. Update
Creating tables
• A table is a collection of related data held in a structured format within
a database.
• It consists of fields (columns), and rows.
• This is the first step in building any database.
• Define each field in the table by following three step:
1.Name the field
2.Specify the field type
3.Specify the field size
• After the table has been set up , now
data can enter in a Table.
Sorting Records:
• DBMS is the ability to sort a table of Data, either for a
printed report or for display on the screen.
• For example, a product catalog that lists the products in
alphabetical order or on the basis of unit price is much
easier to use than one that lists the items in random
order.
• When you sort records, you are putting them into
a logical order, with similar data grouped together.
Generating Reports
• Not all DBMS operations have to occur on screen.
• A report is printed information that, like a query result, is
assembled by gathering database on user-supplied
criteria.
• In fact, reports generators is most DBMSs create reports
from queries.
• Reports are also similar to forms because their layout can
be customized with object representing fields and other
controls
RDBMS
• RDBMS stands for Relational Database Management System.
• A relational database management system (RDBMS) is a
program that lets you create, update, and administer
a relational database.
• Each RDBMS table consists of database table rows. Each
database table row consists of one or more database table
fields.
RDBMS store the data into collection of tables, which might
be related by common fields
(database table columns).
• A relationship is a link b/w two tables of
database.
• When a relationship created , a record in one table is
connected to one or many records in another table.
• There are three types of Relationship:
1. One-To-One Relationship
2. One-To-Many Relationship
3. Many-To-Many Relationship
Relationships in RDBMS
One-To-One Relationship
• A one-to-one relationship in a relational database occurs when one
parent record or field has either zero or one child record only.
These relationships are the easiest to represent in databases
• In relational databases, a one-to-many relationship occurs
when a parent record in one table can potentially reference
several child records in another table.
One-To- Many Relationship:
• A many-to-many relationship refers to a relationship between tables
in a database when a parent row in one table contains several child
rows in the second table, and vice versa. Many-to-many
relationships are often tricky to represent.
Many-To- Many Relationship:
Keys in Database
• Primary key: is a candidate key that is most appropriate to be the main reference
key for the table.
• Foreign key: is generally a primary key from one table that appears as a field in
another where the first table has a relationship to the second.
• Secondary Key or Alternative Key: A table may have one or more choices for the
primary key. Collectively these are known as candidate keys as discuss earlier. One
is selected as the primary key. Those not selected are known as secondary keys or
alternative keys.
• Candidate Key: A candidate is a subset of a super key. A candidate key is a single
field or the least combination of fields that uniquely identifies each record in the
table.
Database normalization
• Database normalization: Database normalization is the process of
organizing the attributes and tables of a relational database to minimize
data redundancy.
• In other words normalization is used to purify database.
• There are 3 form of normalization.
• 1st Normal Form.
• 2nd Normal Form.
• 3rd Normal Form.
First Normal Form
• As per First Normal Form, no two Rows of data must contain repeating
group of information.
• Each set of column must have a unique value.
• After Normal 1st form.
2nd Normal Form
• Second Normal Form there must not be any partial dependency of
any column on primary key.
Third Normal Form
• Third Normal form applies that every non-prime attribute of table
must be dependent on primary key.
Common Corporate DBMS.
• MySQL
• Microsoft SQL Server
• Microsoft Office Access
• Microsoft Visual FoxPro
• PostgreSQL
• SQLite
• Firebird
Data warehouse
• In computing, a data warehouse (DW or DWH), also known as an
enterprise data warehouse (EDW), is a system used for reporting
and data analysis. DWs are central repositories of integrated data from one
or more disparate sources.
Data Mining
• Data mining is a powerful new technology with great potential
• Data mining, is the computer-assisted process of digging through
and analyzing enormous sets of data and then extracting the
meaning of the data.

More Related Content

What's hot

Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management SystemMian Abdul Raheem
 
Database management system
Database management systemDatabase management system
Database management systemGovinda Neupane
 
DATABASE PRESENTATION
DATABASE PRESENTATIONDATABASE PRESENTATION
DATABASE PRESENTATIONSunnyRajput34
 
overview of database concept
overview of database conceptoverview of database concept
overview of database conceptgourav kottawar
 
computer fund-database presentation
 computer fund-database presentation computer fund-database presentation
computer fund-database presentationRakibul islam
 
Database Concept by Luke Lonergan
Database Concept by Luke LonerganDatabase Concept by Luke Lonergan
Database Concept by Luke LonerganLuke Lonergan
 
Types of databases
Types of databasesTypes of databases
Types of databasesPAQUIAAIZEL
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databasesBryan Corpuz
 
Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Naman Joshi
 
Chapter 6 Database SC025 2017/2018
Chapter 6 Database SC025 2017/2018Chapter 6 Database SC025 2017/2018
Chapter 6 Database SC025 2017/2018Fizaril Amzari Omar
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and ComponentsRIAH ENCARNACION
 
Database management system
Database management systemDatabase management system
Database management systemAnujRana43
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level ArchitectureAdeel Rasheed
 

What's hot (20)

Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
 
Database management system
Database management systemDatabase management system
Database management system
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
DATABASE PRESENTATION
DATABASE PRESENTATIONDATABASE PRESENTATION
DATABASE PRESENTATION
 
overview of database concept
overview of database conceptoverview of database concept
overview of database concept
 
computer fund-database presentation
 computer fund-database presentation computer fund-database presentation
computer fund-database presentation
 
Database Concept by Luke Lonergan
Database Concept by Luke LonerganDatabase Concept by Luke Lonergan
Database Concept by Luke Lonergan
 
rdbms-notes
rdbms-notesrdbms-notes
rdbms-notes
 
Types of databases
Types of databasesTypes of databases
Types of databases
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
Types of databases
Types of databases   Types of databases
Types of databases
 
Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)
 
Database management system
Database management system Database management system
Database management system
 
Chapter 6 Database SC025 2017/2018
Chapter 6 Database SC025 2017/2018Chapter 6 Database SC025 2017/2018
Chapter 6 Database SC025 2017/2018
 
Database an introduction
Database an introductionDatabase an introduction
Database an introduction
 
Introduction to DBMS
Introduction to DBMSIntroduction to DBMS
Introduction to DBMS
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and Components
 
Database management system
Database management systemDatabase management system
Database management system
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
 

Viewers also liked

Compression Type Connector - dongya electronic
Compression Type Connector - dongya electronicCompression Type Connector - dongya electronic
Compression Type Connector - dongya electronicFocus_Shu
 
Baptism ritual structure and symbols
Baptism ritual structure and symbolsBaptism ritual structure and symbols
Baptism ritual structure and symbolsmariacatherinelucia
 
Portfolio Overview as of Q1 2016
Portfolio Overview as of Q1 2016Portfolio Overview as of Q1 2016
Portfolio Overview as of Q1 2016Kyle Kauss
 
RF coaxial connector - dongya electronic
RF coaxial connector - dongya electronicRF coaxial connector - dongya electronic
RF coaxial connector - dongya electronicFocus_Shu
 
Eurorail Project: CEE Sea-to-Sea Connectivity
Eurorail Project: CEE Sea-to-Sea ConnectivityEurorail Project: CEE Sea-to-Sea Connectivity
Eurorail Project: CEE Sea-to-Sea ConnectivitySergii Kiral
 
কফি সমাচার
কফি সমাচারকফি সমাচার
কফি সমাচারSajid Rahat
 
pharmacist rajesh
pharmacist rajeshpharmacist rajesh
pharmacist rajeshSonu Rajesh
 
Corporate Dresscode
Corporate DresscodeCorporate Dresscode
Corporate DresscodeSajid Rahat
 
Survey responses question 3
Survey responses question 3 Survey responses question 3
Survey responses question 3 Seandoel97
 
Papuc elena marcela how to be a better manager
Papuc elena marcela  how to be  a better managerPapuc elena marcela  how to be  a better manager
Papuc elena marcela how to be a better managerEly Elena
 
Hasil Review
Hasil Review Hasil Review
Hasil Review Ali Raza
 
NSAC2015_Team140_FinalPlansBook
NSAC2015_Team140_FinalPlansBookNSAC2015_Team140_FinalPlansBook
NSAC2015_Team140_FinalPlansBookEvan Seuren
 
Leslie Scott Presentation March 3 2015
Leslie Scott Presentation March 3 2015Leslie Scott Presentation March 3 2015
Leslie Scott Presentation March 3 2015KLHomer
 

Viewers also liked (20)

will vs be going to
will vs be going towill vs be going to
will vs be going to
 
Compression Type Connector - dongya electronic
Compression Type Connector - dongya electronicCompression Type Connector - dongya electronic
Compression Type Connector - dongya electronic
 
Baptism ritual structure and symbols
Baptism ritual structure and symbolsBaptism ritual structure and symbols
Baptism ritual structure and symbols
 
Presentatie kermisexploitanten 17 januari 2015-def
Presentatie kermisexploitanten   17 januari 2015-defPresentatie kermisexploitanten   17 januari 2015-def
Presentatie kermisexploitanten 17 januari 2015-def
 
What animal
What animalWhat animal
What animal
 
Portfolio Overview as of Q1 2016
Portfolio Overview as of Q1 2016Portfolio Overview as of Q1 2016
Portfolio Overview as of Q1 2016
 
RF coaxial connector - dongya electronic
RF coaxial connector - dongya electronicRF coaxial connector - dongya electronic
RF coaxial connector - dongya electronic
 
Eurorail Project: CEE Sea-to-Sea Connectivity
Eurorail Project: CEE Sea-to-Sea ConnectivityEurorail Project: CEE Sea-to-Sea Connectivity
Eurorail Project: CEE Sea-to-Sea Connectivity
 
Engleza po
Engleza poEngleza po
Engleza po
 
কফি সমাচার
কফি সমাচারকফি সমাচার
কফি সমাচার
 
pharmacist rajesh
pharmacist rajeshpharmacist rajesh
pharmacist rajesh
 
Corporate Dresscode
Corporate DresscodeCorporate Dresscode
Corporate Dresscode
 
Survey responses question 3
Survey responses question 3 Survey responses question 3
Survey responses question 3
 
Papuc elena marcela how to be a better manager
Papuc elena marcela  how to be  a better managerPapuc elena marcela  how to be  a better manager
Papuc elena marcela how to be a better manager
 
Eucharist
EucharistEucharist
Eucharist
 
לנבר רזומה 2015
לנבר רזומה 2015לנבר רזומה 2015
לנבר רזומה 2015
 
Hasil Review
Hasil Review Hasil Review
Hasil Review
 
Danielian
DanielianDanielian
Danielian
 
NSAC2015_Team140_FinalPlansBook
NSAC2015_Team140_FinalPlansBookNSAC2015_Team140_FinalPlansBook
NSAC2015_Team140_FinalPlansBook
 
Leslie Scott Presentation March 3 2015
Leslie Scott Presentation March 3 2015Leslie Scott Presentation March 3 2015
Leslie Scott Presentation March 3 2015
 

Similar to Presentation DBMS (1)

Info systems databases
Info systems databasesInfo systems databases
Info systems databasesMR Z
 
Database management system
Database management systemDatabase management system
Database management systemrishi ram khanal
 
Lec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systemsLec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systemssamiullahamjad06
 
Database Management Systems 1
Database Management Systems 1Database Management Systems 1
Database Management Systems 1Nickkisha Farrell
 
MIS-3rd Unit.pptx
MIS-3rd Unit.pptxMIS-3rd Unit.pptx
MIS-3rd Unit.pptxSumit Kumar
 
What is database.pptx
What is database.pptxWhat is database.pptx
What is database.pptxaftabjordan1
 
Database management system
Database management systemDatabase management system
Database management systemSabinDhakal13
 
UNIT machine learning unit 1,algorithm pdf
UNIT machine learning  unit 1,algorithm pdfUNIT machine learning  unit 1,algorithm pdf
UNIT machine learning unit 1,algorithm pdfOmarFarooque9
 
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.pptxRiannel Tecson
 
Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra
 
dbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungadbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungaVaradKadtan1
 
Arinda oktaviana 11353204810 vii lokal g
Arinda oktaviana 11353204810   vii lokal gArinda oktaviana 11353204810   vii lokal g
Arinda oktaviana 11353204810 vii lokal gArinda oktaviana
 
C1 basic concepts of database
C1 basic concepts of databaseC1 basic concepts of database
C1 basic concepts of databaseWan Azni
 

Similar to Presentation DBMS (1) (20)

Info systems databases
Info systems databasesInfo systems databases
Info systems databases
 
Introduction to ms access database
Introduction to ms access databaseIntroduction to ms access database
Introduction to ms access database
 
Database management system
Database management systemDatabase management system
Database management system
 
Lec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systemsLec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systems
 
Database Management Systems 1
Database Management Systems 1Database Management Systems 1
Database Management Systems 1
 
MIS-3rd Unit.pptx
MIS-3rd Unit.pptxMIS-3rd Unit.pptx
MIS-3rd Unit.pptx
 
MIS-3rd Unit.pptx
MIS-3rd Unit.pptxMIS-3rd Unit.pptx
MIS-3rd Unit.pptx
 
What is database.pptx
What is database.pptxWhat is database.pptx
What is database.pptx
 
Rdbms
RdbmsRdbms
Rdbms
 
Database management system
Database management systemDatabase management system
Database management system
 
UNIT machine learning unit 1,algorithm pdf
UNIT machine learning  unit 1,algorithm pdfUNIT machine learning  unit 1,algorithm pdf
UNIT machine learning unit 1,algorithm pdf
 
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
 
Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnet
 
RDMS AND SQL
RDMS AND SQLRDMS AND SQL
RDMS AND SQL
 
Presentation Datatbase Final.pptx
Presentation Datatbase Final.pptxPresentation Datatbase Final.pptx
Presentation Datatbase Final.pptx
 
demo2.ppt
demo2.pptdemo2.ppt
demo2.ppt
 
dbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungadbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodunga
 
Ch1_Intro-95(1).ppt
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).ppt
 
Arinda oktaviana 11353204810 vii lokal g
Arinda oktaviana 11353204810   vii lokal gArinda oktaviana 11353204810   vii lokal g
Arinda oktaviana 11353204810 vii lokal g
 
C1 basic concepts of database
C1 basic concepts of databaseC1 basic concepts of database
C1 basic concepts of database
 

More from Ali Raza

Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD) Ali Raza
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD) Ali Raza
 
Difference
DifferenceDifference
DifferenceAli Raza
 
The mughal empire
The mughal empireThe mughal empire
The mughal empireAli Raza
 
Psychology
PsychologyPsychology
PsychologyAli Raza
 
Assignment of ict robotics
Assignment of ict roboticsAssignment of ict robotics
Assignment of ict roboticsAli Raza
 
Operating system
Operating systemOperating system
Operating systemAli Raza
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and developmentAli Raza
 
artificial intelligence
artificial intelligence artificial intelligence
artificial intelligence Ali Raza
 
E commrece
E commreceE commrece
E commreceAli Raza
 
Computer networks7
Computer networks7Computer networks7
Computer networks7Ali Raza
 
Personal computer
Personal computer Personal computer
Personal computer Ali Raza
 
Assignment of ict robotics
Assignment of ict roboticsAssignment of ict robotics
Assignment of ict roboticsAli Raza
 
Presentation of verb
Presentation of verb Presentation of verb
Presentation of verb Ali Raza
 

More from Ali Raza (15)

Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD)
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD)
 
Difference
DifferenceDifference
Difference
 
The mughal empire
The mughal empireThe mughal empire
The mughal empire
 
Psychology
PsychologyPsychology
Psychology
 
Assignment of ict robotics
Assignment of ict roboticsAssignment of ict robotics
Assignment of ict robotics
 
Operating system
Operating systemOperating system
Operating system
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
 
artificial intelligence
artificial intelligence artificial intelligence
artificial intelligence
 
E commrece
E commreceE commrece
E commrece
 
Computer networks7
Computer networks7Computer networks7
Computer networks7
 
Personal computer
Personal computer Personal computer
Personal computer
 
Assignment of ict robotics
Assignment of ict roboticsAssignment of ict robotics
Assignment of ict robotics
 
Presentation of verb
Presentation of verb Presentation of verb
Presentation of verb
 
Verb
VerbVerb
Verb
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Recently uploaded (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Presentation DBMS (1)

  • 1.
  • 3. Presented to: Sir Waqar. Presented by: Umer Hassan. Ali Raza. Nauman Sarfaraz. Talal Mir. Imran Ali.
  • 4. Contents:  Introduction of Database.  Basic terms of Database.  Flat file Database structures.  Working with Database.  How to create a Database.  Forms and filters.  SQL (Structured query language).  Examples of queries.  RDBMS.  Normalization.  Database at work.  Common Corporate DBMS.  Data warehouse.  Data Mining.
  • 5. • People need data so people create kinds of lists to store and organize it. • A database is a collection of information that is organized so that it can easily be accessed, managed, and updated. • Previously, different departments in a company would design their own databases with their own copies of data. • Reduced data redundancy (copies of data). • Improved data access to users. • Improved data security. • Reduced data entry, storage, and retrieval costs.
  • 6. • Entity: An entity is a piece of an object about which data is stored. i.e. Student, Employee. • Fields: A field is a combination of one or more related characters or bytes and it is the smallest of data fields also called attribues or column. i.e. studentID, studentname, studentsaddress, employeename,emloyeemailaddress. • Records: Is a group of related fields. • Tables: Is a complete collection of records make a table.
  • 7. • The most basic way to organize data is as a flat file • In databases a flat file refers to data files that contain records with no structured relationships. Flat files may contain only basic formatting, have a small fixed number of fields, and it may or may not have a file format. • A flat file database is a database that stores data in a plain text file. • Flat file database for certain single user for small group situation.
  • 8. • A data model is a collection of concepts and rules for the description of the structure of the database. • Database systems can be based on different data models or database models respectively. • Structure of the database means the data types, the constraints and the relationships for the description or storage of data respectively.
  • 9. There are four basic types of database:- • Hierarchical Model • Network Model • Relational Model • Object-oriented Model
  • 10. • Hierarchical Model: A hierarchical database model is a data model in which the data is organized into a tree-like structure. The data is stored as records which are connected to one another through links. • Network Model: The network model is a database model conceived as a flexible way of representing objects and their relationships.
  • 11. • Relational Model :The relational model for database management is a database model based on first-order predicate logic • Object-oriented Model: • Object Oriented DBMS Database that stores data elements as objects. Uses of object-oriented concepts. The term object oriented is abbreviated by OO or O-O • An object database (also object-oriented database management system) is a database management system .
  • 12. Relational Database Structures: • RDBMS are most important database system used in the software industry today. It was exclusively used to establish the relation the relationship between two-database objects. One of the database objects is one table.
  • 13. The BDMS: • A database management system (DBMS) is system software for creating and managing databases. The DBMS provides users and programmers with a systematic way to create, retrieve, update and manage data in a database. • The DBMS is perhaps most useful for providing a centralized view of data that can be accessed by multiple users, from multiple locations, in a controlled manner.
  • 14. • When you have a lot of data to organize, putting it into a database can be a big help. • The DBMS interface present the user with data and the tools required to work with the data. • You work with the interface’s tools to perform these data management functions: • Creating tables • Sorting records • Creating Queries • Generating reports
  • 15. Querying a Database • Queries are the primary mechanism for retrieving information from a database and consist of questions presented to the database in a predefined format. • Allow the DBMS to locate records. • Establish relationship or linked b/w tables to update records. • List a subset of records. • Perform calculations. • Delete obsolete records. • Perform other data management tasks. • For example, you might only want to see how many individuals in your database live in a given city. Or you might only want to see which individuals have registered with your database within a given time period.
  • 16. SQL • SQL stands for Structured query language. • SQL is used to write query. • SQL ( Structured Query Language) is a special-purpose programming language designed for managing data held in a relational database management system (RDBMS). • The SQL statements can be used for both interactive queries and collecting data for reports from relational database. • There are four common and main queries 1. Select 2. Insert into 3. Delete 4. Update
  • 17. Creating tables • A table is a collection of related data held in a structured format within a database. • It consists of fields (columns), and rows. • This is the first step in building any database. • Define each field in the table by following three step: 1.Name the field 2.Specify the field type 3.Specify the field size • After the table has been set up , now data can enter in a Table.
  • 18. Sorting Records: • DBMS is the ability to sort a table of Data, either for a printed report or for display on the screen. • For example, a product catalog that lists the products in alphabetical order or on the basis of unit price is much easier to use than one that lists the items in random order. • When you sort records, you are putting them into a logical order, with similar data grouped together.
  • 19. Generating Reports • Not all DBMS operations have to occur on screen. • A report is printed information that, like a query result, is assembled by gathering database on user-supplied criteria. • In fact, reports generators is most DBMSs create reports from queries. • Reports are also similar to forms because their layout can be customized with object representing fields and other controls
  • 20. RDBMS • RDBMS stands for Relational Database Management System. • A relational database management system (RDBMS) is a program that lets you create, update, and administer a relational database. • Each RDBMS table consists of database table rows. Each database table row consists of one or more database table fields. RDBMS store the data into collection of tables, which might be related by common fields (database table columns).
  • 21. • A relationship is a link b/w two tables of database. • When a relationship created , a record in one table is connected to one or many records in another table. • There are three types of Relationship: 1. One-To-One Relationship 2. One-To-Many Relationship 3. Many-To-Many Relationship Relationships in RDBMS
  • 22. One-To-One Relationship • A one-to-one relationship in a relational database occurs when one parent record or field has either zero or one child record only. These relationships are the easiest to represent in databases
  • 23. • In relational databases, a one-to-many relationship occurs when a parent record in one table can potentially reference several child records in another table. One-To- Many Relationship:
  • 24. • A many-to-many relationship refers to a relationship between tables in a database when a parent row in one table contains several child rows in the second table, and vice versa. Many-to-many relationships are often tricky to represent. Many-To- Many Relationship:
  • 25. Keys in Database • Primary key: is a candidate key that is most appropriate to be the main reference key for the table. • Foreign key: is generally a primary key from one table that appears as a field in another where the first table has a relationship to the second. • Secondary Key or Alternative Key: A table may have one or more choices for the primary key. Collectively these are known as candidate keys as discuss earlier. One is selected as the primary key. Those not selected are known as secondary keys or alternative keys. • Candidate Key: A candidate is a subset of a super key. A candidate key is a single field or the least combination of fields that uniquely identifies each record in the table.
  • 26. Database normalization • Database normalization: Database normalization is the process of organizing the attributes and tables of a relational database to minimize data redundancy. • In other words normalization is used to purify database. • There are 3 form of normalization. • 1st Normal Form. • 2nd Normal Form. • 3rd Normal Form.
  • 27. First Normal Form • As per First Normal Form, no two Rows of data must contain repeating group of information. • Each set of column must have a unique value. • After Normal 1st form.
  • 28. 2nd Normal Form • Second Normal Form there must not be any partial dependency of any column on primary key.
  • 29. Third Normal Form • Third Normal form applies that every non-prime attribute of table must be dependent on primary key.
  • 30. Common Corporate DBMS. • MySQL • Microsoft SQL Server • Microsoft Office Access • Microsoft Visual FoxPro • PostgreSQL • SQLite • Firebird
  • 31. Data warehouse • In computing, a data warehouse (DW or DWH), also known as an enterprise data warehouse (EDW), is a system used for reporting and data analysis. DWs are central repositories of integrated data from one or more disparate sources.
  • 32. Data Mining • Data mining is a powerful new technology with great potential • Data mining, is the computer-assisted process of digging through and analyzing enormous sets of data and then extracting the meaning of the data.