SlideShare a Scribd company logo
1 of 46
Download to read offline
MODULE 3
QUERIES
ALEXANDER BABICH
ALEXANDER.TAURUS@GMAIL.COM
MODULE OVERVIEW
• Concepts related to queries.Visual query building tools
• Query Designer. Data selection conditions
• Create calculated fields. Using the Expression Builder
• Query with group operations
• Create a table with a query. Update data. Put a new data
• Data deletion. Crosstab queries
LESSON 1: SIMPLE QUERIES
• Concepts related to queries.Visual query building
tools
• Query Designer. Data selection conditions
• Create calculated fields. Using the Expression
Builder
QUERIES
• A tools to get answers to
questions
• selection of certain records
from the database
• update tables
• inclusion of new records
• The concept of the same
order as the filters
QUERYWIZARD
Simple Query Wizard
QUERYWIZARD
QUERYWIZARD
QUERYWIZARD
QUERYWIZARD
QUERY DESIGNER
QUERY DESIGNER
SELECTION CRITERIA
boolean expression
• >30
• =‘Smith‘,‘Smith’
• =10, 10
• Like [prompt]
• Or, And
• Between, Is, In
CALCULATED FIELDS
Fields that are the result of calculations over the values of
other fields
SHIFT+F2
EXPRESSION BUILDER
Ability to search and
insert expression
components
• Identifiers
• Field names
• Spreadsheets
• Form
• Requests
• Function Names and
Arguments
• Can be used in tables,
forms, reports, queries
EXERCISE
1. Supplement your database
with relevant queries
2. Use selection criteria and
calculated fields
LESSON 2: MORE COMPLEX
QUERIES
• Query with group operations
• Create a table with a query. Update data.
Put a new data
• Data deletion. Crosstab queries
TYPES OF QUERIES
• Select query
• extract information from one or several tables, forming
a temporary table on their basis
• Change query
• creating new tables or making changes to existing ones
• Crosstab query
• summarize data from one or more related tables and
form a new table
• Query with parameter
• Actually are not separate requests.
• SQL query
GROUPINGS IN QUERIES
• ‘Totals’ button
• a line with the name ‘Total’, for each field in which
the value Group By is specified
QUERYTO CREATE A TABLE
• In design mode, it is no different from a select query
• If ‘Show’ is unchecked for any field, then the field will not
appear in the table being created
• INTO clause at the end of a SELECT statement
QUERYTO CREATE A TABLE
UPDATE (CHANGE) QUERY
To make changes to a group of records of one or more tables
in one operation
UPDATE (CHANGE) QUERY
ADD (CHANGE) QUERY
• Copying records from one table to another
• Adding records from different tables
• Adding records containing calculated fields
• Copy temporary dataset to target table
• Adding records to a table in an external
(temporary) database
ADD (CHANGE) QUERY
DELETE (CHANGE) QUERY
• Query to delete all records from the table
(clearing the table)
• Query for deletion with a limit on the number of
records to be deleted
• Delete query using external table join
DELETE (CHANGE) QUERY
• First you need to create a copy of the table.
• select ‘Copy’ from the context menu
(or from ribbon, or just CTRL+C)
• Paste (CTRL+V)
• Structure Only – empty table
• Structure and Data – same dataset
• Append Data to ExistingTable
DELETE (CHANGE) QUERY
DELETE (CHANGE) QUERY
Query to delete all records from the table (clearing the table)
DELETE * FROM [...];
QUERYWITH A LIMIT ONTHE NUMBER
OF RECORDSTO BE DELETED
DELETE QUERY USING EXTERNAL
TABLE JOIN
CROSSTAB QUERY
• For in-depth analysis of the information stored in the
tables
• Very similar to the pivot table
CROSSTAB QUERY
TEST QUESTION
When you first create a query, you select which of the following?
(Pick one answer)
1. A record source
2. A system table
3. A record set
TEST QUESTION
The record source can be a combination of tables and
queries
When you first create a query, you select which of the following?
Answer:
1. A record source
TEST QUESTION
Use criteria in a query when you need to do which of the following?
(Pick one answer)
1. Ensure your data is properly formatted
2. Add formulas to a table
3. Sort, filter, or otherwise limit what the query returns
TEST QUESTION
Criteria can be quite powerful, too. For example, you can use
criteria to find records for people who live in a given city and
have birthdays that fall between dates that you specify
Use criteria in a query when you need to do which of the following?
Answer:
3. Sort, filter, or otherwise limit what the query returns
TEST QUESTION
Before you can use multiple tables as a record source,
those tables must: (Pick one answer)
1. Be open in Datasheet view
2. Participate in a relationship
3. Not serve as the record source for another query
TEST QUESTION
If the tables don’t participate in a relationship, the query
returns all the data in each table, and the results are almost
always meaningless
Before you can use multiple tables as a record source, those tables
must:
Answer:
2. Participate in a relationship
TEST QUESTION
An expression is: (Pick one answer)
1. A formula stored in one or more database tables
2. A formula that just calculates dates
3. An object that can perform calculations and other tasks
such as data validation
TEST QUESTION
This course has shown you a couple of ways to use expressions.
The Quick Reference Card that’s linked to at the end points you
to a lot more information about them
An expression is:
Answer:
3. An object that can perform calculations and other
tasks such as data validation
TEST QUESTION
This module has taught you everything you need to know about
queries (Pick one answer)
1. True
2. False
TEST QUESTION
This module has taught you everything you need to know about
queries
Answer:
2. False
EXERCISE
Supplement your database with
suitable queries of different
types
BOTTOM LINE
• The concepts of queries.Visual query building tools
• Query Builder.Writing data selection conditions
• Creating Calculated Fields. Using Expression Builder
• Select query with group operations
• Create table with query. Update query. Add query
• Delete query. Crosstab query
QUESTIONS?
SELF-TEST
• What types of queries you can use in Access?
• What are calculated fields and how are they
created?
• How do different types of requests differ from
each other?
• What is the use of crosstab queries?

