mysql - I am getting repeated values for group_concat -
i have 10 tables while using group_concat getting multiple values. query is
select e.*,p.*,m.*,r.*,group_concat(q.qualification,'#',q.specialization,'#',q.name_of_institution,'#',q.university,'#',q.place,'#',q.years_of_passing,'#',q.percentage) qualifications, group_concat(ep.name_of_organization,'#',ep.designation,'#',ep.reporting_to,'#',ep.period_from,'#',ep.period_to,'#',ep.annual_ctc,'#',ep.resons_for_change,'#',ep.total_work_experience,'#',total_relevant_experience) experience, group_concat(f.particulars,'#',f.name,'#',f.date_of_birth,'#',f.age,'#',f.gender,'#',f.occupation) familydetails, group_concat(l.slanguage_name,'#',l.sspeak,'#',l.sread,'#',l.swrite) languages, group_concat(ss.computer_skills,'#',ss.trainings_attended) skillset, group_concat(tc.name_of_trainings_certification,'#',tc.trainings_certification_from,'#',tc.issued_date,'#',tc.issued_date) trainings_and_certification achivements_ref e left join bank_details p on e.user_id=p.user_id left join educational_qualifications q on e.user_id=q.user_id left join employee_master m on e.user_id=m.user_id left join experience_profile ep on e.user_id=ep.user_id left join family_details f on e.user_id=f.user_id left join languages l on e.user_id=l.user_id left join reference_details r on e.user_id=r.user_id left join skill_set ss on e.user_id=ss.user_id left join trainings_and_certification tc on e.user_id=tc.user_id e.user_id=1;
and getting result qualifications: b tech#computers#cbit#jntu#hyderabad#2013#80,b tech#computers#cbit#jntu#hyderabad#2013#80,b tech#computers#cbit#jntu#hyderabad#2013#80,b tech#computers#cbit#jntu#hyderabad#2013#80,b tech#computers#cbit#jntu#hyderabad#2013#80,b tech#computers#cbit#jntu#hyderabad#2013#80,b tech#computers#cbit#jntu#hyderabad#2013#80,b tech#computers#cbit#jntu#hyderabad#2013#80,b tech#computers#cbit#jntu#hyderabad#2013#80,b tech#computers#cbit#jntu#hyderabad#2013#80,b tech#computers#cbit#jntu#hyderabad#2013#80,b tech#computers#cbit#jntu#hyderabad#2013#80,m tech #computers#mathru sri#ou#secundrabae#2013#90,m tech #computers#mathru sri#ou#secundrabae#2013#90,m tech #computers#mathru sri#ou#secundrabae#2013#90,m tech #computers#mathru sri#ou#secundrabae#2013#90,m tech #computers#mathru sri#ou#secundrabae#2013#90,m tech #computers#mathru sri#ou#secundrabae#2013#90,m tech #computers#mathru sri#ou#secundrabae#2013#90,m tech #computers#mathru sri#ou#secundrabae#2013#90,m tech #computers#mathru sri#ou#secundrabae#2013#90,m tech #computer experience: infosyis#software developer##2013#2015#200000#opportunity#2#2,infosyis#software developer##2013#2015#200000#opportunity#2#2,infosyis#software developer##2013#2015#200000#opportunity#2#2,infosyis#software developer##2013#2015#200000#opportunity#2#2,infosyis#software developer##2013#2015#200000#opportunity#2#2,infosyis#software developer##2013#2015#200000#opportunity#2#2,oracle#software developer##2011#2013#100000#better#1#2,oracle#software developer##2011#2013#100000#better#1#2,oracle#software developer##2011#2013#100000#better#1#2,oracle#software developer##2011#2013#100000#better#1#2,oracle#software developer##2011#2013#100000#better#1#2,oracle#software developer##2011#2013#100000#better#1#2,infosyis#software developer##2013#2015#200000#opportunity#2#2,infosyis#software developer##2013#2015#200000#opportunity#2#2,infosyis#software developer##2013#2015#200000#opportunity#2#2,infosyis#software developer##2013#2015#200000#opportunity#2#2,infosyis#software developer##2013#2015#200000#opportunity#2#2,infosyis#sof
i getting repeated values how can modify query..?
Comments
Post a Comment