NTISthis.com

Evidence Guide: ICAB4136B - Use structured query language to create database structures and manipulate data

Student: __________________________________________________

Signature: _________________________________________________

Tips for gathering evidence to demonstrate your skills

The important thing to remember when gathering evidence is that the more evidence the better - that is, the more evidence you gather to demonstrate your skills, the more confident an assessor can be that you have learned the skills not just at one point in time, but are continuing to apply and develop those skills (as opposed to just learning for the test!). Furthermore, one piece of evidence that you collect will not usualy demonstrate all the required criteria for a unit of competency, whereas multiple overlapping pieces of evidence will usually do the trick!

From the Wiki University

 

ICAB4136B - Use structured query language to create database structures and manipulate data

What evidence can you provide to prove your understanding of each of the following citeria?

Write a simple SQL statement to retrieve and sort data

  1. Retrieve all the data from a single table
  2. Retrieve data from specific columns in a single table
  3. Use 'order by' to sort query output
Retrieve all the data from a single table

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Retrieve data from specific columns in a single table

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Use 'order by' to sort query output

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Write an SQL statement that selectively retrieves data

  1. Restrict the number of rows retrieved by placing criteria in the 'where' clause
  2. Restrict the number of rows retrieved by placing specific criteria in the select statement
  3. Use comparisonoperators in the 'where' clause to compare numeric, character, string, date and time data
  4. Use Booleanoperators with the correct precedence
  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
  6. Use SQL syntax to suppress duplicate values from query results
  7. Take action to exclude null values from a query result
Restrict the number of rows retrieved by placing criteria in the 'where' clause

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Restrict the number of rows retrieved by placing specific criteria in the select statement

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Use comparisonoperators in the 'where' clause to compare numeric, character, string, date and time data

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Use Booleanoperators with the correct precedence

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

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

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Use SQL syntax to suppress duplicate values from query results

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Take action to exclude null values from a query result

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Write SQL statements that use functions

  1. Use arithmeticaloperators with the correct precedence
  2. Use string functions and operators to obtain the required query output
  3. Use mathematicalfunctions to obtain the required output, where required
  4. Use date functions to obtain the required output
  5. Use SQL aggregate functions to obtain the required output
Use arithmeticaloperators with the correct precedence

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Use string functions and operators to obtain the required query output

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Use mathematicalfunctions to obtain the required output, where required

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Use date functions to obtain the required output

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Use SQL aggregate functions to obtain the required output

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Write SQL statements that use aggregation and filtering

  1. Use 'group by' to aggregate data by multiple columns
  2. Sort aggregated data in the query output
  3. Filter aggregated data using the 'having' clause
Use 'group by' to aggregate data by multiple columns

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Sort aggregated data in the query output

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Filter aggregated data using the 'having' clause

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Write SQL statements that retrieve data from multiple tables

  1. Employ the inner join syntax to retrieve data from two or more tables
  2. Use 'left outer', 'right outer' and 'full outer' syntax to join tables in the select statement
  3. Use correct syntax in the 'where' clause to retrieve data from multiple tables
  4. Write a union query that retrieves data from more than one table
Employ the inner join syntax to retrieve data from two or more tables

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Use 'left outer', 'right outer' and 'full outer' syntax to join tables in the select statement

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Use correct syntax in the 'where' clause to retrieve data from multiple tables

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Write a union query that retrieves data from more than one table

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Write and execute SQL sub-queries

  1. Construct single and nested sub-queries
  2. Construct sub-queries that return a single row, and multiple rows
  3. Use correlated sub-queries to retrieve required data
  4. Write sub-queries that use aggregates
Construct single and nested sub-queries

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Construct sub-queries that return a single row, and multiple rows

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Use correlated sub-queries to retrieve required data

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Write sub-queries that use aggregates

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Create and manipulate tables

  1. Identify required columns, data types, keys, relationships, indexes and constraints
  2. Use relevant naming conventions for all database elements
  3. Create tables that implement all required elements
  4. Insert rows into tables
  5. Update some or all of the data in a table
  6. Add columns to a table
  7. Modify a column within a table
  8. Delete a column from a table
  9. Delete rows from a table
  10. View detailed information regarding a table
  11. Delete tables with regard to referential integrity rules
Identify required columns, data types, keys, relationships, indexes and constraints

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Use relevant naming conventions for all database elements

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Create tables that implement all required elements

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Insert rows into tables

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Update some or all of the data in a table

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Add columns to a table

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Modify a column within a table

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Delete a column from a table

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Delete rows from a table

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

View detailed information regarding a table

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Delete tables with regard to referential integrity rules

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Create and use views

  1. Create views that satisfy informationrequirements
  2. Use check constraints in a view
  3. Retrieve, insert, update and delete data using a view
  4. Drop a view from a database
