SlideShare a Scribd company logo
1 of 12
MS Access How To:
Basic Queries
Unit 18 Database Design
Extended Diploma in ICT
Purpose
• Queries are used to extract data from the
database
• They can get data from multiple tables
• They use the relationships to work out what
data goes with what
• Forms and reports can be based off queries
so that the data is presented in a usable
format
• Queries can perform calculations
Design view
• Click on Query Design in the Create tab
Design view
• The Show Table
dialogue box is
open
• A grid is shown for
entering the fields
you will recover
data from
Query to show what has been
rented and by whom
• This data will come from the Customer table
and the Costume table
• These are not directly connected
• We will need the Rental table as well
• Add these three tables by clicking Add on the
Show Table dialogue box
Add tables to the query
• Click Add to add the required tables
Query design
• Close the Show Table (you can open it again
by right clicking)
• The three tables and their relationships are
shown
Adding fields to the query
• Either drag the field name from the table into the Field
row
• Or use the drop downs in the table and the field to select
the field
Adding fields
• Add the CostumeType, FirstName,
LastName, StartDate and EndDate
Run the query
• Click on the Run symbol in the Design tab of
Query Tools
• The results are shown
Using criteria
• To add permanent criteria, type it into the
criteria row for the relevant field
To get user input for criteria
(parameter query)
• Type your question into the criteria row for
the relevant field and enclose it in square
brackets
A prompt appears when you run the query
The results appear when the you click OK

More Related Content

What's hot

Witing DE materials
Witing DE materialsWiting DE materials
Witing DE materialsNo Limit
 
Creating graphs in excel
Creating graphs in excelCreating graphs in excel
Creating graphs in excelclynnc
 
Creating & Editing Charts In Microsoft Excel 2003
Creating & Editing Charts In Microsoft Excel 2003Creating & Editing Charts In Microsoft Excel 2003
Creating & Editing Charts In Microsoft Excel 2003bud_00
 
SAP Lumira - Acquiring data
SAP Lumira - Acquiring dataSAP Lumira - Acquiring data
SAP Lumira - Acquiring dataDmitry Anoshin
 
SAP Lumira - Enriching data
SAP Lumira - Enriching dataSAP Lumira - Enriching data
SAP Lumira - Enriching dataDmitry Anoshin
 
SAP Lumira - Building visualizations
SAP Lumira - Building visualizationsSAP Lumira - Building visualizations
SAP Lumira - Building visualizationsDmitry Anoshin
 
Making a Chart Using Excel
Making a Chart Using ExcelMaking a Chart Using Excel
Making a Chart Using Excelrebelbrindley
 
Power ups filter a slicer
Power ups filter a slicerPower ups filter a slicer
Power ups filter a slicerJohann Krugell
 
Chart Components
Chart ComponentsChart Components
Chart Componentswmassie
 
Witing de materials
Witing de materialsWiting de materials
Witing de materialsNo Limit
 
Creating Chart
Creating ChartCreating Chart
Creating Charttieny8085
 
SMT Corp Preso - Widescreen (White Bg)
SMT Corp Preso - Widescreen (White Bg)SMT Corp Preso - Widescreen (White Bg)
SMT Corp Preso - Widescreen (White Bg)smtmarketing
 
How to Insert a Graph Into Microsoft Excel 2007
How to Insert a Graph Into Microsoft Excel 2007How to Insert a Graph Into Microsoft Excel 2007
How to Insert a Graph Into Microsoft Excel 2007nfasano
 
Working with Pivot Tables
Working with Pivot TablesWorking with Pivot Tables
Working with Pivot TablesKingston Tagoe
 

What's hot (20)

Witing DE materials
Witing DE materialsWiting DE materials
Witing DE materials
 
Creating graphs in excel
Creating graphs in excelCreating graphs in excel
Creating graphs in excel
 
Creating & Editing Charts In Microsoft Excel 2003
Creating & Editing Charts In Microsoft Excel 2003Creating & Editing Charts In Microsoft Excel 2003
Creating & Editing Charts In Microsoft Excel 2003
 
SAP Lumira - Acquiring data
SAP Lumira - Acquiring dataSAP Lumira - Acquiring data
SAP Lumira - Acquiring data
 
SAP Lumira - Enriching data
SAP Lumira - Enriching dataSAP Lumira - Enriching data
SAP Lumira - Enriching data
 
SAP Lumira - Building visualizations
SAP Lumira - Building visualizationsSAP Lumira - Building visualizations
SAP Lumira - Building visualizations
 
