I have a fact table, clients with a bunch of businesses:
bus_id, sales, date
1, $986, 1/1/2016
1, $543, 1/2/2016
2, $921, 1/1/2016
2, $345, 1/2/2016
I want to create a table opportunities
bus_id, opportunity
1, "Upsell"
1, "Upsell More"
How do I create the opportunities table so that I could display the opportunities per bus_id?
clientstable andopportunitiestable?primary keyof one table can be used as aforeign keyof another table. So I guess you have to take a different approach for what you want to achieve. Tell us what exactly you want to do.businessestable?