So, I'm basically brand new to database design. I have quite a bit of experience using them, and even mining in SQL, but zero experience in actual design.
I've been tasked with developing a database for a jiu-jitsu league. The rule set in the league has some cool rules, but makes it a challenge for a newbie like me to set up the database.
So, fighters faces off in a whole season, rather than a tournament style bracket. The goal for them is to win enough points to climb the leader board. The top few fighters at the end of the regular season move on to a playoff, and final match. The playoffs are tournament style.
The way they earn points is only by submitting your opponent. If you submit them with a choke, you get 6 points for the match. If you win with a joint lock, you get 3 points. If time runs out, and it's a draw, neither fighter scores any points (0 points). You can also earn bonus points. If you win your match in less than 1 minute, you get a bonus point.
Each fighter is a member of a team. At the end of a round of fights, where everyone has fought once. The team with the most points, earns an additional 1 point for each team member.
So, the first thing that I need to do is enter the fighter data. This is pretty simple. (See Fighter_Bio Table attached)
Then I need to assign each fighter to a team. Also seems pretty simple
Then, I need to record the fight results. This also seems pretty easy. (See Match_Results Table attached)
Ok, so if you see anything above, that I should do differently, please, by all means, point it out to me.
So, with the above tables, I need them to fill in the data for the next table. This is the Fighter_Record table. In this table, I need to capture their entire career, and be able to parse that data in a datasheet.
This is what I have so far for the Fighter_Record Table. I honestly have no clue how to build this one, Or how to use the relational data chart thingy, to feed it the information that I need.
So, obviously I'll need to be able to use the Count function in a formula to incrementally count Wins, Loses, Draws, Kills (these are chokes), Breaks (joint locks), and the various bonuses.
Once counted, I'll need to multiply those results by the value of each thing.
Then add those results together to get the total points.
Then I'll need a datasheet to be able to show the fighter's career stats, by Season.
So, I'm guessing I need a lot of guidance on relationships, and formulas.
Any help anyone can provide me, would be SO appreciated!
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
PGFstats
So, I'm basically brand new to database design. I have quite a bit of experience using them, and even mining in SQL, but zero experience in actual design.
I've been tasked with developing a database for a jiu-jitsu league. The rule set in the league has some cool rules, but makes it a challenge for a newbie like me to set up the database.
So, fighters faces off in a whole season, rather than a tournament style bracket. The goal for them is to win enough points to climb the leader board. The top few fighters at the end of the regular season move on to a playoff, and final match. The playoffs are tournament style.
The way they earn points is only by submitting your opponent. If you submit them with a choke, you get 6 points for the match. If you win with a joint lock, you get 3 points. If time runs out, and it's a draw, neither fighter scores any points (0 points). You can also earn bonus points. If you win your match in less than 1 minute, you get a bonus point.
Each fighter is a member of a team. At the end of a round of fights, where everyone has fought once. The team with the most points, earns an additional 1 point for each team member.
So, the first thing that I need to do is enter the fighter data. This is pretty simple. (See Fighter_Bio Table attached)
Then I need to assign each fighter to a team. Also seems pretty simple
Then, I need to record the fight results. This also seems pretty easy. (See Match_Results Table attached)
Ok, so if you see anything above, that I should do differently, please, by all means, point it out to me.
So, with the above tables, I need them to fill in the data for the next table. This is the Fighter_Record table. In this table, I need to capture their entire career, and be able to parse that data in a datasheet.
This is what I have so far for the Fighter_Record Table. I honestly have no clue how to build this one, Or how to use the relational data chart thingy, to feed it the information that I need.
So, obviously I'll need to be able to use the Count function in a formula to incrementally count Wins, Loses, Draws, Kills (these are chokes), Breaks (joint locks), and the various bonuses.
Once counted, I'll need to multiply those results by the value of each thing.
Then add those results together to get the total points.
Then I'll need a datasheet to be able to show the fighter's career stats, by Season.
So, I'm guessing I need a lot of guidance on relationships, and formulas.
Any help anyone can provide me, would be SO appreciated!
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.