Accenture interview question

Related to SQL procedures and variables