php - CSV data comparison in mysql -
i have 2 mysql tables , want compare value of column in 1 table value of column in other table; data stored in csv format. want know how compare 2 values?
example:
candidate skills in candidate table java,html,sql
job skills in job table jquery,html,css
now have job requirement of jquery,html,css
, list of candidates @ least 1 tech requirement match candidate:
$sql = 'select co.corp_contact_num, co.corp_name, co.corp_contact_person, co.corp_email_id, co.corp_address, co.corp_email_id, co.corp_url, c.corp_id, c.cand_id, c.cand_name, c.cand_email_id, c.cand_current_location, c.cand_preferred_location, c.cand_rate_per_hour, c.cand_position_title, c.cand_experience, c.cand_technical_skills, c.cand_domain_skills, c.cand_leadership_skills, c.cand_certifications, c.cand_clients candidates c join corporations co c.corp_id = co.corp_id , c.is_available = "1" , co.corp_id != "'.$_session['sess_corp_id'].'" , c.cand_technical_skills like"%'.$check. '%"';
Comments
Post a Comment