I have this query
SELECT Stations.Instance
    ,stations.ID
    ,stations.Name
    ,Stations.Lat
    ,Stations.Lon
    ,(
        SELECT GROUP_CONCAT(Line SEPARATOR ';')
        FROM transportData.timeTables
        WHERE timeTables.Station = stations.ID
        GROUP BY timeTables.Station
        ) AS 'Lines'
    ,(
        SELECT GROUP_CONCAT(Weekdays SEPARATOR ';')
        FROM transportData.timeTables
        WHERE timeTables.Station = stations.ID
        GROUP BY timeTables.Station
        ) AS 'Weekdays'
    ,(
        SELECT GROUP_CONCAT(Weekends SEPARATOR ';')
        FROM transportData.timeTables
        WHERE timeTables.Station = stations.ID
        GROUP BY timeTables.Station
        ) AS 'Weekends'
FROM `Stations`
INNER JOIN transportData.stations ON stations.Lat = Stations.Lat
    AND stations.Lon = Stations.Lon
WHERE Instance = '$instance'
that is supposed to return in the Weekdays column a list of Weekdays that have the same Station column as the ID column of transportData.stations. Same goes for Weekends.
My issue here is the fact that these columns are usually large, about 2000 characters, and with this query, I could concatenate up to about 10 of these, so that's a lot of characters.
The query above works, but returns the Weekdays and Weekends with a maximum length of 1024, which is not at all enough.
How can I tell MariaDB that I want the result in more than 1024 characters?
 
     
    