- #1
highflyyer
- 28
- 1
I have been asked by my team lead to create two tables for a database and to outline the rationale behind my table design choices.Table 1 should contain the following columns and be named vote_share:
● Riding Number
● Riding Name in English
● Riding Name in French
● Total votes
● Turnout (votes / voters)
● Conservative Vote Share
● Liberal Vote Share
● NDP Vote Share
● Green Vote Share
● Bloc Quebecois Vote Share
● Peoples’ Party Vote ShareTable 2 should contain the following columns and be named candidates:
● Riding Number
● Liberal candidate
● Conservative candidate
● NDP candidate
● Green candidate
● Bloc Quebecois candidate
● Peoples’ Party candidateIf I normalize the two tables, will I end up with more than two tables?
● Riding Number
● Riding Name in English
● Riding Name in French
● Total votes
● Turnout (votes / voters)
● Conservative Vote Share
● Liberal Vote Share
● NDP Vote Share
● Green Vote Share
● Bloc Quebecois Vote Share
● Peoples’ Party Vote ShareTable 2 should contain the following columns and be named candidates:
● Riding Number
● Liberal candidate
● Conservative candidate
● NDP candidate
● Green candidate
● Bloc Quebecois candidate
● Peoples’ Party candidateIf I normalize the two tables, will I end up with more than two tables?