Level 3 Develop software using SQL (Structured Query Language) (7266/ ) ( )

Similar documents
Level 3 Develop software using SQL (Structured Query Language) ( )

Level 3 Develop software using SQL (Structured Query Language) ( / )

Level 3 Develop software using SQL (Structured Query Language) (7266/ ) ( )

Level 3 Develop software using COBOL (7266/ )

Level 3 Creating a procedural computer program using COBOL ( )

Level 3 IT consulting skills ( / )

Level 2 Business concepts 2 ( )

Level 2 Creating a procedural computer program using COBOL ( )

Level 3 IT consulting skills ( / )

Level 3 Software testing ( )

Level 2 Systems architecture ( )

Level 2 Creating a procedural program using COBOL ( )

Level 3 Software design fundamentals ( / )

Level 3 Testing ICT systems 3 (7266/ / )

Level 2 Improving productivity using IT ( )

Level 2 ICT Repair centre procedure 2 (7266/ / )

Level 3 IT Project Management ( )

Level 2 Maintain ICT equipment and systems ( )

Level 2 Customer support provision ( )

Level 2 ICT Systems monitoring and operation ( )

Level 1 Improving productivity using IT (IPU )

Level 2 Software testing ( )

Level 3 Creative problem solving ( )

Level 3 Business concepts 3 ( )

Level 1 Fundamentals of computing systems and customer care

Level 3 Customer support provision 3 (7266/ )

Level 2 Maintain ICT equipment and systems 2 ( / )

Level 3 Customer support provision for the IT professional ( / )

Start IT (itq) Spreadsheet software ( )

Level 2 Creating an object oriented computer program using C++ ( )

Level 1 2D Drawing and Planning Software (DPS )

Level 3 2D Drawing and planning software ( )

Level 1Project management software (PM )

Level 1 Producing simple spreadsheets (7266/ )

Level 3 Data management software (DMS )

Version: Sample. This assignment contains assessor and candidate instructions. August 2010 Version 1.0

Site Surveying 3 Principles Examiners report June 2014

Level 1 Data management software (DMS )

Level 1 Producing simple spreadsheets (7266/ )

Contruction Management and Law 4 Principles Examiners report June 2014

Level 3 Principles of planning telecommunications services (7266/ / )

Level 2 Certificate in Sales (6849)

Level 2 Certificate in Telesales (6849)

Level 1 - Principal Learning Hair and Beauty Studies (2762) Unit 5: Introducing basic hand and nail care services Controlled assessment material

Level 1 Computerised accounting software ( )

Level 2 Award in Customer Service Delivery ( )

Controlled assessment material. December 2013 Version 1.0

Level 3 Diploma for Domestic Energy Assessors ( )

Qualifications for Working in Confined Spaces (6150)

Level 1 - Principal Learning Hair and Beauty Studies (2762) Unit 7: Careers in the hair and beauty sector and related industries

Level 3 Principles, Practices and Legislation for the Periodic Inspection, Testing and Condition Reporting of Electrical Installations.

Level 3 Principles, Practices and Legislation for the Periodic Inspection, Testing and Condition Reporting of Electrical Installations.

Level 4 NVQ in Advice and Guidance (3069)

Level 3 NVQ in Logistics Operations Management ( ) Qualification handbook

Level 2 Certificate in Sales/ Telesales ( /21)

Level 4 Design, Construction Management and Initial Verification of Electrical Installations Chief Examiner's report March 2018

N/SVQ Guide. for centres and candidates Recording forms. June 2005 Version 2.2 Updated February 2006

Level 4 Principles, Design, Erection and Verification of Electrical Installations. Chief Examiner's report June 2018

Level 2 Diploma in Reception Services ( )

Level 1/2/3 Award in Computerised Accounts (8989)

Systems and Principles Unit Syllabus

Awards and Certificates in Personal and Social Development (7577)

Level 3 Diploma in Warehousing and Storage ( )

Entry Level 3 Certificate in Personal Progression through Employment ( )

Certificate in Equality and Diversity (5549) Candidate logbook

Level 3 Operational Delivery (Advanced) ( )

Awards in Employability and Personal Development - Enterprise ( )

Level 2 Working with computerised accounting software ( )

Level 2 Certificate in Warehousing and Storage Skills (QCF)

Level 3 Certificate/Diploma in Retail Skills (Visual Merchandising) (7536)

Mathematics Skills (3847) Portfolio development workpacks Assessment guidance Entry 1 & Entry 2

PRACTICAL TASK MANUAL

September 2016 Version (Evolve) and (Paper) Functional Skills Mathematics Level 2

Level 1 Award/Certificate in Warehousing and Storage ( )

Level 3 Diploma in Probation Practice ( )

Level 3 Key Skills in Working With Others

