Connor and Chris will both be at AI World from October 12 to October 17 , the premier Oracle conference of 2025. If you're in Vegas, please come say Hi or pop into our sessions
Thanks for the question, Deepti.
Asked: July 07, 2016 - 8:41 am UTC
Last updated: July 07, 2016 - 8:55 am UTC
Version: 11.2
Viewed 10K+ times! This question is
create table t ( id int, mn int, mx int ); insert into t values (1, 5, 10); insert into t values (2, 3, 5); with rws as ( select rownum x from dual connect by level <= 10 ) select id, x from t join rws r on r.x >= mn and r.x < mx order by 1, 2; ID X ---------- ---------- 1 5 1 6 1 7 1 8 1 9 2 3 2 4
Share and learn SQL and PL/SQL; free access to the latest version of Oracle Database!
Classes, workouts and quizzes on Oracle Database technologies. Expertise through exercise!