SlideShare une entreprise Scribd logo
1  sur  20
RDBMS Concepts
Data and Database
• Data means information and it is the most important component in
any work that is done.
• A database is a collection of data.
• Thus, a database is a collection of data that is organized such that
its contents can be easily accessed, managed, and updated.
Database
Users
Allows to Access
Information
Stores Information
Data Management
• Data management deals with managing large
amount of information, which involves both the
storage of information and the provision of
mechanisms for the manipulation of information.
• The two different approaches of managing data
are:
– File-based systems
– Database systems
Problems with file storage
The process of manually maintaining data through
files is :
– Tedious
– Time consuming
– Error prone.
File-based systems
• Disadvantages of File-based Systems are:
– Data Redundancy and Inconsistency
– Unanticipated Queries
– Data Isolation
– Concurrent Access Anomalies
– Security Problems
– Integrity Problems
Database Systems
• Solved issues of handling large volume of data.
• Used to store data in an efficient and organize manner.
• Allows quick and easy management of data.
• Data is more permanent and long-lasting.
Advantages of database systems:
• The amount of redundancy in the stored data can be
reduced.
• No more inconsistent data.
• The stored data can be shared.
• Standard can be set and followed.
• Data integrity can be maintained.
• Security of data can be implemented.
Database Systems
Database Management System
(DBMS)
• It is a collection of related records and a set of programs
that access and manipulate these records.
• DBMS provides an environment that is both convenient
and efficient to use when there is a large volume of data
and many transactions to be processed.
• It enables the users to define, create, and maintain the
database and provides controlled access to this
database.
Database Management System
(DBMS)
Benefits of DBMS
• The benefits of typical DBMS are as follows:
– Data Storage
– Data Definition
– Data Manipulation
– Data Security and Integrity
– Data Recovery and Concurrency
– Performance
– Multi-user Access Control
– Database Access Languages
Database Models
• Databases can be differentiated based on
functions and model of the data.
• A data model describes a container for
storing data, and the process of storing
and retrieving data from that container.
Database Models
The Hierarchical Model
DEPARTMENT
D_NAME D_NUMBER MGRNAME MGRSTARTDATE
NAME SSN BDATE ADDRESS
a. DEPARTMENT: Research Administration
EMPLOYEE: Smith Max John Grace Elite James Frank
b. DEPARTMENT: Research Administration
PROJECT Product A Product B Computerization New benefits
PROJECT
PNAME PLOCATION
EMPLOYEE
PNUMBER
Network Model
customer
salesrep
paymentinvoiceproduct
invline
Relational Data Model
• In the relational model, there is no
physical link. All data is maintained in the
form of tables consisting of rows and
columns.
• Data in two tables is related through
common columns.
Relational Database Management
System (RDBMS)
• A Relational Database Management System (RDBMS) is a
database management system where all data visible to the user is
organized strictly as tables of data values, and where all database
operations take place on these tables.
• A relational database is a database divided into logical units called
tables, where tables are related to one another within the database.
Terms related to RDBMS
 These terms are mostly used in RDBMS:
 Data is presented as a collection of relations.
 Each relation is depicted as a table.
 Columns are attributes.
 Rows (“tuples”) represent entities.
 Every table has a set of attributes that are taken
together as a “key” (technically, a “superkey”), which
uniquely identifies each entity.
Terms related to RDBMS
Term Meaning
Relation A table
Tuple A row or a record in a relation
Attribute A field or a column in a relation
Cardinality of a relation The number of tuples in a relation
Degree of a relation The number of attributes in a relation
Domain of an attribute The set of all values that can be taken by the attribute
Primary Key of a
relation
An attribute or a combination of attributes that uniquely
defines each tuple in a relation
Foreign Key An attribute or a combination of attributes in one relation
R1, which indicates the relationship of R1 with another
relation R2
The foreign key attributes in R1 must contain values
matching with those of the values in R2
Entities and Tables
• An entity is a person, place, thing, object, event, or even
a concept, which can be distinctly identified.
• Each entity has certain characteristics known as
attributes.
• A table contains a group of related entities called an
entity set.
• The terms entity set and table are often used
interchangeably. A table is also called a relation, rows are
known as tuples and columns are known as attributes.
Entities and Tables
Emp_No Emp_Name Emp_DOB Emp_DOJ
345 James 24-Sep-1968 30-May-1990
873 Pamela 27-Jul-1970 19-Nov-1993
693 Allan 10-Sep-1970 01-Jul-1992
305 Geoff 12-Feb-1973 29-Oct-1996
AttributesTable
Tuples

Contenu connexe

Tendances (20)

Database systems
Database systemsDatabase systems
Database systems
 
Relational database
Relational database Relational database
Relational database
 
RDBMS concepts
RDBMS conceptsRDBMS concepts
RDBMS concepts
 
Good PPT for RDBMS starter
Good PPT for RDBMS starter Good PPT for RDBMS starter
Good PPT for RDBMS starter
 
Database and types of database
Database and types of databaseDatabase and types of database
Database and types of database
 
Database an introduction
Database an introductionDatabase an introduction
Database an introduction
 
Database management system
Database management systemDatabase management system
Database management system
 
Databases and types of databases
Databases and types of databasesDatabases and types of databases
Databases and types of databases
 
Abap data dictionary
Abap data dictionaryAbap data dictionary
Abap data dictionary
 
Database concepts
Database conceptsDatabase concepts
Database concepts
 
computer fund-database presentation
 computer fund-database presentation computer fund-database presentation
computer fund-database presentation
 
Key database terms
Key database termsKey database terms
Key database terms
 
English database management_system
English database management_systemEnglish database management_system
English database management_system
 
Database
DatabaseDatabase
Database
 
Object Relational Database Management System
Object Relational Database Management SystemObject Relational Database Management System
Object Relational Database Management System
 
SQL- Introduction to SQL database
SQL- Introduction to SQL database SQL- Introduction to SQL database
SQL- Introduction to SQL database
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database Concepts
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
A project on DBMS and RDMS
A project on DBMS and RDMSA project on DBMS and RDMS
A project on DBMS and RDMS
 

Similaire à Sql server ___________session_1-intro

Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbmsRupali Rana
 
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
 
Database.ppt
Database.pptDatabase.ppt
Database.pptFaimHasan
 
MIS-3rd Unit.pptx
MIS-3rd Unit.pptxMIS-3rd Unit.pptx
MIS-3rd Unit.pptxSumit Kumar
 
Introduction to Database System-WEEK2.pptx
Introduction to Database System-WEEK2.pptxIntroduction to Database System-WEEK2.pptx
Introduction to Database System-WEEK2.pptxmelissaguillermo
 
DatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxuwmctesting
 
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 system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptxAshmitKashyap1
 
Uc14 chap14
Uc14 chap14Uc14 chap14
Uc14 chap14ayahye
 

Similaire à Sql server ___________session_1-intro (20)

DBMS
DBMS DBMS
DBMS
 
Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbms
 
DBMS ppts unit1.pptx
DBMS ppts  unit1.pptxDBMS ppts  unit1.pptx
DBMS ppts unit1.pptx
 
Dbms unit 1
Dbms unit 1Dbms unit 1
Dbms unit 1
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
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
 
Database.ppt
Database.pptDatabase.ppt
Database.ppt
 
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
 
Lecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.pptLecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.ppt
 
Data concepts
Data conceptsData concepts
Data concepts
 
DISE - Database Concepts
DISE - Database ConceptsDISE - Database Concepts
DISE - Database Concepts
 
(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)
 
Introduction to Database System-WEEK2.pptx
Introduction to Database System-WEEK2.pptxIntroduction to Database System-WEEK2.pptx
Introduction to Database System-WEEK2.pptx
 
database1.pdf
database1.pdfdatabase1.pdf
database1.pdf
 
DatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptx
 
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 system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
 
Uc14 chap14
Uc14 chap14Uc14 chap14
Uc14 chap14
 
Uc14 chap14
Uc14 chap14Uc14 chap14
Uc14 chap14
 

Plus de Ehtisham Ali

Sql server ___________session_20(ddl triggers)
Sql server  ___________session_20(ddl triggers)Sql server  ___________session_20(ddl triggers)
Sql server ___________session_20(ddl triggers)Ehtisham Ali
 
Sql server ___________session3-normailzation
Sql server  ___________session3-normailzationSql server  ___________session3-normailzation
Sql server ___________session3-normailzationEhtisham Ali
 
Sql server ___________session2-data_modeling
Sql server  ___________session2-data_modelingSql server  ___________session2-data_modeling
Sql server ___________session2-data_modelingEhtisham Ali
 
Sql server ___________session_19(triggers)
Sql server  ___________session_19(triggers)Sql server  ___________session_19(triggers)
Sql server ___________session_19(triggers)Ehtisham Ali
 
Sql server ___________session_18(stored procedures)
Sql server  ___________session_18(stored procedures)Sql server  ___________session_18(stored procedures)
Sql server ___________session_18(stored procedures)Ehtisham Ali
 
