Domanda di colloquio di Moyi-Tech

easy python question. Find kth min element. easy SQL question using group by and having.