Chegg interview question

The technical interview involved some SQL questions