Working with charts in word 2003
Working with charts in word 2003Working with charts in word 2003
Working with charts in word 2003
 
Charts and pivot tables
Charts and pivot tablesCharts and pivot tables
Charts and pivot tables
 
Making a Chart Using Excel
Making a Chart Using ExcelMaking a Chart Using Excel
Making a Chart Using Excel
 
MS Excel - Charts
MS Excel - ChartsMS Excel - Charts
MS Excel - Charts
 
Power ups filter a slicer
Power ups filter a slicerPower ups filter a slicer
Power ups filter a slicer
 
Chart Components
Chart ComponentsChart Components
Chart Components
 
Using Charts in Word
Using Charts in WordUsing Charts in Word
Using Charts in Word
 
Witing de materials
Witing de materialsWiting de materials
Witing de materials
 
Creating Chart
Creating ChartCreating Chart
Creating Chart
 
SMT Corp Preso - Widescreen (White Bg)
SMT Corp Preso - Widescreen (White Bg)SMT Corp Preso - Widescreen (White Bg)
SMT Corp Preso - Widescreen (White Bg)
 
Excel to excel
Excel to excelExcel to excel
Excel to excel
 
How to Insert a Graph Into Microsoft Excel 2007
How to Insert a Graph Into Microsoft Excel 2007How to Insert a Graph Into Microsoft Excel 2007
How to Insert a Graph Into Microsoft Excel 2007
 
Working with Pivot Tables
Working with Pivot TablesWorking with Pivot Tables
Working with Pivot Tables
 
What's new in Calc and Chart
What's new in Calc and ChartWhat's new in Calc and Chart
What's new in Calc and Chart
 

Viewers also liked

02 access howtobasicforms
02 access howtobasicforms02 access howtobasicforms
02 access howtobasicformsRebecca Jones
 
05 access howtolookupselect
05 access howtolookupselect05 access howtolookupselect
05 access howtolookupselectRebecca Jones
 
03 access howtofrmmaster
03 access howtofrmmaster03 access howtofrmmaster
03 access howtofrmmasterRebecca Jones
 
04 access howtobuttons
04 access howtobuttons04 access howtobuttons
04 access howtobuttonsRebecca Jones
 
08 benefits of e-commerce
08 benefits of e-commerce08 benefits of e-commerce
08 benefits of e-commerceRebecca Jones
 

Viewers also liked (7)

02 access howtobasicforms
02 access howtobasicforms02 access howtobasicforms
02 access howtobasicforms
 
05 access howtolookupselect
05 access howtolookupselect05 access howtolookupselect
05 access howtolookupselect
 
03 access howtofrmmaster
03 access howtofrmmaster03 access howtofrmmaster
03 access howtofrmmaster
 
04 access howtobuttons
04 access howtobuttons04 access howtobuttons
04 access howtobuttons
 
6
66
6
 
08 benefits of e-commerce
08 benefits of e-commerce08 benefits of e-commerce
08 benefits of e-commerce
 
Ecommerce Security
Ecommerce SecurityEcommerce Security
Ecommerce Security
 

Similar to 7

Access Chapter 02
Access Chapter 02Access Chapter 02
Access Chapter 02xtin101
 
Access Chapter 02
Access Chapter 02Access Chapter 02
Access Chapter 02jgardne4
 
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...Srinath Reddy
 
Getting started with Tableau
Getting started with TableauGetting started with Tableau
Getting started with TableauParth Acharya
 
Advance Microsoft Office Excel Course.pptx
Advance Microsoft Office Excel Course.pptxAdvance Microsoft Office Excel Course.pptx
Advance Microsoft Office Excel Course.pptxssuserc9f959
 
5.1 Creating a Form Using AutoForm
5.1 Creating a Form Using AutoForm5.1 Creating a Form Using AutoForm
5.1 Creating a Form Using AutoFormPyi Soe
 
5 Designing Form
5 Designing Form5 Designing Form
5 Designing FormPyi Soe
 
Microsoft access exercises
Microsoft access exercisesMicrosoft access exercises
Microsoft access exercisessarahandaiza
 
Access essential training framework
Access essential training   frameworkAccess essential training   framework
Access essential training frameworkVijay Perepa
 
Access 2013 Unit B
Access 2013 Unit BAccess 2013 Unit B
Access 2013 Unit Bjarana00
 
Class viii ch-4 working with queries
Class  viii ch-4 working with queriesClass  viii ch-4 working with queries
Class viii ch-4 working with queriesjessandy
 
Database as information system
Database as information systemDatabase as information system
Database as information systemKAZEMBETVOnline
 
