IniziaInizia gratis

Pickup locations by shift results

Let's see the AvgFarePerKM,RideCount and TotalRideMin for the pickup locations within Manhattan during the different driver shifts of each weekday.

Questo esercizio fa parte del corso

Writing Functions and Stored Procedures in SQL Server

Visualizza il corso

Istruzioni dell'esercizio

  • Declare @Borough as a nvarchar(30) variable and set it to 'Manhattan'.
  • Pass @Borough to execute the dbo.cuspPickupZoneShiftStats stored procedure.
  • Admire your work. :)

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

-- Create @Borough
___ ___ AS ___(___) = '___'
-- Execute the SP
___ ___.___
    -- Pass @Borough
	___ = ___;
Modifica ed esegui il codice