dbTalk Databases Forums  

Matching Skillsets

comp.databases.mysql comp.databases.mysql


Discuss Matching Skillsets in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
battle.chris@gmail.com
 
Posts: n/a

Default Matching Skillsets - 09-20-2006 , 06:33 PM






I've got a database which defines job candidates and jobs. Each
candidate has a set of skills each with a ability score and a
experience score. Each job has a required skillset.

I need to match these two sets by returning the candidates which best
match a job's required skillset based on both the number of relevant
skills they have and their scores in those skills.

The part I'm having trouble with is returning candidates that don't
have all the skills. There's a number of ways of achieving this
programmatically (it's part of a PHP application) or via a stored
procedure, but is there a simpler technique I'm overlooking?

Any help would be appreciated.


Reply With Quote
  #2  
Old   
Kim Hunter
 
Posts: n/a

Default Re: Matching Skillsets - 09-21-2006 , 05:20 AM






What sort of joins are you doing?

battle.chris (AT) gmail (DOT) com wrote:
Quote:
I've got a database which defines job candidates and jobs. Each
candidate has a set of skills each with a ability score and a
experience score. Each job has a required skillset.

I need to match these two sets by returning the candidates which best
match a job's required skillset based on both the number of relevant
skills they have and their scores in those skills.

The part I'm having trouble with is returning candidates that don't
have all the skills. There's a number of ways of achieving this
programmatically (it's part of a PHP application) or via a stored
procedure, but is there a simpler technique I'm overlooking?

Any help would be appreciated.


Reply With Quote
  #3  
Old   
strawberry
 
Posts: n/a

Default Re: Matching Skillsets - 09-22-2006 , 05:44 AM




battle.chris (AT) gmail (DOT) com wrote:
Quote:
I've got a database which defines job candidates and jobs. Each
candidate has a set of skills each with a ability score and a
experience score. Each job has a required skillset.

I need to match these two sets by returning the candidates which best
match a job's required skillset based on both the number of relevant
skills they have and their scores in those skills.

The part I'm having trouble with is returning candidates that don't
have all the skills. There's a number of ways of achieving this
programmatically (it's part of a PHP application) or via a stored
procedure, but is there a simpler technique I'm overlooking?

Any help would be appreciated.
I guess your structure looks something like this (If it doesn't, I
think it should!)

candidates(candidate_id*,candidate)
skills(skill_id*,skill)
jobs(job_id*,job)
candidates_skills(candidate_id*,skill_id*)
jobs_skills(job_id*,skill_id*)

Then I guess your query could look like this (untested)

SELECT candidate_id from jobs_skills WHERE job_id = x
LEFT JOIN candidates_skills USING skill_id

You could then use the results of this query as the derived table of a
subquery, allowing you to order by most suitable candidates for
instance.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.