SELECT /*+ use_hash(USERS POSTS) */ COUNT(*) Pocet_Uziv...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drones and Model Aircraft Meta

Q&A for experienced flyers, pilots, and builders of drones and model aircraft

SELECT   /*+ use_hash(USERS POSTS) */
COUNT(*) Pocet_Uziv_SVice10Post
FROM USERS u
WHERE 
    EXISTS ( SELECT OwnerUserId
              FROM POSTS p 
               WHERE u.id = p.OwnerUserId
               GROUP BY  p.OwnerUserId HAVING  COUNT(distinct p.id ) > 10
    )

Enter Parameters

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