I am writing a sports event result analyse of a database, there are few awards will be given
1. individual prize:
suppose getting champion get 5 marks , second runner up get 3 marks , etc
2. the most active athlete award
every student in a House participating every event gets 1 mark
3. the overall champion of a House in a school

what tables and schema do i need if i want to calculate marks from different event to present the awards...thank you

Recommended Answers

All 3 Replies

a table for events and a table for users

i know i have to set the above two tables....but how to calculate marks...or what sql i need to use?

have a column in users for marks. and when someone gets a mark update it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.