Column
+--------------------------+
| inv_num scn |
+--------------------------+
| MI1001 160008 |
| CI1002 160008 |
| VI1003 160008 |
+--------------------------+
MI is for Misc, CI is for Cargo, VI is for Vessel.
I need the sql result to show like
+------------------------------------------------+
| scn Misc Cargo Vessel |
+------------------------------------------------+
| 160008 MI1001 CI1002 VI1003 |
+------------------------------------------------+
I'm new to this kind of thing so not sure how to do the query.