Pregunta de entrevista de SCII

Basic database related and some technical logic