Unit of Competency Mapping – Information for Teachers/Assessors – Information for Learners

ICAPRG425A Mapping and Delivery Guide
Use structured query language

Version 1.0
Issue Date: April 2024


Qualification -
Unit of Competency ICAPRG425A - Use structured query language
Description This unit describes the performance outcomes, skills and knowledge required to use a structured query language (SQL) to define, create and manipulate database structures and associated data in a relational database.
Employability Skills This unit contains employability skills.
Learning Outcomes and Application This unit applies to a wide variety of information technology (IT) roles where relational databases and SQL are being used. SQL database functions are in place for most organisations and have become integral to internet-based data provision and data retrieval.Examples of job roles where this unit applies would be:IT generalists who work in environments in which relational databases and SQL are part of an overall solutionsystems administrators or network engineers who install and manage systems that run on an SQL serverdevelopers who build applications that use SQLIT professionals who work with third-party applications that are built using SQL databasesdatabase administrators who manage the relational database environmentadvanced users who write queries to extract data from a relational database.
Duration and Setting X weeks, nominally xx hours, delivered in a classroom/online/blended learning setting.
Prerequisites/co-requisites Not applicable.
Competency Field
Development and validation strategy and guide for assessors and learners Student Learning Resources Handouts
Activities
Slides
PPT
Assessment 1 Assessment 2 Assessment 3 Assessment 4
Elements of Competency Performance Criteria              
Element: Write a simple SQL statement to retrieve and sort data
  • Retrieve all the data from a single table
  • Retrieve data from specific columns in a single table
  • 1.3 Use 'order by' to sort query output
       
Element: Write an SQL statement that selectively retrieves data
  • 2.1 Restrict the number of rows retrieved by placing criteria in the 'where' clause
  • Restrict the number of rows retrieved by placing specific criteria in the select statement
  • 2.3 Use comparison operators in the 'where' clause to compare numeric, character, string, date and time data
  • Use Boolean operators with the correct precedence
  • 2.5 Use criteria in the 'where' clause to check for a range of values, to select values from a list, and to check for values that match a pattern
  • Use SQL syntax to suppress duplicate values from query results
  • Take action to exclude null values from a query result
       
Element: Write SQL statements that use functions
  • Use arithmetical operators with the correct precedence
  • Use string functions and operators to obtain the required query output
  • Use mathematical functions to obtain the required output, where required
  • Use date functions to obtain the required output
  • Use SQL aggregate functions to obtain the required output
       
Element: Write SQL statements that use aggregation and filtering
  • 4.1 Use 'group by' to aggregate data by multiple columns
  • Sort aggregated data in the query output
  • 4.3 Filter aggregated data using the 'having' clause
       
Element: Write SQL statements that retrieve data from multiple tables
  • Employ the inner join syntax to retrieve data from two or more tables
  • 5.2 Use 'left outer', 'right outer' and 'full outer' syntax to join tables in the select statement
  • 5.3 Use correct syntax in the 'where' clause to retrieve data from multiple tables
  • Write a union query that retrieves data from more than one table
       
Element: Write and execute SQL sub-queries
  • Construct single and nested sub-queries
  • Construct sub-queries that return a single row and multiple rows
  • Use correlated sub-queries to retrieve required data
  • Write sub-queries that use aggregates
       
Element: Create and manipulate tables
  • Identify required columns, data types, keys, relationships, indexes and constraints
  • Use relevant naming conventions for database elements
  • Create tables that implement required elements
  • Manipulate tables to meet specific requirements
       
Element: Create and use views
  • Create views that satisfy information requirements
  • Use check constraints in a view
  • Retrieve, insert, update and delete data using a view
  • Drop a view from a database
       
Element: Create and use stored procedures
  • Create and execute stored procedures that use SQL to retrieve, insert or modify data according to information requirements
  • Create and execute stored procedures that use one or more parameters
  • Drop a stored procedure from the database
  • Create and test database triggers that automate data management or perform specific required data-related functions
       


Evidence Required

List the assessment methods to be used and the context and resources required for assessment. Copy and paste the relevant sections from the evidence guide below and then re-write these in plain English.

The evidence guide provides advice on assessment and must be read in conjunction with the performance criteria, required skills and knowledge, range statement and the Assessment Guidelines for the Training Package.

Overview of assessment

Critical aspects for assessment and evidence required to demonstrate competency in this unit

Evidence of the ability to:

design a simple relational database

use SQL to create database structures, and store, retrieve and manipulate data in a relational database

create a variety of SQL queries to match client requirements

create and use views and stored procedures.

Context of and specific resources for assessment

Assessment must ensure access to:

client requirements

functionality and scope requirements

naming standards

SQL server and client software

networked computers

appropriate learning and assessment support when required

modified equipment for people with special needs.

Method of assessment

A range of assessment methods should be used to assess practical skills and knowledge. The following examples are appropriate for this unit:

verbal or written questioning of required skills and knowledge

evaluation of an existing database created by the candidate.

Assessment needs to ensure that the database and queries were created by the candidate using SQL statements as outlined in this unit. It would not be appropriate for the candidate to create the database or queries using graphical tools that generate the required SQL statements.

Guidance information for assessment

Holistic assessment with other units relevant to the industry sector, workplace and job role is recommended, where appropriate.

Assessment processes and techniques must be culturally appropriate, and suitable to the communication skill level, language, literacy and numeracy capacity of the candidate and the work being performed.

