Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

very simple SQL design question

Original Message
Name: DataFlood
Date: May 1, 2008 at 21:02:20 Pacific
Subject: very simple SQL design question
OS: vista
CPU/Ram: 4gb
Model/Manufacturer: HP Pavilion
Comment:
Hi all,
i am desiging a database for a team
what i need from this data base keep record of all players, information about every player height , weight , age .. etc
and i need information on every game he played
and how many 2pts. how many 3pts. how many rebounds.. etc a player made.
can anybody help me in the design.
and tell me how many tables i should have, or send me a sketch diagram of the tables.
thanks in advance

Report Offensive Message For Removal


Response Number 1
Name: Jennifer SUMN
Date: May 2, 2008 at 12:08:39 Pacific
Subject: very simple SQL design question
Reply: (edit)
Sounds like a homework assignment.

Life's more painless for the brainless.


Report Offensive Follow Up For Removal

Response Number 2
Name: boaster
Date: May 2, 2008 at 14:33:46 Pacific
Subject: very simple SQL design question
Reply: (edit)
I would do it as three tables:

TABLE 1 (PLAYER):

P_ID: A unique ID for the player
P_LASTNAME: Last name
P_FIRSTNAME: First name
P_HEIGHT: Height (in inches or metric, you can convert if you want to display feet)
P_WEIGHT: Weight
P_BIRTHDAY: Player's birthday, then calculate the age. That way the age displayed updates automatically.
etc.

TABLE_2: (GAME)
G_ID: ID of the game
G_DATE: Date game was played
G_TEAM: Name of opposing team
etc.

TABLE 3: (PLAYERS and GAMES)
P_ID: ID of the player
G_ID: ID of the game they played in
C_REBOUNDS: Rebounds
C_2PTS: 2 point shots
etc.


Report Offensive Follow Up For Removal




Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: very simple SQL design question

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




exessive internet traffic

ZoneAlarm Question. Blocked Connect

Windows Live Messenger Problem

Delete $Uninstall after SP3 updates

help for hp compaq laptop


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC