Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Mo786

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    688

    Re: SQL Server COUNT query with unique values.

    Never mind, I found the answer.

    select organization, moneyamount,
    moneyamount / count(*) over (partition by organization)
    from t
  2. Replies
    2
    Views
    688

    SQL Server COUNT query with unique values.

    This is done in Microsoft SQL Server 2008 R2.

    I'll start out with an example table.


    Organization | MoneyAmount | MoneyAmountAvg

    ISD | 500 |
    ISD ...
Results 1 to 2 of 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center