select distinct * from ( select tags.tagname from posts i...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Role-playing Games

Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games

select distinct * from (
select tags.tagname
from posts inner join
tags on tags.excerptpostid = posts.id
where posttypeid = 4 and
(lower(body) like '%pbta' or lower(body) like '%apocalypse world%' or
lower(body) like '%powered by the apocalypse%' or lower(body) like '%apocalypse-world%')

UNION 

select tags.tagname
from posts inner join
tags on tags.wikipostid = posts.id
where posttypeid = 5 and
(lower(body) like '%pbta' or lower(body) like '%apocalypse world%' or
lower(body) like '%powered by the apocalypse%' or lower(body) like '%apocalypse-world%')) sq

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results