Alexander_89

Untitled

Feb 8th, 2023
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT p.title, p.user_id, p.score, ROUND(AVG(p.score) OVER(PARTITION BY p.user_id), 0)
  2. FROM stackoverflow.posts p
  3. WHERE p.score > 0
  4. AND p.title != '';
Advertisement
Add Comment
Please, Sign In to add comment