SELECT GROUP_CONCAT(country) FROM customers;
SELECT GROUP_CONCAT(DISTINCT country) FROM customers;
SELECT GROUP_CONCAT(DISTINCT country ORDER BY country) FROM customers;
SELECT GROUP_CONCAT(DISTINCT country ORDER BY country SEPARATOR ';') FROM customers;
SELECT employeeNumber, firstname, lastname, customername FROM employees INNER JOIN customers ON customers.salesRepEmployeeNumber = employees.employeeNumber ORDER BY firstname , lastname;
SELECT employeeNumber, firstName, lastName, GROUP_CONCAT(DISTINCT customername ORDER BY customerName) FROM employees INNER JOIN customers ON customers.salesRepEmployeeNumber = employeeNumber GROUP BY employeeNumber ORDER BY firstName , lastname;
SELECT GROUP_CONCAT(CONCAT_WS(', ', contactLastName, contactFirstName) SEPARATOR ';') FROM customers;
SELECT GROUP_CONCAT(DISTINCT country SEPARATOR ';') FROM customers ORDER BY country;