【发布时间】:2015-10-27 20:04:39
【问题描述】:
我有一个 BigQuery 表,其中包含如下数据:
date hits_eventInfo_Category hits_eventInfo_Action session_id user_id hits_time hits_eventInfo_Label
20151021 Air Search 1445001 A232 1952 CurrentLocation
20151021 Air Search 1445001 A232 1952 CurrentLocation
20151021 Air Search 1445001 A232 1952 CurrentLocation
20151021 Air Select 1445001 A232 7380 Vendor
20151021 Air Select 1445001 A232 7380 Vendor
20151021 Air Select 1445001 A232 7380 Vendor
如您所见,有一系列重复记录。我希望得到每个重复记录集中的重复记录之一。例如:
date hits_eventInfo_Category hits_eventInfo_Action session_id user_id hits_time hits_eventInfo_Label
20151021 Air Search 1445001 A232 1952 CurrentLocation
20151021 Air Select 1445001 A232 7380 Vendor
我该怎么做?
提前致谢!
【问题讨论】:
标签: sql duplicates google-bigquery