Pregunta de entrevista de Citi

How do you read a line from database?