Følgende bør vælge det, du beskriver:
select a.topic from tableA a join tableB b on b.id = a.userid where b.location = 'Australia' -- or whichever location you filter on som er ækvivalent med:
select a.topic from tableA a join tableB b on b.id = a.userid and b.location = 'Australia'