Prøv dette:
SELECT category, GROUP_CONCAT(ProdName) as Product
FROM recipes
GROUP BY category
ORDER BY category, ProdName ASC
Output:
CATEGORY PRODUCT ---------------------------------------------------------- Mustards Hot Mustard,Horseradish Mustard,Honey Mustard Sauces Tomato Sauce,Barbeque Sauce