CREATE TABLE manager (Manager_ID INT, Name TEXT, Country TEXT, Working_year_starts TEXT, Age INT, Level INT)
CREATE TABLE railway (Railway_ID INT, Railway TEXT, Builder TEXT, Built TEXT, Wheels TEXT, Location TEXT, ObjectNumber TEXT)
CREATE TABLE railway_manage (Railway_ID INT, Manager_ID INT, From_Year TEXT)
CREATE TABLE train (Train_ID INT, Train_Num TEXT, Name TEXT, From TEXT, Arrival TEXT, Railway_ID INT)

A bar chart for showing the number of the countries that have managers of age above 50 or below 46, I want to rank by the total number in ascending.
SELECT Country, COUNT(Country) FROM manager WHERE Age > 50 OR Age < 46 GROUP BY Country ORDER BY COUNT(Country)
SELECT "Country", COUNT("Country") FROM "manager" WHERE "Age" < 46 OR "Age" > 50 GROUP BY "Country" ORDER BY COUNT("Country") NULLS FIRST