Data & Analytics HT-DAT-108 In person

SQL for Analysts

A foundation course that teaches analysts to write SQL queries that extract, filter, join and summarize data directly from relational databases.

Location
Istanbul
Date
Duration
5 days
Language
Arabic

41.01° N 28.98° E

In brief

SQL for Analysts is a 5-day professional training programme held in Istanbul, Dubai, London, Amsterdam and Online training. Next date: 8 – 12 February 2027 · Istanbul.

Participants learn how relational databases are built from tables and keys, then write SELECT queries for filtering, sorting and calculations. They move on to aggregation with GROUP BY and HAVING and to joining tables with the different types of JOIN. The week closes with subqueries, common table expressions and an introduction to window functions, all on a training database for a fictional company.

What you will learn

  • Write a query that filters orders by date and status and sorts them
  • Join customer, order and product tables in one query with correct results
  • Produce a monthly sales report grouped by region and category
  • Rank customers within each region and calculate a running total with window functions
  • Understand how a relational database is structured and how tables relate
  • Write queries that return exactly the columns and rows needed
  • Summarize data with aggregate functions and grouping
  • Join several tables and choose the right type of join
  • Build multi-step queries with subqueries and CTEs

Skills you will develop

  • SELECT queries
  • Table joins
  • Aggregation and summaries
  • Introduction to window functions

Who should attend

  • Junior data and reporting analysts
  • Business staff who need to extract their own data
  • Excel and Power BI users who want direct access to source data
  • New technical support and systems staff

Day-by-day outline

Day 1 Databases and the First Query

  1. Tables, columns, rows, primary keys and foreign keys
  2. The query tool and reading a database diagram
  3. The SELECT statement, choosing columns and aliasing them

Day 2 Filtering and Calculations

  1. WHERE, comparison operators, IN, BETWEEN and LIKE
  2. Handling NULL values and sorting with ORDER BY
  3. Text and date functions and the CASE expression

Day 3 Aggregation

  1. COUNT, SUM, AVG, MIN and MAX
  2. Grouping with GROUP BY and filtering groups with HAVING
  3. Distinct counts and common mistakes in aggregated results

Day 4 Joining Tables

  1. INNER JOIN and LEFT JOIN
  2. Joining three or more tables and spotting duplicated rows
  3. UNION and combining the results of two queries

Day 5 Advanced Queries and Window Functions

  1. Subqueries and common table expressions
  2. An introduction to window functions: ROW_NUMBER, RANK and running totals
  3. Applied project: a set of queries answering the sales management team's questions on the training company database

Training methodology

Writing queries directly against a training database set up for each participant Business questions of rising difficulty, each translated into a query Debugging exercises on queries that return wrong results without any error message Checking query results against known control totals

Certification

Participants receive a Harbor Training Center certificate of attendance on completing the course.

Requirements

No prerequisites; familiarity with Excel helps. Participants should bring a laptop, and setup instructions for the query tool and training database are sent before the course.

All dates for this course

View in the calendar
Data & Analytics

Survey Design and Field Data Collection

An applied course covering the full survey cycle: writing questions, selecting and sizing the sample, building the digital form…

Data & Analytics

Building KPI Dashboards in Excel

A hands-on course that takes participants step by step from messy raw data to an interactive KPI dashboard in Excel using tables…

Management & Leadership

Management Reporting and Dashboards

A hands-on course on choosing the right KPIs, preparing data and building a monthly dashboard in Excel and Power BI, with written…

Need this course for a whole team?

We design a version for your organisation, at the place and time that suit you.

EUR 5,400 Istanbul
Register Now