Frage im Vorstellungsgespräch bei Tesla

Write a SQL query that includes grouping, ordering and counting logic.