Tredence Interview Question

Puzzles, SQL and guesstimate questions?