SELECT a.user_name,a.avatar,a.nicheng,a.user_rank,b.rank_name,b.rank_img FROM ecs_users a , ecs_user_rank b
WHERE user_id in(14495) and a.rank_points >= b.min_points and a.rank_points <= b.max_points ;


update ecs_users a,ecs_user_rank b
set a.user_rank =b.rank_id
WHERE user_id in(14495) and a.rank_points >= b.min_points and a.rank_points <= b.max_points ;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-13
  • 2021-12-05
  • 2022-12-23
  • 2021-06-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
  • 2022-01-21
  • 2022-12-23
相关资源
相似解决方案