Voici une requête qui doit répondre à la question, j'ai préféré afficher les vols pour avoir des détails
SELECT DATE_FORMAT(start_date, '%d %m %Y' ) AS Date,last_name AS Nom,
first_name AS Prénom,
IF ((SELECT COUNT(*)
FROM flight_pilot fp2
WHERE fp2.flight_id=fp.flight_id AND fp2.num=1)=0, 'Solo', 'DC') AS DC,
aircraft.callsign AS Immat,
CONCAT(FLOOR( duration /600),
'
Forum:
Support client