How One can easily select all even, odd, or Nth rows from a
table using SQL queries?
Answer Posted / guru
SELECT *
FROM emp
WHERE (ROWID,0) IN (SELECT ROWID, MOD(ROWNUM,4)
FROM emp);
Is This Answer Correct ? | 6 Yes | 17 No |
Post New Answer View All Answers
Describe different types of general function used in sql?
What is a relationship and what are they?
What is the difference between instead of trigger and after trigger?
What is the execution plan in sql?
What are inbuilt functions in sql?
How to create a menu in sqlplus or pl/sql?
What is a sql profiler?
what happens if you no create privilege in a database? : Sql dba
Can two tables have same primary key?
explain the delete statements in sql
What are some predefined exceptions in pl/sql?
Which table is left in left join?
What is meaning of <> in sql?
what is the command used to fetch first 5 characters of the string? : Sql dba
What does pl sql stand for?