suppose we have values like 1 5 7 in a colum.Now we want
numbers like(2 3 4 6) that exists between 1 5 7.How can we
do this using sql query??

Answer Posted / ajitnayak

select rownum
from dual
connect by level <= (select max(a) from mising_values)
minus
select * from mising_values;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between null value, zero, and blank space?

556


What is nvarchar max in sql?

582


What is rtm in testing?

576


What is the use of index in sql?

559


What are pl sql data types?

551






What is sql in java?

545


What types of commands can be executed in sql*plus?

554


What are different types of indexes?

509


In pl/sql, what is bulk binding, and when/how would it help performance?

535


How do you update a value in sql?

549


What is the difference between delete and truncate commands?

515


What are expressions?

563


What is lexical units in pl sql?

571


What is column?

550


What is left inner join in sql?

519