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

Find the number of people whose age is greater than all engineers.
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')