SQL Language (MOSC)

MOSC Banner

Order by dynamically based on user input in SQL Query

edited Oct 18, 2024 2:41PM in SQL Language (MOSC) 6 commentsAnswered ✓

Hello ,
Emp Table should be ordered based on user input which has 3 records empno ( 7782,7499,7521). For example input_order = ( 7782,7499,7521) then table should be ordered as below

Thanks in Advance!

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