Volleyball scoring (i) demand analysis and database design

Source: Internet
Author: User

Requirements Analysis:

As a volleyball scoring rules of the page program, the general user for the fans audience and volleyball scoring staff.

1. As a volleyball scoring player, you need to achieve the score of the addition and subtraction, and automatically determine the outcome, the final incoming database.

2. As a volleyball scorer, it is necessary to record the score in detail while achieving the score.

3. As a volleyball scoring member, some records may be modified.

4. As a fan audience, you first want to see all the basic records of the game.

5. As a fan audience, I would like to see a detailed record of each game.

Attached use case diagram one:

Database:

Record table:

ID int match ID notnull primary key, self-increment

Gamename varchar (50) Contest name Notnull

TeamA varchar (50) main squad Notnull

Teamb varchar (50) Guest squad Notnull

Vsab varchar (20) field score Notnull

Gamefirst varchar (20) first inning score Null

Gamesecond varchar (20) second inning score Null

Gamethird varchar (20) third inning score Null

Gameforth varchar (20) fourth inning score Null

Gamefifth varchar (20) fifth inning score Null

Teamwinner varchar (50) Winner Team Null

Gamecontent varchar (max) verbose content Null

How to decide if it's a scorecard or a fan audience table

As a visitor, a record can be viewed as a non-establishment account.

A scorecard adds a data account to the default administrator

Scoring table:

ID int Administrator ID notnull primary key, self-increment
Name varchar (20) Login name Notnull
Password varchar (50) login Password Notnull

Volleyball scoring (i) demand analysis and database design

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.