Nitka interview question

Make simple SQL join for filtration