CREATE TABLE personfriend (name TEXT, friend TEXT, year DECIMAL)
CREATE TABLE person (name TEXT, age DECIMAL, city TEXT, gender TEXT, job TEXT)

How many people are older than every engineer?
SELECT COUNT(*) FROM person WHERE age > (SELECT MAX(age) FROM person WHERE job = 'engineer')
SELECT COUNT(*) FROM "person" WHERE "age" > (SELECT MAX("age") FROM "person" WHERE "job" = 'engineer')