How in a SQL query to substitute the values of the column in the column name?

The Тип column contains types of delivery of items, they must be substituted into the names of the Тип column itself. Those. to look like this:
|fio|Курс|Семестр|Группа|Оценка|Предмет|eczamen|zachet|
And under them should be an appropriate assessment.