The goal of my query is to return the country name and its head of state if it\'s headofstate has a name starting with A, and the capital of the country has greater than 100
Query below should help you achieve what you want.
select scountry, headofstate from data where data.scountry like 'a%'and ttlppl>=100000