I would like to get the number of rows
returned from a mysql query that uses group by
.
table
CREATE TABLE IF NOT EXISTS TestRunSteps (
`idTestRunSteps` INT UNSIGNED NOT NULL AUTO_INCREMENT ,
`idUsersExecBy` VARCHAR(10) NULL ,
`LastExecUserIPV4` INT UNSIGNED NULL ,
PRIMARY KEY (`idTestRunSteps`);
SELECT count(*)
from proj1_db.TestRunSteps
group by idUsersExecBy,LastExecUserIPV4
returns
3,000002,3232236222
1,000003,3232236222
5,000004,3232236222
What I would like to have is a simple 3
- for 3 rows. Please tell me how