Execute the query.