select colon from xf_post
UNION ALL
select colon from xf_thread

Bu şekilde iki tabloyu tek bir sorguda çekebilirsiniz