SlideShare a Scribd company logo
1 of 11
MIS 301 RELATIONAL DATABASE
MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEM
Concepts of tables, records, attributes, keys, integrity constraints, data independence
LECTURES 2&3
PROF. KRISHNA ROY
PROF. KRISHNA ROY, FMS, BCREC 1
Three levels of data abstraction
• Physical: This is the lowest level of data abstraction. It tells us how the data is actually stored in
memory. The access methods like sequential or random access and file organisation methods like
B+ trees, hashing are used for the same. Suppose we need to store the details of an employee.
Blocks of storage and the amount of memory used for these purposes is kept hidden from the
user.
• Logical: This level comprises of the information that is actually stored in the database in the form
of tables. It also stores the relationship among the data entities in relatively simple structures. At
this level, the information available to the user at the view level is unknown.
We can store the various attributes of an employee and relationships, e.g. with the manager can
also be stored.
• View: This is the highest level of abstraction. Only a part of the actual database is viewed by the
users. This level exists to ease the accessibility of the database by an individual user. Users view
data in the form of rows and columns. Tables and relations are used to store data. Multiple views
of the same database may exist. Users can just view the data and interact with the database,
storage and implementation details are hidden from them.
PROF. KRISHNA ROY, FMS, BCREC 2
Three levels of data abstraction
PROF. KRISHNA ROY, FMS, BCREC 3
Data independence
• Physical Data Independence :
Physical Data Independence is defined as the ability to make changes
in the structure of the lowest level of the Database Management
System (DBMS) without affecting the higher-level schemas. Hence,
modification in the Physical level should not result in any changes in
the Logical or View levels.
• Logical Data Independence :
Logical Data Independence is defined as the ability to make changes
in the structure of the middle level of the Database Management
System (DBMS) without affecting the highest-level schema or
application programs. Hence, modification in the logical level should
not result in any changes in the view levels or application programs.
PROF. KRISHNA ROY, FMS, BCREC 4
Concepts of tables, records, attributes, keys
PROF. KRISHNA ROY, FMS, BCREC 5
relations
PROF. KRISHNA ROY, FMS, BCREC 6
• A table or relation is a collection of data elements for an entity set
organized in terms of rows and columns.
• A single entry in a table is called a Tuple or Record or Row. It is
represented by a row in a relation.
• An attribute is a specific characteristic taken up by each entity in a
particular column of the relation
• The attribute description is also called a fieldname.
• The value taken up by an attribute in a tuple is called the field value.
• An attribute or combination of attributes that is never duplicated in a
relation is called a candidate key.
• A candidate key chosen for unique identification of tuples in a relation is
called a primary key.
• Candidate keys which are not primary keys are called alternate keys.
• An attribute which is not a primary key in the current relation but draws
values from the domain shared by the primary key of some other
relation in the same database is called a foreign key.
Integrity constraints
PROF. KRISHNA ROY, FMS, BCREC 7
Integrity constraints
Key Constraints or Entity Integrity
• There must be at least one minimal subset of
attributes in the relation, which can identify a
tuple uniquely. This minimal subset of
attributes is called key for that relation. If there
are more than one such minimal subsets, these
are called candidate keys.
• Key constraints force that −
• in a relation with a key attribute, no two tuples
can have identical values for key attributes.
• a key attribute can not have NULL values.
• Key constraints are also referred to as Entity
Constraints.
PROF. KRISHNA ROY, FMS, BCREC 8
Integrity constraints
Domain Constraints
• Attributes have specific values in real-
world scenario. For example, age can
only be a positive integer. The same
constraints have been tried to employ
on the attributes of a relation. Every
attribute is bound to have a specific
range of values. For example, age
cannot be less than zero and
telephone numbers cannot contain a
digit outside 0-9.
PROF. KRISHNA ROY, FMS, BCREC 9
Integrity constraints
Referential integrity Constraints
• Referential integrity constraints work
on the concept of Foreign Keys. A
foreign key is a key attribute of a
relation that can be referred in other
relation.
• Referential integrity constraint states
that if a relation refers to a key
attribute of a different or same
relation, then that key element must
exist.
PROF. KRISHNA ROY, FMS, BCREC 10
• Till we meet again in the next class……….
PROF. KRISHNA ROY, FMS, BCREC 11

