SQL for Data Analysis

SQL Training Course

SQL(結構化查詢語言)是管理和分析數據的強大工具。在這門全面的課程中,你將學習如何運用SQL來提取、操作和分析數據,以進行有效的決策。在整個課程中,你將深入探討各種主題,包括數據檢索、篩選和排序、聚合數據、多個表的連接以及子查詢和嵌套查詢。

學生將通過一系列練習從撰寫簡單的SQL語句開始,到課程結束時撰寫更複雜的語句。

無論你是數據分析師、商業智能專業人士還是有志成為數據科學家,這門課程將為你提供必要的SQL技能,從複雜的數據集中發掘洞察力。

SQL Training Course

What you’ll learn

An Overview of Relational Databases

  • The Role of the Database Server
  • Interacting with a Database Server: The Client
  • Databases, Schemas, Tables, Rows and Columns
  • Primary Keys and Foreign Keys Explained
  • Introducing Data Types: Character, Numeric, Date and Time

Introducing SQL

  • Creating and Editing SQL
  • About Statements, Batches and Scripts
  • Executing and Parsing SQL Scripts
  • Using Comments
  • SQL Syntax and The Rules of SQL
  • About Keywords, Identifiers, Operators, Whitespace and Case
  • About the Semi Colon
  • SQL Conventions and Good Practice

Retrieving Data with SQL: First Steps

  • Introducing Queries: The SELECT Statement
  • The Clauses of the SELECT Statement
  • About Optional Clauses and Mandatory Clauses
  • Using FROM to Specify the Source Table(s)
  • Retrieving Entire Tables
  • Retrieving Specific Columns
  • Using Column Aliases to Rename Columns
  • Performing Calculations
  • Using Numeric and String Operators to Create Derived Output
  • Ways of Limiting the Output
  • Using ORDER BY to Sort the Output
  • Ways of Working: Some Tips

Using WHERE to Filter Results

  • Working with Comparison Operators (=, >= etc)
  • Numeric and String Based Filtering
  • Filtering Based on Calculations
  • Eliminating Duplicate Results with DISTINCT
  • Extending Filters with AND and OR
  • Range Filtering using BETWEEN and IN
  • NULL and its Implications Explained
  • Matching Patterns with LIKE

Getting Results From Multiple Tables

  • Joins Explained
  • The Different Types of Joins
  • Creating an Inner Join: WHERE Syntax
  • Creating an Inner Join: INNER JOIN Syntax
  • Table Aliases: Why We Need Them
  • Joining a Table to Itself
  • Outer Joins: An Example
  • How to Simplify Joins: An Approach

Using Standard SQL Functions

  • How to Use Standard SQL Functions to Modify Results
  • Mathematical, String and Conversion Functions
  • Formatting Numbers to Two Decimal Places
  • Replacing NULL with a Specific Value
  • Using Standard Functions in WHERE
  • Using CASE to Specify Output Conditions

Grouping and Summarizing Results

  • Using Aggregate Functions (MAX(), SUM(), AVG(), COUNT() etc)
  • The Way Aggregate Functions Work
  • Using GROUP BY to Group Results
  • The Need for HAVING: Filtering the Result Table

Inserting, Updating and Deleting Data

  • Inserting Single Rows
  • Inserting Multiple Rows
  • Inserting Rows by Column Position
  • Inserting Rows by Column Name
  • Inserting Data from one Table into Another
  • Updating Data
  • Deleting Data


課程班別
 
SQL5111 - 廣東話 20 Nov enrol
 
SQL5112 - 廣東話 24 Nov enrol
 
SQL5122 - 廣東話 06 Dec enrol
 
SQL5124 - 廣東話 11 Dec enrol
 
SQL5123 - Eng 11 Dec enrol
相關課程
  Access
  Access SQL
  Advanced Access
  Certificate course in eShop Production