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!

How to find missing values in table?

2913299Jan 28 2016 — edited Jan 28 2016

Hi all..

Please help me.

1.jpg

For example :

i have table A.

in this table i have one record with serial from number 1 until 10.

And then, in table B, i put number between 1 and 10.

and i use number 1, 2, 3, 6, 8, 10.

I want to find missing values between 1 and 10. So, can i select using query for this case ?

This is the output value in query :

4, 5, 7, 9

Sorry for bad language.

Thanks all.

This post has been answered by MateuszH on Jan 28 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2016
Added on Jan 28 2016
6 comments
2,048 views