More Related Content

Similar to MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 2&3.pptx

Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introductionJananath Banuka
 
Database environment
Database environmentDatabase environment
Database environmentShefali Jain
 
Unit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxUnit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxMaryJoseph79
 
Database Management System
Database Management SystemDatabase Management System
Database Management SystemNishant Munjal
 
database management system - overview of entire dbms
database management system - overview of entire dbmsdatabase management system - overview of entire dbms
database management system - overview of entire dbmsvikramkagitapu
 
DatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxuwmctesting
 
Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Ravinder Kamboj
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbmsAnkit Dubey
 
Islamic University Previous Year Question Solution 2019 (ADBMS)
Islamic University Previous Year Question Solution 2019 (ADBMS)Islamic University Previous Year Question Solution 2019 (ADBMS)
Islamic University Previous Year Question Solution 2019 (ADBMS)Rakibul Hasan Pranto
 
SQL Tutorial - Basics of Structured Query Language Day 1.pdf
SQL Tutorial - Basics of Structured Query Language Day 1.pdfSQL Tutorial - Basics of Structured Query Language Day 1.pdf
SQL Tutorial - Basics of Structured Query Language Day 1.pdfRiturajDas28
 
Relational database design
Relational database designRelational database design
Relational database designSURBHI SAROHA
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxnehasahuji
 
MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 1.pptx
MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 1.pptxMIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 1.pptx
MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 1.pptxKrishnaRoy45
 
Computer lecture (1) m.nasir
Computer lecture (1) m.nasirComputer lecture (1) m.nasir
Computer lecture (1) m.nasirMuhammad Nasir
 

Similar to MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 2&3.pptx (20)

Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
 
database
databasedatabase
database
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
 
PPT_DBMS.pptx
PPT_DBMS.pptxPPT_DBMS.pptx
PPT_DBMS.pptx
 
Database environment
Database environmentDatabase environment
Database environment
 
Unit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptxUnit 2_DBMS_10.2.22.pptx
Unit 2_DBMS_10.2.22.pptx
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
database management system - overview of entire dbms
database management system - overview of entire dbmsdatabase management system - overview of entire dbms
database management system - overview of entire dbms
 
DatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptx
 
Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
 
Islamic University Previous Year Question Solution 2019 (ADBMS)
Islamic University Previous Year Question Solution 2019 (ADBMS)Islamic University Previous Year Question Solution 2019 (ADBMS)
Islamic University Previous Year Question Solution 2019 (ADBMS)
 
SQL Tutorial - Basics of Structured Query Language Day 1.pdf
SQL Tutorial - Basics of Structured Query Language Day 1.pdfSQL Tutorial - Basics of Structured Query Language Day 1.pdf
SQL Tutorial - Basics of Structured Query Language Day 1.pdf
 
Relational database design
Relational database designRelational database design
Relational database design
 
RDMS AND SQL
RDMS AND SQLRDMS AND SQL
RDMS AND SQL
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptx
 
MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 1.pptx
MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 1.pptxMIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 1.pptx
MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 1.pptx
 
Data Abstraction
Data AbstractionData Abstraction
Data Abstraction
 
Codds rules & keys
Codds rules & keysCodds rules & keys
Codds rules & keys
 
Computer lecture (1) m.nasir
Computer lecture (1) m.nasirComputer lecture (1) m.nasir
Computer lecture (1) m.nasir
 

More from KrishnaRoy45

MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 10,11&12.pptx
MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 10,11&12.pptxMIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 10,11&12.pptx
MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 10,11&12.pptxKrishnaRoy45
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 17.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  17.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  17.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 17.pptxKrishnaRoy45
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 15&16.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  15&16.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  15&16.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 15&16.pptxKrishnaRoy45
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 6&7.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 6&7.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 6&7.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 6&7.pptxKrishnaRoy45
 
