moved the function to create the SQL statement for row deletion to its base class: DBAgent so that other sub classes of DBAgent can commonly use the statement.