Pregunta de entrevista de MyndYou

How to test a their UI, explain code part with bug, SQL question.