Results 1 to 3 of 3

Thread: hello,

  1. #1
    Junior Member
    Join Date
    Apr 2008
    Answers
    1

    hello,

    display 2nd last record using rownum???


  2. #2
    Expert Member
    Join Date
    Sep 2007
    Answers
    697

    Re: hello,

    The following query displays 2nd last record using rownum

    select * from emp
    where rownum <= (select count(*)-1 from emp)
    minus
    select * from emp
    where rownum < (select count(*) -1 from emp);


  3. #3
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: hello,

    Quote Originally Posted by monika1985 View Post
    display 2nd last record using rownum???
    are you assigning some task to our experts ?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact