WITH t1 AS (SELECT Views, Count(*) AS n FROM Users GROUP ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Artificial Intelligence

Q&A for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment

WITH t1 AS 
 (SELECT Views, Count(*) AS n 
  FROM Users
  GROUP BY Views)
SELECT Views, n, 
       (0.0+n)/(COUNT(*) OVER (PARTITION BY Views))
FROM t1;

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results