Can we show the column sum only and hide its data ?

(4 posts) (2 voices)

Tags:

No tags yet.

  1. bushraj, Member

    Hey,

    I want to show the column SUM only.. and dont want to show its data or column result set.. How can i do this?

    Regards,
    Bushra Jahangir

  2. myDBR Team, Key Master

    You can just get the column sum:

    select sum( col )
    from mytable;

    --
    myDBR Team

  3. bushraj, Member

    No not from query.. I want to show the sum after the execution of query.. The sum of data after execution as it shows im mydbr.sum .. But only sum not column

  4. myDBR Team, Key Master

    Could you give an example as we did not quite undestand what you are trying to do.

    --
    myDBR Team


Reply

You must log in to post.