SlideShare a Scribd company logo
PRESENTATION
Introduction To
Database with
MS
Access(DBMS)
As the data consist of raw facts so as to transfer data into useful
information it must be organized in a meaningful way. So as to
organize data a database is used. A database is an organized
collection of structured information, or data, typically stored
electronically in a computer system. A database is usually
controlled by a database management system (DBMS). The data
can then be easily accessed, managed, modified, updated,
controlled, and organized. Example: Student identity, Employee
identification, and many more. There are also several database
system available in market.eg. Relational database, Distributed
database , etc
DEFINITION OF DATABASE
What is database?
Database Components
There are five main components of a database:
Hardware:
The hardware consists of physical, electronic devices like computers, I/O
devices, storage devices, etc. This offers the interface between computers
and real-world systems.
Software:
This is a set of programs used to manage and control the overall
database. This includes the database software itself, the Operating
System, the network software used to share the data among users, and
the application programs for accessing data in the database.
Data:
Data is a raw and unorganized fact that is required to be processed to
make it meaningful. Data can be simple at the same time unorganized
unless it is organized. Generally, data comprises facts, observations,
perceptions, numbers, characters, symbols, images, etc.
Procedure:
Procedure are a set of instructions and rules that help you to use the
DBMS. It is designing and running the database using documented
methods, which allows you to guide the users who operate and manage it.
Database Access Language:
Database Access language is used to access the data to and from the
database, enter new data, update already existing data, or retrieve
required data from DBMS. The user writes some specific commands in a
database access language and submits these to the database.
Entity Relational Model
(E-R Model)
ER Diagram stands for Entity Relationship Diagram, also
known as ERD is a diagram that displays the relationship of
entity sets stored in a database.
ER diagrams are created based on three basic concepts:
entities, attributes and relationships. ER Diagrams contain
different symbols that use rectangles to represent entities,
ovals to define attributes and diamond shapes to represent
relationships
Symbols of E-R Diagram
Example:
MS Access Database
ATTRIBUTES
KEY FIELD
ENTITIES
DBA Database Administrator
A database administrator (DBA in DBMS) is a group of
professionals that use specialize software to perform
all activities related to designing, maintaining, creating,
and running efficient and cost-effective databases and
environments.
THEIR JOBS COULD INCLUDE:
 Capacity planning
 Database design
 Migration
 Backup & Data Recovery
 Installation
 Configuration
 Performance monitoring
 Security Management
A database is usually controlled by a database
management system (DBMS).
 DEFINITION : Software that handles the storage, retrieval, and updating of data in a
computer system.
 Database Applications: 1. Banking: all transactions
2. Airlines: reservations, schedules
3.Universities: registration, grades
4.Sales: customers, products, purchases
5.Online retailers: order tracking, customized recommendations
6.Manufacturing: production, inventory, orders, supply chain
7.Human resources: employee records, salaries, tax deductions
Advantages and Disadvantages
of DBMS
•DBMS offers a variety of techniques to store &
retrieve data.
•DBMS serves as an efficient handler to balance the
needs of multiple applications using the same data.
•A DBMS uses various powerful functions to store
and retrieve data efficiently.
•Offers Data Integrity and Security.
•A DBMS schedules concurrent access to the data
in such a manner that only one user can access the
same data at a time.
•Reduced Application Development Time.
•Cost of Hardware and Software of a DBMS is quite
high which increases the budget of your organization.
•Most database management systems are often
complex systems, so the training for users to use the
DBMS is required.
•In some organizations, all data is integrated into a
single database which can be damaged because of
electric failure or database is corrupted on the storage
media.
•Use of the same program at a time by many users
sometimes lead to the loss of some data.
•DBMS can’t perform sophisticated calculations.
Advantages Disadvantages
Microsoft Access
Microsoft Access is a database management system from Microsoft
that combines the relational Microsoft Jet Database Engine with a
graphical user interface and software-development tools.
Microsoft Access stores information which is called a
database. To use MS Access, you will need to follow
these four steps −
•Database Creation − Create your Microsoft Access database and
specify what kind of data you will be storing.
•Data Input − After your database is created, the data of every
business day can be entered into the Access database.
•Query − This is a fancy term to basically describe the process of
retrieving information from the database.
•Report (optional) − Information from the database is organized in a
nice presentation that can be printed in an Access Report.
MS Access - Create Database
To view the all the possible databases, you can scroll
down or you can also use the search box.
Let us enter project in the search box and press Enter.
You will see the database templates related to project
management.
To create a database from a template, we first need to
open MS Access and you will see the following screen
in which different Access database templates are
displayed.
Select the first template. You will see more information
related to this template. enter a name in the File
name field and you can also specify another location
for your file if you want. Press the Create option.
Access will download that database template and open
a new blank database
Datatypes
 SHORT TEXT : Alphanumeric data (names, titles, etc.)
 LONG TEXT : Large amounts of alphanumeric data sentences and paragraphs.
 NUMBER : Numeric data.
 DATE/TIME : Dates and times.
 CURRENCY : Monetary data
 AUTONUMBER : Unique value generated by Access for each new record.
 YES/NO : Boolean (true/false) data.
 OLE OBJECT : Pictures, graphs, or other ActiveX objects from another Windows-based
