Nexient interview question

easy-level leet-code SQL query