0% found this document useful (0 votes)
68 views22 pages

Review For

This document provides instructions for completing several MS Access exercises: 1. Create a database and tables with the appropriate fields and relationships between tables. 2. Write queries to list book details based on criteria like publication year ranges and containing specific words, and to count the number of book items by publisher. 3. Write a query to list customer details by entering the first letter of their name.

Uploaded by

Na Vi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views22 pages

Review For

This document provides instructions for completing several MS Access exercises: 1. Create a database and tables with the appropriate fields and relationships between tables. 2. Write queries to list book details based on criteria like publication year ranges and containing specific words, and to count the number of book items by publisher. 3. Write a query to list customer details by entering the first letter of their name.

Uploaded by

Na Vi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Business Computing Skills Saturday, April 2nd,2022

REVIEW FOR

MID-TERM
SOLUTION
FOR
REVIEW
MS ACCESS EXERCISES
a. Creat a new database and save it looks like
sample
Step 1: Open Access -> Blank database -> Set up
name of your access with form
[StudentFirstNameLastName_StudentID.accdb
-> Create
Step 2: Choose Table fields -> View -> Design view
-> Rename with required names -> OK
Step 3: Fill in the given information -> Save
Step 4: For next table, Create -> Table and do other
similar steps.
Solution:
Solution:
MS ACCESS EXERCISES
b. Creat the relationship between 3
tables.

1 Choose Database Tools -> Relationship

At Add Table, select 4 tables -> Selected


2 Tables.

Creat the relationship between tables by


3
the join lines -> Save

Note: Consider the join direction that


will affect to which information your
query retrieves
c.List the ISBN, title, author, year of publication and quantity on hand of all books published since 1994 and number of items
in the storage between 15 and 25.

Step-by step
Step 1: Create -> Query
Step 2: At Add Tables Box
, choose the
table that is required (Boo
ks)
Step 3: Add fields and crite
ria
Criteria: >=1994 for year a
nd Between
15 and 25 for Qty_On_Han
d
Step 4: Click Run to get th
e results and
Save it.
c.List the ISBN, title, author, year of publication and quantity on hand of all books published since 1994 and number of items in
the storage between 15 and 25.
d.List the ISBN, title, year of publication, publisher code and publisher name of all books contains the word “Business”
published before 1992 or contains the word “Database” published after 1992.

Step-by step
Practice this task
similar to task c.
To filter all book
s containing
"Business", you u
se Like"*Busines
The criteria for b s*".
ooks published b
1992 is <1992. e f or e
Similar, for anoth
er situation, all b
contain "Databas ooks
e", you use
Like"*Database*".
The criteria for b
ooks published a
1992 is >1992. f te r
Then, Runt it to g
et the result and
s a ve
d.List the ISBN, title, year of publication, publisher code and publisher name of all books contains the word “Business”
published before 1992 or contains the word “Database” published after 1992.
e. For all publishers in which we have book items, list the code, name of the publisher and the number different of book
items published by that publisher

Step-by step

Practice this task similar to task c.


- Firstly, Creat a query. Next, choose
tables and set the field.
- Next, to get the number different of
book items published by that
publisher, we click Total in Toolbar.
After that, change Total of the column
from Group By to Count
- Finally, Run it and Save this Query.
e. For all publishers in which we have book items, list the code, name of the publisher and the number different of book
items published by that publisher
f. List all details of all customers by entering a first letter of their name (i.e., enter D to display Dwight Cole).

Step-by step
P r a c tic e th is
ta s k s i m i l a r
- T o lis t a ll d to t a s k c .
e t a i l s o f a ll c
e n te r in g , y o u s to m e r s b y
u s h o u ld f i l l
C u s t_ N a m e th e c r i te r i a
by of
L i k e [E n t e r
t h e f i r s t l e tt
Then, Run a e r] & "* "
n d e n t e r th e
y o u n e e d to l e tte r th a t
fin d .
A n d S a v e th
i s q u e r y w it
h th e n a m e
f. List all details of all customers by entering a first letter of their name (i.e., enter D to display Dwight Cole).
g. List name, phone number and email address of all customers whose last name got at least 5 characters and the last
character is an ‘e’ (i.e., Marque, Clive, Michelle).

Step-by step:
Practice this task with Query desi
gn,
do similar steps like before questi
ons.
To find the customers whose last
name got at least 5 characters and
the
last character is "e", we fill in the
criteria of Cust_name is Like "* *?
???
e"
Then, Run this query and Save it
g. List name, phone number and email address of all customers whose last name got at least 5 characters and the last
character is an ‘e’ (i.e., Marque, Clive, Michelle).
h. List all details of all publishers who have email.

Hint:
In Criteria of email, you can fill
Like"*@*" or "Is Not Null" to filter
the publishers who have email
h. List all details of all publishers who have email.
i. List all details of all invoice(s) in a given date which is prompted by the user (i.e. Enter a date: 26/04/2017).

Hint:
Practice this task
similar to task f.
[Enter the date]
i. List all details of all invoice(s) in a given date which is prompted by the user (i.e. Enter a date: 26/04/2017).
j. List customer name, transaction dates, quantity, unit price and total amount for each transaction date (header Total
Amount, quantity x unit price) of the customer’s name Sean Losche. Sort in descending order.
Hint:
- To find these details of Customer
's name
Sean Losche, let's fill "Sean Losche
" in the
Criteria of Cust_Name column.
- Set the name the collum of Tota
l Amount
and evaluate it : Total Amount:[Qty
]*
[Unit_Price]
- Setting Descending Order just ap
ply for
only 1 column (field)
.
j. List customer name, transaction dates, quantity, unit price and total amount for each transaction date (header Total
Amount, quantity x unit price) of the customer’s name Sean Losche. Sort in descending order.
ank
To do list

1 Review theory through slides from


chapter 1 to current chapter. You

Th
!
can review by Quiz in Blackboard

you
2 Practice these
exercises more.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy