Monday, October 23, 2017

Finding nth row of a table

SELECT * FROM scott.EMP A WHERE &n = (SELECT COUNT(*) + 1 FROM scott.EMP B WHERE A.ROWID > B.ROWID)

No comments:

Post a Comment

Query to get the Concurrent Program along with Value Set details

SELECT fcpl1.user_concurrent_program_name       ,fdfcuv.end_user_column_name       ,ffvs.flex_value_set_name value_set_name       ,ffvt.appl...