Physical, Mathematical, Computer and Life Sciences Information Technology and Computer Sciences

SQL Database Access Programming For Applications Training

SAQA US 114048 | NQF 5 | Credits 9 | Duration 6 Days
From $1,382 per delegate

Description

This course equips learners with the skills to design, implement, and manage SQL database access for applications. It covers the creation of database objects, data manipulation, and security measures to ensure efficient and secure data retrieval and storage.

Learning Outcomes

  • Apply SQL statements to create and manage database objects such as tables, views, and indexes.
  • Implement data manipulation operations including INSERT, UPDATE, DELETE, and SELECT queries.
  • Analyze database security requirements and implement access controls and permissions.
  • Evaluate and optimize SQL queries for performance and efficiency.
  • Design and implement stored procedures, functions, and triggers for application integration.
  • Demonstrate the ability to troubleshoot common database access issues.

Target Audience

This course is intended for programmers, software developers, and IT professionals who need to integrate SQL databases into their applications. It is also suitable for individuals seeking to enhance their database programming skills.

Prerequisites

None — open enrollment.

Course Outline

Day 1: Introduction to SQL and Database Fundamentals

Objectives:
• Understand relational database concepts and SQL's role
• Identify database objects: tables, views, indexes, schemas
• Use basic SELECT statements to retrieve data
• Apply filtering with WHERE clause and sorting with ORDER BY

Topics:
• Overview of relational databases and SQL
• Database structure: tables, rows, columns, keys
• Basic SELECT syntax and fetching columns
• Filtering records with WHERE (comparison operators, logical operators)
• Sorting results with ORDER BY (ASC/DESC)
• Introduction to NULL handling

Day 2: Data Manipulation and Functions

Objectives:
• Insert, update, and delete data using DML statements
• Use scalar functions for string, date, and numeric operations
• Group data with aggregate functions and GROUP BY
• Filter groups with HAVING clause

Topics:
• INSERT, UPDATE, DELETE syntax and best practices
• String functions: CONCAT, SUBSTRING, UPPER, LOWER
• Date functions: GETDATE, DATEADD, DATEDIFF
• Numeric functions: ROUND, ABS, COUNT, SUM, AVG, MIN, MAX
• GROUP BY and HAVING clauses
• NULL handling in aggregates

Day 3: Joins and Subqueries

Objectives:
• Combine data from multiple tables using JOINs
• Distinguish INNER, LEFT, RIGHT, FULL OUTER joins
• Write subqueries in WHERE, FROM, and SELECT clauses
• Use correlated subqueries and EXISTS

Topics:
• INNER JOIN syntax and examples
• LEFT and RIGHT OUTER JOINs
• FULL OUTER JOIN and self-joins
• Subqueries: single-row, multiple-row, and scalar
• Correlated subqueries and EXISTS/NOT EXISTS
• Set operations: UNION, INTERSECT, EXCEPT

Day 4: Advanced Query Techniques and Indexing

Objectives:
• Write complex queries using CTEs and window functions
• Understand indexing and its impact on performance
• Create and manage indexes
• Use query execution plans to analyse performance

Topics:
• Common Table Expressions (CTEs) and recursive CTEs
• Window functions: ROW_NUMBER, RANK, DENSE_RANK, LEAD, LAG
• Index types: clustered, nonclustered, unique
• Creating and dropping indexes
• Reading execution plans (basic)
• Query optimisation tips

Day 5: Stored Procedures, Functions, and Transactions

Objectives:
• Create and execute stored procedures with parameters
• Build user-defined functions (scalar and table-valued)
• Manage transactions with COMMIT, ROLLBACK, SAVEPOINT
• Implement error handling with TRY...CATCH

Topics:
• Stored procedure syntax, parameters, and return values
• Scalar functions and inline table-valued functions
• Transaction control: BEGIN, COMMIT, ROLLBACK, SAVEPOINT
• Error handling with TRY...CATCH
• Dynamic SQL basics
• Security: granting EXECUTE permissions

Day 6: Integration with Applications and Final Project

