in reply to Re: Right Number DB
in thread Right Number DB
You can add a COUNT(*) to your SQL and get the normal data AND a count.
Nonsense. If you put a COUNT(*) in your SELECT you get one line only.
If you add a COUNT(*) to normal data, then you need to put a GROUP BY clause, thus getting a count for each group, not the total.
You cannot get detailed data AND its count in one single SQL statement.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |