Data Dictionary
Data Dictionary
Data Dictionary
Data Dictionary
Database dictionary is the set of files which contains the metadata of database system. Being the crucial
part of the relational database, it provides additional information about relationships between the
entities and columns, helps to organize data in neat form by removing the redundancy (Singh, 2009).
Table Field Name Data Type Format Primary Key or Foreign Key
Foreign Key Reference
User_Info email VARCHAR(50) Sujan22@gmail.com
username VARCHAR(40) Sujan
userID INT 100 Primary Key
currentstatus NVARCHAR(20) ON
battlepoints INT 20
diamonds INT 780
global_level INT 5
game_played INT 8
hero_details hero_name VARCHAR(20) FLASHER
hero_id INT 1 Primary key
hero_role VARCHAR(50) ASSASIN
specialability VARCHAR(50) REGEN
hero_price INT 1500
skins hero_id INT 1 Foreign key hero_details
skin_name VARCHAR(50) PURE GOLD
skin_id INT 1000 Primary key
price_skin INT 1200
Hero_profiles userID INT 100 PK and FK User_Info
heroID INT 2 Foreign key hero_deetails
skinID INT 1004 Foreign key skins
hero_level INT 12
gamemode modeID INT 1 Primary key
modename VARCHAR Brawl mode
gamehistories gameID INT 1 Foreign key GAMESTAT
userID INT 100 Foreign key User_Info
modeID
gamedate INT 2 Foreign key gamemode
hero_id DATE 2021-02-14
INT 2 Foreign key hero_details
TEAMINFO TEAMID INT 1 Primary Key
PLAYER1 INT 100 Foreign Key User_Info
PLAYER2 INT 102 Foreign Key User_Info
PLAYER3 INT 105 Foreign Key User_Info
PLAYER4 INT 107 Foreign Key User_Info
PLAYER5 INT 101 Foreign Key User_Info
GAMESTAT GameID INT 1 Primary key
userID INT 100 Foreign key User_Info
modeID INT 2 Foreign key gamemode
gamedate DATE 2021-02-14
winner INT 1 Foreign key TEAMINFO
loser INT 2 Foreign key TEAMINFO