how to add information for specific data based on it's ID
OK guys I have (for some of you) easy question. At the moment I am working on SoccerTournament java web application. I am working with Spring but I don't think my question is related to Spring.
I created option to add new tournament into database but now I have to enter a specific information to specific tournament (ex. number of teams, name of the teams etc.).
When I click on "Show all" I see all tournaments from database in table with only global information (Name,Location,Date).
I really have no idea what to do, and what to do first. Basically what I need is this: When I click on the name of specific tournament that then I can see a form to enter information about that tournament. How do I need to create my database and how to relate my tables. I have no idea how to organize all that. THANK YOU very much for any advice in advance.