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

Similar documents
Level 3 ICT systems and network management ( )

Level 3 ICT systems and network management ( )

Level 3 Develop software using Java (7266/ )

Level 3 Install, configure and integrate networked hardware and software ( )

How To Write A Computer System Design Assignment

Level 3 ICT systems and network management ( )

Level 3 Designing and creating advanced websites ( )

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

Level 3 Network management and security ( )

Level 3 Software testing ( )

Start IT (itq) Data management software ( )

Level 1 Fundamentals of computing systems and customer care (7266/ )

Level 2 Designing and creating multi-page websites ( )

Level 1 Desktop publishing software (DTP )

Level 2 Project Management Software ( )

Level 3 Project management software (PM )

Level 1 Producing simple spreadsheets (7266/ )

Level 3 Data management software (DMS )

Level 2 Personal Information Management Software ( )

Level 2 Networking, telephony and VoIP for the digital home technology integrator ( ) December 2011

Level 3 Project management software (PM )

Level 3 Spreadsheet software (SS )

Level 2 Data management software (DMS )

Level 1 Data management software (DMS )

Level 2 Using collaborative technologies (UCT )

Level 1 Using a Computer Keyboard ( )

Level 2 Desktop publishing software (DTP )

Level 2/3 Certificate in Principles of Business and Administration (4475)

Systems and Principles Unit Syllabus

Level 5 Certificate/Diploma in Primary Care and Health Management ( /06)

e-quals Unit Syllabus Level 2 Designing and creating multi-page websites March 2007 Version 1.

Level 2 NVQ in Warehousing and Storage (1009)

English Skills (3847) Portfolio development workpacks

Level 3 Certificate in assessing candidates using a range of methods (7317)

Entry 3 Award, Certificate and Diploma in Employability and Personal Development (7546) Candidate logbook

Level 2 Certificate in Warehousing and Storage Skills (QCF)

Level 1 Award, Certificate and Diploma in Creative Techniques [7111] Level 1 2D units

Unit Syllabus. Level 2 Digital Home Technology Integrator November 2008 Version 1.0

Rules of Combination Handbook for Business Administration

Level 3 Diploma in Health and Social Care (Adults) for England ( )

Level 2 Certificate in Accounting ( )

Level 1/2/3 Award in Business Finance (8990)

Level 2 Diploma in Health and Social Care (Adults) for England ( )

Level 1 Award in ICT Systems Support ( )

Level 3 NVQ Certificate in Installing and Commissioning Air Conditioning and Heat Pump Systems ( )

English for Business Communications (8959) Marking Guide for Tutors

Levels 1 & 2 in Cleaning and Support Services Skills (QCF)

Level 3 Certificate in Community Justice ( )

QUALIFICATION HANDBOOK

Level 4 Diploma in Hospitality Management ( )

QUALIFICATION HANDBOOK

Level 3 Advanced Diploma for IT Professionals ( and FL3E)

Level 2 Certificate in International Trade and Logistics Operations ( )

Level 2 NVQ Certificate in Pharmacy Service Skills (QCF) ( )

Foundation Award in Management Principles

Level 3 Certificate in Fitting Protective Horse Rider Equipment (BETA 10) Qualification handbook Version 2 September 2011

The City Foundation Course ILM Level 5 Certificate in Leading with Integrity

Level 2 and 3 Award/Certificate/Diploma in Business Administration/Support ( /03/12/13/22/23)

Certificate and Diplomas in ICT Professional Competence ( /02/03/04)

Level 3 IVQs in Teaching, Training and Assessing Learning (1106)

Level 4 NVQ in Sales (6770)

Level 2 NVQ Award/Certificate/Diploma in Business and Administration ( /92)

Level 3 NVQ Certificate/Diploma in Business and Administration ( /93)

Level 2 Diploma for Software developers ( )

Level 3 Awards/Diplomas in Beauty Therapy (3003) Qualification handbook for centres

Functional Skills ICT Subject Specification and Tutor/ Assessor Guide September 2015 Version 2.0

/03/04 Level 2/3/4 Diploma in Business Administration. August 2014 Version 1.4 (August 2015)

Level 2 Award/Certificate/Diploma in Legal Studies Personal injury procedures Y/501/5543

Level 3 Advanced Diploma in ICT Systems Support ( )

Functional Skills Mathematics Level 2 sample assessment

Level 2 NVQ Diploma in Maintenance Operations (Construction) ( ) July 2013 Version 2.0

Level 2 Certificate/Diploma in Medical Administration Communication Skills in a Medical Environment

Level 2 IVQ Diploma in Training Skills ( )

Higher National Unit Specification. General information for centres. Database Design Fundamentals. Unit code: DV6E 34

Level 3 Certificate in the Certification of Electrical Installations (Design, Erection and Verification of Electrical Installations) ( )