application.
 HYPERLINK : A link address to a document or file on the Internet, or on your local computer
 ATTACHMENT : You can attach files such as pictures, documents, spreadsheets, or charts.
 CALCULATED : You can create an expression that uses data from one or more fields.
 LOOKUP WIZARD : . When you choose this entry, a wizard starts to help you define either a
simple or complex lookup field.
Databases in Access 2010 are composed of four
objects: tables, queries, forms, and reports. Together,
these objects allow you to enter, store, analyze, and
compile your data however you want.
 TABLES : Tables are database objects that contain all the data in a database. In tables, data is
logically organized in a row-and-column format. Each row represents a unique record, and each
column represents a field in the record.
 QUERIES: A query is a request for data or information from a database table or combination of tables.
 FORMS: A form is a database object that you can use to enter, edit, or display data from a table or a
query.
 REPORTS: A database report is the formatted result of database queries and contains useful data for
decision-making and analysis.
MS Access - Create Tables
Table Design View
1.We will be creating the following fields in this table.
These tables will store some of the information for
various book projects.
Field Name Data Type
Project ID AutoNumber
ProjectName Short Text
ManagingEditor Short Text
Author Short Text
PStatus Short Text
Contracts Attachment
ProjectStart Date/Time
ProjectEnd Date/Time
Budget Currency
ProjectNotes Long Text
2.Go to the Create tab.
3.In the tables group, click on Table and
you can see this looks completely different
from the Datasheet View. In this view, you
can see the field name and data type side
by side. We now need to make ProjectID a
primary key for this table, so let us
select ProjectID and click on Primary
Key option in the ribbon.
Let us save this table and give this table a name.
Click Ok and you can now see what this table looks like
in the Datasheet View.
Let us click the datasheet view button on the top left
corner of the ribbon. If you ever want to make changes
to this table or any specific field, you don't always have
to go back to the Design View to change it. You can
also change it from the Datasheet View. Let us update
the PStatus field . Click Ok and you will see the
changes.
MS Access - Adding Data
Let us add some data into your tables by opening the
Access database we have created and Select
the Views → Datasheet View option in the ribbon and
add some data
Similarly, add some data in the second table as well as
shown in the following screenshoYou can now see that
inserting a new data and updating the existing data is
very simple in Datasheet View as working in
spreadsheet. But if you want to delete any data you
need to select the entire row first.
Now press the delete button. This will display the
confirmation message.
Click Yes and you will see that the selected record is
deleted now.
MS Access - Query Data
A query is a request for data results, and for action on data. You can use a query to answer a simple question, to
perform calculations, to combine data from different tables, or even to add, change, or delete table data.
create a simple query which will retrieve information
from tblEmployees table. Open the database and click
on the Create tab.
Click Query Design.
The query runs, and displays only data in those field
which is specified in the query.
In the Tables tab, on the Show Table dialog, double-click
the tblEmployees table and then Close the dialog box.In the
tblEmployees table, double-click all those fields which you want to see
as result of the query. Add these fields to the query design grid as
shown in the following screenshot
MS Access - Alternate Criteria
You can add alternate criteria in the following two ways −
•You can use the OR operator to combine two sets of criteria.
•You can also use the query design grid, but instead of specifying criteria on the same line, you will need to separate
it in multiple row
1. Let us look at a simple example of alternate criteria.
Open database and in the Create tab select Query
Design.
2. Double-click on all the field you want to see as query
result.Double-click on tblEmployee and close the Show
Table dialog box.
3. You can now see that alternate criterion is specified
in different rows of the LastName field. When you run
this query, you will see the employees whose last name
is either Pollard or Manning.
MS Access - Relating Data
Normalization:
 Normalization is the process of organizing
data in a database.
 This includes creating tables and
