SlideShare uma empresa Scribd logo
1 de 19
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Destaque

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
 

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

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

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

Último

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 

Último (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

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