SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
Database concepts
Database
   Container for data
   Repository for storing organized
   information in the form of files




                                      MG/DB CONCEPTS/CL12
DATABASE MANAGEMENT SYSTEM
   software package that handles the
database
  interface between the user and the
  database
  organizes data as a data model
   - infrastructure of data organization

                                  MG/DB CONCEPTS/CL12
Relational Data Model
  data is organized in the form of rows
and columns as in a table
  Table - referred to as a relation
  Rows - referred to as tuples / records
   Columns - referred to as fields /
attributes


                                   MG/DB CONCEPTS/CL12
Primary key
     A field or a group of fields that is the
  unique identifier for a table
     The primary key uniquely identifies
  each row of the table
     It contains unique value for each
  record


                                    MG/DB CONCEPTS/CL12
Database is a collection of related files
   Tables consist of organized related
information
  Each table is a collection of records
   Each record contains info about a specific
entity
  The info in each record is contained in fields
  A field is the basic unit of a db
  A field can contain text, numbers, dates or
even photographs                      MG/DB CONCEPTS/CL12
A data base system has 2 parts
           The back end
           The front end
Front-end interfaces with the user
Eg> Visual Basic


The back-end holds data
Eg> IBM DB2, MS SQL Server, Oracle,
Sybase, Informix, MS Access, Ingress etc
                                     MG/DB CONCEPTS/CL12
Structured Query Language(SQL)
  Enables you to create, operate and control
  relational databases
   Used for defining and manipulating
relational databases
  Non-procedural language
   Format free language (Tabs, carriage return
and spaces can be included anywhere in the
statement)
  Case insignificant
                                      MG/DB CONCEPTS/CL12
The language consists of the following components:
Data definition component/language:
   Consists of commands that define and destroy
objects like relations/tables, indexes, views etc
Eg> Create, alter, drop etc
Data manipulation component/language:
   Consists of retrieval, manipulation and update
directives
Eg> select, insert, delete, update etc
                                          MG/DB CONCEPTS/CL12
Data control component:
  Used for defining security and access control of the
database.
  Allows the user to grant access privileges.
Eg> grant : to grant privileges to other users
revoke: to revoke privileges
The commands are also known as Transaction control
commands
Transaction control language commands : Manage changes
made by DML commands.
Commit : to make the changes permanent
                                                 MG/DB CONCEPTS/CL12

Rollback: to undo all changes.
SQL statements can be executed directly i.e interactively
or as part of an application program
Interactive SQL :
  Used to operate directly on a db to produce the required
output.
  Used by non-programmers




                                             MG/DB CONCEPTS/CL12
Embedded SQL :
   SQL statements embedded within the program
source code that is written in some programming
language / front end tool
  Used by programmers




                                          MG/DB CONCEPTS/CL12
Terminology
Cardinality : The number of tuples is called the
cardinality
Degree : The number of attributes is called the degree
Domain
   a pool of values from which specific attributes of
specific relations draw their values.
   just a data type;
   provides a set of values from which various
attributes in various relations take their actual values.
                                            MG/DB CONCEPTS/CL12
Primary key :
  a column or a group of columns in a table that
uniquely identifies records in the table.
  unique identifier for the table.
  contains unique value for each record.
Candidate key :
Attributes in a relation that can serve as primary
key are candidate keys as they are candidates for
the primary key position.
                                        MG/DB CONCEPTS/CL12
Alternate key :
A candidate key that is not the primary key is
called an alternate key.
Foreign key :
Column or a group of columns in a table that is
used to reference a primary key in another
table.




                                       MG/DB CONCEPTS/CL12
Terminology




              MG/DB CONCEPTS/CL12
MG/DB CONCEPTS/CL12
MG/DB CONCEPTS/CL12
MG/DB CONCEPTS/CL12
MG/DB CONCEPTS/CL12

Weitere ähnliche Inhalte

Was ist angesagt?

Database : Relational Data Model
Database : Relational Data ModelDatabase : Relational Data Model
Database : Relational Data ModelSmriti Jain
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Modeloudesign
 
DBMS - Relational Model
DBMS - Relational ModelDBMS - Relational Model
DBMS - Relational ModelOvais Imtiaz
 
