Hello SQL

0

Please login or register to vote for this query.

(click on this box to dismiss)

CiviCRM

Q&A for administrators and users of the CiviCRM Constituent Relationship Management software

SELECT Top 1 OwnerUserId, Max(ViewCount) as MaxViews
FROM Posts
WHERE YEAR(CreationDate) = 2023
Group by OwnerUserId
ORDER BY MaxViews DESC;
select name
From Badges
Where UserId = 17532318;

Enter Parameters

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