puedes usar GROUP BY
cláusula, HAVING
cláusula y COUNT()
en este problema, no es necesario unirse a una subconsulta
SELECT PersonName, MAX(Flower) flowerName
FROM TableName
GROUP BY PersonName
HAVING COUNT(DISTINCT Flower) = 1
puedes usar GROUP BY
cláusula, HAVING
cláusula y COUNT()
en este problema, no es necesario unirse a una subconsulta
SELECT PersonName, MAX(Flower) flowerName
FROM TableName
GROUP BY PersonName
HAVING COUNT(DISTINCT Flower) = 1