CREATE TABLE Person (name VARCHAR, age INT, city TEXT, gender TEXT, job TEXT)
CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR, year INT)

Show minimal age from each job
SELECT job, MIN(age) FROM Person GROUP BY job
SELECT "job", MIN("age") FROM "Person" GROUP BY "job"