sql - MySQL: Select all records where it matches multiple IDs -
This is based on the question that was answered.
I have an apartment you need to export relational record CSV file displays a list of employees that match the two skills exports for each skill requires separate line for example: < / p>
Empid NAME SKILLNAME LEVEL 1 Fred Flintstone PHP basics 1 Fred Flintstone JQuery advanced 3 Steve Jobs PHP original 3 Steve Jobs JQuery Advanced
here table / record and a modified culture Rann's last answer:
I've tried some changes but no luck.
Thank you
a deputy to find employees with more than 2 skills The query is required, and then you list the details of those skills only in the list by including the Emp_skills table.
SEPT Emp_SKills. * As add Emp_Skills (SELECT COUNT (*) skills, Emp_ID Emp_ID strong skills by Emp_Skills Group & gt; 1) as Emp_SKills.Emp_ID by mult.Emp_ID = Emp_Skills.Emp_ID order multi
< / Pre>
Comments
Post a Comment