Key database terms
Key database termsKey database terms
Key database termslistergc
 
Understanding about relational database m-square systems inc
Understanding about relational database m-square systems incUnderstanding about relational database m-square systems inc
Understanding about relational database m-square systems incMuthu Natarajan
 
Preparing for BIT – IT2301 Database Management Systems 2001d
Preparing for BIT – IT2301 Database Management Systems 2001dPreparing for BIT – IT2301 Database Management Systems 2001d
Preparing for BIT – IT2301 Database Management Systems 2001dGihan Wikramanayake
 
Lesson 2 network database system
Lesson 2 network database systemLesson 2 network database system
Lesson 2 network database systemGiO Friginal
 
Types of sql commands by naveen kumar veligeti
Types of sql commands by naveen kumar veligetiTypes of sql commands by naveen kumar veligeti
Types of sql commands by naveen kumar veligetiNaveen Kumar Veligeti
 
Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Eddyzulham Mahluzydde
 
Introduction to the Structured Query Language SQL
Introduction to the Structured Query Language SQLIntroduction to the Structured Query Language SQL
Introduction to the Structured Query Language SQLHarmony Kwawu
 
Database management system
Database management systemDatabase management system
Database management systemedudivya
 
Structured query language(sql)ppt
Structured query language(sql)pptStructured query language(sql)ppt
Structured query language(sql)pptGowarthini
 
Dbms schema & instance
Dbms schema & instanceDbms schema & instance
Dbms schema & instancePapan Sarkar
 

Was ist angesagt? (20)

Database Basics
Database BasicsDatabase Basics
Database Basics
 
Database : Relational Data Model
Database : Relational Data ModelDatabase : Relational Data Model
Database : Relational Data Model
 
Database Languages
Database LanguagesDatabase Languages
Database Languages
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Model
 
Normalization
NormalizationNormalization
Normalization
 
DBMS - Relational Model
DBMS - Relational ModelDBMS - Relational Model
DBMS - Relational Model
 
Key database terms
Key database termsKey database terms
Key database terms
 
Understanding about relational database m-square systems inc
Understanding about relational database m-square systems incUnderstanding about relational database m-square systems inc
Understanding about relational database m-square systems inc
 
Preparing for BIT – IT2301 Database Management Systems 2001d
Preparing for BIT – IT2301 Database Management Systems 2001dPreparing for BIT – IT2301 Database Management Systems 2001d
Preparing for BIT – IT2301 Database Management Systems 2001d
 
RDBMS
RDBMSRDBMS
RDBMS
 
Lesson 2 network database system
Lesson 2 network database systemLesson 2 network database system
Lesson 2 network database system
 
Sql commands
Sql commandsSql commands
Sql commands
 
Types of sql commands by naveen kumar veligeti
Types of sql commands by naveen kumar veligetiTypes of sql commands by naveen kumar veligeti
Types of sql commands by naveen kumar veligeti
 
RDBMS concepts
RDBMS conceptsRDBMS concepts
RDBMS concepts
 
Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1
 
D B M S Animate
D B M S AnimateD B M S Animate
D B M S Animate
 
Introduction to the Structured Query Language SQL
Introduction to the Structured Query Language SQLIntroduction to the Structured Query Language SQL
Introduction to the Structured Query Language SQL
 
Database management system
Database management systemDatabase management system
Database management system
 
Structured query language(sql)ppt
Structured query language(sql)pptStructured query language(sql)ppt
Structured query language(sql)ppt
 
Dbms schema & instance
Dbms schema & instanceDbms schema & instance
Dbms schema & instance
 

Andere mochten auch

Kktc meclisi (sunum)
Kktc meclisi (sunum)Kktc meclisi (sunum)
Kktc meclisi (sunum)Cemal Gamar
 
Sql delete, truncate, drop statements
Sql delete, truncate, drop statementsSql delete, truncate, drop statements
Sql delete, truncate, drop statementsVivek Singh
 
Year 6 chapter 2
Year 6 chapter 2Year 6 chapter 2
Year 6 chapter 2artibsha87
 
Databases & Challenges of a Digital Age
Databases & Challenges of a Digital AgeDatabases & Challenges of a Digital Age
Databases & Challenges of a Digital AgeWendy Lile
 
