dreamlu / gt

[gt] everything is a tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

实现查询distinct功能

huaqi666 opened this issue · comments

commented

left join时候,结果只出现了部分字段时,会出现重复,需要去重
例如表1,t2:id,name (1条)
表2,t2:id,t1_id (3条)
left join查询结果是t1.id和name时,出现重复

support