Scratchpad2

0

Please login or register to vote for this query.

(click on this box to dismiss)

French Language Meta

Q&A about the site for students, teachers, and linguists wanting to discuss the finer points of the French language

DECLARE @UserId int = ##UserId##

select * 
from Posts a inner join Posts b on a.ParentId = b.Id
             inner join Posts c on c.ParentId = b.Id
where a.PostTypeId = 2
and a.OwnerUserId = @UserId
and b.PostTypeId = 1
and b.AcceptedAnswerId is NULL
and c.PostTypeId = 2
and c.OwnerUserId <> @UserId;

Enter Parameters

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