Interface containing terminal modification method
Executes the query and returns the number of rows that were updated