Results 1 to 2 of 2

Thread: Count()*2

  1. #1
    Join Date
    Mar 2004
    Location
    California
    Posts
    502

    Unanswered: Count()*2

    This works fine except I need to have all of the returned "Count(Scmls.ListName) AS WSO" records multiplied by 2.

    Code:
    SELECT Scmls.ListName, Count(Scmls.ListName) AS WSO
    FROM Scmls
    GROUP BY Scmls.ListName, Scmls.SellName
    HAVING (((Scmls.SellName) Like [ListName]));
    Any ideas would be greatly appreciated.

    Thanks . . . Rick

  2. #2
    Join Date
    Mar 2004
    Location
    California
    Posts
    502

    Got It!

    Silly Me . . . I got it.

    Code:
    SELECT Scmls.ListName, Count(Scmls.ListName)*2 AS WSO
    FROM Scmls
    GROUP BY Scmls.ListName, Scmls.SellName
    HAVING (((Scmls.SellName) Like [ListName]));
    Thanks all . . .Rick

Posting Permissions

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