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 / dipanshu saini
select level from dual connect by level<=(select max(seq_no) from test_tab)
minus
select seq_no from test_tab;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Does inner join remove duplicates?
how to add a new column to an existing table in mysql? : Sql dba
Is sql a backend?
Can we perform dml on view?
How do I count rows in sql?
what are the difference between clustered and a non-clustered index? : Sql dba
What are all the ddl commands?
How do I partition a table in sql?
how to run 'mysql' commands from a batch file? : Sql dba
Can we write ddl statements in functions?
Define tables and fields in a database
How do I enable sql encryption?
How can you know that statistics should be updated?
Explain two easy sql optimizations.
Explain the significance of the & and && operators in pl sql.