Normally, you would would not create the TEAMS table with 22 player columns. You would create a PLAYER table with player information, a TEAM table with team information, and a TEAM_PLAYER table that maps players to teams. Something like
Code:
CREATE TABLE team (
team_id NUMBER PRIMARY KEY,
name VARCHAR2(100),
owner VARCHAR2(100)
);
CREATE TABLE player (
player_id NUMBER PRIMARY KEY,
name VARCHAR2(100)
);
CREATE TABLE team_player (
team_id NUMBER REFERENCES team( team_id ),
player_id NUMBER REFERENCES player( player_id )
);
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC