data sasuser.qiang_pom3;
set sasuser.qiang_pom3;
by hotel_id customer_id;
lag_author_rating = lag(review_rate_hotel);
repeatreview = 1;
if first.customer_id then do;
lag_author_rating = 0;
repeatreview = 0;
end;
run;
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