establishing relationships between those
tables according to rules designed both to
protect the data and to make the database
more flexible by eliminating redundancy
and inconsistent dependency.
CustID Name Address Cookie Quantity Price Total
1 Ethel Smith 12 Main
St,
Arlingto
n, VA
22201 S
Chocola
te Chip
5 $2.00 $10.00
2 Tom Wilber 1234
Oak Dr.,
Pekin,
IL
61555
Choc
Chip
3 $2.00 $6.00
3 Ethil
Smithy
12 Main
St.,
Arlingto
n, VA
22201
Chocola
te Chip
5 $2.00 $10.00
Let us now look into the following table which contains data, but the problem is that this data is quite
redundant which increases the chances of typo and inconsistent phrasing during data entry.To solve
this problem, we need to restructure our data and break it down into multiple tables to eliminate some of
those redundancy as shown in the following three tables.
Defining Relationships: A relationship works by matching data in key columns usually
columns with the same name in both the tables. In most cases, the relationship matches the primary key from one
table, which provides a unique identifier for each row, with an entry in the foreign key in the other table. There are
three types of relationships between tables. The type of relationship that is created depends on how the related
columns are defined.
 One-to-Many Relationships
A one-to-many relationship is the most common type of relationship. In this type of relationship, a
row in table A can have many matching rows in table B, but a row in table B can have only one
matching row in table A.
For example, the Customers and Orders tables have a one-to-many relationship: each customer
can place many orders, but each order comes from only one customer.
 Many-to-Many Relationships
In a many-to-many relationship, a row in table A can have many matching rows in table B, and vice
versa.
For example, the Customers table and the Cookies table have a many-to-many relationship that is
defined by a one-to-many relationship from each of these tables to the Orders table.
 One-to-One Relationships
In a one-to-one relationship, a row in table A can have no more than one matching row in table B,
and vice versa. A one-to-one relationship is created if both the related columns are primary keys or
have unique constraints.
MS Access - Create Relationships
MS Access uses table relationships to join tables when you need to use them in a database object. There are
several reasons why you should create table relationships before you create other database objects, such as
forms, queries, and reports.
Click on the Save icon as in the above screenshot
Enter tblHRData as table name and click Ok.
Let us now add another table into your database and
name it tblHRData using Table Design
MS Access - Create Form
open your Database and go to the Create tab. In the
Forms group, in the upper right-hand corner you will
see the Form Wizard button.
Click on that button to launch the Form Wizard.
On this first screen in the wizard, you can select fields
that you want to display on your form, and you can
choose from fields from more than one table or a query.
Let us assume we want to simply have a quick form
that we are going to use for data entry for our employee
information.
From Tables/Queries drop-down list,
select tblEmployees table. Click on the double arrow to
move all the fields at once. Let us just leave it with that
one table, and click Next.
The following screen in the Form Wizard will ask for the
layout that we would like for our form. We
have columnar, tabular, datasheet and justified layouts.
We will choose the columnar layout here and then
click Next.
In the following screen, we need to give a title for our
form. Let us call it frmEmployees.
Once you have given your form a title, you can open
the form to see what that form looks like, or you can
begin entering information into your table. Or you can
choose the option to modify the form's design. Let us
choose the first option to open the form to view or enter
information and click Finish.
This is what your form looks like. This is a single item
form, meaning one record is displayed at a time and
further down you can see the navigation buttons, which
is telling us that this is displaying the record 1 of 9. If
you click on that button then, it will move to the next
record.
If you want to jump to the very last record in that form or
that table, you can use the button right beside that right
arrow, the arrow with a line after it, that's the last record
button. If you want to add new employee information,
go to the end of this records and then after 9 records
you will see a blank form where you can begin entering
out the new employee's information.
Multiple Item Form
You may also want to create a specific kind of form. For this, you
can click on the More Forms drop-down menu.
From the menu, you can create a Multiple Items form,
a Datasheet form, a Split form, or even a Modal
Dialog form. These are typically bound forms; select the
object that you would like to be bound to that form. This
does not apply to the Modal Dialog forms.
To create this type of form, you will need to select the
object in navigation pane first. Let us
select tblEmployees here.
Proceed by clicking on More Forms and Multiple Items.
Split Form
This type of form is divided in equal halves, either
vertically or horizontally. One half displays a single item
or record, and the other half displays a list or a
datasheet view of multiple records from the underlying
data source.
Let us now select tblEmployees in the navigation pane
and then on Create tab. Select Split Form option from
More Forms menu and you will see the following form in
which the form is divided vertically.
MS Access - Data Import & Data Export
Data import Start Microsoft Access and create a blank database in
Access. Import the Person/Org information. Go to the "External
Data" menu and select "Text File" in the Import Section. ... Select
the option to "Import the source data into a new table in the
current database" and click "OK.“
Data export is actually the opposite of importing data. In importing
data, we bring data from other formats in Access, while in
exporting we save the data in other formats. To understand what
kind of data you can export from Access data, let us open your
database and go to the External Data tab.
Introduction to database with ms access(DBMS)
Ad

More Related Content

What's hot (20)

