【发布时间】:2014-11-30 21:47:06
【问题描述】:
使用 BQL 从 BQL 中选择非重复项的最佳方法是什么?
Search<PRTaxCode.prGovtRefNbr,
Where<PRTaxCode.prGovtRefNbr, IsNotNull>,
And<PRTaxCode.prGovtRefNbr, ***not already in results***>>?
当前结果: 52-55555555555 52-55555555555
结果应该是: 52-55555555555 52-12345678 52-144550099
【问题讨论】:
-
找到了我自己的答案:Search4
, Aggregate >> -
使用 Aggregate 和 GroupBy 解决了这个问题。