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
Can you rollback after commit?
How many aggregate functions are available there in sql?
What is the non-clustered index in sql?
Where are my tempfiles, I don't see them in v$datafile or dba_data_file?
How do I create a sql script?
Is sql injection illegal?
What is bulk compiling in pl/sql.?
What is pl sql script?
What is character functions?
What do you know by pl/sql cursors?
what are numeric data types? : Sql dba
Show the two pl/sql cursor exceptions.
What is the difference between left and left outer join?
does sql support programming? : Sql dba
Which is better trigger or stored procedure?