Question d’entretien chez RBHU Analytics

How would write a function in sql?