Luno interview question

Problem solving SQL assessment and technical interview