Question: Taxi SQL challenge!!! IMPORTANT ! ! ! Please provide exact answer in the format as it's asked, no extra details, as that would break automatic

Taxi SQL challenge!!! IMPORTANT !!!Please provide exact answer in the format as it's asked, no extra details, as that would break automatic grading(Try to copy it from your query output)Please do check the schema/structures for tables created. If it would be similar to below (in PGAdmin find table, right click on it, Scripts->Create Script would reveal exact columns definitions), then make sure to addquotesas part of the column name and useExAcT CaSefor affected column, e.g.SELECT"VendorID" fromyellow_taxi_trips;otherwise you'd get error that column is not found.CREATE TABLE IF NOT EXISTS public.yellow_taxi_data( "VendorID" integer, tpep_pickup_datetime timestamp without time zone, tpep_dropoff_datetime timestamp without time zone, passenger_count bigint, trip_distance double precision, "RatecodeID" bigint, store_and_fwd_flag text COLLATE pg_catalog."default", "PULocationID" integer, "DOLocationID" integer, payment_type bigint, fare_amount double precision, extra double precision, mta_tax double precision, tip_amount double precision, tolls_amount double precision, improvement_surcharge double precision, total_amount double precision, congestion_surcharge double precision, "Airport_fee" double precision)CREATE TABLE IF NOT EXISTS public.zones( index bigint, "LocationID" bigint, "Borough" text COLLATE pg_catalog."default", "Zone" text COLLATE pg_catalog."default", service_zone text COLLATE pg_catalog."default")1.How many taxi trips were there on March 15?Consider only trips that started on March 15.(: 2.5)Enter only final number2.Find the largest tip for each day. On which day it was the largest tip in March? Use the pick up time for your calculations.(: 2.5)Please enter the final date (e.g.2024-03-25)3.What was the most popular destination for passengers picked up in central park on March 14? Use the pick up time for your calculations.(: 2.5)Enter the zone name (not id). If the zone name is unknown (missing), write "Unknown4.What's the pickup-dropoff pair with the largest average price for a ride (calculated based ontotal_amount)? Enter two zone names separated by a slashFor example: Jamaica Bay/Clinton East (: 2.5)If any of the zone names are unknown (missing), write "Unknown". For example: Unknown/Clinton East5.Please copy andpaste your SQL queries here. Remember: no code - no scores

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!