oracle concepts for you
Tuesday, 21 June 2011
SELECT THE ALTERNATIVE ROWS
select *from ela where (rowid,0) in (select rowid,mod(rownum,2) from ela);
select *from ela where (rowid,0) not in (select rowid,mod(rownum,1) from ela);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment