In Oracle database, I have a table which contains results for a number of different test types.
Table:
object_tested, test_date, test_a, test_a_result, test_b, test_b_result
TmpObj timestamp, value1 value2 value3 value4
I need to export these test results, but create a separate row for each test, so something like:
object_tested, test_date, test, test_result
TmpObj timestamp, value1, value2
TmpObj timestamp, value3, value4
What would be the quickest way to do this? Maybe a UNION or JOIN?