SQL_practice

0

Please login or register to vote for this query.

(click on this box to dismiss)

Project Management

Q&A for project managers

SELECT *
  FROM Posts p INNER JOIN Users u
  ON p.OwnerUserId = u.Id
  WHERE p.CreationDate BETWEEN '2023-01-01' AND '2023-12-31'
  AND p.ViewCount = (SELECT MAX(ViewCount)
                        FROM Posts
                        WHERE CreationDate BETWEEN '2023-01-01' AND '2023-12-31');

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results