question
stringclasses 15
values | context
stringclasses 6
values | sql
stringclasses 14
values |
---|---|---|
Give me total company gross bookings in March 2023 | rate type not specified, so use 'USD'. Version not specified, since it is not current month, use 'Actuals' | select sum(gross_bookings) from secure_finance_staging.fds_product_datamart where calendaryear=2023 and calendarmonth=3 and version='Actuals'and rate_type='USD' |
What is NETR for lob_1001 in March 2023? | rate type not specified, so use 'USD'. Version not specified, since it is not current month, use 'Actuals' | select sum(netr) from secure_finance_staging.fds_product_datamart where calendaryear=2023 and calendarmonth=3 and version='Actuals'and rate_type='USD' and lob_code = '1001' |
What were gross bookings in New York last week for lob_1001? | rate type not specified, so use 'USD'. | SELECT sum(gross_bookings) FROM secure_finance_staging.fds_product_datamart WHERE version = 'Estimate' AND rate_type = 'USD' AND lob_code = '1001' AND iso_weekofyear = (SELECT MAX(iso_weekofyear) - 1 FROM secure_finance_staging.fds_product_datamart) and city_name = 'New York City' |
How much did The lob_1001 mobility business spend on Trip Insurance In March'23, plan rate. | Version not specified, since it is not current month, use 'Actuals'. US = Country - United States. | SELECT sum(trip_insurance)
FROM secure_finance_staging.fds_product_datamart
WHERE version = 'Actuals'
AND rate_type = 'Plan Rate'
AND lob_code = '1001'
AND country_name = 'Country - United States'
and calendaryear=2023
and calendarmonth=3 |
Please provide U4B GBs and completed trips in San Francisco last month for lob_1001 using plan rate | Version not specified, since it is not current month, use 'Actuals'. | SELECT sum(trip_insurance)
FROM secure_finance_staging.fds_product_datamart
WHERE version = 'Actuals'
AND rate_type = 'Plan Rate'
AND lob_code = '1001'
AND city_name = 'San Francisco'
and is_u4b=TRUE
and calendarmonth=3
and calendaryear=2023 |
What was subs pass revenue in 2023/03 grouped by lob_code? | rate type not specified, so use 'USD'. Version not specified, since it is not current month, use 'Actuals' | SELECT lob_code, sum(subscription_pass_revenue)
FROM secure_finance_staging.fds_product_datamart
WHERE version = 'Actuals'
AND rate_type = 'USD'
and calendarmonth=3
and calendaryear=2023
GROUP BY lob_code
order BY 2 desc |
What was adjusted EBITDA by fulfillment type in Australa in March 2023? | rate type not specified, so use 'USD'. Version not specified, since it is not current month, use 'Actuals' | SELECT fulfillment_type, sum(adj_ebitda)
FROM secure_finance_staging.fds_product_datamart
WHERE version = 'Actuals'
AND rate_type = 'USD'
and calendarmonth=3
and calendaryear=2023
and country_name='Country - Australia'
GROUP BY fulfillment_type
order BY 2 desc |
Give me VC of all flowershops in march 2023 | rate type not specified, so use 'USD'. Version not specified, since it is not current month, use 'Actuals'. flowershop is a type of merchant_type | SELECT sum(variable_contribution)
FROM secure_finance_staging.fds_product_datamart
WHERE version = 'Actuals'
AND rate_type = 'USD'
and calendarmonth=3
and calendaryear=2023
and merchant_type_analytics='MERCHANT_TYPE_FLORIST' |
group has_membership gross_bookings = /N by lob_code for mar'23. | rate type not specified, so use 'USD'. Version not specified, since it is not current month, use 'Actuals' | SELECT
lob_code,
sum(gross_bookings) as gross_bookings
FROM secure_finance_staging.fds_product_datamart
WHERE version = 'Actuals'
AND rate_type = 'USD'
and calendarmonth=3
and calendaryear=2023
and has_membership IS NULL
group by lob_code
order by 2 desc |
Show me the the metric gross bookings and its children for connect in March of 2023 in plan rate | Version not specified, since it is not current month, use 'Actuals' | SELECT sum(gross_bookings) as gross_bookings,
sum(fares_basket) as fares_basket,
sum(booking_eater_fees) as booking_eater_fees,
sum(taxes_collected) as taxes_collected
FROM secure_finance_staging.fds_product_datamart
WHERE version = 'Actuals'
AND rate_type = 'Plan Rate'
and calendarmonth=3
and calendaryear=2023
and finance_product_name ='Connect' |
Show me variable contrbution and its children for members vs non members in San Francisco for March, Plan rate | Version not specified, since it is not current month, use 'Actuals' | SELECT
has_membership,
sum(netr) as netr,
sum(variable_costs) as variable_costs,
sum(variable_contribution) as variable_contribution
FROM secure_finance_staging.fds_product_datamart
WHERE version = 'Actuals'
AND rate_type = 'Plan Rate'
and calendarmonth=3
and calendaryear=2023
and city_name = ('San Francisco')
group by has_membership |
Which countries with gbs>10M in the month have the highest NETR as a % of gross bookings in march'23 for lob_2001? | rate type not specified, so use 'USD'. Version not specified, since it is not current month, use 'Actuals' | SELECT
country_name,
sum(netr)/sum(gross_bookings) as netr_pct_gb
FROM secure_finance_staging.fds_product_datamart
WHERE version = 'Actuals'
AND rate_type = 'USD'
and calendarmonth=3
and calendaryear=2023
and lob_code ='2001'
group by country_name
having sum(gross_bookings) > 10000000
order by 2 desc |
Show me gross bookings per trip for the cities in the United States with the highest gross bookings in March 2023 for lob_1001 | rate type not specified, so use 'USD'. Version not specified, since it is not current month, use 'Actuals' | SELECT
city_name,
sum(gross_bookings),
sum(gross_bookings)/sum(completed_trips) as gb_per_trip
FROM secure_finance_staging.fds_product_datamart
WHERE version = 'Actuals'
AND rate_type = 'USD'
and calendarmonth=3
and calendaryear=2023
and lob_code ='1001'
and country_name in ('Country - United States')
group by city_name
order by 2 desc |
What is insurance per mile by product name in in the United States for march'23? | rate type not specified, so use 'USD'. Version not specified, since it is not current month, use 'Actuals' | SELECT
city_name,
sum(gross_bookings),
sum(gross_bookings)/sum(completed_trips) as gb_per_trip
FROM secure_finance_staging.fds_product_datamart
WHERE version = 'Actuals'
AND rate_type = 'USD'
and calendarmonth=3
and calendaryear=2023
and lob_code ='1001'
and country_name in ('Country - United States')
group by city_name
order by 2 desc |
Show me U4B vs non U4B netr, variable_costs, and variable contribution as a percentage of gross bookings for | rate type not specified, so use 'USD'. Version not specified, since it is not current month, use 'Actuals' | SELECT
is_airport,
sum(gross_bookings),
sum(netr)/sum(gross_bookings) as netr_pct_gb,
sum(variable_costs)/sum(gross_bookings) as varible_costs_pct_gb,
sum(variable_contribution)/sum(gross_bookings) as vc_pct_gb
FROM secure_finance_staging.fds_product_datamart
WHERE version = 'Actuals'
AND rate_type = 'USD'
and calendarmonth=3
and calendaryear=2023
and lob_code ='1001'
and country_name in ('Country - United States')
group by is_airport
order by 2 desc |
No dataset card yet
New: Create and edit this dataset card directly on the website!
Contribute a Dataset Card- Downloads last month
- 9