Professional Documents
Culture Documents
Pakistan International School Jeddah - English Section: Information & Communication Technology (0417) Task 3 (Queries)
Pakistan International School Jeddah - English Section: Information & Communication Technology (0417) Task 3 (Queries)
Pakistan International School Jeddah - English Section: Information & Communication Technology (0417) Task 3 (Queries)
Evidence Document
• Open the file EVIDENCE.RTF
• Make sure your name, Centre number and candidate number will appear on every page of your
Evidence Document.
• Save this as a word processed document in your work area with the filename EVIDENCE
followed by your candidate number, for example, EVIDENCE9999
You will need your Evidence Document to place your screenshots in when required.
Task-3a
1 Open database Task-3a.
2 Examine the data given in DEGREES table and FACULTY table.
3 In DEGREES table:
• set the Course_Code field as the primary key.
• make sure Full_Time is displayed as checkbox
• restrict the data entry in the Length field to accept only numbers of 6 or less.
EVIDENCE 1
Take screenshot evidence showing how you have limited data entry in the Length
field. Insert this screenshot into your Evidence Document.
EVIDENCE 2
Take screenshot evidence showing the relationship between the tables. Insert this
screenshot into your Evidence Document
1920-Y10-Task 3 (Queries)
2
6 Using fields from both tables, produce a query which selects only those records where the
– Qual_Code is PHD
– Length is 4 or more
Shows only the fields Subject, Length, Head_of_Faculty and Campus
Save your query with the name of Step 6
EVIDENCE 3
Take screenshot evidence showing the criteria. Insert this screenshot into your
Evidence Document
EVIDENCE 4
Take screenshot evidence showing the criteria used in query. Insert this screenshot
into your Evidence Document
Task-3b
You are now going to prepare some reports for Tawara Training. Make sure all currency values display
the same currency symbol and are set to 2 decimal places.
Dates are to be displayed in the format dd-MMM-yy.
1920-Y10-Task 3 (Queries)
3
11 Save the data.
EVIDENCE 5
Place in your Evidence Document screenshot(s) showing the type of relationship
between the two tables.
12 Create a one-to-many relationship between the Subject_ID field in the framework table and the
Subject_Ref in the apprentice table.
13 Apprentices receive their weekly wage plus an additional 4% if they meet training targets.
Using fields from both tables produce a query which contains a new field called Bonus_Wage
which is calculated at run-time and displayed as currency. This field will calculate the Wage plus
4% of the Wage shows only the records where the:
• Level is Advanced or Higher
• Closing_Date is on or before 31-Aug-18
• Subject_Name excludes Accounting
Shows only the fields Vacancy, Level, Closing_Date, Employer_Name, Day_Release, Wage,
Bonus_Wage
Save your query with the name Step 13.
14 Produce an extract from all the data which:
o selects only those records where the:
– vacancy includes Engineer
– level is Intermediate
– wage is 150 or more
o shows only the fields Vacancy_ID, Vacancy and Wage in this order
o sorts the Wage in ascending order.
Save the extract with the name Step 14.
EVIDENCE 6
Take screenshot evidence showing the criteria used in query. Insert this screenshot
into your Evidence Document
EVIDENCE 7
Place in your Evidence Document a screenshot to show the exported file saved in
your work area. Make sure there is evidence of the file type.
Task-3c
16 Using a suitable package, open Task-3c database.
17 In CRUISES table set the:
• Cruise_Ref field as a primary key.
1920-Y10-Task 3 (Queries)
4
• Sail_Date as Date/Time field. Make sure to display the date as dd-MMM-yy .
Save the data.
18 In SHIPS table, set the Ship_Code field as a primary key.
19 Create a one-to-many relationship between Ship_Code in the ships table and the Ship_Ref field in
the cruises table.
EVIDENCE 8
Place in your Evidence Document screenshot(s) showing the relationship between the
two tables.
20 Using fields from the cruises table, produce a query that selects only the records where:
– Theme is Art or Music
– Departure_Port is Miami
Shows only the fields Departure_Port, Destination, Sail_Date, Theme, Duration and Passengers
– Save the query with the name of Step 20.
EVIDENCE 9
Take screenshot evidence showing the criteria used in query. Insert this screenshot
into your Evidence Document
EVIDENCE 10
Take screenshot evidence showing the criteria used in query. Insert this screenshot
into your Evidence Document
1920-Y10-Task 3 (Queries)
5
EVIDENCE 11
Take screenshot evidence showing the criteria used in query. Insert this screenshot
into your Evidence Document
EVIDENCE 12
Place in your Evidence Document a screenshot to show the exported file saved in your
work area. Make sure there is evidence of the file type.
1920-Y10-Task 3 (Queries)