EXPLAIN
provides detailed information about the query result.
One of the information that EXPLAIN
gives us is how many rows will be affected after running the queryEXPLAIN UPDATE students SET mail = 'email@gmail.com' WHERE id > 39
Note: EXPLAIN
works with the following statements: SELECT
, DELETE
, INSERT
, REPLACE
, UPDATE