Erdinc Notes
Thursday, February 5, 2015
nth_value
Used to show specific row data as column.
Example:
PRODUCT_PRICE:
select
distinct
nth_value
(
ISEMRI_ABONE_ID
,
4
)
over()
as
ISEMRI_ABONE_ID4
,
nth_value
(
ISEMRI_ABONE_ID
,
5
)
over()
as
ISEMRI_ABONE_ID5
from
PRODUCT_PRICE
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment