Pergunta de entrevista da empresa ITR Laboratories

Question: write one query for sql and linq