📣

TiDB Cloud Serverless 现已更名为
Starter
!此页面由 AI 自动翻译,英文原文请见
此处。

SQL 逻辑优化

本章将解释一些关键的逻辑重写,帮助你理解 TiDB 如何生成最终的查询计划。例如,当你在 TiDB 中执行 select * from t where t.a in (select t1.a from t1 where t1.b=t.b) 查询时,你会发现 IN 子查询 t.a in (select t1.a from t1 where t1.b=t.b) 并不存在,因为 TiDB 在此进行了重写。

本章介绍了以下关键重写:

文档内容是否有帮助?