我有以下查询:
select id, firstname,LastName,Company, dense_rank() over (partition by company order by id )
from UserAdditionalData
where Company is not null
这是我得到的结果:http: //prntscr.com/a9d454。Dense_Rank 功能不起作用,请帮助我。
我有以下查询:
select id, firstname,LastName,Company, dense_rank() over (partition by company order by id )
from UserAdditionalData
where Company is not null
这是我得到的结果:http: //prntscr.com/a9d454。Dense_Rank 功能不起作用,请帮助我。