I have a table column with these values:
Column-desc
------------------
"car broken"
"motorcycle broken"
"motorcycle clean"
"motorcycle clean and broken"
------------------
and I need to make a select that returns this:
return-desc1 | return-desc2 | return-desc3 |return-desc4
------------------------------------------------------
car | broken | |
motorcycle | broken | |
motorcycle | clean | |
motorcycle | clean | and | broken
-------------------------------------------------------
(yes, max ll return 4 desc). Could I use a regex for this case?
If this helps: I am using Oracle 10g