I want to display all values of a column that is greater than its equivalent value in another row
Like for example, Display country name WHERE population is greater than country name (i.e. Andorra)
SELECT name FROM country
WHERE population > population (of Andorra)
You can use subquery for this, e.g.:
Please note that this query will return an error if