prepared sql query correctly in deleteRow()