Meta interview question

Medium SQL, and Medium Python