Advanced Structured Query Language(SQL) for Database Development and Management Training Course

INTRODUCTION

SQL is the cornerstone of all relational database operations. In this hands-on Writing Advanced SQL Queries course, you will learn how to exploit the full potential of the SELECT statement to write robust queries using the best query method for your application, test your queries, and avoid common errors and pitfalls. It also teaches alternative solutions to given problems, enabling you to choose the most efficient solution in each situation.

SQL (Structured Query Language) is the most popular database language in the world. It is used widely by a variety of database systems to create queries and manipulate data. SQL is generic and compatible with the majority of database systems, which explains its widespread use and why SQL certified individuals are highly valued by businesses.

During this SQL training course, participants will be introduced to the fundamentals of SQL and will gain an insight into the essentials of relational databases. The participants will quickly acquire an understanding of vital querying language concepts and will emerge from this course as well-informed individuals who are able to implement their knowledge immediately within their own organizations.

Throughout this training course, participants will engage in tasks and exercises to ensure that they become familiar with the basic features of SQL in practical terms. On course completion, participants will be able to comfortably use SQL to select, organise, insert, delete, and review data within a database. They will also understand some advanced SQL statements and be familiar with the main functions of SQL such as conversions, SQL syntax, and dates.

 

TARGET AUDIENCE

This training course is designed for anyone who is interested in learning more about SQL language and databases to develop and manage a relational database.

PREREQUISITES

Before you start doing this course , one should have basic understanding of MySQL database, and a basic knowledge of PHP is recommended for this course.

DURATION

10 days

COURSE OBJECTIVES OF SQL

  • Maximize the potential of SQL to build powerful, complex and robust SQL queries
  • Query multiple tables with inner joins, outer joins and self joins
  • Construct recursive common table expressions
  • Summarize data using aggregation and grouping
  • Execute analytic functions to calculate ranks
  • Build simple and correlated subqueries
  • Thoroughly test SQL queries to avoid common errors
  • Select the most efficient solution to complex SQL problems   

 

COURSE CONTENT

Introduction  

SQL – An Introduction and Overview

SQL fundamentals

  • Why SQL can be both easy and difficult
  • Recommendations for thorough testing

Retrieving data with SELECT

  • Expressions
  • Literals
  • Handling NULLs properly

Executing queries

  • Analyzing query plans
  • Enhancing query performance
  • Retrieving partly results with FETCH and OFFSET
  • Selecting the best alternatives
  • Avoiding errors and pitfalls
  • Relational Databases
  • Using SQL
  • Using Object Explorer
  • Hiding system objects

Creating databases

  • Designing databases
  • Primary keys
  • Indexing fields

Working with tables

  • Creating tables
  • Allowing nulls
  • Identity fields
  • Database diagrams
  • Designing database diagrams
  • Joining tables

Data Manipulation Language

  • SELECT, DISTINCT Operations
  • Functions
  • Ordering Data
  • Inserting, Updating & Deleting rows

Queries 

  • Writing queries
  • Indentation and case
  • Setting criteria using WHERE
  • Wildcards
  • Setting criteria for dates
  • Dealing with nulls
Querying Multiple Tables

Implementing various types of joins

  • Inner joins
  • Cross joins
  • Left, right and full outer joins
  • Equijoins vs. theta joins
  • The performance implications of joins
  • Adding filter conditions to outer joins

Writing self joins

  • Joining a table to itself
  • Chaining self joins
  • Solving time-interval problems

Combining queries with set operators

  • UNION
  • UNION ALL
  • INTERSECT
  • EXCEPT

Exporting

  • Results, text and grid options
  • Copying and pasting column headings
  • Exporting using SQL & the menu

Calculations

  • Calculated columns
  • Aliases
  • String functions and concatenation
  • Using GetDate
  • Converting dates
  • Useful date functions

Joins

  • Inner joins
  • Table aliases
  • Left and right outer joins
  • Cross joins
  • Full outer joins
  • Self joins

Aggregation and grouping

  • SUM, AVG, MIN, MAX
  • Counts
  • Grouping by fields
  • Using HAVING to filter results

Summarizing data with aggregate functions

  • COUNT
  • SUM
  • AVG
  • MIN
  • MAX
  • Managing NULLs
  • identifying duplicates

