SQL Language (MOSC)

MOSC Banner

pivot row into column

edited Jan 19, 2020 4:01AM in SQL Language (MOSC) 3 commentsAnswered ✓

In my table data is in this format. Table Name: Transaction_Status

Select Id, Column1, Column2, Column3, Column4, Column5

from Transaction_Status;

How can convert columns into rows((Other than sub-query). so, that we can create a loop based on column status of the value is 'Y'. Otherwise we have to to write a subquery with same table multiple times.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center