Sql server ___________session_17(indexes)
Sql server  ___________session_17(indexes)Sql server  ___________session_17(indexes)
Sql server ___________session_17(indexes)Ehtisham Ali
 
Sql server ___________session_16(views)
Sql server  ___________session_16(views)Sql server  ___________session_16(views)
Sql server ___________session_16(views)Ehtisham Ali
 
Sql server ___________session_15(data integrity)
Sql server  ___________session_15(data integrity)Sql server  ___________session_15(data integrity)
Sql server ___________session_15(data integrity)Ehtisham Ali
 
Sql server ___________session_11-12(joins)
Sql server  ___________session_11-12(joins)Sql server  ___________session_11-12(joins)
Sql server ___________session_11-12(joins)Ehtisham Ali
 
Sql server ___________session_10(group by clause)
Sql server  ___________session_10(group by clause)Sql server  ___________session_10(group by clause)
Sql server ___________session_10(group by clause)Ehtisham Ali
 
Sql server ___________session 3(sql 2008)
Sql server  ___________session 3(sql 2008)Sql server  ___________session 3(sql 2008)
Sql server ___________session 3(sql 2008)Ehtisham Ali
 
Sql server ___________session 2(sql 2008)
Sql server  ___________session 2(sql 2008)Sql server  ___________session 2(sql 2008)
Sql server ___________session 2(sql 2008)Ehtisham Ali
 
Sql server ___________session 1(sql 2008)
Sql server  ___________session 1(sql 2008)Sql server  ___________session 1(sql 2008)
Sql server ___________session 1(sql 2008)Ehtisham Ali
 
Sql server ___________data type of sql server
Sql server  ___________data type of sql serverSql server  ___________data type of sql server
Sql server ___________data type of sql serverEhtisham Ali
 
Sql server ___________data control language
Sql server  ___________data control languageSql server  ___________data control language
Sql server ___________data control languageEhtisham Ali
 
Sql server ___________ (advance sql)
Sql server  ___________  (advance sql)Sql server  ___________  (advance sql)
Sql server ___________ (advance sql)Ehtisham Ali
 

Plus de Ehtisham Ali (17)

Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Sql server ___________session_20(ddl triggers)
Sql server  ___________session_20(ddl triggers)Sql server  ___________session_20(ddl triggers)
Sql server ___________session_20(ddl triggers)
 
Sql server ___________session3-normailzation
Sql server  ___________session3-normailzationSql server  ___________session3-normailzation
Sql server ___________session3-normailzation
 
Sql server ___________session2-data_modeling
Sql server  ___________session2-data_modelingSql server  ___________session2-data_modeling
Sql server ___________session2-data_modeling
 
Sql server ___________session_19(triggers)
Sql server  ___________session_19(triggers)Sql server  ___________session_19(triggers)
Sql server ___________session_19(triggers)
 
Sql server ___________session_18(stored procedures)
Sql server  ___________session_18(stored procedures)Sql server  ___________session_18(stored procedures)
Sql server ___________session_18(stored procedures)
 
Sql server ___________session_17(indexes)
Sql server  ___________session_17(indexes)Sql server  ___________session_17(indexes)
Sql server ___________session_17(indexes)
 
Sql server ___________session_16(views)
Sql server  ___________session_16(views)Sql server  ___________session_16(views)
Sql server ___________session_16(views)
 
Sql server ___________session_15(data integrity)
Sql server  ___________session_15(data integrity)Sql server  ___________session_15(data integrity)
Sql server ___________session_15(data integrity)
 
Sql server ___________session_11-12(joins)
Sql server  ___________session_11-12(joins)Sql server  ___________session_11-12(joins)
Sql server ___________session_11-12(joins)
 
Sql server ___________session_10(group by clause)
Sql server  ___________session_10(group by clause)Sql server  ___________session_10(group by clause)
Sql server ___________session_10(group by clause)
 
Sql server ___________session 3(sql 2008)
Sql server  ___________session 3(sql 2008)Sql server  ___________session 3(sql 2008)
Sql server ___________session 3(sql 2008)
 
Sql server ___________session 2(sql 2008)
Sql server  ___________session 2(sql 2008)Sql server  ___________session 2(sql 2008)
Sql server ___________session 2(sql 2008)
 
Sql server ___________session 1(sql 2008)
Sql server  ___________session 1(sql 2008)Sql server  ___________session 1(sql 2008)
Sql server ___________session 1(sql 2008)
 
Sql server ___________data type of sql server
Sql server  ___________data type of sql serverSql server  ___________data type of sql server
Sql server ___________data type of sql server
 