Grouping data

  • GROUP B
  • Applying conditions with HAVING
  • Calculating moving averages
  • Building crosstab reports

Extending group queries

  • Nesting grouped aggregates
  • Joins and grouping
  • Introducing subtotals with CUBE and ROLLUP

Views

  • The view designer
  • Limitations of the designer
  • Scripting views

Performing Extensive Analysis with Analytic Functions

The OVER clause

  • Specifying the ordering before applying the function

  • Splitting the result set into logical partitions

Calculating ranks

  • RANK and DENSE_RANK

  • ROW_NUMBER with ordered sets

  • Calculating percentiles

Extending the use of aggregates

  • Partitioning in multiple levels

  • Computing running totals

  • Comparing row and aggregate values

  • Top-N queries

  • Defining sliding window boundaries

Building Subqueries

Self-contained subqueries

  • Subqueries in conditions and column expressions

  • Creating multilevel subqueries

  • Avoiding problems when subqueries return NULLs

  • Handling multirow subquery results

  • Finding gaps in number series

Correlated subqueries

  • Accessing values from the outer query

  • EXISTS vs. IN

  • Identifying duplicates

  • Avoiding accidental correlation

Common table expressions

  • Reusable subqueries

  • Recursive subqueries

  • Traversing hierarchies

Breaking Down Complex Queries

  • Overcoming SQL limitations

  • Reducing complexity and improving performance

 

 

TAILOR- MADE

This training can also be customized for your institution upon request to a minimum of 4 participants. You can have it delivered in our Livecode Technologies Training Centre or at a convenient location.

For further inquiries, please contact us on 

Mob: +254 725771853

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.

REQUIREMENTS

Participants should be reasonably proficient in English. Applicants must live up to Livecode Technologies admission criteria.

METHODOLOGY

The instructor led trainings are delivered using a blended learning approach and comprises of presentations, guided sessions of practical exercise, web based tutorials and group work. Our facilitators are seasoned industry experts with years of experience, working as professional and trainers in these fields.

All facilitation and course materials will be offered in English. The participants should be reasonably proficient in English.

ACCREDITATION

Upon successful completion of this training, participants will be issued with a Livecode Technologies certificate.

TRAINING VENUE

The training is residential and will be held at livecodeTraining Centre. The course fee covers the course tuition, training materials, two break refreshments, lunch, and study visits.

All participants will additionally cater for their, travel expenses, visa application, insurance, and other personal expenses.

ACCOMMODATION

Accommodation is arranged upon request. For reservations contact the Training Officer.

Email: This email address is being protected from spambots. You need JavaScript enabled to view it..

Mob: +254 725771853

PAYMENT

Payment should be transferred to Livecode Technologies account through bank before the training date.

Send proof of payment to This email address is being protected from spambots. You need JavaScript enabled to view it.

Training Fees

The course fee is KES 138,000.00 or USD 2000.00 exclusive of VAT. The course fees covers the course tuition, training materials, two (2) break refreshments, lunch and study visits. Participants will cater for their travel and accommodation costs

CANCELLATION POLICY

Payment for the all courses includes a registration fee, which is non-refundable, and equals 15% of the total sum of the course fee.

  1. Participants may cancel attendance 14 days or more prior to the training commencement date.
  2. No refunds will be made 14 days or less to the training commencement date. However, participants who are unable to attend may opt to attend a similar training at a later date, or send a substitute participant provided the participation criteria have been met

Please Note: The program content shown here is for guidance purposes only. Our continuous course improvement process may lead to changes in topics and course structure.

Event Properties

Event Date 02-13-2023 8:00 am
Event End Date 02-24-2023 5:00 pm
Registered 0
Cut off date 02-09-2023
Individual Price USD 2,000
Location Nairobi, Kenya
We are no longer accepting registration for this event
Share this event:

Contact Us

Kenya | Uganda | Tanzania | Rwanda | Malawi.

Nairobi Office: GTC Building Complex, 2nd floor

P.O BOX 21567-00100

Official: info@livecodetech.co.ke

Westlands,    Nairobi, Kenya

Quick Links

Some of our Technologies

web technology