Regardless of the mode of delivery, represent a guide to the relative teaching time and student effort required to successfully achieve a particular competency/module. This may include not only scheduled classes or workplace visits but also the amount of effort required to undertake, evaluate and complete all assessment requirements, including any non-classroom activities.

Pre-requisites and Co-requisites

None

Course Description

This unit describes the skills and knowledge required to use a structured query language (SQL) to define, create, and manipulate database structures, and the associated data in a relational database.

It applies to individuals in a wide variety of information and communications technology (ICT) roles, where relational databases and SQL are being used.

National Codes, Titles, Elements and Performance Criteria

National Element Code & Title:

ICTPRG425 Use structured query language

Element:

1. Write a simple SQL statement to retrieve and sort data

Performance Criteria:

1.1 Retrieve all the data from a single table

1.2 Retrieve data from specific columns in a single table

1.3 Use 'order by' to sort query output

Element:

2. Write an SQL statement that selectively retrieves data

Performance Criteria:

2.1 Restrict the number of rows retrieved by placing criteria in the 'where' clause

2.2 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

2.4 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

2.6 Use SQL syntax to suppress duplicate values from query results

2.7 Take action to exclude null values from a query result

Element:

3. Write SQL statements that use functions

Performance Criteria:

3.1 Use arithmetical operators with the correct precedence

3.2 Use string functions and operators to obtain the required query output

3.3 Use mathematical functions to obtain the required output, where required

3.4 Use date functions to obtain the required output

3.5 Use SQL aggregate functions to obtain the required output

Element:

4. Write SQL statements that use aggregation and filtering

Performance Criteria:

4.1 Use 'group by' to aggregate data by multiple columns

4.2 Sort aggregated data in the query output

4.3 Filter aggregated data using the 'having' clause

Element:

5. Write SQL statements that retrieve data from multiple tables

Performance Criteria:

5.1 Employ the inner join syntax to retrieve data from two or more tables

Assessment must be conducted in a safe environment where evidence gathered demonstrates consistent performance in conditions that are safe and replicate the workplace. Noise levels, production flow, interruptions and time variances must be typical of those experienced in the programming and software development, and include access to:

special purpose tools, equipment and materials

industry software packages.

You are advised that you are likely to be asked to personally demonstrate your assessment work to your teacher to ensure that the relevant competency standards are being met.

Feedback

Feedback will be provided throughout the semester in class and/or online discussions. You are encouraged to ask and answer questions during class time and online sessions so that you can obtain feedback on your understanding of the concepts and issues being discussed. Finally, you can email or arrange an appointment with your teacher to gain more feedback on your progress.

You should take note of all feedback received and use this information to improve your learning outcomes and final performance in the course.

Assessment Tasks

You are required to complete two Assessment tasks - Assessment 1 (Project) and Assessment 2 (Worksheets). You must successfully complete all tasks within the assessments to be deemed competent in this course.

The Assessment 1 (Project) will be submitted in two stages. Stage 1 is an individual submission and Stage 2 a team submission. The project provides an opportunity to students to demonstrate the skills they learn in this unit. ASSESSMENT 2(Worksheet) involves database modelling and server concepts.

A workable database structure will be provided in Week 3 for Assessment 1 (Project)

o Assessment 1 ( Project)Stage 1:Submission(Due Week 7 ) - Individual

The database structure is implemented using graphical tools with appropriate data either in MS Access or in MS SQL Server.

You will design and execute simple SQL queries to extract data from this database.

You will be asked to demonstrate, answer question about, and modify queries during assessment time.

o Assessment 1 (Project) Stage 2: Submission (Due Week 14 ) - Team

2 or 3 students will be expected to form a team.

The database structure is implemented using SQL statements in MS SQL Server. Further tables are populated with appropriate data using SQL statements.

You will design and execute complex SQL Queries to extract data from this database.

You will be asked to demonstrate, answer question about, and modify queries during assessment time.