Sql server ___________data control language
Sql server  ___________data control languageSql server  ___________data control language
Sql server ___________data control language
 
Sql server ___________ (advance sql)
Sql server  ___________  (advance sql)Sql server  ___________  (advance sql)
Sql server ___________ (advance sql)
 

Dernier

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 

Dernier (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 

Sql server ___________session_1-intro

  • 2. Data and Database • Data means information and it is the most important component in any work that is done. • A database is a collection of data. • Thus, a database is a collection of data that is organized such that its contents can be easily accessed, managed, and updated. Database Users Allows to Access Information Stores Information
  • 3. Data Management • Data management deals with managing large amount of information, which involves both the storage of information and the provision of mechanisms for the manipulation of information. • The two different approaches of managing data are: – File-based systems – Database systems
  • 4. Problems with file storage The process of manually maintaining data through files is : – Tedious – Time consuming – Error prone.
  • 5. File-based systems • Disadvantages of File-based Systems are: – Data Redundancy and Inconsistency – Unanticipated Queries – Data Isolation – Concurrent Access Anomalies – Security Problems – Integrity Problems
  • 6. Database Systems • Solved issues of handling large volume of data. • Used to store data in an efficient and organize manner. • Allows quick and easy management of data. • Data is more permanent and long-lasting.
  • 7. Advantages of database systems: • The amount of redundancy in the stored data can be reduced. • No more inconsistent data. • The stored data can be shared. • Standard can be set and followed. • Data integrity can be maintained. • Security of data can be implemented. Database Systems
  • 8. Database Management System (DBMS) • It is a collection of related records and a set of programs that access and manipulate these records. • DBMS provides an environment that is both convenient and efficient to use when there is a large volume of data and many transactions to be processed. • It enables the users to define, create, and maintain the database and provides controlled access to this database.
  • 10. Benefits of DBMS • The benefits of typical DBMS are as follows: – Data Storage – Data Definition – Data Manipulation – Data Security and Integrity – Data Recovery and Concurrency – Performance – Multi-user Access Control – Database Access Languages
  • 11. Database Models • Databases can be differentiated based on functions and model of the data. • A data model describes a container for storing data, and the process of storing and retrieving data from that container.
  • 13. The Hierarchical Model DEPARTMENT D_NAME D_NUMBER MGRNAME MGRSTARTDATE NAME SSN BDATE ADDRESS a. DEPARTMENT: Research Administration EMPLOYEE: Smith Max John Grace Elite James Frank b. DEPARTMENT: Research Administration PROJECT Product A Product B Computerization New benefits PROJECT PNAME PLOCATION EMPLOYEE PNUMBER
  • 15. Relational Data Model • In the relational model, there is no physical link. All data is maintained in the form of tables consisting of rows and columns. • Data in two tables is related through common columns.
  • 16. Relational Database Management System (RDBMS) • A Relational Database Management System (RDBMS) is a database management system where all data visible to the user is organized strictly as tables of data values, and where all database operations take place on these tables. • A relational database is a database divided into logical units called tables, where tables are related to one another within the database.
  • 17. Terms related to RDBMS  These terms are mostly used in RDBMS:  Data is presented as a collection of relations.  Each relation is depicted as a table.  Columns are attributes.  Rows (“tuples”) represent entities.  Every table has a set of attributes that are taken together as a “key” (technically, a “superkey”), which uniquely identifies each entity.
  • 18. Terms related to RDBMS Term Meaning Relation A table Tuple A row or a record in a relation Attribute A field or a column in a relation Cardinality of a relation The number of tuples in a relation Degree of a relation The number of attributes in a relation Domain of an attribute The set of all values that can be taken by the attribute Primary Key of a relation An attribute or a combination of attributes that uniquely defines each tuple in a relation Foreign Key An attribute or a combination of attributes in one relation R1, which indicates the relationship of R1 with another relation R2 The foreign key attributes in R1 must contain values matching with those of the values in R2
  • 19. Entities and Tables • An entity is a person, place, thing, object, event, or even a concept, which can be distinctly identified. • Each entity has certain characteristics known as attributes. • A table contains a group of related entities called an entity set. • The terms entity set and table are often used interchangeably. A table is also called a relation, rows are known as tuples and columns are known as attributes.
  • 20. Entities and Tables Emp_No Emp_Name Emp_DOB Emp_DOJ 345 James 24-Sep-1968 30-May-1990 873 Pamela 27-Jul-1970 19-Nov-1993 693 Allan 10-Sep-1970 01-Jul-1992 305 Geoff 12-Feb-1973 29-Oct-1996 AttributesTable Tuples