sql SFMC-SQL排名,method1.sql

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sql SFMC-SQL排名,method1.sql相关的知识,希望对你有一定的参考价值。

select
  x.bounceCategory
, x.sendid
from (
  select
    b.bounceCategory
  , b.sendid
  , row_number() over (partition by b.bounceCategory order by newid()) ranking
  from _bounce b
) x 
where x.ranking = 1
/* list all of the bounce categories and return */
/* a random sendid/jobid associated with each one */

以上是关于sql SFMC-SQL排名,method1.sql的主要内容,如果未能解决你的问题,请参考以下文章

sql SFMC-SQL分割remainder.sql

sql SFMC-SQL地理distance.sql

sql SFMC-SQL创建,间二dates.sql

sql SFMC-SQL条次从 - dates.sql

sql SFMC-SQL分割随机-25-percent.sql

sql SFMC-SQL系分割随机-20-percent.sql