OpenBet interview question

EXISTS procedure in SQL