MB301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 9&10.pptx
MB301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 9&10.pptxMB301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 9&10.pptx
MB301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 9&10.pptxKrishnaRoy45
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 5.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 5.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 5.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 5.pptxKrishnaRoy45
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 11&12.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 11&12.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 11&12.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 11&12.pptxKrishnaRoy45
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 19.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  19.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  19.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 19.pptxKrishnaRoy45
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 3.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 3.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 3.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 3.pptxKrishnaRoy45
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 13&14.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  13&14.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  13&14.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 13&14.pptxKrishnaRoy45
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 1.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 1.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 1.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 1.pptxKrishnaRoy45
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 2.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 2.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 2.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 2.pptxKrishnaRoy45
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 18.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  18.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  18.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 18.pptxKrishnaRoy45
 
MB 103 business communication 5_6.pptx
MB 103 business communication 5_6.pptxMB 103 business communication 5_6.pptx
MB 103 business communication 5_6.pptxKrishnaRoy45
 
MB 103 business communication 7_8.pptx
MB 103 business communication 7_8.pptxMB 103 business communication 7_8.pptx
MB 103 business communication 7_8.pptxKrishnaRoy45
 
MB 103 business communication 3_4.pptx
MB 103 business communication 3_4.pptxMB 103 business communication 3_4.pptx
MB 103 business communication 3_4.pptxKrishnaRoy45
 
MB 103 business communication 9_10.pptx
MB 103 business communication 9_10.pptxMB 103 business communication 9_10.pptx
MB 103 business communication 9_10.pptxKrishnaRoy45
 
MB 103 business communication 2.pptx
MB 103 business communication 2.pptxMB 103 business communication 2.pptx
MB 103 business communication 2.pptxKrishnaRoy45
 
MB 103 business communication 1.pptx
MB 103 business communication 1.pptxMB 103 business communication 1.pptx
MB 103 business communication 1.pptxKrishnaRoy45
 
Mb 106 quantitative techniques 17
Mb 106 quantitative techniques 17 Mb 106 quantitative techniques 17
Mb 106 quantitative techniques 17 KrishnaRoy45
 

More from KrishnaRoy45 (20)

MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 10,11&12.pptx
MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 10,11&12.pptxMIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 10,11&12.pptx
MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 10,11&12.pptx
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 17.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  17.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  17.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 17.pptx
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 15&16.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  15&16.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  15&16.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 15&16.pptx
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 6&7.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 6&7.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 6&7.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 6&7.pptx
 
MB301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 9&10.pptx
MB301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 9&10.pptxMB301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 9&10.pptx
MB301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 9&10.pptx
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 5.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 5.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 5.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 5.pptx
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 11&12.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 11&12.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 11&12.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 11&12.pptx
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 19.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  19.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  19.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 19.pptx
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 3.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 3.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 3.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 3.pptx
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 13&14.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  13&14.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  13&14.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 13&14.pptx
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 1.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 1.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 1.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 1.pptx
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 2.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 2.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 2.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 2.pptx
 
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 18.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  18.pptxMB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT  18.pptx
MB 301 ENTREPRENEURSHIP & PROJECT MANAGEMENT 18.pptx
 
MB 103 business communication 5_6.pptx
MB 103 business communication 5_6.pptxMB 103 business communication 5_6.pptx
MB 103 business communication 5_6.pptx
 
MB 103 business communication 7_8.pptx
MB 103 business communication 7_8.pptxMB 103 business communication 7_8.pptx
MB 103 business communication 7_8.pptx
 
MB 103 business communication 3_4.pptx
MB 103 business communication 3_4.pptxMB 103 business communication 3_4.pptx
MB 103 business communication 3_4.pptx
 
MB 103 business communication 9_10.pptx
MB 103 business communication 9_10.pptxMB 103 business communication 9_10.pptx
MB 103 business communication 9_10.pptx
 
MB 103 business communication 2.pptx
MB 103 business communication 2.pptxMB 103 business communication 2.pptx
MB 103 business communication 2.pptx
 
MB 103 business communication 1.pptx
MB 103 business communication 1.pptxMB 103 business communication 1.pptx
MB 103 business communication 1.pptx
 
Mb 106 quantitative techniques 17
Mb 106 quantitative techniques 17 Mb 106 quantitative techniques 17
Mb 106 quantitative techniques 17
 

Recently uploaded

Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetDenis Gagné
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessAggregage
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insightsseri bangash
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...Any kyc Account
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Lviv Startup Club
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Delhi Call girls
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Roland Driesen
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in managementchhavia330
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsApsara Of India
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Tina Ji
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 

