Jakeman
05-02-2004, 05:28 AM
I want to select the number of records for each idnumber that exists. In the below example, there are three 2's, four 3's, and three 4's. I want to capture this information in a single query if possible.
I know how to capture a record count for a single idnumber, but I'm not sure how to do capture counts for multiple idnumbers in one query.
An example of the table:
____________________
| idnumber | title |
|-------------------
| 2 | ..... |
| 2 | ..... |
| 2 | ..... |
| 3 | ..... |
| 3 | ..... |
| 3 | ..... |
| 3 | ..... |
| 4 | ..... |
| 4 | ..... |
| 4 | ..... |
Any help is appreciated.
I know how to capture a record count for a single idnumber, but I'm not sure how to do capture counts for multiple idnumbers in one query.
An example of the table:
____________________
| idnumber | title |
|-------------------
| 2 | ..... |
| 2 | ..... |
| 2 | ..... |
| 3 | ..... |
| 3 | ..... |
| 3 | ..... |
| 3 | ..... |
| 4 | ..... |
| 4 | ..... |
| 4 | ..... |
Any help is appreciated.