More Related Content

What's hot

Class viii ch-3 working with tables
Class  viii ch-3 working with tablesClass  viii ch-3 working with tables
Class viii ch-3 working with tablesjessandy
 
Overview spss instructor
Overview spss instructorOverview spss instructor
Overview spss instructoraswhite
 
Devry bis 155 week 1 quiz new
Devry bis 155 week 1 quiz newDevry bis 155 week 1 quiz new
Devry bis 155 week 1 quiz newuopassignment
 
Microsoft Forms Survey Data Feb 2021
Microsoft Forms Survey Data Feb 2021Microsoft Forms Survey Data Feb 2021
Microsoft Forms Survey Data Feb 2021Adhi Wikantyoso
 
Excel formulas-manual
Excel formulas-manualExcel formulas-manual
Excel formulas-manualsrv1972
 
Libre Office Calc Lesson 4: Understanding Functions
Libre Office Calc Lesson 4: Understanding FunctionsLibre Office Calc Lesson 4: Understanding Functions
Libre Office Calc Lesson 4: Understanding FunctionsSmart Chicago Collaborative
 
Libre Office Calc Lesson 1: Introduction to spreadsheets
Libre Office Calc Lesson 1: Introduction to spreadsheetsLibre Office Calc Lesson 1: Introduction to spreadsheets
Libre Office Calc Lesson 1: Introduction to spreadsheetsSmart Chicago Collaborative
 
Psyc 355 Exceptional Education / snaptutorial.com
Psyc 355 Exceptional Education / snaptutorial.comPsyc 355 Exceptional Education / snaptutorial.com
Psyc 355 Exceptional Education / snaptutorial.comBaileya73
 
Psyc 355 Enhance teaching-snaptutorial.com
Psyc 355 Enhance teaching-snaptutorial.comPsyc 355 Enhance teaching-snaptutorial.com
Psyc 355 Enhance teaching-snaptutorial.comrobertleew40
 
Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...
Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...
Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...Shalin Hai-Jew
 
Spss data capturing training
Spss data capturing trainingSpss data capturing training
Spss data capturing trainingMarotaAphane
 

What's hot (20)

Access.05
Access.05Access.05
Access.05
 
Class viii ch-3 working with tables
Class  viii ch-3 working with tablesClass  viii ch-3 working with tables
Class viii ch-3 working with tables
 
Data Validation
Data ValidationData Validation
Data Validation
 
Overview spss instructor
Overview spss instructorOverview spss instructor
Overview spss instructor
 
Devry bis 155 week 1 quiz new
Devry bis 155 week 1 quiz newDevry bis 155 week 1 quiz new
Devry bis 155 week 1 quiz new
 
Views, Triggers, Functions, Stored Procedures, Indexing and Joins
Views, Triggers, Functions, Stored Procedures,  Indexing and JoinsViews, Triggers, Functions, Stored Procedures,  Indexing and Joins
Views, Triggers, Functions, Stored Procedures, Indexing and Joins
 
Microsoft Forms Survey Data Feb 2021
Microsoft Forms Survey Data Feb 2021Microsoft Forms Survey Data Feb 2021
Microsoft Forms Survey Data Feb 2021
 
Advanced Excel, Day 1
Advanced Excel, Day 1Advanced Excel, Day 1
Advanced Excel, Day 1
 
Spss
SpssSpss
Spss
 
Excel formulas-manual
Excel formulas-manualExcel formulas-manual
Excel formulas-manual
 
Libre Office Calc Lesson 4: Understanding Functions
Libre Office Calc Lesson 4: Understanding FunctionsLibre Office Calc Lesson 4: Understanding Functions
Libre Office Calc Lesson 4: Understanding Functions
 
Libre Office Calc Lesson 1: Introduction to spreadsheets
Libre Office Calc Lesson 1: Introduction to spreadsheetsLibre Office Calc Lesson 1: Introduction to spreadsheets
Libre Office Calc Lesson 1: Introduction to spreadsheets
 
Excel.01
Excel.01Excel.01
Excel.01
 
microsoft excel.01
microsoft excel.01microsoft excel.01
microsoft excel.01
 
Introduction to epi data
Introduction to epi dataIntroduction to epi data
Introduction to epi data
 
Psyc 355 Exceptional Education / snaptutorial.com
Psyc 355 Exceptional Education / snaptutorial.comPsyc 355 Exceptional Education / snaptutorial.com
Psyc 355 Exceptional Education / snaptutorial.com
 
Psyc 355 Enhance teaching-snaptutorial.com
Psyc 355 Enhance teaching-snaptutorial.comPsyc 355 Enhance teaching-snaptutorial.com
Psyc 355 Enhance teaching-snaptutorial.com
 
Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...
Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...
Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...
 
Introduction to Excel
Introduction to ExcelIntroduction to Excel
Introduction to Excel
 
Spss data capturing training
Spss data capturing trainingSpss data capturing training
Spss data capturing training
 

Similar to Access 03

02 database oprimization - improving sql performance - ent-db
02  database oprimization - improving sql performance - ent-db02  database oprimization - improving sql performance - ent-db
02 database oprimization - improving sql performance - ent-dbuncleRhyme
 
Access essential training framework
Access essential training   frameworkAccess essential training   framework
Access essential training frameworkVijay Perepa
 
