I’ve worked around this using SUBSTRING_INDEX
.
For example:
SELECT SUBSTRING_INDEX(GROUP_CONCAT(Field1 SEPARATOR ','), ',', [# of elements to return])
FROM Table1;
More Related Contents:
- Can I concatenate multiple MySQL rows into one field?
- Why does MYSQL higher LIMIT offset slow the query down?
- MySQL and GROUP_CONCAT() maximum length
- How to use GROUP_CONCAT in a CONCAT in MySQL
- Strange duplicate behavior from GROUP_CONCAT of two LEFT JOINs of GROUP_BYs
- What is the opposite of GROUP_CONCAT in MySQL?
- MySQL DISTINCT on a GROUP_CONCAT()
- Using variable in a LIMIT clause in MySQL
- Maximum number of records in a MySQL database table
- Combining UNION and LIMIT operations in MySQL query
- Does adding ‘LIMIT 1’ to MySQL queries make them faster when you know there will only be 1 result?
- GROUP_CONCAT ORDER BY
- MySQL – UPDATE query with LIMIT
- GROUP_CONCAT with limit
- How to set a maximum execution time for a mysql query?
- MySQL: Sort GROUP_CONCAT values
- How can I speed up a MySQL query with a large offset in the LIMIT clause?
- MySQL JOIN with LIMIT 1 on joined table
- How create json format with group-concat mysql?
- MySql Query: Select top 3 rows from table for each category
- Mysql delete statement with limit
- GROUP_CONCAT equivalent in Django
- UPDATE with ORDER BY and LIMIT not working in MYSQL
- MySQL LIMIT on DELETE statement
- is there a length limit to group_concat or another reason why it would not work on a text field
- Trouble with GROUP_CONCAT and Longtext in MySQL
- How should I resolve –secure-file-priv in MySQL?
- node-mysql multiple statements in one query
- How can I access the MySQL command line with XAMPP for Windows?
- Mysql covering vs composite vs column index