Awards, Certificates and Diplomas in Employability Entry 2 Units (5546) Candidate logbook

QUALIFICATION HANDBOOK

Level 5 Diploma in Probation Practice ( )

Entry Level 3 Award in Basic Construction Skills ( )

Level 2 Certificate in Warehousing and Storage Skills ( )

Level 2 Certificate in Driving Goods Vehicles Motor/Pedal Cycle ( )

PRACTICAL TASK MANUAL

Mathematics Skills (3847) Portfolio development workpacks Assessment guidance

Level 1 Certificate of Introduction to the Contact Centre Industry ( )

March 2017 Version Essential Skills Application of Number Level 2

Level 2 Certificate/Diploma for Sustainable Waste Management Operative (0746)

6219 Entry Level and Level 1 Awards, Certificates and Diplomas in Construction Skills

Level 2 Award/Certificate/Diploma in Mail Services ( )

(Evolve) and (Paper) Functional Skills Mathematics Level 1 Chief Examiner s report January 2018

QUALIFICATION HANDBOOK

Level 3 Certificate for Traffic Office ( )

Awards, Certificates and Diplomas in Employability Skills Level 2 Units (5546) Candidate logbook

Operational Delivery Officer Apprenticeship. For Apprentices in the: Civil Service Local Authorities

Level 3 NVQ Diploma in Heating & Ventilating - Ductwork Installation ( ) (QCF)

PRACTICAL TASK MANUAL

Spreadsheet Processing Techniques (8970) Syllabus

Level 2 Diplomas in Smart Metering ( )

Level 3 Diploma in Policing (7467)

Transcription:

Level 3 Develop software using SQL (Structured Query Language) (7266/7267-310) (7540-389) e-quals Assignment guide for Candidates Assignment D www.cityandguilds.com/e-quals07 September 2017 Version 3.0

About City & Guilds City & Guilds is the UK s leading provider of vocational qualifications, offering over 500 awards across a wide range of industries, and progressing from entry level to the highest levels of professional achievement. With over 8500 centres in 100 countries, City & Guilds is recognised by employers worldwide for providing qualifications that offer proof of the skills they need to get the job done. City & Guilds Group The City & Guilds Group includes City & Guilds, ILM (the Institute of Leadership & Management) which provides management qualifications, learning materials and membership services, NPTC which offers land-based qualifications and membership services, and HAB (the Hospitality Awarding Body). City & Guilds also manages the Engineering Council Examinations on behalf of the Engineering Council. Equal opportunities City & Guilds fully supports the principle of equal opportunities and we are committed to satisfying this principle in all our activities and published material. A copy of our equal opportunities policy statement is available on the City & Guilds website. Copyright The content of this document is, unless otherwise indicated, The City and Guilds of London Institute 2007 and may not be copied, reproduced or distributed without prior written consent. However, approved City & Guilds centres and learners studying for City & Guilds qualifications may photocopy this document free of charge and/or include a locked PDF version of it on centre intranets on the following conditions: centre staff may copy the material only for the purpose of teaching learners working towards a City & Guilds qualification, or for internal administration purposes learners may copy the material only for their own use when working towards a City & Guilds qualification The Standard Copying Conditions on the City & Guilds website also apply. Please note: National Occupational Standards are not The City and Guilds of London Institute. Please check the conditions upon which they may be copied with the relevant Sector Skills Council. Publications City & Guilds publications are available on the City & Guilds website or from our Publications Sales department at the address below or by telephoning +44 (0)20 7294 2850 or faxing +44 (0)20 7294 3387. Every effort has been made to ensure that the information contained in this publication is true and correct at the time of going to press. However, City & Guilds products and services are subject to continuous development and improvement and the right is reserved to change products and services from time to time. City & Guilds cannot accept liability for loss or damage arising from the use of information in this publication. City & Guilds 1 Giltspur Street London EC1A 9DD T +44 (0)20 7294 2800 F +44 (0)20 7294 2400 www.cityandguilds.com learnersupport@cityandguilds.com

Contents Introduction Information for Candidates 2 Level 3 Develop software using SQL (Structured Query Language) (7266/7267-310) 3 Candidate instructions 3 Level 3 Assignment D Version 2.0 Develop software using SQL (Structured Query Language) (7266/7267-310) (7540-389) 1

Level 3 Develop software using SQL (Structured Query Language) (7266/7267-310) (7540-389) Assignment D Introduction Information for Candidates About this document This assignment comprises all of the assessment for Level 3 Develop software using SQL (Structured Query Language) (7266/7267-310) (7540-389). Health and safety You are asked to consider the importance of safe working practices at all times. You are responsible for maintaining the safety of others as well as your own. Anyone behaving in an unsafe fashion will be stopped and a suitable warning given. You will not be allowed to continue with an assignment if you compromise any of the Health and Safety requirements. This may seem rather strict but, apart from the potentially unpleasant consequences, you must acquire the habits required for the workplace. Time allowance The recommended time allowance for this assignment is 4 hours. 2 Level 3 Assignment D Version 2.0 Develop software using SQL (Structured Query Language) (7266/7267-310) (7540-389)

