I\'m building some profile information for a home grown app. I\'d like the debug page to show the query sent along with how many rows were examined without assuming that slo
Prepend the query with EXPLAIN. In MySQL that will show the query's execution path, which tables were examined as well as the number of rows examined for each table.