XYZ Interview Question

Write an SQL query categorising people in a data set