Indigenous people and other people from a non-English speaking background may need additional support.

In cases where practical assessment is used it should be combined with targeted questioning to assess required knowledge.


Submission Requirements

List each assessment task's title, type (eg project, observation/demonstration, essay, assignment, checklist) and due date here

Assessment task 1: [title]      Due date:

(add new lines for each of the assessment tasks)


Assessment Tasks

Copy and paste from the following data to produce each assessment task. Write these in plain English and spell out how, when and where the task is to be carried out, under what conditions, and what resources are needed. Include guidelines about how well the candidate has to perform a task for it to be judged satisfactory.

Required skills

analytical skills to evaluate business requirements to determine:

report and view requirements

required data objects and data structures

numeracy skills to use arithmetical operators and mathematical functions

planning and organisational skills to analyse and organise data according to business query and reporting requirements

problem-solving skills to:

troubleshoot SQL syntax errors

understand typical warnings and errors

technical skills to:

run data modelling, particularly during the design and development phases

write SQL queries.

Required knowledge

client-server concepts

data-integrity concepts

data-modelling structures

databases and database objects, including data types, data structures, identifiers and metadata

programming concepts

query design

relational database design

SQL client environment

SQL server architecture.

The range statement relates to the unit of competency as a whole. It allows for different work environments and situations that may affect performance. Bold italicised wording, if used in the performance criteria, is detailed below. Essential operating conditions that may be present with training and assessment (depending on the work situation, needs of the candidate, accessibility of the item, and local industry and regional contexts) may also be included.

Comparison operators may include:

equal to

greater than

greater than or equal to

less than

less than or equal to

not equal to.

Boolean operators may include the use of:

AND

NOT

OR.

Arithmetical operators may include:

addition

modulus division

multiplication

subtraction.

Mathematical functions may include:

cos

log

power

sin

square root.

Database may include:

Informix

Ingres

Microsoft SQL server

MySQDB2

Oracle

Postgre Structured Query Language (Postgre SQL)

Sybase.

Manipulating tables may include:

inserting rows into a table

updating some or all of the data in a table

adding columns to a table

modifying a column within a table

deleting a column from a table

deleting rows from a table

viewing detailed information regarding a table

deleting tables with regard to referential integrity rules.

Information requirements may include:

letters

other business documents required by the organisation

reports

summaries.

Copy and paste from the following performance criteria to create an observation checklist for each task. When you have finished writing your assessment tool every one of these must have been addressed, preferably several times in a variety of contexts. To ensure this occurs download the assessment matrix for the unit; enter each assessment task as a column header and place check marks against each performance criteria that task addresses.

Observation Checklist

Tasks to be observed according to workplace/college/TAFE policy and procedures, relevant legislation and Codes of Practice Yes No Comments/feedback
Retrieve all the data from a single table 
Retrieve data from specific columns in a single table 
1.3 Use 'order by' to sort query output 
2.1 Restrict the number of rows retrieved by placing criteria in the 'where' clause 
Restrict the number of rows retrieved by placing specific criteria in the select statement 
2.3 Use comparison operators in the 'where' clause to compare numeric, character, string, date and time data 
Use Boolean operators with the correct precedence 
2.5 Use criteria in the 'where' clause to check for a range of values, to select values from a list, and to check for values that match a pattern 
Use SQL syntax to suppress duplicate values from query results 
Take action to exclude null values from a query result 
Use arithmetical operators with the correct precedence 
Use string functions and operators to obtain the required query output 
Use mathematical functions to obtain the required output, where required 
Use date functions to obtain the required output 
Use SQL aggregate functions to obtain the required output 
4.1 Use 'group by' to aggregate data by multiple columns 
Sort aggregated data in the query output 
4.3 Filter aggregated data using the 'having' clause 
Employ the inner join syntax to retrieve data from two or more tables 
5.2 Use 'left outer', 'right outer' and 'full outer' syntax to join tables in the select statement 
5.3 Use correct syntax in the 'where' clause to retrieve data from multiple tables 
Write a union query that retrieves data from more than one table 
Construct single and nested sub-queries 
Construct sub-queries that return a single row and multiple rows 
Use correlated sub-queries to retrieve required data 
Write sub-queries that use aggregates 
Identify required columns, data types, keys, relationships, indexes and constraints 
Use relevant naming conventions for database elements 
Create tables that implement required elements 
Manipulate tables to meet specific requirements 
Create views that satisfy information requirements 
Use check constraints in a view 
Retrieve, insert, update and delete data using a view 
Drop a view from a database 
Create and execute stored procedures that use SQL to retrieve, insert or modify data according to information requirements 
Create and execute stored procedures that use one or more parameters 
Drop a stored procedure from the database 
Create and test database triggers that automate data management or perform specific required data-related functions 

Forms

Assessment Cover Sheet

ICAPRG425A - Use structured query language
Assessment task 1: [title]

Student name:

Student ID:

I declare that the assessment tasks submitted for this unit are my own work.

Student signature:

Result: Competent Not yet competent

Feedback to student

 

 

 

 

 

 

 

 

Assessor name:

Signature:

Date:


Assessment Record Sheet

ICAPRG425A - Use structured query language

Student name:

Student ID:

Assessment task 1: [title] Result: Competent Not yet competent

(add lines for each task)

Feedback to student:

 

 

 

 

 

 

 

 

Overall assessment result: Competent Not yet competent

Assessor name:

Signature:

Date:

Student signature:

Date: