Question d’entretien chez Fero.ai

Write django ORM query for periculat problem and optimize it.