Computer Science, asked by ISOLATEDREX4830, 1 year ago

How can we get the total number of rows affected by MySQL query?

Answers

Answered by Aagmansriva993
0

It returns the number of rows changed, deleted, or inserted by the last statement if it was an UPDATE , DELETE , or INSERT . For SELECT statements, mysql_affected_rows() works like mysql_num_rows() . For UPDATE statements, the affected-rows value by default is the number of rows actually changed.

Answered by khushi6174
0

The total number of rows affected by MySQL Query, the affected raw value by default is the number of actually changed.

mark as a brainliest answer

Similar questions