A table has 150 records. How do you retrieve 100th row to
120th row from that table ?
Answer Posted / subhradeep
select * from employees where rownum<102
minus(select * from employees where rownum<81)
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a boolean in sql?
Is primary key a clustered index?
First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.
how to convert numeric values to character strings? : Sql dba
Can you selectively load only those records that you need? : aql loader
What are the limitations of sql express?
how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba
which command using query analyzer will give you the version of sql server and operating system? : Sql dba
How to disable a trigger name update_salary?
Why cannot I use bind variables in ddl/scl statements in dynamic sql?
How do I know if I have sql express or standard?
How to select 10 records from a table?
What is the difference between clustered and non-clustered indexes?
How does sql*loader handles newline characters in a record? : aql loader
What do you mean by stored procedures? How do we use it?