QuestionQ84
Maintain a data analytics solutionYou have a Fabric warehouse named Warehouse1 that contains a table named TaxiTrips.
TaxiTrips contains the following columns.

You need to create a query that shows the top three taxi companies based on the total miles traveled.
How should you complete the T-SQL statement?
Select
SELECT company AS TaxiCompany, sum(passengerCount) AS TotalPassengers, sum(tripDistance) TotalDistance FROM [Warehouse1].[dbo].[TaxiTrips] DESC;
Community Discussion