Chief executiveofficer%2cfm%2c hr director
Chief executiveofficer%2cfm%2c hr director Chief executiveofficer%2cfm%2c hr director
Chief executiveofficer%2cfm%2c hr director selengeshare
 
Data base management ssystem
Data base management  ssystemData base management  ssystem
Data base management ssystemSabeeh Ahmed
 
Mariana Clímaco - Oral Presentation
Mariana Clímaco - Oral PresentationMariana Clímaco - Oral Presentation
Mariana Clímaco - Oral PresentationMariana Clímaco
 
[öSs] [Sunum] DüNyanıN Hareketleri
[öSs] [Sunum] DüNyanıN Hareketleri[öSs] [Sunum] DüNyanıN Hareketleri
[öSs] [Sunum] DüNyanıN Hareketlerihome
 
Presentation on tablespaceses segments extends and blocks
Presentation on tablespaceses segments extends and blocksPresentation on tablespaceses segments extends and blocks
Presentation on tablespaceses segments extends and blocksVinay Ugave
 
Basic oracle for developer&beginner
Basic oracle for developer&beginnerBasic oracle for developer&beginner
Basic oracle for developer&beginnermaclean liu
 
CSC1100 - Chapter08 - Database Management
CSC1100 - Chapter08 - Database ManagementCSC1100 - Chapter08 - Database Management
CSC1100 - Chapter08 - Database ManagementYhal Htet Aung
 
An Introduction to Oracle Enterprise Metadata Manager
An Introduction to Oracle Enterprise Metadata ManagerAn Introduction to Oracle Enterprise Metadata Manager
An Introduction to Oracle Enterprise Metadata ManagerLauren Prezby
 
C programming session 13
C programming session 13C programming session 13
C programming session 13Vivek Singh
 

Andere mochten auch (20)

Dbms1
Dbms1Dbms1
Dbms1
 
Breannaaaaaa
BreannaaaaaaBreannaaaaaa
Breannaaaaaa
 
Group 4 april 25
Group 4 april 25Group 4 april 25
Group 4 april 25
 
Kktc meclisi (sunum)
Kktc meclisi (sunum)Kktc meclisi (sunum)
Kktc meclisi (sunum)
 
Sql delete, truncate, drop statements
Sql delete, truncate, drop statementsSql delete, truncate, drop statements
Sql delete, truncate, drop statements
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Year 6 chapter 2
Year 6 chapter 2Year 6 chapter 2
Year 6 chapter 2
 
Summary
SummarySummary
Summary
 
Presentation CNC
Presentation CNCPresentation CNC
Presentation CNC
 
Databases & Challenges of a Digital Age
Databases & Challenges of a Digital AgeDatabases & Challenges of a Digital Age
Databases & Challenges of a Digital Age
 
Chief executiveofficer%2cfm%2c hr director
Chief executiveofficer%2cfm%2c hr director Chief executiveofficer%2cfm%2c hr director
Chief executiveofficer%2cfm%2c hr director
 
Data base management ssystem
Data base management  ssystemData base management  ssystem
Data base management ssystem
 
Mariana Clímaco - Oral Presentation
Mariana Clímaco - Oral PresentationMariana Clímaco - Oral Presentation
Mariana Clímaco - Oral Presentation
 
SEO - Marketing pra Web
SEO - Marketing pra WebSEO - Marketing pra Web
SEO - Marketing pra Web
 
[öSs] [Sunum] DüNyanıN Hareketleri
[öSs] [Sunum] DüNyanıN Hareketleri[öSs] [Sunum] DüNyanıN Hareketleri
[öSs] [Sunum] DüNyanıN Hareketleri
 
Presentation on tablespaceses segments extends and blocks
Presentation on tablespaceses segments extends and blocksPresentation on tablespaceses segments extends and blocks
Presentation on tablespaceses segments extends and blocks
 
Basic oracle for developer&beginner
Basic oracle for developer&beginnerBasic oracle for developer&beginner
Basic oracle for developer&beginner
 
CSC1100 - Chapter08 - Database Management
CSC1100 - Chapter08 - Database ManagementCSC1100 - Chapter08 - Database Management
CSC1100 - Chapter08 - Database Management
 
