Well, I found this which might just do the trick:
SELECT object,
MAX( IF(datatype='VV','X','') ) AS 'VV',
MAX( IF(datatype='SC','X','') ) AS 'SC',
MAX( IF(datatype='SCH','X','') ) AS 'SCH'
FROM attributes
WHERE datatype != 'sy' AND datatype != 'st' AND datatype != 'ry'
GROUP BY object
I generalized the query but you get the idea... now I just have to add as many MAX/IF statements as there are attributes (there are only 7).