Advertisement
jroakes

Position Bins

Sep 4th, 2021
1,404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.25 KB | None | 0 0
  1. CASE
  2.     WHEN FLOOR(Average Position) <= 3 THEN "1. Top 3"
  3.     WHEN FLOOR(Average Position) <= 10 THEN "2. Pos 4-10"
  4.     WHEN FLOOR(Average Position) <= 20 THEN "3. Pos 11-20"
  5.     WHEN FLOOR(Average Position) <= 50 THEN "4. Pos 21-50"
  6.     ELSE "5. Above 50"
  7. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement