I need to create VIEW in MySQL. where each rows from first table should show as column in the second table.
Here is some example:
table Appraisal_skills
+------------+
| id |title |
+------------+
| 1 | TestA |
| 2 | TestB |
| 3 | TestC |
| 4 | TestD |
+------------+
Required View:
+--------+------------+-------+
| TestA| TestB | TestC | testD|
+----------+------------+------
| | | | |
| | | | |
+----------+------------+-----+
Does anybody have an idea how to create view in this way? Any help would be Appreciated.