Question: Which countries in the upper middle income category still have unfinished external debt reporting? Please provide the country codes in your answer.
SQL: SELECT CountryCode FROM Country WHERE IncomeGroup = 'Upper middle income' AND ExternalDebtReportingStatus = 'Preliminary'