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!

Random lotto numbers

d55606b8-a11f-4022-a1b6-eea56911333aJun 26 2009 — edited Jun 27 2009
Just a bit of Friday afternoon fun...

Is it possible to generate 6 unique lotto numbers (1-49), in order, using a single sql statement?

I can only do it using pl/sql, to guarantee uniqueness.
This post has been answered by MichaelS on Jun 26 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2009
Added on Jun 26 2009
17 comments
1,636 views