Question d’entretien chez Zendesk

Convert the following active record to SQL