如果要手工指定 join 顺序,可以参考以下两个hint https://docs.pingcap.com/zh/tidb/stable/optimizer-hints#leadingt1_name--tl_name- https://docs.pingcap.com/zh/tidb/stable/optimizer-hints#straight_join