partition - getting a specific row over a partitioned sql query -
i know can first_value() , last_value() on partitioned sql query ordered column know, let's want second value, or third... there function so? in advance.
as far know, there no specific function that. can select second row this:
with row_numbers as(select row_number() over(order yourcolumn) 'row', * table) select * row_numbers row=2
Comments
Post a Comment