Results 1 to 2 of 2

Thread: Multiply in Query

  1. #1
    Join Date
    May 2007
    Posts
    3

    Multiply in Query

    Hello All,

    Is there is a built-in function like sum(),min(),Max,etc which calculate the product of the field.
    For ex: I want the product of salary for department = 1

    Thanks in advance,

  2. #2
    Join Date
    Jun 2007
    Posts
    1
    Is it a product or a sum that you're wanting?
    Code:
    select sum(salary)
    from ...
    where department = 1
    The above query (after you complete the joins and what-not, if necessary) will return the total salary paid for department 1.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •