select university, count(device_id) as cnt, group_concat(distinct device_id order by id asc separator';') as device_list from user_profile group by university having count(device_id)<3