|
|
1
2
我根据您要添加的内容重新编写了您的查询:
Only thing is the
But be aware that using a substring to match on another column will never perform well - until the data model changes to correct that, this will never be truly optimized. |
|
2
1
You could use an EXISTS with a subquery
|
|
|
3
0
我认为你不需要“独特”或“排序依据”。移除这些应该提高性能。 |
|
John D · 需要为NULL或NOT NULL的WHERE子句 1 年前 |
|
Marc Guillot · 记录值时忽略冲突 1 年前 |
|
|
Fachry Dzaky · 正确使用ROW_NUMBER 1 年前 |
|
|
TriumphTruth · 从满足特定条件的数据集中选择1行 1 年前 |