Access2013 ch03
Access2013 ch03Access2013 ch03
Access2013 ch03xtin101
 
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced features
Learning Tableau -  Data, Graphs, Filters, Dashboards and Advanced featuresLearning Tableau -  Data, Graphs, Filters, Dashboards and Advanced features
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced featuresVenkata Reddy Konasani
 
Getting Started with MS Access and Pivot Tables
Getting Started with MS Access and Pivot TablesGetting Started with MS Access and Pivot Tables
Getting Started with MS Access and Pivot TablesParth Acharya
 

Similar to 7 (20)

Access Chapter 02
Access Chapter 02Access Chapter 02
Access Chapter 02
 
Access Chapter 02
Access Chapter 02Access Chapter 02
Access Chapter 02
 
Access 03
Access 03Access 03
Access 03
 
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
Tableau - Learning Objectives for Data, Graphs, Filters, Dashboards and Advan...
 
Getting started with Tableau
Getting started with TableauGetting started with Tableau
Getting started with Tableau
 
06 Excel.pdf
06 Excel.pdf06 Excel.pdf
06 Excel.pdf
 
Advance Microsoft Office Excel Course.pptx
Advance Microsoft Office Excel Course.pptxAdvance Microsoft Office Excel Course.pptx
Advance Microsoft Office Excel Course.pptx
 
5.1 Creating a Form Using AutoForm
5.1 Creating a Form Using AutoForm5.1 Creating a Form Using AutoForm
5.1 Creating a Form Using AutoForm
 
5 Designing Form
5 Designing Form5 Designing Form
5 Designing Form
 
Microsoft access exercises
Microsoft access exercisesMicrosoft access exercises
Microsoft access exercises
 
Access essential training framework
Access essential training   frameworkAccess essential training   framework
Access essential training framework
 
Access 2013 Unit B
Access 2013 Unit BAccess 2013 Unit B
Access 2013 Unit B
 
MS ACCESS PPT.pptx
MS ACCESS PPT.pptxMS ACCESS PPT.pptx
MS ACCESS PPT.pptx
 
Class viii ch-4 working with queries
Class  viii ch-4 working with queriesClass  viii ch-4 working with queries
Class viii ch-4 working with queries
 
Access2013 ch05
Access2013 ch05Access2013 ch05
Access2013 ch05
 
Database as information system
Database as information systemDatabase as information system
Database as information system
 
Tableau Prep.pptx
Tableau Prep.pptxTableau Prep.pptx
Tableau Prep.pptx
 
Access2013 ch03
Access2013 ch03Access2013 ch03
Access2013 ch03
 
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced features
Learning Tableau -  Data, Graphs, Filters, Dashboards and Advanced featuresLearning Tableau -  Data, Graphs, Filters, Dashboards and Advanced features
Learning Tableau - Data, Graphs, Filters, Dashboards and Advanced features
 
Getting Started with MS Access and Pivot Tables
Getting Started with MS Access and Pivot TablesGetting Started with MS Access and Pivot Tables
Getting Started with MS Access and Pivot Tables
 

Recently uploaded

Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 

Recently uploaded (20)

Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 

7

  • 1. MS Access How To: Basic Queries Unit 18 Database Design Extended Diploma in ICT
  • 2. Purpose • Queries are used to extract data from the database • They can get data from multiple tables • They use the relationships to work out what data goes with what • Forms and reports can be based off queries so that the data is presented in a usable format • Queries can perform calculations
  • 3. Design view • Click on Query Design in the Create tab
  • 4. Design view • The Show Table dialogue box is open • A grid is shown for entering the fields you will recover data from
  • 5. Query to show what has been rented and by whom • This data will come from the Customer table and the Costume table • These are not directly connected • We will need the Rental table as well • Add these three tables by clicking Add on the Show Table dialogue box
  • 6. Add tables to the query • Click Add to add the required tables
  • 7. Query design • Close the Show Table (you can open it again by right clicking) • The three tables and their relationships are shown
  • 8. Adding fields to the query • Either drag the field name from the table into the Field row • Or use the drop downs in the table and the field to select the field
  • 9. Adding fields • Add the CostumeType, FirstName, LastName, StartDate and EndDate
  • 10. Run the query • Click on the Run symbol in the Design tab of Query Tools • The results are shown
  • 11. Using criteria • To add permanent criteria, type it into the criteria row for the relevant field
  • 12. To get user input for criteria (parameter query) • Type your question into the criteria row for the relevant field and enclose it in square brackets A prompt appears when you run the query The results appear when the you click OK