Questions with a particular tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Hinduism

Q&A for followers of the Hindu religion and those interested in learning more about Hinduism

select p.id as [Post Link],p.tags
from posts p
inner join posttags pt
  on p.id=pt.postid
where p.id in
(

  select p.id from posts p
  inner join posttags pt
    on p.id=pt.postid
  inner join tags t 
    on pt.tagid=t.id
  where posttypeid=1
  and tagname = 'mythology'

)
group by p.id, p.title, p.tags
having count(*) = 2
order by 1

Enter Parameters

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