If there are 1 to 100 numbers in a table and in that 100
numbers some 10 numbers are deleted.I want to find out the
missing numbers between 1 to 100 by pl/sql how?

Answer Posted / sureshramsing@gmail.com

select level from dual connect by level<=100 minus select <column name> from <table name>;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is sharding used?

723


What is a unique key and primary key and foreign key?

741


How do you optimize a stored procedure in sql?

673


How can you load microsoft excel data into oracle? : aql loader

808


What is rename in sql?

725






What is the use of triggers?

732


What is set transaction?

761


What is a temp table?

742


Will truncate release space?

671


Which command is used to delete a package?

766


What is posting?

775


What is pivot query?

826


what is dbms? : Sql dba

733


What are few of the schema objects that are created using PL/SQL?

732


Does sql support programming?

763