Create views that satisfy informationrequirements

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Use check constraints in a view

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Retrieve, insert, update and delete data using a view

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Drop a view from a database

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Create and use stored procedures

  1. Create and execute stored procedures that use SQL to retrieve, insert or modify data according to informationrequirements
  2. Create and execute stored procedures that use one or more parameters
  3. Drop a stored procedure from the database
  4. Create and test database triggers that automate data management or perform specific required data-related functions
Create and execute stored procedures that use SQL to retrieve, insert or modify data according to informationrequirements

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Create and execute stored procedures that use one or more parameters

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Drop a stored procedure from the database

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Create and test database triggers that automate data management or perform specific required data-related functions

Completed
Date:

Teacher:
Evidence:

 

 

 

 

 

 

 

Assessed

Teacher: ___________________________________ Date: _________

Signature: ________________________________________________

Comments:

 

 

 

 

 

 

 

 

Instructions to Assessors

Evidence Guide

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 following is essential:

Assessment must confirm the ability to use a structured query language to create database structures, and store, retrieve and manipulate data in a relational database.

To demonstrate competency in this unit the person will require access to:

Client requirements

Functionality and scope requirements

Access requirements and policy

Security policy

Naming standards

Context of and specific resources for assessment

SQL database functions are in place for most organisations and have become integral to internet-based data provision and data retrieval.

Any assessment of this unit of competency will usually include observation of real or simulated SQL code development and processes data engineering.

The breadth, depth and complexity of knowledge and skills in this competency would cover a broad range of varied activities or application in a wider variety of contexts most of which are complex and non-routine. Leadership and guidance would be involved when organising activities of self and others as well as contributing to technical solutions of a non-routine or contingency nature.

Assessment must ensure:

Performance of a broad range of skilled applications including the requirement to evaluate and analyse current practices, develop new criteria and procedures for performing current practices and provision of some leadership and guidance to others in the application and planning of the skills would be characteristic.

Applications may involve responsibility for, and limited organisation of, others.

Applications involve responsibility for SQL code structures and manipulation of data.

Method of assessment

The purpose of this unit is to define the standard of performance to be achieved in the workplace. In undertaking training and assessment activities related to this unit, consideration should be given to the implementation of appropriate diversity and accessibility practices in order to accommodate people who may have special needs. Additional guidance on these and related matters is provided in ICA05 Section 1.

Competency in this unit should be assessed using summative assessment to ensure consistency of performance in a range of contexts. This unit can be assessed either in the workplace or in a simulated environment. However, simulated activities must closely reflect the workplace to enable full demonstration of competency.

Assessment will usually include observation of real or simulated work processes and procedures and/or performance in a project context as well as questioning on underpinning knowledge and skills. The questioning of team members, supervisors, subordinates, peers and clients where appropriate may provide valuable input to the assessment process. The interdependence of units for assessment purposes may vary with the particular project or scenario.

Guidance information for assessment

Holistic assessment with other units relevant to the industry sector, workplace and job role is recommended, for example:

ICAB4060B Identify physical database requirements

ICAB4061B Monitor physical database implementation

An individual demonstrating this competency would be able to:

Demonstrate understanding of a broad knowledge base incorporating some theoretical concepts

Apply solutions to a defined range of unpredictable problems

Identify and apply skill and knowledge areas to a wide variety of contexts, with depth in some areas

Identify, analyse and evaluate information from a variety of sources

Take responsibility for own outputs in relation to specified quality standards

Take limited responsibility for the quantity and quality of the output of others

Demonstrate understanding of broad database structures incorporating some theoretical concepts

Manipulate data and provide solutions to a defined range of unpredictable problems

Take limited responsibility for the quantity and quality of database data

Maintain knowledge of industry products and services

Required Skills and Knowledge

Required skills

Analysis skills to determine data objects required, data structures and business requirements

Data modelling skills, particularly during the design and development phases

Report queries and view development using analytical and evaluation skills

Required knowledge

Broad knowledge of data modelling structures

Data analysis, particularly in determining data types, data structures and to query and report design

Run time facilities in relation to implementing live database

DBMS fundamentals

Range Statement

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

not equal to

greater than

less than

greater than or equal to

less than or equal to

Booleanoperators may include the use of:

AND

OR

NOT

Database may include but are not limited to:

Oracle

Sybase

Microsoft SQL Server

Ingres

DB2

Informix

mSQL

MySQL

SQL Server PostgresSQL

Arithmeticaloperators may include:

addition

subtraction

multiplication

modulus division

Mathematicalfunctions may include:

cos

log

power

sin

square root

Informationrequirements may include:

reports

summaries

letters

other business documents required by the organisation