ITT PROJECT ON CREATE QUERY(QUERY-SELECT WITH CONDITION, MAKE A TABLE,APPEND,...
ITT PROJECT ON CREATE QUERY(QUERY-SELECT WITH CONDITION, MAKE A TABLE,APPEND,...ITT PROJECT ON CREATE QUERY(QUERY-SELECT WITH CONDITION, MAKE A TABLE,APPEND,...
ITT PROJECT ON CREATE QUERY(QUERY-SELECT WITH CONDITION, MAKE A TABLE,APPEND,...Alok Mishra
 
MS Access Ch 2 PPT
MS Access Ch 2 PPTMS Access Ch 2 PPT
MS Access Ch 2 PPTprsmith72
 
Tech Jam 01 - Database Querying
Tech Jam 01 - Database QueryingTech Jam 01 - Database Querying
Tech Jam 01 - Database QueryingRodger Oates
 
Access 2013 Unit B
Access 2013 Unit BAccess 2013 Unit B
Access 2013 Unit Bjarana00
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic ConceptsTony Wong
 
1 Week 6 - What Well Be Working On This Week In th.docx
1 Week 6 - What Well Be Working On This Week  In th.docx1 Week 6 - What Well Be Working On This Week  In th.docx
1 Week 6 - What Well Be Working On This Week In th.docxdorishigh
 
Access Chapter 02
Access Chapter 02Access Chapter 02
Access Chapter 02xtin101
 
Introduction to MySQL Query Tuning for Dev[Op]s
Introduction to MySQL Query Tuning for Dev[Op]sIntroduction to MySQL Query Tuning for Dev[Op]s
Introduction to MySQL Query Tuning for Dev[Op]sSveta Smirnova
 
•Design (create) 3 questions for a quiz show game and design regular.pdf
•Design (create) 3 questions for a quiz show game and design regular.pdf•Design (create) 3 questions for a quiz show game and design regular.pdf
•Design (create) 3 questions for a quiz show game and design regular.pdfjyothimuppasani1
 

Similar to Access 03 (20)

Module 3 design and implementing tables
Module 3 design and implementing tablesModule 3 design and implementing tables
Module 3 design and implementing tables
 
06 Excel.pdf
06 Excel.pdf06 Excel.pdf
06 Excel.pdf
 
Access 05
Access 05Access 05
Access 05
 
02 database oprimization - improving sql performance - ent-db
02  database oprimization - improving sql performance - ent-db02  database oprimization - improving sql performance - ent-db
02 database oprimization - improving sql performance - ent-db
 
SQL_Part1
SQL_Part1SQL_Part1
SQL_Part1
 
Access essential training framework
Access essential training   frameworkAccess essential training   framework
Access essential training framework
 
ITT PROJECT ON CREATE QUERY(QUERY-SELECT WITH CONDITION, MAKE A TABLE,APPEND,...
ITT PROJECT ON CREATE QUERY(QUERY-SELECT WITH CONDITION, MAKE A TABLE,APPEND,...ITT PROJECT ON CREATE QUERY(QUERY-SELECT WITH CONDITION, MAKE A TABLE,APPEND,...
ITT PROJECT ON CREATE QUERY(QUERY-SELECT WITH CONDITION, MAKE A TABLE,APPEND,...
 
Access2013 ch10
Access2013 ch10Access2013 ch10
Access2013 ch10
 
SQL Views
SQL ViewsSQL Views
SQL Views
 
Access 01
Access 01Access 01
Access 01
 
7
77
7
 
MS Access Ch 2 PPT
MS Access Ch 2 PPTMS Access Ch 2 PPT
MS Access Ch 2 PPT
 
Tech Jam 01 - Database Querying
Tech Jam 01 - Database QueryingTech Jam 01 - Database Querying
Tech Jam 01 - Database Querying
 
Access 2013 Unit B
Access 2013 Unit BAccess 2013 Unit B
Access 2013 Unit B
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic Concepts
 
1 Week 6 - What Well Be Working On This Week In th.docx
1 Week 6 - What Well Be Working On This Week  In th.docx1 Week 6 - What Well Be Working On This Week  In th.docx
1 Week 6 - What Well Be Working On This Week In th.docx
 
Access Chapter 02
Access Chapter 02Access Chapter 02
Access Chapter 02
 
Optimizing MySQL queries
Optimizing MySQL queriesOptimizing MySQL queries
Optimizing MySQL queries
 
Introduction to MySQL Query Tuning for Dev[Op]s
Introduction to MySQL Query Tuning for Dev[Op]sIntroduction to MySQL Query Tuning for Dev[Op]s
Introduction to MySQL Query Tuning for Dev[Op]s
 
•Design (create) 3 questions for a quiz show game and design regular.pdf
•Design (create) 3 questions for a quiz show game and design regular.pdf•Design (create) 3 questions for a quiz show game and design regular.pdf
•Design (create) 3 questions for a quiz show game and design regular.pdf
 

More from Alexander Babich

Актуальні курси з мого арсеналу (Бабич О.В.)
Актуальні курси з мого арсеналу (Бабич О.В.)Актуальні курси з мого арсеналу (Бабич О.В.)
Актуальні курси з мого арсеналу (Бабич О.В.)Alexander Babich
 
M365: Word, Excel, PowerPoint...
M365: Word, Excel, PowerPoint...M365: Word, Excel, PowerPoint...
M365: Word, Excel, PowerPoint...Alexander Babich
 
M365: Інші сервіси та застосунки
M365: Інші сервіси та застосункиM365: Інші сервіси та застосунки
M365: Інші сервіси та застосункиAlexander Babich
 
M365: Завершення
M365: ЗавершенняM365: Завершення
M365: ЗавершенняAlexander Babich
 
M365: рекомендації
M365: рекомендаціїM365: рекомендації
M365: рекомендаціїAlexander Babich
 
M365: Огляд платформи Microsoft365
M365: Огляд платформи Microsoft365M365: Огляд платформи Microsoft365
M365: Огляд платформи Microsoft365Alexander Babich
 
M365: Роздаткові матеріали
M365: Роздаткові матеріалиM365: Роздаткові матеріали
M365: Роздаткові матеріалиAlexander Babich
 
Meet&Code - VR, метавсесвіт та криптовалюти (1).pptx
Meet&Code - VR, метавсесвіт та криптовалюти (1).pptxMeet&Code - VR, метавсесвіт та криптовалюти (1).pptx
Meet&Code - VR, метавсесвіт та криптовалюти (1).pptxAlexander Babich
 
Ви обрали професію програміста
Ви обрали професію програмістаВи обрали професію програміста
Ви обрали професію програмістаAlexander Babich
 
Змішане навчання в ППФК
Змішане навчання в ППФКЗмішане навчання в ППФК
Змішане навчання в ППФКAlexander Babich
 
Формування професійних інтересів студентів
Формування професійних інтересів студентівФормування професійних інтересів студентів
Формування професійних інтересів студентівAlexander Babich
 
День відкритих дверей' 2021
День відкритих дверей' 2021День відкритих дверей' 2021
День відкритих дверей' 2021Alexander Babich
 
06. Обучение и сертификация по Azure
06. Обучение и сертификация по Azure06. Обучение и сертификация по Azure
06. Обучение и сертификация по AzureAlexander Babich
 
05.Внедрение Azure
05.Внедрение Azure05.Внедрение Azure
05.Внедрение AzureAlexander Babich
 
04.Службы Azure - подробнее
04.Службы Azure - подробнее04.Службы Azure - подробнее
04.Службы Azure - подробнееAlexander Babich
 
03.Сколько стоит облако
03.Сколько стоит облако03.Сколько стоит облако
03.Сколько стоит облакоAlexander Babich
 

More from Alexander Babich (20)

Актуальні курси з мого арсеналу (Бабич О.В.)
Актуальні курси з мого арсеналу (Бабич О.В.)Актуальні курси з мого арсеналу (Бабич О.В.)
Актуальні курси з мого арсеналу (Бабич О.В.)
 
M365: Word, Excel, PowerPoint...
M365: Word, Excel, PowerPoint...M365: Word, Excel, PowerPoint...
M365: Word, Excel, PowerPoint...
 
M365: Інші сервіси та застосунки
M365: Інші сервіси та застосункиM365: Інші сервіси та застосунки
M365: Інші сервіси та застосунки
 
M365: OneDrive
M365: OneDriveM365: OneDrive
M365: OneDrive
 
M365: Завершення
M365: ЗавершенняM365: Завершення
M365: Завершення
 
M365: SharePoint
M365: SharePointM365: SharePoint
M365: SharePoint
 
M365: рекомендації
M365: рекомендаціїM365: рекомендації
M365: рекомендації
 
M365: Огляд платформи Microsoft365
M365: Огляд платформи Microsoft365M365: Огляд платформи Microsoft365
M365: Огляд платформи Microsoft365
 
M365: Вступ
M365: ВступM365: Вступ
M365: Вступ
 
M365: Роздаткові матеріали
M365: Роздаткові матеріалиM365: Роздаткові матеріали
M365: Роздаткові матеріали
 
Meet&Code - VR, метавсесвіт та криптовалюти (1).pptx
Meet&Code - VR, метавсесвіт та криптовалюти (1).pptxMeet&Code - VR, метавсесвіт та криптовалюти (1).pptx
Meet&Code - VR, метавсесвіт та криптовалюти (1).pptx
 
Ви обрали професію програміста
Ви обрали професію програмістаВи обрали професію програміста
Ви обрали професію програміста
 
Змішане навчання в ППФК
Змішане навчання в ППФКЗмішане навчання в ППФК
Змішане навчання в ППФК
 
Формування професійних інтересів студентів
Формування професійних інтересів студентівФормування професійних інтересів студентів
Формування професійних інтересів студентів
 
День відкритих дверей' 2021
День відкритих дверей' 2021День відкритих дверей' 2021
День відкритих дверей' 2021
 
Спробуйте Python
Спробуйте PythonСпробуйте Python
Спробуйте Python
 
06. Обучение и сертификация по Azure
06. Обучение и сертификация по Azure06. Обучение и сертификация по Azure
06. Обучение и сертификация по Azure
 
05.Внедрение Azure
05.Внедрение Azure05.Внедрение Azure
05.Внедрение Azure
 
04.Службы Azure - подробнее
04.Службы Azure - подробнее04.Службы Azure - подробнее
04.Службы Azure - подробнее
 
03.Сколько стоит облако
03.Сколько стоит облако03.Сколько стоит облако
03.Сколько стоит облако
 

Recently uploaded

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
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
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
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
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 

Recently uploaded (20)

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.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🔝
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
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
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
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
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 

Access 03

  • 2. MODULE OVERVIEW • Concepts related to queries.Visual query building tools • Query Designer. Data selection conditions • Create calculated fields. Using the Expression Builder • Query with group operations • Create a table with a query. Update data. Put a new data • Data deletion. Crosstab queries
  • 3. LESSON 1: SIMPLE QUERIES • Concepts related to queries.Visual query building tools • Query Designer. Data selection conditions • Create calculated fields. Using the Expression Builder
  • 4. QUERIES • A tools to get answers to questions • selection of certain records from the database • update tables • inclusion of new records • The concept of the same order as the filters
  • 12. SELECTION CRITERIA boolean expression • >30 • =‘Smith‘,‘Smith’ • =10, 10 • Like [prompt] • Or, And • Between, Is, In
  • 13. CALCULATED FIELDS Fields that are the result of calculations over the values of other fields SHIFT+F2
  • 14. EXPRESSION BUILDER Ability to search and insert expression components • Identifiers • Field names • Spreadsheets • Form • Requests • Function Names and Arguments • Can be used in tables, forms, reports, queries
  • 15. EXERCISE 1. Supplement your database with relevant queries 2. Use selection criteria and calculated fields
  • 16. LESSON 2: MORE COMPLEX QUERIES • Query with group operations • Create a table with a query. Update data. Put a new data • Data deletion. Crosstab queries
  • 17. TYPES OF QUERIES • Select query • extract information from one or several tables, forming a temporary table on their basis • Change query • creating new tables or making changes to existing ones • Crosstab query • summarize data from one or more related tables and form a new table • Query with parameter • Actually are not separate requests. • SQL query
  • 18. GROUPINGS IN QUERIES • ‘Totals’ button • a line with the name ‘Total’, for each field in which the value Group By is specified
  • 19. QUERYTO CREATE A TABLE • In design mode, it is no different from a select query • If ‘Show’ is unchecked for any field, then the field will not appear in the table being created • INTO clause at the end of a SELECT statement
  • 21. UPDATE (CHANGE) QUERY To make changes to a group of records of one or more tables in one operation
  • 23. ADD (CHANGE) QUERY • Copying records from one table to another • Adding records from different tables • Adding records containing calculated fields • Copy temporary dataset to target table • Adding records to a table in an external (temporary) database
  • 25. DELETE (CHANGE) QUERY • Query to delete all records from the table (clearing the table) • Query for deletion with a limit on the number of records to be deleted • Delete query using external table join
  • 26. DELETE (CHANGE) QUERY • First you need to create a copy of the table. • select ‘Copy’ from the context menu (or from ribbon, or just CTRL+C) • Paste (CTRL+V) • Structure Only – empty table • Structure and Data – same dataset • Append Data to ExistingTable
  • 28. DELETE (CHANGE) QUERY Query to delete all records from the table (clearing the table) DELETE * FROM [...];
  • 29. QUERYWITH A LIMIT ONTHE NUMBER OF RECORDSTO BE DELETED
  • 30. DELETE QUERY USING EXTERNAL TABLE JOIN
  • 31. CROSSTAB QUERY • For in-depth analysis of the information stored in the tables • Very similar to the pivot table
  • 33. TEST QUESTION When you first create a query, you select which of the following? (Pick one answer) 1. A record source 2. A system table 3. A record set
  • 34. TEST QUESTION The record source can be a combination of tables and queries When you first create a query, you select which of the following? Answer: 1. A record source
  • 35. TEST QUESTION Use criteria in a query when you need to do which of the following? (Pick one answer) 1. Ensure your data is properly formatted 2. Add formulas to a table 3. Sort, filter, or otherwise limit what the query returns
  • 36. TEST QUESTION Criteria can be quite powerful, too. For example, you can use criteria to find records for people who live in a given city and have birthdays that fall between dates that you specify Use criteria in a query when you need to do which of the following? Answer: 3. Sort, filter, or otherwise limit what the query returns
  • 37. TEST QUESTION Before you can use multiple tables as a record source, those tables must: (Pick one answer) 1. Be open in Datasheet view 2. Participate in a relationship 3. Not serve as the record source for another query
  • 38. TEST QUESTION If the tables don’t participate in a relationship, the query returns all the data in each table, and the results are almost always meaningless Before you can use multiple tables as a record source, those tables must: Answer: 2. Participate in a relationship
  • 39. TEST QUESTION An expression is: (Pick one answer) 1. A formula stored in one or more database tables 2. A formula that just calculates dates 3. An object that can perform calculations and other tasks such as data validation
  • 40. TEST QUESTION This course has shown you a couple of ways to use expressions. The Quick Reference Card that’s linked to at the end points you to a lot more information about them An expression is: Answer: 3. An object that can perform calculations and other tasks such as data validation
  • 41. TEST QUESTION This module has taught you everything you need to know about queries (Pick one answer) 1. True 2. False
  • 42. TEST QUESTION This module has taught you everything you need to know about queries Answer: 2. False
  • 43. EXERCISE Supplement your database with suitable queries of different types
  • 44. BOTTOM LINE • The concepts of queries.Visual query building tools • Query Builder.Writing data selection conditions • Creating Calculated Fields. Using Expression Builder • Select query with group operations • Create table with query. Update query. Add query • Delete query. Crosstab query
  • 46. SELF-TEST • What types of queries you can use in Access? • What are calculated fields and how are they created? • How do different types of requests differ from each other? • What is the use of crosstab queries?