Results 1 to 4 of 4

Thread: sql query

  1. #1

    Cool sql query

    i want to display the column like dis

    id name sal
    1 max 20000
    2 hitman 40000
    3 tom 50000
    total 110000


  2. #2

    Smile Re: sql query

    U want to disply like this

    1 max 20000
    2 hitman 40000
    3 tom 50000
    total 110000

    in an sql assistant.....I think its not possible...uasing a reporting tool we can display

    cheers,
    bharath


  3. #3
    Junior Member
    Join Date
    Jan 2008
    Answers
    24

    Re: sql query

    You have to use oracle9i

    Try this,Sure it will work

    Select * from tablename
    group by rollup(id);


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

    Re: sql query

    you also need to post what is the structure of your actual data.


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