WITH temp_table AS( SELECT * FROM Posts WHERE OwnerUserId...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

WITH temp_table AS(
  SELECT *
  FROM Posts
  WHERE OwnerUserId IS NOT NULL
  )
SELECT TOP 10 *
FROM Users u
LEFT JOIN temp_table t
    ON u.Id = t.OwnerUserId;

Enter Parameters

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