Query Report from Two Doctypes

I am trying to make a query report that will show all tasks within multiple projects that share the same tag, or project type value. Any ideas how to achieve this? I am not so good with SQL.