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

-- Assuming we have the OwnerUserId, let's call it @OwnerUserId
-- Query to find the badges of the user who owns the most viewed post
SELECT Name
FROM Badges
WHERE UserId = 1203366;

Enter Parameters

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