这是我尝试过的查询
SELECT
applicants.Name,
GROUP_CONCAT(
educationreference.SubjectPassed
) AS `Subject`,
GROUP_CONCAT(educationreference.College) AS `College`,
GROUP_CONCAT(
YEAR(
educationreference.DateObtained
)
) AS `Date`
FROM
applicants,
educationreference
WHERE
applicants.PersonId = educationreference.PersonId
GROUP BY
applicants.PersonId