The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

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.