Hi all,
I am facing a problem in Domain design. There are 2 types of social media posts in my database, say facebook and twitter. The records are stored separately in 2 tables, while their primary key(post id) is stored in a third table in pair of topics. 1 topic pairs with multiple post ids.
--Tables: FB_POST(id, content), TW_POST(id, content), TOPIC(topic, id)
--Query: Find all social media posts regarding a topic, e.g. 'Inside Out'.
If I only create 1 join tree in domain, it gives no results. Because no post shares the same id across 2 social platform.
If I duplicate the TOPIC table and create 2 join trees in the domain, then how could they both be imported to a single Ad Hoc view? If not, what can I do to implement this query?
Thanks