i'm currently using the following query to get the below results
select
mt.name,
mt.title,
mt.type,
mt.day1,
mt.day2
from mytable mt
gives me results like
name title type day1 day2
batman super gothom 12/22/1990 2/2/1990
batman super dc 1/9/1990 7/5/1990
The new selection should create new columns based off type, and take the data from a specific column 'in this case day2' I ideally want my results to look like
name title gothom dc
batman super 2/2/1990 7/5/1990
How can i achieve the desired table above.