SET SESSION group_concat_max_len = 1000000;
SELECT GROUP_CONCAT(a.label_number SEPARATOR ',') FROM (SELECT label_number FROM after_ship_tracking_data WHERE label_number IS NOT null LIMIT 1000) a ;