hauptra
Well-known member
I'm a little rusty as far as database design goes. So here is what I am trying to do.
I would like to create a database that tracks workouts at the gym. I wanted to have a number of users who workout enter their workouts. A workout would consist of a number of exercises and the exercises consist of 1 or more number of sets (amount and duration).
Here is what I thought my database would consist of
I figure that there is probably a better way to represent this in a database. Anyone want to give me a better way to handle this?
Thanks,
Rob
I would like to create a database that tracks workouts at the gym. I wanted to have a number of users who workout enter their workouts. A workout would consist of a number of exercises and the exercises consist of 1 or more number of sets (amount and duration).
Here is what I thought my database would consist of
- A Table for the users
- A Table for the workouts. Each workout points to a user
- A Table for the exercises.
- A Bridge that connects the Workouts to Exercises.
- A Table for the sets
- A Bridge that connects the exercises to sets
I figure that there is probably a better way to represent this in a database. Anyone want to give me a better way to handle this?
Thanks,
Rob