How do I Find Count of Matching Items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • artemetis
    New Member
    • Jul 2007
    • 76

    How do I Find Count of Matching Items

    Hey there!

    I have a table with tool sizes.

    table: tblTool1
    field: tl1Size

    tlSize contains the following info: small, medium, large
    There are thousands of tools and I need to run a query to get a count of how many small, medium, and large tools there are.

    Never did a "count" before.
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Code:
    select count(*) as countofsize, size
    from someTable
    group by size

    Comment

    • artemetis
      New Member
      • Jul 2007
      • 76

      #3
      AWESOME!

      Worked like a charm!!
      Thanks, Rabbit!~

      Comment

      Working...