An Introduction to Oracle Enterprise Metadata Manager
An Introduction to Oracle Enterprise Metadata ManagerAn Introduction to Oracle Enterprise Metadata Manager
An Introduction to Oracle Enterprise Metadata Manager
 
C programming session 13
C programming session 13C programming session 13
C programming session 13
 

Ähnlich wie Db Concepts1

PPT SQL CLASS.pptx
PPT SQL CLASS.pptxPPT SQL CLASS.pptx
PPT SQL CLASS.pptxAngeOuattara
 
rdbms-161216100344 (1).pdf
rdbms-161216100344 (1).pdfrdbms-161216100344 (1).pdf
rdbms-161216100344 (1).pdfIrfanRashid36
 
Updated_rdbms-161216100344 (1).pptx
Updated_rdbms-161216100344 (1).pptxUpdated_rdbms-161216100344 (1).pptx
Updated_rdbms-161216100344 (1).pptxTHEFPS
 
Ajit_RDBMS.pptxhhhjikjhhgfhgggggghhhhhhjj
Ajit_RDBMS.pptxhhhjikjhhgfhgggggghhhhhhjjAjit_RDBMS.pptxhhhjikjhhgfhgggggghhhhhhjj
Ajit_RDBMS.pptxhhhjikjhhgfhgggggghhhhhhjjsanketsdighe2005
 
RDBMS BY DANISH SHAFI MIR.pptx
RDBMS BY DANISH SHAFI MIR.pptxRDBMS BY DANISH SHAFI MIR.pptx
RDBMS BY DANISH SHAFI MIR.pptxTHEFPS
 
Database Concepts.pptx
Database Concepts.pptxDatabase Concepts.pptx
Database Concepts.pptxDhruvSavaliya9
 
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredSQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredDanish Mehraj
 
DATABASE CONCEPTS AND PRACTICAL EXAMPLES
DATABASE CONCEPTS AND PRACTICAL EXAMPLESDATABASE CONCEPTS AND PRACTICAL EXAMPLES
DATABASE CONCEPTS AND PRACTICAL EXAMPLESNathRam2
 

Ähnlich wie Db Concepts1 (20)

Db Concepts2
Db Concepts2Db Concepts2
Db Concepts2
 
PPT SQL CLASS.pptx
PPT SQL CLASS.pptxPPT SQL CLASS.pptx
PPT SQL CLASS.pptx
 
rdbms-161216100344 (1).pdf
rdbms-161216100344 (1).pdfrdbms-161216100344 (1).pdf
rdbms-161216100344 (1).pdf
 
unit 1.pptx
unit 1.pptxunit 1.pptx
unit 1.pptx
 
Updated_rdbms-161216100344 (1).pptx
Updated_rdbms-161216100344 (1).pptxUpdated_rdbms-161216100344 (1).pptx
Updated_rdbms-161216100344 (1).pptx
 
4.Database Management System.pdf
4.Database Management System.pdf4.Database Management System.pdf
4.Database Management System.pdf
 
SQL2.pptx
SQL2.pptxSQL2.pptx
SQL2.pptx
 
lovely
lovelylovely
lovely
 
Ajit_RDBMS.pptxhhhjikjhhgfhgggggghhhhhhjj
Ajit_RDBMS.pptxhhhjikjhhgfhgggggghhhhhhjjAjit_RDBMS.pptxhhhjikjhhgfhgggggghhhhhhjj
Ajit_RDBMS.pptxhhhjikjhhgfhgggggghhhhhhjj
 
DBMS summer 19.pdf
DBMS summer 19.pdfDBMS summer 19.pdf
DBMS summer 19.pdf
 
Chapter02
Chapter02Chapter02
Chapter02
 
RDBMS BY DANISH SHAFI MIR.pptx
RDBMS BY DANISH SHAFI MIR.pptxRDBMS BY DANISH SHAFI MIR.pptx
RDBMS BY DANISH SHAFI MIR.pptx
 
Database Concepts.pptx
Database Concepts.pptxDatabase Concepts.pptx
Database Concepts.pptx
 
James hall ch 9
James hall ch 9James hall ch 9
James hall ch 9
 