Database Administration
Database AdministrationDatabase Administration
Database Administration
Bilal Arshad
 
Lecture 1 Information System
Lecture 1  Information SystemLecture 1  Information System
Lecture 1 Information System
university of education,Lahore
 
The database applications
The database applicationsThe database applications
The database applications
Dolat Ram
 
Introduction to ms access database
Introduction to ms access databaseIntroduction to ms access database
Introduction to ms access database
Obuasi Senior High Technical School
 
Types & Fundamentals of Information System
Types & Fundamentals of Information SystemTypes & Fundamentals of Information System
Types & Fundamentals of Information System
Awais Mansoor Chohan
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
a9oolq8
 
Office automation sysmtems
Office automation sysmtemsOffice automation sysmtems
Office automation sysmtems
Midhun chakkaravarthy
 
Chapter 1 Fundamentals of Database Management System
Chapter 1 Fundamentals of Database Management SystemChapter 1 Fundamentals of Database Management System
Chapter 1 Fundamentals of Database Management System
Eddyzulham Mahluzydde
 
Chapter 1 : INTRODUCTION TO MULTIMEDIA
Chapter 1 : INTRODUCTION TO MULTIMEDIAChapter 1 : INTRODUCTION TO MULTIMEDIA
Chapter 1 : INTRODUCTION TO MULTIMEDIA
azira96
 
Data resource management
Data resource managementData resource management
Data resource management
Nirajan Silwal
 
Database administrator
Database administratorDatabase administrator
Database administrator
Tech_MX
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
Mohamed Loey
 
Basic introduction to ms access
Basic introduction to ms accessBasic introduction to ms access
Basic introduction to ms access
jigeno
 
Computer based information system
Computer based information systemComputer based information system
Computer based information system
pooja singhal
 
WEBSITE
WEBSITEWEBSITE
WEBSITE
sheheryar hussain
 
Information system
Information systemInformation system
Information system
রেদওয়ান হৃদয়
 
Computer software application with specific reference to Microsoft word
Computer software application with specific reference to Microsoft wordComputer software application with specific reference to Microsoft word
Computer software application with specific reference to Microsoft word
Onasanya2014
 
Multimedia notes
Multimedia  notesMultimedia  notes
Multimedia notes
KoYe Click
 
Web technology
Web technologyWeb technology
Web technology
Selvin Josy Bai Somu
 
Ms access
Ms accessMs access
Ms access
Nagarajan
 
Database Administration
Database AdministrationDatabase Administration
Database Administration
Bilal Arshad
 
The database applications
The database applicationsThe database applications
The database applications
Dolat Ram
 
Types & Fundamentals of Information System
Types & Fundamentals of Information SystemTypes & Fundamentals of Information System
Types & Fundamentals of Information System
Awais Mansoor Chohan
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
a9oolq8
 
Chapter 1 Fundamentals of Database Management System
Chapter 1 Fundamentals of Database Management SystemChapter 1 Fundamentals of Database Management System
Chapter 1 Fundamentals of Database Management System
Eddyzulham Mahluzydde
 
Chapter 1 : INTRODUCTION TO MULTIMEDIA
Chapter 1 : INTRODUCTION TO MULTIMEDIAChapter 1 : INTRODUCTION TO MULTIMEDIA
Chapter 1 : INTRODUCTION TO MULTIMEDIA
azira96
 
Data resource management
Data resource managementData resource management
Data resource management
Nirajan Silwal
 
Database administrator
Database administratorDatabase administrator
Database administrator
Tech_MX
 
Basic introduction to ms access
Basic introduction to ms accessBasic introduction to ms access
Basic introduction to ms access
jigeno
 
Computer based information system
Computer based information systemComputer based information system
Computer based information system
pooja singhal
 
Computer software application with specific reference to Microsoft word
Computer software application with specific reference to Microsoft wordComputer software application with specific reference to Microsoft word
Computer software application with specific reference to Microsoft word
Onasanya2014
 
Multimedia notes
Multimedia  notesMultimedia  notes
Multimedia notes
KoYe Click
 

Similar to Introduction to database with ms access(DBMS) (20)

dbms ms access basics and introduction to ms access
dbms ms access basics and introduction to ms accessdbms ms access basics and introduction to ms access
dbms ms access basics and introduction to ms access
ssuserb9efd7
 
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentals
Then Murugeshwari
 
Operate Database Applicationidentify ntrk handtools.pptx
Operate Database Applicationidentify ntrk handtools.pptxOperate Database Applicationidentify ntrk handtools.pptx
Operate Database Applicationidentify ntrk handtools.pptx
edget1
 
