UnfoldU Group interview question

Mysql queries for creating stored procedures