Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 340 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 340 Bytes

mysql-pivot

This code will convert (pivot) your MySQL database table from rows to columns.

Here is an example of what this code will do:

Original Table

ID Name Color
1 James Blue
2 Amy Red

Converted Table

ID 1 2
Name James Amy
Color Blue Red