С full outer join по России

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select u.id as 'u.id', u.location as 'u.location', pt.id as 'pt.id'
, p.creationdate as 'p.creationdate'
from users u
full outer join  posts p on p.owneruserid = u.id
full outer join  posttypes pt on pt.id = p.posttypeid
where u.location like '%Ru%' and pt.id is null
order by u.id desc 
--order by year(p.creationdate) desc

Enter Parameters

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