Objectives:
• Connect to a database from an application (e.g., Python, C#)
• Execute SQL queries programmatically and handle results
• Apply best practices for secure and efficient data access
• Complete a practical integration project

Topics:
• Database connection strings and drivers (ODBC, JDBC, ADO.NET)
• Parameterised queries to prevent SQL injection
• Retrieving and processing result sets in code
• Error handling in application code
• Final project: build a small application feature using SQL
• Review and Q&A

Practicals

24 hours of practicals To be conducted online or on-campus or in-house
Overview

Hands-on practical sessions are integrated daily to reinforce SQL concepts. Learners will write and execute queries on a live database, create database objects, implement stored procedures, and integrate SQL with a sample application, ensuring they can apply skills in real-world scenarios.

Practical Activities
  • Basic Queries and Data Manipulation — Learners write SELECT, INSERT, UPDATE, and DELETE statements on provided tables, practising filtering, sorting, and using functions. (4h)
  • Joins and Subqueries — Learners combine data from multiple tables using various JOIN types and write subqueries to answer complex business questions. (5h)
  • Advanced Queries and Indexing — Learners create CTEs, window functions, and indexes, then analyse query performance using execution plans. (5h)
  • Stored Procedures and Transactions — Learners build stored procedures and functions, implement transaction control, and handle errors with TRY...CATCH. (5h)
  • Application Integration Project — Learners connect a sample application (e.g., Python script) to the database, execute parameterised queries, and display results. (5h)

Summatives

Each delegate is assessed continuously throughout the course via daily exercises, scored practical assignments, and a final summative test at the end.

Practical Assignments — 30%

Practical assignments are observed and scored against a rubric during the practical sessions. Each delegate's practical mark is averaged into a single 100% score and contributes 30% to the final total.

Daily Exercises — 20%

Every training day ends with a multiple-choice exercise scored out of 100%. The scores from each daily exercise are averaged across the duration of the course to produce a Daily Average mark, which contributes 20% to the final total.

Final Test — 50%

On the last day a final summative test is written. It is a multiple-choice paper with multiple-answer questions: each question may have more than one correct option, and a single wrong selection on a question marks the entire question wrong — no partial credit. The final test is scored out of 100% and contributes 50% to the overall mark.

Final Total
Component Out of Weight
Practical Assignments (rubric-scored) 100% 30%
Daily Average (multiple choice) 100% 20%
Final Test (multi-answer multiple choice) 100% 50%
Final Total 100%

All marks are recorded on the AATICD LMS and visible to each learner under their account.

Certificate

Certificate of Completion

Awarded to delegates who achieve an overall mark of 50% or higher on the Final Total (Practicals 30% + Daily Average 20% + Final Test 50%).

How it works
  • Certificates are auto-generated on the AATICD LMS as soon as the marks pass the 50% threshold.
  • Each certificate is a branded PDF with the delegate's name, the course title, the unit standard ID, NQF level, credits, and the date of issue.
  • You can download or print your certificate from your LMS dashboard at any time after issue — there's no reissue fee and no expiry date.
  • If you scored under 50% you can sit the final test again at the next scheduled session at no extra cost.
Where to find it

Sign in to the LMS, open your dashboard, and your certificates appear under My Certificates. Each entry has a View / Download button and a print option.

Training Discounts

Group discounts apply automatically — the more delegates you enrol, the greater the saving. Discounts are calculated at 3% per 5 delegates, scaling up to 40% off for 100+ delegates.

Delegates Discount
5 3% off
10 6% off
15 9% off
20 12% off
25 15% off
30 18% off
50 30% off
75 35% off
100 40% off

3% discount per 5 delegates, up to 40% off for 100+ delegates. Contact us for a custom group quote.

Upcoming Training Sessions
Online training — attend live sessions from anywhere via our virtual classroom.
Start End Delivery Season Price Action
Thu 10 Sep 2026 Thu 17 Sep 2026 Virtual Spring 2026 $1,382 Register
Wed 30 Sep 2026 Wed 07 Oct 2026 Virtual Spring 2026 $1,382 Register
Tue 20 Oct 2026 Tue 27 Oct 2026 Virtual Spring 2026 $1,382 Register
Tue 08 Dec 2026 Tue 15 Dec 2026 Virtual Summer 2026 $1,382 Register
Mon 11 Jan 2027 Mon 18 Jan 2027 Virtual Summer 2026 $1,382 Register
Fri 19 Feb 2027 Fri 26 Feb 2027 Virtual Summer 2026 $1,382 Register
Thu 04 Mar 2027 Thu 11 Mar 2027 Virtual Autumn 2027 $1,382 Register
Wed 10 Mar 2027 Wed 17 Mar 2027 Virtual Autumn 2027 $1,382 Register
Tue 16 Mar 2027 Tue 23 Mar 2027 Virtual Autumn 2027 $1,382 Register
Mon 07 Jun 2027 Mon 14 Jun 2027 Virtual Winter 2027 $1,382 Register
Fri 02 Jul 2027 Fri 09 Jul 2027 Virtual Winter 2027 $1,382 Register
Thu 22 Jul 2027 Thu 29 Jul 2027 Virtual Winter 2027 $1,382 Register
Wed 08 Sep 2027 Wed 15 Sep 2027 Virtual Spring 2027 $1,382 Register
Tue 28 Sep 2027 Tue 05 Oct 2027 Virtual Spring 2027 $1,382 Register
Mon 18 Oct 2027 Mon 25 Oct 2027 Virtual Spring 2027 $1,382 Register
Tue 07 Dec 2027 Tue 14 Dec 2027 Virtual Summer 2027 $1,382 Register
Mon 27 Dec 2027 Mon 03 Jan 2028 Virtual Summer 2027 $1,382 Register
Fri 21 Jan 2028 Fri 28 Jan 2028 Virtual Summer 2027 $1,382 Register
On-Campus training — face-to-face sessions at our training venues across Africa and beyond.
Showing all 495 sessions across 26 venues
Start End Venue Season Price Action
Wed 05 Aug 2026 Wed 12 Aug 2026 Mauritius Winter 2026 $4,180 Register
Thu 06 Aug 2026 Thu 13 Aug 2026 Cape Town, South Africa Winter 2026 $3,424 Register
Fri 07 Aug 2026 Fri 14 Aug 2026 Dubai, UAE Winter 2026 $5,584 Register
Mon 10 Aug 2026 Mon 17 Aug 2026 Abu Dhabi, UAE Winter 2026 $5,584 Register
Tue 11 Aug 2026 Tue 18 Aug 2026 Durban, South Africa Winter 2026 $3,262 Register
In-House training — we bring the trainer to your organisation, tailored to your team.
Start End Delivery Season Price Action
Fri 18 Sep 2026 Fri 25 Sep 2026 Your Premises Spring 2026 $1,798 Register
Thu 08 Oct 2026 Thu 15 Oct 2026 Your Premises Spring 2026 $1,798 Register
Wed 28 Oct 2026 Wed 04 Nov 2026 Your Premises Spring 2026 $1,798 Register
Wed 16 Dec 2026 Wed 23 Dec 2026 Your Premises Summer 2026 $1,798 Register
Tue 19 Jan 2027 Tue 26 Jan 2027 Your Premises Summer 2026 $1,798 Register
Mon 22 Feb 2027 Mon 01 Mar 2027 Your Premises Summer 2026 $1,798 Register
Fri 12 Mar 2027 Fri 19 Mar 2027 Your Premises Autumn 2027 $1,798 Register
Thu 18 Mar 2027 Thu 25 Mar 2027 Your Premises Autumn 2027 $1,798 Register
Wed 24 Mar 2027 Wed 31 Mar 2027 Your Premises Autumn 2027 $1,798 Register
Tue 15 Jun 2027 Tue 22 Jun 2027 Your Premises Winter 2027 $1,798 Register
Mon 05 Jul 2027 Mon 12 Jul 2027 Your Premises Winter 2027 $1,798 Register
Fri 30 Jul 2027 Fri 06 Aug 2027 Your Premises Winter 2027 $1,798 Register
Thu 16 Sep 2027 Thu 23 Sep 2027 Your Premises Spring 2027 $1,798 Register
Wed 06 Oct 2027 Wed 13 Oct 2027 Your Premises Spring 2027 $1,798 Register
Tue 26 Oct 2027 Tue 02 Nov 2027 Your Premises Spring 2027 $1,798 Register
Wed 15 Dec 2027 Wed 22 Dec 2027 Your Premises Summer 2027 $1,798 Register
Tue 04 Jan 2028 Tue 11 Jan 2028 Your Premises Summer 2027 $1,798 Register
Mon 24 Jan 2028 Mon 31 Jan 2028 Your Premises Summer 2027 $1,798 Register
Training Discounts
Delegates Discount
5 3% off
10 6% off
15 9% off
20 12% off
25 15% off
30 18% off
50 30% off
75 35% off
100 40% off

3% off per 5 delegates, up to 40% for 100+

View Sessions & Register Get A Quote Download Course Brochure
Have an account?

Sign in to track your applications and manage your cart.

Related Courses

Other Physical, Mathematical, Computer and Life Sciences courses at NQF level 5 learners on this page also viewed.

Browse the full Physical, Mathematical, Computer and Life Sciences category for physical, mathematical, computer and life sciences training programmes.
GET A QUOTE / APPLY COURSE CATALOGUE