【发布时间】:2019-11-30 12:20:49
【问题描述】:
假设我有以下查询。
=query (A:C; "SELECT A, B, C")
如何修改它以使其不返回重复的 A?
换句话说,当多行包含相同的 A 时,我希望结果仅包含其中一行(最后一行)。应该允许在其他列中重复。
在这里我找到了 SQL Server 的答案,但我不知道如何在 Google Sheets Query 中执行此操作 DISTINCT for only one Column
我有什么:
A, B, C
lucas@abc.com, approved, 05/04/2019
lucas@abc.com, not set, 05/05/2019
lucas@abc.com, refunded, 05/06/2019
john@xyz.com, approved, 05/06/2019
john@xyz.com, approved, 05/07/2019
john@xyz.com, approved, 05/07/2019
我想要什么:
A, B, C
lucas@abc.com, refunded, 05/06/2019
john@xyz.com, approved, 05/07/2019
【问题讨论】:
标签: sorting google-sheets filter google-sheets-formula google-sheets-query