i have a small doubt,pl clarify it soon guys!!!
see,i have to come up with a web application wherein i need to accept
the candidates details.now,the real problem is how shud i input the
skills of the candidate??in the web application,i shud search for
different candidates based on their skills provided.so how shud i best
implement a skill look up table??
i think i shud go for 3 tables::
table 1::
candidates
create table candidates
(
EmpId int primary key identity(1,1) not null,
name varchar(50) not null
)
table 2::
skills
create table skills
(
skillId int primary key identity(1,1) not null,
empId int foreign key references candidates(empId),
skillName varchar(50) not null
)
table 3::
EmpSkills
create TABLE EmpSkills
(
EmpId int REFERENCES Candidates(EmpId),
skillname varchar references skills(skillname),
SkillId int REFERENCES Skills(SkillId)
PRIMARY KEY (EmpId, SkillId)
)
this was the design recommended by an expert but he is unavailable
now.hope,some of u experienced guys will help me out at the earliest
with a design.
waiting guys...
kiran k
ok let us see ohers reply also..
Regards,
Satheesh
1 Kiran
2 RAM
---
---
---
Skills:
s1 C
s2 C++
---
---
---
Empskills
1 s1
2 s2
---
---
---
Like this...
You can get the empid from EmpSkills table after getting the skills
selected by the user...
Regards,
Satheesh
Regards,
Satheesh
create table candidates
(
EmpId int primary key not null,
name varchar(50) not null
)
table 2::
skills
create table skills
(
skillId int primary key not null,
SkillName varchar(50) Not Null
}
table 3::
EmpSkills
create TABLE EmpSkills
(
EmpId int REFERENCES Candidates(EmpId),
SkillId int REFERENCES Skills(SkillId)
PRIMARY KEY (EmpId, SkillId)
)
Hope this helps.
Regards,
Siva