I have a table that has data that looks something like this:
data_type, value
World of Warcraft, 500
Quake 3, 1500
Quake 3, 1400
World of Warcraft, 1200
Fina
If you want to return the max value for each data_type in a separate column, then you should be able to use an aggregate function with a CASE expression:
select
max(case when data_type='World of Warcraft' then value end) WorldofWarcraft,
max(case when data_type='Quake 3' then value end) Quake3,
max(case when data_type='Final Fantasy' then value end) FinalFantasy
from yourtable;
See SQL Fiddle with Demo