SELECT CountryID, First(ID) AS FirstID, First(OtherStuff) AS FirstOfOtherStuff, First(MoreStuff) AS FirstOfMoreStuff FROM Table9 GROUP BY CountryID
SELECT CountryID, Last(ID) AS LastID, Last(OtherStuff) AS LastOfOtherStuff, Last(MoreStuff) AS LastOfMoreStuff FROM Table9 GROUP BY CountryID