Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9119821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:29:12+00:00 2026-06-17T05:29:12+00:00

Table: Value | Win 12 3 22 4 44 5 12 11 At the

  • 0

Table:

Value | Win
 12      3
 22      4
 44      5
 12      11

At the moment getting sum(Win) and order by Value, it returns. So all winning by value.

Value | Win
 12      14
 22      4
 44      5

Now I don’t want to just order by Value, I want to do it like this:

Return all winnings, where value is bigger than 10, 20, 30,40 :

So return should be:

Value | Win
 10+      23
 20+      9
 30+      5
 40+      5

Is this thing possible? Suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T05:29:14+00:00Added an answer on June 17, 2026 at 5:29 am

    There can be advantages in a grouping table, for example:

    group table

    This will allow you to build:

    group table2

    Using:

    SELECT Groups.GroupName, ta.Value
    FROM Groups, ta
    WHERE ta.Value Between [low] And [high]
    

    Or even

    WHERE ta.Value >= [low] 
    

    And finalize with:

    SELECT GroupName, Count([Value]) , Sum(Win)
    FROM (SELECT Groups.GroupName, ta.Value, ta.Win
    FROM Groups, ta
    WHERE ta.Value >= [low]) q
    GROUP BY GroupName
    

    One advantage is that you can add and remove groups very easily by editing the table.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a table value function that returns a list of people you may
Using Access 2003 I want to get a table value from the two databases
Lets Say i have a table like this WEB_LIST_TABLE KEY Value ---------------------------------------- 134 google.com
I want to update the table value comparing with two column values. Query UPDATE
I am trying to update a table value from another table. I want to
Let's say I have the following table: Value Time 0 15/06/2012 8:03:43 PM 1
I have the following query in VBA: DoCmd.RunSQL INSERT INTO table (value) VALUES ('example')
I'm trying to call a stored procedure that accepts a table value parameter. I
I've got a simple table: Year - Quarter - Value 2012 1 177 2012
I have a problem with an SQL query. SELECT SUM(table_colum) AS value, SUM(value *

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.