Level 3 Develop software using SQL (Structured Query Language) (7266/7267-310) (7540-389) Candidate instructions Candidates are advised to read all instructions carefully before starting work and to check with your assessor, if necessary, to ensure that you have fully understood what is required. Time allowance: 4 hours Assignment set up: A scenario is provided in the form of requests for services required. This assignment is made up of three tasks Task A - requires candidates to create and test scripts to fulfil the requirements specified. Scenario A company, SimTech Computing, have their Head Office in America and operate other branches in several locations. You work as an IT Database Assistant accessing the company database, fulfilling requests for information and services from other departments or branches. Your job involves writing and testing SQL scripts to provide the information and services required. The following requests have been received today, via e-mail and fax, from Finance, Human Resources and the Database Administrator. 1 2 3 4 5 6 7 Finance Requirements List the last name, first name and employee number of all employees that have a last name starting with S. List the last name, first name and employee number of all stock clerks who were hired on or before 26 Aug 1998 sorted in ascending order of last name. List the department number, last name and salary of all employees who were hired between 15/11/98 and 07/12/99 sorted in ascending order of last name within department number. List the last name, job and commission percentage of employees where the commission percentage is less than or equal 15% sorted in descending order of commission percentage. Which jobs are found in the Administration and Human Resources departments? List the last name of all employees in the Marketing and Sales departments together with their monthly salaries (rounded to 2 decimal places), sorted in ascending order of last name. Show the average salaries figure for one month displayed with no decimal places. Level 3 Assignment D Version 2.0 Develop software using SQL (Structured Query Language) (7266/7267-310) (7540-389) 3

8 9 10 11 12 Human Resources Requirements Show the total number of employees in the Finance department. List the last name, first name, hire date and salary of all employees in the UK sorted in ascending order of last name. List the department number, and the highest salary of the department with the highest average salary. List the department number and name for all departments where no marketing representatives work. Add the following new job SA_CLERK, Sales Clerk, 9000, 12000 13 Update all the maximum salaries for jobs with an increase of 2000. 14 15 List all the data for jobs sorted in ascending order of maximum salary. Produce a list of employees showing percentage raises, employee numbers and old and new salaries. Employees in departments 80 and 90 are given a 6% rise, employees in departments 20 and 190 are given a 12% rise and employees in other departments are not given a rise. 16 Database Administrator Requirements The database administrator has found the following entity-relationship diagram. He thinks that the diagram is incorrect. Check the diagram and draw a corrected diagram. 17 18 19 20 Create a new view for manager s details only using all the fields from the employee table. Show all the fields and all the managers using the view for managers. a) Drop the manager s view. b) Recreate the manager s view so that the salary field is no longer included. c) Use the ALTER statement to compile the manager s view. Show all the fields and all the managers using the view for managers. Print a copy of the data dictionary entry for the table employees 4 Level 3 Assignment D Version 2.0 Develop software using SQL (Structured Query Language) (7266/7267-310) (7540-389)

Task A In this task you are required to plan testing and write and test scripts to fulfil the requirements specified by the Accounting Department, Personnel Department and the IT Manager. 1 Prepare a test plan to carry out the testing of the SQL scripts. 2 Prepare the test scripts to be used with the test plan. 3 Use the test plan and test scripts to carry out the tests and record results of testing in a test log comparing the expected results to the actual results. The test scripts must be saved with an appropriate name eg 1. 4 Provide evidence of testing i.e. printout of script file and output which must be crossreferenced to the correct test number. Note Candidates should produce the following for their assessor: Test plan. Test data (scripts). Test log. Cross-referenced evidence of testing i.e. printout of script file and test output as necessary to show test results. At the conclusion of this assignment, hand all paperwork to the test supervisor. Ensure that your name is on all documentation. If the assignment is taken over more than one period, all paperwork must be returned to the test supervisor at the end of each sitting. Level 3 Assignment D Version 2.0 Develop software using SQL (Structured Query Language) (7266/7267-310) (7540-389) 5

Published by City & Guilds 1 Giltspur Street London EC1A 9DD T +44 (0)20 7294 2468 F +44 (0)20 7294 2400 www.cityandguilds.com City & Guilds is a registered charity established to promote education and training 6 Level 3 Assignment D Version 2.0 Develop software using SQL (Structured Query Language) (7266/7267-310) (7540-389)