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 / kavitha n
Create Table Missingsquence ( Num Number);
sql > select Num from Missingsquence ;
Missingsquence
--------------
1
5
7
SELECT LEVEL num
FROM DUAL
CONNECT BY LEVEL <= 7
MINUS
SELECT num
FROM missingsquence;
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
what is oracle database ? : Sql dba
What are joins in sql?
what is the difference between join and union? : Sql dba
What is not in sql?
What is crud stand for?
What is triggering circuit?
Can we use the cursor's to create the collection in PL/SQL?
What is sql trigger example?
How many sql core licenses do I need?
Is sql scripting language?
What does cursor do in sql?
what is the difference between mysql_fetch_array and mysql_fetch_object? : Sql dba
Does execute immediate commit?
what is the difference between char and varchar data types? : Sql dba
How many types of literals are available in pl sql?