SlideShare a Scribd company logo
RDBMS
By Rubab
CS Instructor
Sukkur IBA, Institute of Emerging Technologies Khairpur
BY: MS. RUBAB FOR DIT
WHAT
IS
RDBM
S?
RDBMS stands for Relational
Database Management System.
RDBMS is the basis for SQL, and for all
modern database systems like MS SQL
Server, IBM DB2, Oracle, MySQL, and
Microsoft Access.
A Relational database management
system (RDBMS) is a database
management system (DBMS) that is
based on the relational model as
introduced by E. F. Codd.
BY: MS. RUBAB FOR DIT
WHAT
IS A
TABLE
?
The data in an RDBMS is stored in
database objects which are called as
tables. This table is basically a
collection of related data entries and it
consists of numerous columns and
rows.
Remember, a table is the most
common and simplest form of data
storage in a relational database
BY: MS. RUBAB FOR DIT
TABLE
EXAMP
LE
ID NAME CLASS CITY
1 Aiman CIT Sobhodero
2 Suleman DIT-I Kumb
3 Mariam DIT-II Lahore
4 Adnan CIT Moro
BY: MS. RUBAB FOR DIT
WHAT IS A
FIELD?
Every table is broken up into smaller entries
called fields. The fields in the CUSTOMERS
table consist of ID, NAME, Class and City
A field is a column in a table that is designed
to maintain specific information about every
record in the table.
ID
NAME
CLASS
CITY
BY: MS. RUBAB FOR DIT
WHAT IS A
RECORD OR
A ROW?
A record is also called as a
row of data is each individual
entry that exists in a table.
For example, this table has 4
records.
BY: MS. RUBAB FOR DIT
WHAT IS A
COLUMN
A column is a vertical entity in a table
that contains all information associated
with a specific field in a table.
Example, in out table this Column has
the names of all the entities in our table
BY: MS. RUBAB FOR DIT
WHAT IS A NULL
VALUE?
A NULL value in a table is a value in a field that appears to be blank,
which means a field with a NULL value is a field with no value.
It is very important to understand that a NULL value is different than
a zero value or a field that contains spaces. A field with a NULL
value is the one that has been left blank during a record creation.
BY: MS. RUBAB FOR DIT
SQL CONSTRAINTS
Constraints are the rules enforced on data columns on a table.
These are used to limit the type of data that can go into a table. This
ensures the accuracy and reliability of the data in the database.
Constraints can either be column level or table level. Column level
constraints are applied only to one column whereas, table level
constraints are applied to the entire table.
BY: MS. RUBAB FOR DIT
COMMON SQL
CONSTRAINS
NOT NULL Constraint −
Ensures that a column
cannot have a NULL
value.
DEFAULT Constraint −
Provides a default
value for a column
when none is
specified.
UNIQUE Constraint −
Ensures that all the
values in a column are
different.
PRIMARY Key −
Uniquely identifies
each row/record in a
database table.
FOREIGN Key −
Uniquely identifies a
row/record in any
another database
table.
CHECK Constraint −
The CHECK constraint
ensures that all values
in a column satisfy
certain conditions.
INDEX − Used to
create and retrieve
data from the
database very quickly.
BY: MS. RUBAB FOR DIT
DATA INTEGRITY
Entity Integrity − There are no duplicate rows in a table.
Domain Integrity − Enforces valid entries for a given column by
restricting the type, the format, or the range of values.
Referential integrity − Rows cannot be deleted, which are used by
other records.
User-Defined Integrity − Enforces some specific business rules that
do not fall into entity, domain or referential integrity.
BY: MS. RUBAB FOR DIT
DATABASE
NORMALIZATION
Database normalization is the process of efficiently organizing data
in a database. There are two reasons of this normalization process
1. Eliminating redundant data, for example, storing the same data
in more than one table.
2. Ensuring data dependencies make sense.
BY: MS. RUBAB FOR DIT
FORMS OF
NORMALIZATION
Both these reasons are worthy goals as they reduce the amount of
space a database consumes and ensures that data is logically
stored. Normalization consists of a series of guidelines that help
guide you in creating a good database structure.
Normalization guidelines are divided into normal forms; think of a
form as the format or the way a database structure is laid out. The
aim of normal forms is to organize the database structure, so that it
complies with the rules of first normal form, then second normal
form and finally the third normal form.
BY: MS. RUBAB FOR DIT
FORMS OF
NORMALIZATION
• First Normal Form 1nF
• Second Normal Form 2nF
• Third Normal Form 3nF
It is your choice to take it further and go to the fourth normal form,
fifth normal form and so on, but in general, the third normal form is
more than enough.
BY: MS. RUBAB FOR DIT
MS ACCESS
This Photo by Unknown Author is licensed under CC BY-NC-ND
This Photo by Unknown Author is licensed under CC BY
This Photo by Unknown Author is licensed under CC BY-SA
BY: MS. RUBAB FOR DIT
MS ACCESS
This is one of the most popular Microsoft products. Microsoft Access
is an entry-level database management software. MS Access
database is not only inexpensive but also a powerful database for
small-scale projects.
MS Access uses the Jet database engine, which utilizes a specific
SQL language dialect (sometimes referred to as Jet SQL).
MS Access comes with the professional edition of MS Office
package. MS Access has easyto-use intuitive graphical interface.
BY: MS. RUBAB FOR DIT
VERSIONS OF MS
ACCESS
• 1992 - Access version 1.0 was released.
• 1993 - Access 1.1 released to improve compatibility with
inclusion the Access Basic programming language.
• The most significant transition was from Access 97 to Access
2000.
• 2007 - Access 2007, a new database format was introduced
ACCDB which supports complex data types such as multi valued
and attachment fields.
BY: MS. RUBAB FOR DIT
FEATURES OF MS
ACCESS
• Users can create tables, queries, forms and reports and connect them
together with macros.
• Option of importing and exporting the data to many formats including
Excel, Outlook, ASCII, dBase, Paradox, FoxPro, SQL Server, Oracle,
ODBC, etc.
• There is also the Jet Database format (MDB or ACCDB in Access
2007), which can contain the application and data in one file. This
makes it very convenient to distribute the entire application to another
user, who can run it in disconnected environments.
BY: MS. RUBAB FOR DIT
FEATURES OF MS
ACCESS
• Microsoft Access offers parameterized queries. These queries and
Access tables can be referenced from other programs like VB6 and
.NET through DAO or ADO.
• The desktop editions of Microsoft SQL Server can be used with Access
as an alternative to the Jet Database Engine.
• Microsoft Access is a file server-based database. Unlike the client-
server relational database management systems (RDBMS), Microsoft
Access does not implement database triggers, stored procedures or
transaction logging.
BY: MS. RUBAB FOR DIT
MS SQL SERVER
This Photo by Unknown Author is licensed under CC BY-SA
This Photo by Unknown Author is licensed under CC BY-NC-ND
This Photo by Unknown Author is licensed under CC BY-SA
BY: MS. RUBAB FOR DIT
MS SQL SERVER
MS SQL Server is a Relational Database Management System
developed by Microsoft Inc. Its primary query languages are −
• T-SQL
• ANSI SQL
BY: MS. RUBAB FOR DIT
HISTORY
1987 - Sybase releases SQL Server for UNIX.
1988 - Microsoft, Sybase, and Aston-Tate port SQL Server to OS/2.
1989 - Microsoft, Sybase, and Aston-Tate release SQL Server 1.0 for OS/2.
1990 - SQL Server 1.1 is released with support for Windows 3.0 clients.
Aston - Tate drops out of SQL Server development.
2000 - Microsoft releases SQL Server 2000.
2001 - Microsoft releases XML for SQL Server Web Release 1 (download).
2002 - Microsoft releases SQLXML 2.0 (renamed from XML for SQL Server).
2002 - Microsoft releases SQLXML 3.0.
2005 - Microsoft releases SQL Server 2005 on November 7th, 2005.
BY: MS. RUBAB FOR DIT
MILESTONES
• MS SQL Server for OS/2 began as a project to port Sybase SQL Server onto OS/2 in 1989, by Sybase,
Ashton-Tate, and Microsoft.
• SQL Server 4.2 for NT is released in 1993, marking the entry onto Windows NT.
• SQL Server 6.0 is released in 1995, marking the end of collaboration with Sybase; Sybase would
continue developing their own variant of SQL Server, Sybase Adaptive Server Enterprise, independently
of Microsoft.
• SQL Server 7.0 is released in 1998, marking the conversion of the source code from C to C++.
• SQL Server 2005, released in 2005, finishes the complete revision of the old Sybase code into
Microsoft code.
• SQL Server 2012, released in 2012, adds columnar in-memory storage aka xVelocity.
• SQL Server 2017, released in 2017, adds Linux support for these Linux platforms: Red Hat Enterprise
Linux, SUSE Linux Enterprise Server, Ubuntu & Docker Engine.
BY: MS. RUBAB FOR DIT
CURRENTLY
As of May 2021, the following versions are supported by Microsoft:
• SQL Server 2012
• SQL Server 2014
• SQL Server 2016
• SQL Server 2017
• SQL Server 2019
From SQL Server 2016 onward, the product is supported on x64 processors only.
The current version is Microsoft SQL Server 2019, released November 4, 2019. The
RTM version is 15.0.2000.5.[
BY: MS. RUBAB FOR DIT
FEATURES
• High Performance
• High Availability
• Database mirroring
• Database snapshots
• CLR integration
• Service Broker
• DDL triggers
• Ranking functions
• Row version-based isolation
levels
• XML integration
• TRY...CATCH
• Database Mail
BY: MS. RUBAB FOR DIT
MYSQL
• MySQL is an open source SQL database, which is developed by a
Swedish company – MySQL AB. MySQL is pronounced as "my ess-que-
ell," in contrast with SQL, pronounced "sequel."
• MySQL is supporting many different platforms including Microsoft
Windows, the major Linux distributions, UNIX, and Mac OS X.
• MySQL has free and paid versions, depending on its usage (non-
commercial/commercial) and features. MySQL comes with a very fast,
multi-threaded, multi-user and robust SQL database server.
BY: MS. RUBAB FOR DIT

More Related Content

Similar to Lecture 4-RDBMS.pptx

Introduction to SQL.pptx
Introduction to SQL.pptxIntroduction to SQL.pptx
Introduction to SQL.pptx
adityakumawat625
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
MLG College of Learning, Inc
 
Complete first chapter rdbm 17332
Complete first chapter rdbm 17332Complete first chapter rdbm 17332
Complete first chapter rdbm 17332
Tushar Wagh
 
A Complete Detailed Guide On The Uses Of SQL.pdf
A Complete Detailed Guide On The Uses Of SQL.pdfA Complete Detailed Guide On The Uses Of SQL.pdf
A Complete Detailed Guide On The Uses Of SQL.pdf
calltutors
 
Database Systems - Introduction to SQL (Chapter 3/1)
Database Systems - Introduction to SQL (Chapter 3/1)Database Systems - Introduction to SQL (Chapter 3/1)
Database Systems - Introduction to SQL (Chapter 3/1)
Vidyasagar Mundroy
 
1. introduction to no sql
1. introduction to no sql1. introduction to no sql
1. introduction to no sql
Anuja Gunale
 
SQL.pptx
SQL.pptxSQL.pptx
Sql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explainedSql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explained
Satya Pal
 
B.Vinithamani,II-M.sc.,Computer science,Bon Secours college for women,thanjavur.
B.Vinithamani,II-M.sc.,Computer science,Bon Secours college for women,thanjavur.B.Vinithamani,II-M.sc.,Computer science,Bon Secours college for women,thanjavur.
B.Vinithamani,II-M.sc.,Computer science,Bon Secours college for women,thanjavur.
vinithamaniB
 
Dbms and sqlpptx
Dbms and sqlpptxDbms and sqlpptx
Dbms and sqlpptx
thesupermanreturns
 
Rdbms
RdbmsRdbms
Rdbms
Majd Lefi
 
MS-ACCESS.pptx
MS-ACCESS.pptxMS-ACCESS.pptx
MS-ACCESS.pptx
shivamdwivedi898297
 
Introduction to sql server
Introduction to sql serverIntroduction to sql server
Introduction to sql serverVinay Thota
 
Database queries
Database queriesDatabase queries
Database queries
IIUM
 
Azure Data Fundamentals DP 900 Full Course
Azure Data Fundamentals DP 900 Full CourseAzure Data Fundamentals DP 900 Full Course
Azure Data Fundamentals DP 900 Full Course
Piyush sachdeva
 
unit-ii.pptx
unit-ii.pptxunit-ii.pptx
unit-ii.pptx
NilamHonmane
 
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfytxjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
WrushabhShirsat3
 
SQL Server Workshop for Developers - Visual Studio Live! NY 2012
SQL Server Workshop for Developers - Visual Studio Live! NY 2012SQL Server Workshop for Developers - Visual Studio Live! NY 2012
SQL Server Workshop for Developers - Visual Studio Live! NY 2012Andrew Brust
 

Similar to Lecture 4-RDBMS.pptx (20)

Introduction to SQL.pptx
Introduction to SQL.pptxIntroduction to SQL.pptx
Introduction to SQL.pptx
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
 
Complete first chapter rdbm 17332
Complete first chapter rdbm 17332Complete first chapter rdbm 17332
Complete first chapter rdbm 17332
 
A Complete Detailed Guide On The Uses Of SQL.pdf
A Complete Detailed Guide On The Uses Of SQL.pdfA Complete Detailed Guide On The Uses Of SQL.pdf
A Complete Detailed Guide On The Uses Of SQL.pdf
 
Database Systems - Introduction to SQL (Chapter 3/1)
Database Systems - Introduction to SQL (Chapter 3/1)Database Systems - Introduction to SQL (Chapter 3/1)
Database Systems - Introduction to SQL (Chapter 3/1)
 
1. introduction to no sql
1. introduction to no sql1. introduction to no sql
1. introduction to no sql
 
SQL.pptx
SQL.pptxSQL.pptx
SQL.pptx
 
Sql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explainedSql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explained
 
B.Vinithamani,II-M.sc.,Computer science,Bon Secours college for women,thanjavur.
B.Vinithamani,II-M.sc.,Computer science,Bon Secours college for women,thanjavur.B.Vinithamani,II-M.sc.,Computer science,Bon Secours college for women,thanjavur.
B.Vinithamani,II-M.sc.,Computer science,Bon Secours college for women,thanjavur.
 
Dbms and sqlpptx
Dbms and sqlpptxDbms and sqlpptx
Dbms and sqlpptx
 
Rdbms
RdbmsRdbms
Rdbms
 
MS-ACCESS.pptx
MS-ACCESS.pptxMS-ACCESS.pptx
MS-ACCESS.pptx
 
Introduction to sql server
Introduction to sql serverIntroduction to sql server
Introduction to sql server
 
Database queries
Database queriesDatabase queries
Database queries
 
Azure Data Fundamentals DP 900 Full Course
Azure Data Fundamentals DP 900 Full CourseAzure Data Fundamentals DP 900 Full Course
Azure Data Fundamentals DP 900 Full Course
 
unit-ii.pptx
unit-ii.pptxunit-ii.pptx
unit-ii.pptx
 
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfytxjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
 
Database
DatabaseDatabase
Database
 
SQL Server Workshop for Developers - Visual Studio Live! NY 2012
SQL Server Workshop for Developers - Visual Studio Live! NY 2012SQL Server Workshop for Developers - Visual Studio Live! NY 2012
SQL Server Workshop for Developers - Visual Studio Live! NY 2012
 
Project seminar
Project seminarProject seminar
Project seminar
 

More from RUBAB79

Database.docx
Database.docxDatabase.docx
Database.docx
RUBAB79
 
RDBMS.docx
RDBMS.docxRDBMS.docx
RDBMS.docx
RUBAB79
 
MySQL String Functions.docx
MySQL String Functions.docxMySQL String Functions.docx
MySQL String Functions.docx
RUBAB79
 
Difference between RDBMS and DBMS.docx
Difference between RDBMS and DBMS.docxDifference between RDBMS and DBMS.docx
Difference between RDBMS and DBMS.docx
RUBAB79
 
SQL Keywords and Functions.pptx
SQL Keywords and Functions.pptxSQL Keywords and Functions.pptx
SQL Keywords and Functions.pptx
RUBAB79
 
Ms Access 1.pptx
Ms Access 1.pptxMs Access 1.pptx
Ms Access 1.pptx
RUBAB79
 
SQL Introduction.pptx
SQL Introduction.pptxSQL Introduction.pptx
SQL Introduction.pptx
RUBAB79
 
SQL Operators.pptx
SQL Operators.pptxSQL Operators.pptx
SQL Operators.pptx
RUBAB79
 
SQL Commands Part 1.pptx
SQL Commands Part 1.pptxSQL Commands Part 1.pptx
SQL Commands Part 1.pptx
RUBAB79
 
Database Lecture 3.pptx
Database Lecture 3.pptxDatabase Lecture 3.pptx
Database Lecture 3.pptx
RUBAB79
 
SQL Conversion Functions.pptx
SQL Conversion Functions.pptxSQL Conversion Functions.pptx
SQL Conversion Functions.pptx
RUBAB79
 
SQL Commands Part 3.pptx
SQL Commands Part 3.pptxSQL Commands Part 3.pptx
SQL Commands Part 3.pptx
RUBAB79
 
SQL Commands Part 2.pptx
SQL Commands Part 2.pptxSQL Commands Part 2.pptx
SQL Commands Part 2.pptx
RUBAB79
 
DATABASE Lecture 1 and 2.pptx
DATABASE Lecture 1 and 2.pptxDATABASE Lecture 1 and 2.pptx
DATABASE Lecture 1 and 2.pptx
RUBAB79
 

More from RUBAB79 (14)

Database.docx
Database.docxDatabase.docx
Database.docx
 
RDBMS.docx
RDBMS.docxRDBMS.docx
RDBMS.docx
 
MySQL String Functions.docx
MySQL String Functions.docxMySQL String Functions.docx
MySQL String Functions.docx
 
Difference between RDBMS and DBMS.docx
Difference between RDBMS and DBMS.docxDifference between RDBMS and DBMS.docx
Difference between RDBMS and DBMS.docx
 
SQL Keywords and Functions.pptx
SQL Keywords and Functions.pptxSQL Keywords and Functions.pptx
SQL Keywords and Functions.pptx
 
Ms Access 1.pptx
Ms Access 1.pptxMs Access 1.pptx
Ms Access 1.pptx
 
SQL Introduction.pptx
SQL Introduction.pptxSQL Introduction.pptx
SQL Introduction.pptx
 
SQL Operators.pptx
SQL Operators.pptxSQL Operators.pptx
SQL Operators.pptx
 
SQL Commands Part 1.pptx
SQL Commands Part 1.pptxSQL Commands Part 1.pptx
SQL Commands Part 1.pptx
 
Database Lecture 3.pptx
Database Lecture 3.pptxDatabase Lecture 3.pptx
Database Lecture 3.pptx
 
SQL Conversion Functions.pptx
SQL Conversion Functions.pptxSQL Conversion Functions.pptx
SQL Conversion Functions.pptx
 
SQL Commands Part 3.pptx
SQL Commands Part 3.pptxSQL Commands Part 3.pptx
SQL Commands Part 3.pptx
 
SQL Commands Part 2.pptx
SQL Commands Part 2.pptxSQL Commands Part 2.pptx
SQL Commands Part 2.pptx
 
DATABASE Lecture 1 and 2.pptx
DATABASE Lecture 1 and 2.pptxDATABASE Lecture 1 and 2.pptx
DATABASE Lecture 1 and 2.pptx
 

Recently uploaded

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 

Recently uploaded (20)

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 

Lecture 4-RDBMS.pptx

  • 1. RDBMS By Rubab CS Instructor Sukkur IBA, Institute of Emerging Technologies Khairpur BY: MS. RUBAB FOR DIT
  • 2. WHAT IS RDBM S? RDBMS stands for Relational Database Management System. RDBMS is the basis for SQL, and for all modern database systems like MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access. A Relational database management system (RDBMS) is a database management system (DBMS) that is based on the relational model as introduced by E. F. Codd. BY: MS. RUBAB FOR DIT
  • 3. WHAT IS A TABLE ? The data in an RDBMS is stored in database objects which are called as tables. This table is basically a collection of related data entries and it consists of numerous columns and rows. Remember, a table is the most common and simplest form of data storage in a relational database BY: MS. RUBAB FOR DIT
  • 4. TABLE EXAMP LE ID NAME CLASS CITY 1 Aiman CIT Sobhodero 2 Suleman DIT-I Kumb 3 Mariam DIT-II Lahore 4 Adnan CIT Moro BY: MS. RUBAB FOR DIT
  • 5. WHAT IS A FIELD? Every table is broken up into smaller entries called fields. The fields in the CUSTOMERS table consist of ID, NAME, Class and City A field is a column in a table that is designed to maintain specific information about every record in the table. ID NAME CLASS CITY BY: MS. RUBAB FOR DIT
  • 6. WHAT IS A RECORD OR A ROW? A record is also called as a row of data is each individual entry that exists in a table. For example, this table has 4 records. BY: MS. RUBAB FOR DIT
  • 7. WHAT IS A COLUMN A column is a vertical entity in a table that contains all information associated with a specific field in a table. Example, in out table this Column has the names of all the entities in our table BY: MS. RUBAB FOR DIT
  • 8. WHAT IS A NULL VALUE? A NULL value in a table is a value in a field that appears to be blank, which means a field with a NULL value is a field with no value. It is very important to understand that a NULL value is different than a zero value or a field that contains spaces. A field with a NULL value is the one that has been left blank during a record creation. BY: MS. RUBAB FOR DIT
  • 9. SQL CONSTRAINTS Constraints are the rules enforced on data columns on a table. These are used to limit the type of data that can go into a table. This ensures the accuracy and reliability of the data in the database. Constraints can either be column level or table level. Column level constraints are applied only to one column whereas, table level constraints are applied to the entire table. BY: MS. RUBAB FOR DIT
  • 10. COMMON SQL CONSTRAINS NOT NULL Constraint − Ensures that a column cannot have a NULL value. DEFAULT Constraint − Provides a default value for a column when none is specified. UNIQUE Constraint − Ensures that all the values in a column are different. PRIMARY Key − Uniquely identifies each row/record in a database table. FOREIGN Key − Uniquely identifies a row/record in any another database table. CHECK Constraint − The CHECK constraint ensures that all values in a column satisfy certain conditions. INDEX − Used to create and retrieve data from the database very quickly. BY: MS. RUBAB FOR DIT
  • 11. DATA INTEGRITY Entity Integrity − There are no duplicate rows in a table. Domain Integrity − Enforces valid entries for a given column by restricting the type, the format, or the range of values. Referential integrity − Rows cannot be deleted, which are used by other records. User-Defined Integrity − Enforces some specific business rules that do not fall into entity, domain or referential integrity. BY: MS. RUBAB FOR DIT
  • 12. DATABASE NORMALIZATION Database normalization is the process of efficiently organizing data in a database. There are two reasons of this normalization process 1. Eliminating redundant data, for example, storing the same data in more than one table. 2. Ensuring data dependencies make sense. BY: MS. RUBAB FOR DIT
  • 13. FORMS OF NORMALIZATION Both these reasons are worthy goals as they reduce the amount of space a database consumes and ensures that data is logically stored. Normalization consists of a series of guidelines that help guide you in creating a good database structure. Normalization guidelines are divided into normal forms; think of a form as the format or the way a database structure is laid out. The aim of normal forms is to organize the database structure, so that it complies with the rules of first normal form, then second normal form and finally the third normal form. BY: MS. RUBAB FOR DIT
  • 14. FORMS OF NORMALIZATION • First Normal Form 1nF • Second Normal Form 2nF • Third Normal Form 3nF It is your choice to take it further and go to the fourth normal form, fifth normal form and so on, but in general, the third normal form is more than enough. BY: MS. RUBAB FOR DIT
  • 15. MS ACCESS This Photo by Unknown Author is licensed under CC BY-NC-ND This Photo by Unknown Author is licensed under CC BY This Photo by Unknown Author is licensed under CC BY-SA BY: MS. RUBAB FOR DIT
  • 16. MS ACCESS This is one of the most popular Microsoft products. Microsoft Access is an entry-level database management software. MS Access database is not only inexpensive but also a powerful database for small-scale projects. MS Access uses the Jet database engine, which utilizes a specific SQL language dialect (sometimes referred to as Jet SQL). MS Access comes with the professional edition of MS Office package. MS Access has easyto-use intuitive graphical interface. BY: MS. RUBAB FOR DIT
  • 17. VERSIONS OF MS ACCESS • 1992 - Access version 1.0 was released. • 1993 - Access 1.1 released to improve compatibility with inclusion the Access Basic programming language. • The most significant transition was from Access 97 to Access 2000. • 2007 - Access 2007, a new database format was introduced ACCDB which supports complex data types such as multi valued and attachment fields. BY: MS. RUBAB FOR DIT
  • 18. FEATURES OF MS ACCESS • Users can create tables, queries, forms and reports and connect them together with macros. • Option of importing and exporting the data to many formats including Excel, Outlook, ASCII, dBase, Paradox, FoxPro, SQL Server, Oracle, ODBC, etc. • There is also the Jet Database format (MDB or ACCDB in Access 2007), which can contain the application and data in one file. This makes it very convenient to distribute the entire application to another user, who can run it in disconnected environments. BY: MS. RUBAB FOR DIT
  • 19. FEATURES OF MS ACCESS • Microsoft Access offers parameterized queries. These queries and Access tables can be referenced from other programs like VB6 and .NET through DAO or ADO. • The desktop editions of Microsoft SQL Server can be used with Access as an alternative to the Jet Database Engine. • Microsoft Access is a file server-based database. Unlike the client- server relational database management systems (RDBMS), Microsoft Access does not implement database triggers, stored procedures or transaction logging. BY: MS. RUBAB FOR DIT
  • 20. MS SQL SERVER This Photo by Unknown Author is licensed under CC BY-SA This Photo by Unknown Author is licensed under CC BY-NC-ND This Photo by Unknown Author is licensed under CC BY-SA BY: MS. RUBAB FOR DIT
  • 21. MS SQL SERVER MS SQL Server is a Relational Database Management System developed by Microsoft Inc. Its primary query languages are − • T-SQL • ANSI SQL BY: MS. RUBAB FOR DIT
  • 22. HISTORY 1987 - Sybase releases SQL Server for UNIX. 1988 - Microsoft, Sybase, and Aston-Tate port SQL Server to OS/2. 1989 - Microsoft, Sybase, and Aston-Tate release SQL Server 1.0 for OS/2. 1990 - SQL Server 1.1 is released with support for Windows 3.0 clients. Aston - Tate drops out of SQL Server development. 2000 - Microsoft releases SQL Server 2000. 2001 - Microsoft releases XML for SQL Server Web Release 1 (download). 2002 - Microsoft releases SQLXML 2.0 (renamed from XML for SQL Server). 2002 - Microsoft releases SQLXML 3.0. 2005 - Microsoft releases SQL Server 2005 on November 7th, 2005. BY: MS. RUBAB FOR DIT
  • 23. MILESTONES • MS SQL Server for OS/2 began as a project to port Sybase SQL Server onto OS/2 in 1989, by Sybase, Ashton-Tate, and Microsoft. • SQL Server 4.2 for NT is released in 1993, marking the entry onto Windows NT. • SQL Server 6.0 is released in 1995, marking the end of collaboration with Sybase; Sybase would continue developing their own variant of SQL Server, Sybase Adaptive Server Enterprise, independently of Microsoft. • SQL Server 7.0 is released in 1998, marking the conversion of the source code from C to C++. • SQL Server 2005, released in 2005, finishes the complete revision of the old Sybase code into Microsoft code. • SQL Server 2012, released in 2012, adds columnar in-memory storage aka xVelocity. • SQL Server 2017, released in 2017, adds Linux support for these Linux platforms: Red Hat Enterprise Linux, SUSE Linux Enterprise Server, Ubuntu & Docker Engine. BY: MS. RUBAB FOR DIT
  • 24. CURRENTLY As of May 2021, the following versions are supported by Microsoft: • SQL Server 2012 • SQL Server 2014 • SQL Server 2016 • SQL Server 2017 • SQL Server 2019 From SQL Server 2016 onward, the product is supported on x64 processors only. The current version is Microsoft SQL Server 2019, released November 4, 2019. The RTM version is 15.0.2000.5.[ BY: MS. RUBAB FOR DIT
  • 25. FEATURES • High Performance • High Availability • Database mirroring • Database snapshots • CLR integration • Service Broker • DDL triggers • Ranking functions • Row version-based isolation levels • XML integration • TRY...CATCH • Database Mail BY: MS. RUBAB FOR DIT
  • 26. MYSQL • MySQL is an open source SQL database, which is developed by a Swedish company – MySQL AB. MySQL is pronounced as "my ess-que- ell," in contrast with SQL, pronounced "sequel." • MySQL is supporting many different platforms including Microsoft Windows, the major Linux distributions, UNIX, and Mac OS X. • MySQL has free and paid versions, depending on its usage (non- commercial/commercial) and features. MySQL comes with a very fast, multi-threaded, multi-user and robust SQL database server. BY: MS. RUBAB FOR DIT