My Oracle Support Banner

How to Show the Values of a Column in a Row for Both Previous/Current Records (Doc ID 262048.1)

Last updated on NOVEMBER 12, 2019

Applies to:

SQL*Plus - Version 8.1.7.0 and later
Information in this document applies to any platform.
Information in this document applies to any platform.

Goal

How to show the values of a column in a row for both previous/current record?
----------------------------------------------------------------------------------------------------------

Suppose a customer wants to show the:
1)  Profit in the current quarter and Last quarter in same row.
2)  Profit in the current quarter and Next quarter in same row.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.