Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

even & odd numbers with level

874273Dec 2 2013 — edited Dec 2 2013

Hi Masters,

I have tried to display numbers with level like this...

select level from dual connect by level<=10;

1

2

3

4

5

6

7

8

9

10

how to display even and odd numbers with level. I tried with mod(level,0) but not working fine.

Please advise.

Regards

SA


This post has been answered by Solomon Yakobson on Dec 2 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 30 2013
Added on Dec 2 2013
2 comments
1,427 views