DBMS Part-3.pptx
DBMS Part-3.pptxDBMS Part-3.pptx
DBMS Part-3.pptx
 
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredSQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics Covered
 
DATABASE CONCEPTS AND PRACTICAL EXAMPLES
DATABASE CONCEPTS AND PRACTICAL EXAMPLESDATABASE CONCEPTS AND PRACTICAL EXAMPLES
DATABASE CONCEPTS AND PRACTICAL EXAMPLES
 
unit 1.pptx
unit 1.pptxunit 1.pptx
unit 1.pptx
 
RDBMS
RDBMSRDBMS
RDBMS
 
T-SQL Overview
T-SQL OverviewT-SQL Overview
T-SQL Overview
 

Kürzlich hochgeladen

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
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
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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
 
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
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
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
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 

Kürzlich hochgeladen (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
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...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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 ...
 
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
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
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...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 

Db Concepts1

  • 1. Database concepts Database Container for data Repository for storing organized information in the form of files MG/DB CONCEPTS/CL12
  • 2. DATABASE MANAGEMENT SYSTEM software package that handles the database interface between the user and the database organizes data as a data model - infrastructure of data organization MG/DB CONCEPTS/CL12
  • 3. Relational Data Model data is organized in the form of rows and columns as in a table Table - referred to as a relation Rows - referred to as tuples / records Columns - referred to as fields / attributes MG/DB CONCEPTS/CL12
  • 4. Primary key A field or a group of fields that is the unique identifier for a table The primary key uniquely identifies each row of the table It contains unique value for each record MG/DB CONCEPTS/CL12
  • 5. Database is a collection of related files Tables consist of organized related information Each table is a collection of records Each record contains info about a specific entity The info in each record is contained in fields A field is the basic unit of a db A field can contain text, numbers, dates or even photographs MG/DB CONCEPTS/CL12
  • 6. A data base system has 2 parts The back end The front end Front-end interfaces with the user Eg> Visual Basic The back-end holds data Eg> IBM DB2, MS SQL Server, Oracle, Sybase, Informix, MS Access, Ingress etc MG/DB CONCEPTS/CL12
  • 7. Structured Query Language(SQL) Enables you to create, operate and control relational databases Used for defining and manipulating relational databases Non-procedural language Format free language (Tabs, carriage return and spaces can be included anywhere in the statement) Case insignificant MG/DB CONCEPTS/CL12
  • 8. The language consists of the following components: Data definition component/language: Consists of commands that define and destroy objects like relations/tables, indexes, views etc Eg> Create, alter, drop etc Data manipulation component/language: Consists of retrieval, manipulation and update directives Eg> select, insert, delete, update etc MG/DB CONCEPTS/CL12
  • 9. Data control component: Used for defining security and access control of the database. Allows the user to grant access privileges. Eg> grant : to grant privileges to other users revoke: to revoke privileges The commands are also known as Transaction control commands Transaction control language commands : Manage changes made by DML commands. Commit : to make the changes permanent MG/DB CONCEPTS/CL12 Rollback: to undo all changes.
  • 10. SQL statements can be executed directly i.e interactively or as part of an application program Interactive SQL : Used to operate directly on a db to produce the required output. Used by non-programmers MG/DB CONCEPTS/CL12
  • 11. Embedded SQL : SQL statements embedded within the program source code that is written in some programming language / front end tool Used by programmers MG/DB CONCEPTS/CL12
  • 12. Terminology Cardinality : The number of tuples is called the cardinality Degree : The number of attributes is called the degree Domain a pool of values from which specific attributes of specific relations draw their values. just a data type; provides a set of values from which various attributes in various relations take their actual values. MG/DB CONCEPTS/CL12
  • 13. Primary key : a column or a group of columns in a table that uniquely identifies records in the table. unique identifier for the table. contains unique value for each record. Candidate key : Attributes in a relation that can serve as primary key are candidate keys as they are candidates for the primary key position. MG/DB CONCEPTS/CL12
  • 14. Alternate key : A candidate key that is not the primary key is called an alternate key. Foreign key : Column or a group of columns in a table that is used to reference a primary key in another table. MG/DB CONCEPTS/CL12
  • 15. Terminology MG/DB CONCEPTS/CL12