how to create mysql dynamc pivot rows to colum : please am in need of urgent help from anyone who can solve this.

SELECT DISTINCT
    _2_12_company.companyInitials,
    _2_05_comptype.typeInitials
FROM
    _2_12_company,
    _2_05_comptype,
    _2_19_companycomptype
WHERE
    _2_12_company.id = _2_19_companycomptype.companyID AND _2_05_comptype.id = _2_19_companycomptype.typeID


and here is the result
AMAZON  |  MICROSOFT
AMAZON  |  FACEBOOK
AMAZON  |  ALI EXPRESS

but i whant the result to be like below in a dynamic fashion

AMAZON  |  MICROSOFT/FACEBOOK/ALI EXPRESS