Recently uploaded (20)

Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for Success
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insights
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in management
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 

MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM 2&3.pptx

  • 1. MIS 301 RELATIONAL DATABASE MANAGEMENT SYSTEM DATABASE MANAGEMENT SYSTEM Concepts of tables, records, attributes, keys, integrity constraints, data independence LECTURES 2&3 PROF. KRISHNA ROY PROF. KRISHNA ROY, FMS, BCREC 1
  • 2. Three levels of data abstraction • Physical: This is the lowest level of data abstraction. It tells us how the data is actually stored in memory. The access methods like sequential or random access and file organisation methods like B+ trees, hashing are used for the same. Suppose we need to store the details of an employee. Blocks of storage and the amount of memory used for these purposes is kept hidden from the user. • Logical: This level comprises of the information that is actually stored in the database in the form of tables. It also stores the relationship among the data entities in relatively simple structures. At this level, the information available to the user at the view level is unknown. We can store the various attributes of an employee and relationships, e.g. with the manager can also be stored. • View: This is the highest level of abstraction. Only a part of the actual database is viewed by the users. This level exists to ease the accessibility of the database by an individual user. Users view data in the form of rows and columns. Tables and relations are used to store data. Multiple views of the same database may exist. Users can just view the data and interact with the database, storage and implementation details are hidden from them. PROF. KRISHNA ROY, FMS, BCREC 2
  • 3. Three levels of data abstraction PROF. KRISHNA ROY, FMS, BCREC 3
  • 4. Data independence • Physical Data Independence : Physical Data Independence is defined as the ability to make changes in the structure of the lowest level of the Database Management System (DBMS) without affecting the higher-level schemas. Hence, modification in the Physical level should not result in any changes in the Logical or View levels. • Logical Data Independence : Logical Data Independence is defined as the ability to make changes in the structure of the middle level of the Database Management System (DBMS) without affecting the highest-level schema or application programs. Hence, modification in the logical level should not result in any changes in the view levels or application programs. PROF. KRISHNA ROY, FMS, BCREC 4
  • 5. Concepts of tables, records, attributes, keys PROF. KRISHNA ROY, FMS, BCREC 5
  • 6. relations PROF. KRISHNA ROY, FMS, BCREC 6 • A table or relation is a collection of data elements for an entity set organized in terms of rows and columns. • A single entry in a table is called a Tuple or Record or Row. It is represented by a row in a relation. • An attribute is a specific characteristic taken up by each entity in a particular column of the relation • The attribute description is also called a fieldname. • The value taken up by an attribute in a tuple is called the field value. • An attribute or combination of attributes that is never duplicated in a relation is called a candidate key. • A candidate key chosen for unique identification of tuples in a relation is called a primary key. • Candidate keys which are not primary keys are called alternate keys. • An attribute which is not a primary key in the current relation but draws values from the domain shared by the primary key of some other relation in the same database is called a foreign key.
  • 8. Integrity constraints Key Constraints or Entity Integrity • There must be at least one minimal subset of attributes in the relation, which can identify a tuple uniquely. This minimal subset of attributes is called key for that relation. If there are more than one such minimal subsets, these are called candidate keys. • Key constraints force that − • in a relation with a key attribute, no two tuples can have identical values for key attributes. • a key attribute can not have NULL values. • Key constraints are also referred to as Entity Constraints. PROF. KRISHNA ROY, FMS, BCREC 8
  • 9. Integrity constraints Domain Constraints • Attributes have specific values in real- world scenario. For example, age can only be a positive integer. The same constraints have been tried to employ on the attributes of a relation. Every attribute is bound to have a specific range of values. For example, age cannot be less than zero and telephone numbers cannot contain a digit outside 0-9. PROF. KRISHNA ROY, FMS, BCREC 9
  • 10. Integrity constraints Referential integrity Constraints • Referential integrity constraints work on the concept of Foreign Keys. A foreign key is a key attribute of a relation that can be referred in other relation. • Referential integrity constraint states that if a relation refers to a key attribute of a different or same relation, then that key element must exist. PROF. KRISHNA ROY, FMS, BCREC 10
  • 11. • Till we meet again in the next class………. PROF. KRISHNA ROY, FMS, BCREC 11