Professional Documents
Culture Documents
PhysicalERD (Cindie)
PhysicalERD (Cindie)
student position
id INT(11) positionId INT(11)
studentId VARCHAR(15) positionName VARCHAR(30)
firstname VARCHAR(30) student_id INT(11)
surname VARCHAR(30) student_candidate_candidateId INT(11)
gender SET('M', 'F') student_candidate_vote_voteId INT(11)
dob DATE student_candidate_vote_voterId INT(11)
program VARCHAR(50) student_candidate_vote_candidateId INT(11)
yearOfStudy INT(1) student_candidate_vote_position VARCHAR(30)
candidate_candidateId INT(11) student_voter_voterId INT(11)
candidate_vote_voteId INT(11) Indexes
candidate_vote_voterId INT(11)
candidate_vote_candidateId INT(11)
candidate_vote_position VARCHAR(30)
voter_voterId INT(11) voter
Indexes voterId INT(11)
candidate
studentId VARCHAR(15)
candidateId INT(11)
Indexes
studentId VARCHAR(15)
positionId INT(11)
vote_voteId INT(11)
vote_voterId INT(11)
vote_candidateId INT(11)
vote_position VARCHAR(30)
Indexes election
electionId INT(11)
electionDate DATE
vote
startTime TIME
voteId INT(11)
endTime TIME
voteDate DATE
electionPlace VARCHAR(30)
voteTime TIME
election_electionId INT(11)
voterId INT(11)
Indexes
candidateId INT(11)
position VARCHAR(30)
election_electionId INT(11)
election_election_electionId INT(11)
Indexes