Operate Database Application UC info sheet.pdf
Operate Database Application UC info sheet.pdfOperate Database Application UC info sheet.pdf
Operate Database Application UC info sheet.pdf
RemadanMohammed
 
LECTURE MICROSOFT ACCESS INFORMATION TECHNOLOGY
LECTURE MICROSOFT ACCESS INFORMATION TECHNOLOGYLECTURE MICROSOFT ACCESS INFORMATION TECHNOLOGY
LECTURE MICROSOFT ACCESS INFORMATION TECHNOLOGY
rashadpk67
 
8.) ms-access_ppt-CA-course-itt-programme.pptx
8.) ms-access_ppt-CA-course-itt-programme.pptx8.) ms-access_ppt-CA-course-itt-programme.pptx
8.) ms-access_ppt-CA-course-itt-programme.pptx
tiktok116
 
W 8 introduction to database
W 8  introduction to databaseW 8  introduction to database
W 8 introduction to database
Institute of Management Studies UOP
 
Database System
Database SystemDatabase System
Database System
Hasaka Sasaranga
 
Chapter 01 Introduction to Microsoft Access.ppt
Chapter 01 Introduction to Microsoft Access.pptChapter 01 Introduction to Microsoft Access.ppt
Chapter 01 Introduction to Microsoft Access.ppt
EmmanuelOppongAfriyi1
 
Introduction to ms access
Introduction to ms accessIntroduction to ms access
Introduction to ms access
vinothinisureshbabu
 
MS Access and Database Fundamentals
MS Access and Database FundamentalsMS Access and Database Fundamentals
MS Access and Database Fundamentals
Ananda Gupta
 
Ms access
Ms accessMs access
Ms access
RoshanMaharjan13
 
03-database-management-system-revision-notes.pdf
03-database-management-system-revision-notes.pdf03-database-management-system-revision-notes.pdf
03-database-management-system-revision-notes.pdf
Amit Mishra
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
MrjJoker1
 
MS-ACCESS.pptx
MS-ACCESS.pptxMS-ACCESS.pptx
MS-ACCESS.pptx
shivamdwivedi898297
 
Operating Database Application L2.pdfsfhhqfjbfegfggfdw
Operating Database Application L2.pdfsfhhqfjbfegfggfdwOperating Database Application L2.pdfsfhhqfjbfegfggfdw
Operating Database Application L2.pdfsfhhqfjbfegfggfdw
kebimesay23
 
Database
DatabaseDatabase
Database
Unnikrishnan Muraleedharan
 
Research design
Research designResearch design
Research design
Harish M H
 
Dbms
DbmsDbms
Dbms
harleenmahajan
 
English database management_system
English database management_systemEnglish database management_system
English database management_system
Sayed Ahmed
 
dbms ms access basics and introduction to ms access
dbms ms access basics and introduction to ms accessdbms ms access basics and introduction to ms access
dbms ms access basics and introduction to ms access
ssuserb9efd7
 
Operate Database Applicationidentify ntrk handtools.pptx
Operate Database Applicationidentify ntrk handtools.pptxOperate Database Applicationidentify ntrk handtools.pptx
Operate Database Applicationidentify ntrk handtools.pptx
edget1
 
Operate Database Application UC info sheet.pdf
Operate Database Application UC info sheet.pdfOperate Database Application UC info sheet.pdf
Operate Database Application UC info sheet.pdf
RemadanMohammed
 
LECTURE MICROSOFT ACCESS INFORMATION TECHNOLOGY
LECTURE MICROSOFT ACCESS INFORMATION TECHNOLOGYLECTURE MICROSOFT ACCESS INFORMATION TECHNOLOGY
LECTURE MICROSOFT ACCESS INFORMATION TECHNOLOGY
rashadpk67
 
8.) ms-access_ppt-CA-course-itt-programme.pptx
8.) ms-access_ppt-CA-course-itt-programme.pptx8.) ms-access_ppt-CA-course-itt-programme.pptx
8.) ms-access_ppt-CA-course-itt-programme.pptx
tiktok116
 
Chapter 01 Introduction to Microsoft Access.ppt
Chapter 01 Introduction to Microsoft Access.pptChapter 01 Introduction to Microsoft Access.ppt
Chapter 01 Introduction to Microsoft Access.ppt
EmmanuelOppongAfriyi1
 
MS Access and Database Fundamentals
MS Access and Database FundamentalsMS Access and Database Fundamentals
MS Access and Database Fundamentals
Ananda Gupta
 
03-database-management-system-revision-notes.pdf
03-database-management-system-revision-notes.pdf03-database-management-system-revision-notes.pdf
03-database-management-system-revision-notes.pdf
Amit Mishra
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
MrjJoker1
 
