Introduction

This course focuses on the essential SQL query skills and guides the audience to take performance into consideration while writing SQL from the first place. And, most of the content in this course is applicable with MySQL, learners can understand the compatibility of TiDB and MySQL by practices.

Free online learning is coming soon!

Private Training is available now. To purchase Private Training, contact sales to build out a custom training plan.

Contact Sales

Summary

  • Audience: SQL developer beginners
  • Level: Introductory
  • Duration: 1 day
  • Prerequisites: You know how to connect to TiDB with the MySQL Client.
  • TiDB Version: v6.x

Course Outline

  • Use DESC
  • Retrieve records using a SELECT statement
  • Query data from a MySQL client
  • Get query execution plan
  • Optimize pagination by KeySet seeker
  • Describe data types
  • Describe numeric, date, string, and NULL
  • Describe boolean expression
  • Choose the right data type
  • Use String functions
  • Use Date and time functions
  • Use Numeric functions
  • Use aggregate functions
  • Run a simple analysis using RANK window function
  • Use control flow functions
  • Understand TiKV expression push down
  • JOIN concepts
  • JOIN multiple tables
  • UNION and other set operations on multiple queries
  • Subquery concept
  • Simple subqueries
  • Correlated subqueries

Build out a custom training plan?  Contact Sales

Module 1: Querying Data in TiDB

  • Use DESC
  • Retrieve records using a SELECT statement
  • Query data from a MySQL client
  • Get query execution plan
  • Optimize pagination by KeySet seeker
TiDB Cloud logo-black

TiDB Cloud

Get the massive scale and resiliency of TiDB databases in a fully managed cloud service

TiDB logo-black

TiDB

TiDB is effortlessly scalable, open, and trusted to meet the real-time needs of the digital enterprise