- Use DESC
- Retrieve records using a SELECT statement
- Query data from a MySQL client
- Get query execution plan
- Optimize pagination by KeySet seeker
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.
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
- 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
Module 2: Data Types and Expressions
- Describe data types
- Describe numeric, date, string, and NULL
- Describe boolean expression
- Choose the right data type
Module 3: Functions and Expressions
- 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
Module 4: Joins
- JOIN concepts
- JOIN multiple tables
- UNION and other set operations on multiple queries
Module 5: Subqueries
- Subquery concept
- Simple subqueries
- Correlated subqueries
TiDB Cloud Dedicated
TiDB Cloudのエンタープライズ版。
専用VPC上に構築された専有DBaaSでAWSとGoogle Cloudで利用可能。
TiDB Cloud Serverless
TiDB Cloudのライト版。
TiDBの機能をフルマネージド環境で使用でき無料かつお客様の裁量で利用開始。