Operating Database Application L2.pdfsfhhqfjbfegfggfdw
Operating Database Application L2.pdfsfhhqfjbfegfggfdwOperating Database Application L2.pdfsfhhqfjbfegfggfdw
Operating Database Application L2.pdfsfhhqfjbfegfggfdw
kebimesay23
 
English database management_system
English database management_systemEnglish database management_system
English database management_system
Sayed Ahmed
 
Ad

Recently uploaded (20)

Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko
Fwdays
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Automation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From AnywhereAutomation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From Anywhere
Lynda Kane
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
 
Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Buckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug LogsBuckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug Logs
Lynda Kane
 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
 
Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko
Fwdays
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Automation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From AnywhereAutomation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From Anywhere
Lynda Kane
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
 
Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Buckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug LogsBuckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug Logs
Lynda Kane
 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
 
Ad

Introduction to database with ms access(DBMS)

  • 2. As the data consist of raw facts so as to transfer data into useful information it must be organized in a meaningful way. So as to organize data a database is used. A database is an organized collection of structured information, or data, typically stored electronically in a computer system. A database is usually controlled by a database management system (DBMS). The data can then be easily accessed, managed, modified, updated, controlled, and organized. Example: Student identity, Employee identification, and many more. There are also several database system available in market.eg. Relational database, Distributed database , etc DEFINITION OF DATABASE What is database?
  • 3. Database Components There are five main components of a database: Hardware: The hardware consists of physical, electronic devices like computers, I/O devices, storage devices, etc. This offers the interface between computers and real-world systems. Software: This is a set of programs used to manage and control the overall database. This includes the database software itself, the Operating System, the network software used to share the data among users, and the application programs for accessing data in the database. Data: Data is a raw and unorganized fact that is required to be processed to make it meaningful. Data can be simple at the same time unorganized unless it is organized. Generally, data comprises facts, observations, perceptions, numbers, characters, symbols, images, etc. Procedure: Procedure are a set of instructions and rules that help you to use the DBMS. It is designing and running the database using documented methods, which allows you to guide the users who operate and manage it. Database Access Language: Database Access language is used to access the data to and from the database, enter new data, update already existing data, or retrieve required data from DBMS. The user writes some specific commands in a database access language and submits these to the database.
  • 4. Entity Relational Model (E-R Model) ER Diagram stands for Entity Relationship Diagram, also known as ERD is a diagram that displays the relationship of entity sets stored in a database. ER diagrams are created based on three basic concepts: entities, attributes and relationships. ER Diagrams contain different symbols that use rectangles to represent entities, ovals to define attributes and diamond shapes to represent relationships
  • 5. Symbols of E-R Diagram
  • 8. DBA Database Administrator A database administrator (DBA in DBMS) is a group of professionals that use specialize software to perform all activities related to designing, maintaining, creating, and running efficient and cost-effective databases and environments. THEIR JOBS COULD INCLUDE:  Capacity planning  Database design  Migration  Backup & Data Recovery  Installation  Configuration  Performance monitoring  Security Management
  • 9. A database is usually controlled by a database management system (DBMS).  DEFINITION : Software that handles the storage, retrieval, and updating of data in a computer system.  Database Applications: 1. Banking: all transactions 2. Airlines: reservations, schedules 3.Universities: registration, grades 4.Sales: customers, products, purchases 5.Online retailers: order tracking, customized recommendations 6.Manufacturing: production, inventory, orders, supply chain 7.Human resources: employee records, salaries, tax deductions
  • 10. Advantages and Disadvantages of DBMS •DBMS offers a variety of techniques to store & retrieve data. •DBMS serves as an efficient handler to balance the needs of multiple applications using the same data. •A DBMS uses various powerful functions to store and retrieve data efficiently. •Offers Data Integrity and Security. •A DBMS schedules concurrent access to the data in such a manner that only one user can access the same data at a time. •Reduced Application Development Time. •Cost of Hardware and Software of a DBMS is quite high which increases the budget of your organization. •Most database management systems are often complex systems, so the training for users to use the DBMS is required. •In some organizations, all data is integrated into a single database which can be damaged because of electric failure or database is corrupted on the storage media. •Use of the same program at a time by many users sometimes lead to the loss of some data. •DBMS can’t perform sophisticated calculations. Advantages Disadvantages
  • 11. Microsoft Access Microsoft Access is a database management system from Microsoft that combines the relational Microsoft Jet Database Engine with a graphical user interface and software-development tools. Microsoft Access stores information which is called a database. To use MS Access, you will need to follow these four steps − •Database Creation − Create your Microsoft Access database and specify what kind of data you will be storing. •Data Input − After your database is created, the data of every business day can be entered into the Access database. •Query − This is a fancy term to basically describe the process of retrieving information from the database. •Report (optional) − Information from the database is organized in a nice presentation that can be printed in an Access Report.
  • 12. MS Access - Create Database To view the all the possible databases, you can scroll down or you can also use the search box. Let us enter project in the search box and press Enter. You will see the database templates related to project management. To create a database from a template, we first need to open MS Access and you will see the following screen in which different Access database templates are displayed. Select the first template. You will see more information related to this template. enter a name in the File name field and you can also specify another location for your file if you want. Press the Create option. Access will download that database template and open a new blank database
  • 13. Datatypes  SHORT TEXT : Alphanumeric data (names, titles, etc.)  LONG TEXT : Large amounts of alphanumeric data sentences and paragraphs.  NUMBER : Numeric data.  DATE/TIME : Dates and times.  CURRENCY : Monetary data  AUTONUMBER : Unique value generated by Access for each new record.  YES/NO : Boolean (true/false) data.  OLE OBJECT : Pictures, graphs, or other ActiveX objects from another Windows-based application.  HYPERLINK : A link address to a document or file on the Internet, or on your local computer  ATTACHMENT : You can attach files such as pictures, documents, spreadsheets, or charts.  CALCULATED : You can create an expression that uses data from one or more fields.  LOOKUP WIZARD : . When you choose this entry, a wizard starts to help you define either a simple or complex lookup field.
  • 14. Databases in Access 2010 are composed of four objects: tables, queries, forms, and reports. Together, these objects allow you to enter, store, analyze, and compile your data however you want.  TABLES : Tables are database objects that contain all the data in a database. In tables, data is logically organized in a row-and-column format. Each row represents a unique record, and each column represents a field in the record.  QUERIES: A query is a request for data or information from a database table or combination of tables.  FORMS: A form is a database object that you can use to enter, edit, or display data from a table or a query.  REPORTS: A database report is the formatted result of database queries and contains useful data for decision-making and analysis.
  • 15. MS Access - Create Tables Table Design View 1.We will be creating the following fields in this table. These tables will store some of the information for various book projects. Field Name Data Type Project ID AutoNumber ProjectName Short Text ManagingEditor Short Text Author Short Text PStatus Short Text Contracts Attachment ProjectStart Date/Time ProjectEnd Date/Time Budget Currency ProjectNotes Long Text 2.Go to the Create tab. 3.In the tables group, click on Table and you can see this looks completely different from the Datasheet View. In this view, you can see the field name and data type side by side. We now need to make ProjectID a primary key for this table, so let us select ProjectID and click on Primary Key option in the ribbon.
  • 16. Let us save this table and give this table a name. Click Ok and you can now see what this table looks like in the Datasheet View. Let us click the datasheet view button on the top left corner of the ribbon. If you ever want to make changes to this table or any specific field, you don't always have to go back to the Design View to change it. You can also change it from the Datasheet View. Let us update the PStatus field . Click Ok and you will see the changes.
  • 17. MS Access - Adding Data Let us add some data into your tables by opening the Access database we have created and Select the Views → Datasheet View option in the ribbon and add some data Similarly, add some data in the second table as well as shown in the following screenshoYou can now see that inserting a new data and updating the existing data is very simple in Datasheet View as working in spreadsheet. But if you want to delete any data you need to select the entire row first. Now press the delete button. This will display the confirmation message. Click Yes and you will see that the selected record is deleted now.
  • 18. MS Access - Query Data A query is a request for data results, and for action on data. You can use a query to answer a simple question, to perform calculations, to combine data from different tables, or even to add, change, or delete table data. create a simple query which will retrieve information from tblEmployees table. Open the database and click on the Create tab. Click Query Design. The query runs, and displays only data in those field which is specified in the query. In the Tables tab, on the Show Table dialog, double-click the tblEmployees table and then Close the dialog box.In the tblEmployees table, double-click all those fields which you want to see as result of the query. Add these fields to the query design grid as shown in the following screenshot
  • 19. MS Access - Alternate Criteria You can add alternate criteria in the following two ways − •You can use the OR operator to combine two sets of criteria. •You can also use the query design grid, but instead of specifying criteria on the same line, you will need to separate it in multiple row 1. Let us look at a simple example of alternate criteria. Open database and in the Create tab select Query Design. 2. Double-click on all the field you want to see as query result.Double-click on tblEmployee and close the Show Table dialog box. 3. You can now see that alternate criterion is specified in different rows of the LastName field. When you run this query, you will see the employees whose last name is either Pollard or Manning.
  • 20. MS Access - Relating Data Normalization:  Normalization is the process of organizing data in a database.  This includes creating tables and establishing relationships between those tables according to rules designed both to protect the data and to make the database more flexible by eliminating redundancy and inconsistent dependency.
  • 21. CustID Name Address Cookie Quantity Price Total 1 Ethel Smith 12 Main St, Arlingto n, VA 22201 S Chocola te Chip 5 $2.00 $10.00 2 Tom Wilber 1234 Oak Dr., Pekin, IL 61555 Choc Chip 3 $2.00 $6.00 3 Ethil Smithy 12 Main St., Arlingto n, VA 22201 Chocola te Chip 5 $2.00 $10.00 Let us now look into the following table which contains data, but the problem is that this data is quite redundant which increases the chances of typo and inconsistent phrasing during data entry.To solve this problem, we need to restructure our data and break it down into multiple tables to eliminate some of those redundancy as shown in the following three tables.
  • 22. Defining Relationships: A relationship works by matching data in key columns usually columns with the same name in both the tables. In most cases, the relationship matches the primary key from one table, which provides a unique identifier for each row, with an entry in the foreign key in the other table. There are three types of relationships between tables. The type of relationship that is created depends on how the related columns are defined.  One-to-Many Relationships A one-to-many relationship is the most common type of relationship. In this type of relationship, a row in table A can have many matching rows in table B, but a row in table B can have only one matching row in table A. For example, the Customers and Orders tables have a one-to-many relationship: each customer can place many orders, but each order comes from only one customer.  Many-to-Many Relationships In a many-to-many relationship, a row in table A can have many matching rows in table B, and vice versa. For example, the Customers table and the Cookies table have a many-to-many relationship that is defined by a one-to-many relationship from each of these tables to the Orders table.  One-to-One Relationships In a one-to-one relationship, a row in table A can have no more than one matching row in table B, and vice versa. A one-to-one relationship is created if both the related columns are primary keys or have unique constraints.
  • 23. MS Access - Create Relationships MS Access uses table relationships to join tables when you need to use them in a database object. There are several reasons why you should create table relationships before you create other database objects, such as forms, queries, and reports. Click on the Save icon as in the above screenshot Enter tblHRData as table name and click Ok. Let us now add another table into your database and name it tblHRData using Table Design
  • 24. MS Access - Create Form open your Database and go to the Create tab. In the Forms group, in the upper right-hand corner you will see the Form Wizard button. Click on that button to launch the Form Wizard. On this first screen in the wizard, you can select fields that you want to display on your form, and you can choose from fields from more than one table or a query. Let us assume we want to simply have a quick form that we are going to use for data entry for our employee information. From Tables/Queries drop-down list, select tblEmployees table. Click on the double arrow to move all the fields at once. Let us just leave it with that one table, and click Next. The following screen in the Form Wizard will ask for the layout that we would like for our form. We have columnar, tabular, datasheet and justified layouts. We will choose the columnar layout here and then click Next.
  • 25. In the following screen, we need to give a title for our form. Let us call it frmEmployees. Once you have given your form a title, you can open the form to see what that form looks like, or you can begin entering information into your table. Or you can choose the option to modify the form's design. Let us choose the first option to open the form to view or enter information and click Finish. This is what your form looks like. This is a single item form, meaning one record is displayed at a time and further down you can see the navigation buttons, which is telling us that this is displaying the record 1 of 9. If you click on that button then, it will move to the next record. If you want to jump to the very last record in that form or that table, you can use the button right beside that right arrow, the arrow with a line after it, that's the last record button. If you want to add new employee information, go to the end of this records and then after 9 records you will see a blank form where you can begin entering out the new employee's information.
  • 26. Multiple Item Form You may also want to create a specific kind of form. For this, you can click on the More Forms drop-down menu. From the menu, you can create a Multiple Items form, a Datasheet form, a Split form, or even a Modal Dialog form. These are typically bound forms; select the object that you would like to be bound to that form. This does not apply to the Modal Dialog forms. To create this type of form, you will need to select the object in navigation pane first. Let us select tblEmployees here. Proceed by clicking on More Forms and Multiple Items. Split Form This type of form is divided in equal halves, either vertically or horizontally. One half displays a single item or record, and the other half displays a list or a datasheet view of multiple records from the underlying data source. Let us now select tblEmployees in the navigation pane and then on Create tab. Select Split Form option from More Forms menu and you will see the following form in which the form is divided vertically.
  • 27. MS Access - Data Import & Data Export Data import Start Microsoft Access and create a blank database in Access. Import the Person/Org information. Go to the "External Data" menu and select "Text File" in the Import Section. ... Select the option to "Import the source data into a new table in the current database" and click "OK.“ Data export is actually the opposite of importing data. In importing data, we bring data from other formats in Access, while in exporting we save the data in other formats. To understand what kind of data you can export from Access data, let us open your database and go to the External Data tab.