Level 2 NVQ in Refrigeration and Air Conditioning

Awards, Certificates and Diplomas in Employability and Personal Development (7546) Level 1 Unit handbook for centres

Level 3 Diploma for Children s Care, Learning and Development ( ) (Wales and Northern Ireland)

Certificate/Diploma in Vocational Paralegal Studies Level 2/3

(2377) V H N IO T A IC IF L A U Q

Higher Level Qualifications Level 7 Master Professional Diploma in Strategy and Development (Education & Training) 4445

Level 5 Diploma in Leadership for Children s Care, Learning and Development (Advanced Practice) Wales and Northern Ireland ( /97)

Systems and Principles Unit Syllabus

Functional Skills Mathematics Level 2 sample assessment

Level 5 Certificate/Diploma in Primary Care Management ( )

Level 1 Qualification in Photo Imaging (7512) Qualification handbook

Level 2/3 Award/Certificate/Diploma in Medical Administration (5519)

Level 1/2/3 Award in Customer Service (8992)

Level 2 Certificate in Warehousing and Storage Principles (1012)

Level 2 Diploma in Health and Social Care (Adults) for Wales and Northern Ireland ( )

Level 4 Diploma in Management Practice and Advanced Techniques in the Hair and Beauty Sector (5450)

Level 3 Certificate, Subsidiary Diploma, 90-Credit Diploma, Diploma, Extended Diploma in Countryside Management ( )

superseries FIFTH EDITION

Level 5 NVQ in Occupational Health and Safety Practice (3644) Candidate logbook

QUALIFICATION HANDBOOK

GRADUATE DIPLOMA IN ENGINEERING POST GRADUATE DIPLOMA IN ENGINEERING

Build and maintain effective customer relations

Set objectives and provide support for team members (B5) OCR Unit Number: 3

IAM Level 2. NVQ Certificate in Business and Administration. Qualification handbook edition

Audio Transcription (8952) Shorthand Speed (8980) Typewriting (8972)

Transcription:

Level 3 Develop software using SQL (Structured Query Language) (7266-310) e-quals Assignment guide for Candidates Assignment C www.cityandguilds.com/e-quals07 March 2007 Version 1.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-310) Candidate instructions 3 Level 3 Develop software using SQL (Structured Query Language) (7266-310) 1

Level 3 Develop software using SQL (Structured Query Language) (7266-310) Assignment C 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-310). 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 Develop software using SQL (Structured Query Language) (7266-310)

Level 3 Develop software using SQL (Structured Query Language) (7266-310) 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, Fortuna Investments, 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, from the Accounting and Personnel Departments and the IT Manager. 1 2 3 4 5 6 7 Accounting Department Requirements List the last name, first name and employee number of all sales representatives who were hired on or after 15 Dec 1997 sorted in ascending order of last name. List the department number, last name and salary of all employees who were hired between 26/8/98 and 16/11/99 sorted in ascending order of last name within department number. List all the data for all jobs where the maximum salary is less than 13000 sorted in ascending order of the maximum salary. List the last name, first name and job id of employees where the commission earned is greater than or equal to 25%, sorted in ascending order of last name. Which jobs are found in the Sales and Shipping departments? List the last name of all employees in departments 80 together with their monthly salaries (rounded to 2 decimal places), sorted in ascending order of last name. Show the total monthly salaries figure (0 decimal places) for all employees in departments 50 and 60. Level 3 Develop software using SQL (Structured Query Language) (7266-310) 3

8 9 10 11 12 Personnel Department Requirements Show the total number of employees in the IT department. List the department number, department name and the number of employees for the department that has more than 5 employees grouping by department number and department name. List the department number and the lowest salary of the department with the lowest average salary. List the department number and name for all departments where no stock clerks work. Add the following new job AC_ASST, Accounting Assistant, 7000, 10000 13 Update all the maximum salaries for jobs with an increase of 2000. 14 List all the data for jobs sorted in ascending order of job id. 15 a) The job history for employee number 122 is no longer required. Delete this record. b) List all the data for job history sorted in ascending order of employee number 16 List the department number, department name and the average salary (rounded to 0 decimal places) for each department. 17 18 19 20 IT Manager Requirements Create a new view called IT_EMPLOYEE_VIEW for employee details for the IT department only using the fields employee number, last name, first name, hire date and salary from the employee table. Show all the fields using the view for the IT department employees. Drop the IT_EMPLOYEE_VIEW view. Create an index named COUNTRY_NAME_IX on the country name in the countries table. Provide a printout showing that the index has been created. 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. 4 Level 3 Develop software using SQL (Structured Query Language) (7266-310)

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 Develop software using SQL (Structured Query Language) (7266-310) 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 Develop software using SQL (Structured Query Language) (7266-310)