SELECT GROUP_CONCAT(`name`) typeNames FROM data_configuration d WHERE ",1,2,3," like CONCAT('%,',d.id,',%')