Professional Documents
Culture Documents
1 Create a folder in your Classwork\Practical folder and name it as CW-14 and 15.
TASK 2: DATA MANIPULATION – QUERIES: CALCULATED FIELDS, SUBSET OF DATA AND WILDCARD
SEARCH.
3 Create a suitable relationship between 3 tables. Make sure to set the primary keys on every
table. [6]
Hint: Customer can make many appointments and stylists can be appointment many times.
4 Based on the Customers table, create a query that displays the three fields-CustomerID,
Amount Paid, and Appointment Date. [3]
5 In Amount Customer Paid query, add two calculated fields. The details are shown below:
Calculated Field Name Expression
Run the queries and make sure they display the newly created calculated fields. [6] 6 In
Amount Customer Paid query, add two more calculated fields. [6]
7 Add Customer Name field to your Amount Customer Paid query. Make sure it stays as a
second field right next to CustomerID in Data Sheet view. [2]
8 Sort the data in Amount Customer Paid query in ascending order based on the Customer
Name Field. [2]
9 Create a new query that displays CustomerID, Customer Name, Hair Length and Hair
Treatment. This query should only display the customer/s which Hair Length is less than 16.
10 Create a new query that displays CustomerID, Customer Name, Amount Paid and
Appointment Date. This query should only display the customers who paid (Amount Paid)
greater than or equal to 25.
Change the currency symbol of the Amount Paid field in your Customer table into
Philippines’ Currency Symbol.
11 Create a new query that displays CustomerID, Customer Name and Appointment Date. This
query should only display the customers who made an appointment since March 1, 2015
onwards.
12 Create a new query that displays CustomerID, Customer Name and Appointment Date. This
query should only display the customers who made an appointment before March 3, 2015.
13 Create a new query that displays CustomerID, Customer Name and Appointment Date. This
query should only display the customers who made an appointment between March 1, 2015
and March 3, 2015.
Name the query as qry-5-Between March 1 2015 and March 3 2015. [4]
14 Create a new query that displays CustomerID, Customer Name, Amount Paid and
Appointment Date. This query should only display the customers who made an
appointment since March 1, 2015 onwards and paid less than 30.
Name the query as qry-6-Less than 30 and since March 1 2015. [4]
15 Create a new query that displays CustomerID, Customer Name, Hair Color, Amount Paid and
Appointment Date. This query should only display the customers who made an appointment
since March 3, 2015 onwards, paid greater than or equal to 30, and with a hair color of
black.
Name the query as qry-7-Greater than 30, March 1 2015, Black. [6]
CW-13 & 14 / ICT / S3 / CA2 / 2020-2021
16 Create a query that displays the Customer ID, Customer Name and Amount Paid with a
Customer Name that starts with letter “J” and paid less than or equal to 27.
17 Create a query that displays the Customer ID, Customer Name, Hair Length and Amount
Paid with a Customer Name that ends with letter “H” and paid less than or equal to 27.
Name this query as qry-9-Ends with H and hair length >= 3. [4]
18 Create a query that displays the Customer ID, Customer Name and Amount Paid with a
Customer Name that ends with letter “th” and paid an amount that starts with ‘2’.
Name this query as qry-10-Ends with th and amount starts with 2. [4] Part 4: Submission
Process