db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
train_station | Show the station name with greatest number of trains. | station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number) | station : name (text) , station_id (number) | train_station : station_id (number) , train_id (number) | 0.714286 |
train_station | Show the station name with at least two trains. | station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number) | station : name (text) , station_id (number) | train_station : station_id (number) , train_id (number) | 0.714286 |
train_station | Show all locations with only 1 station. | station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number) | station : location (text) , station_id (number) | 0.857143 |
train_station | Show station names without any trains. | station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number) | station : name (text) , station_id (number) | train_station : station_id (number) | 0.785714 |
train_station | What are the names of the stations which serve both "Ananthapuri Express" and "Guruvayur Express" trains? | station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number) | station : name (text) , station_id (number) | train : name (text) , train_id (number) | train_station : station_id (number) , train_id (number) | 0.571429 |
train_station | Find the names of the trains that do not pass any station located in London. | station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number) | station : name (text) , station_id (number) , location (text) | train : name (text) , train_id (number) | train_station : train_id (number) , station_id (number) | 0.5 |
train_station | List the names and locations of all stations ordered by their yearly entry exit and interchange amounts. | station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number) | station : name (text) , location (text) , annual_entry_exit (number) , annual_interchanges (number) | 0.714286 |
driving_school | List all vehicle id | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | vehicles : vehicle_id (number) | 0.975 |
driving_school | What are the ids of all vehicles? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | vehicles : vehicle_id (number) | 0.975 |
driving_school | How many vehicle in total? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | vehicles : vehicle_id (number) | 0.975 |
driving_school | How many vehicles exist? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | vehicles : vehicle_id (number) | 0.975 |
driving_school | Show the detail of vehicle with id 1. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | vehicles : vehicle_details (text) , vehicle_id (number) | 0.95 |
driving_school | What are the details of the car with id 1? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | vehicles : vehicle_details (text) , vehicle_id (number) | 0.95 |
driving_school | List the first name middle name and last name of all staff. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : first_name (text) , middle_name (text) , last_name (text) | 0.925 |
driving_school | What are the first, middle, and last names of all staff? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : first_name (text) , middle_name (text) , last_name (text) | 0.925 |
driving_school | What is the birthday of the staff member with first name as Janessa and last name as Sawayn? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : date_of_birth (time) , first_name (text) , last_name (text) | 0.925 |
driving_school | What is the date of birth for the staff member named Janessa Sawayn? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : date_of_birth (time) , first_name (text) , last_name (text) | 0.925 |
driving_school | When did the staff member with first name as Janessa and last name as Sawayn join the company? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : date_joined_staff (time) , first_name (text) , last_name (text) | 0.925 |
driving_school | When did the staff member named Janessa Sawayn join the company? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : date_joined_staff (time) , first_name (text) , last_name (text) | 0.925 |
driving_school | When did the staff member with first name as Janessa and last name as Sawayn leave the company? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : date_left_staff (time) , first_name (text) , last_name (text) | 0.925 |
driving_school | When did the staff member Janessa Sawayn leave the company? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : date_left_staff (time) , first_name (text) , last_name (text) | 0.925 |
driving_school | How many staff have the first name Ludie? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : first_name (text) , staff_id (number) | 0.95 |
driving_school | How many employees have a first name of Ludie? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : first_name (text) , staff_id (number) | 0.95 |
driving_school | What is the nickname of staff with first name as Janessa and last name as Sawayn? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : nickname (text) , first_name (text) , last_name (text) | 0.925 |
driving_school | What is the nickname of the employee named Janessa Sawayn? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : nickname (text) , first_name (text) , last_name (text) | 0.925 |
driving_school | How many staff in total? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : staff_id (number) | 0.975 |
driving_school | How many employees are there? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : staff_id (number) | 0.975 |
driving_school | Which city does staff with first name as Janessa and last name as Sawayn live? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : city (text) , address_id (number) | staff : staff_address_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | In what city does Janessa Sawayn live? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : city (text) , address_id (number) | staff : staff_address_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | Which country and state does staff with first name as Janessa and last name as Sawayn lived? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : country (text) , state_province_county (text) , address_id (number) | staff : staff_address_id (number) , first_name (text) , last_name (text) | 0.85 |
driving_school | In which country and state does Janessa Sawayn live? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : country (text) , state_province_county (text) , address_id (number) | staff : staff_address_id (number) , first_name (text) , last_name (text) | 0.85 |
driving_school | How long is the total lesson time took by customer with first name as Rylan and last name as Goodwin? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | lessons : lesson_time (text) , customer_id (number) | customers : customer_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | How long is the total lesson time took by the customer named Rylan Goodwin? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | lessons : lesson_time (text) , customer_id (number) | customers : customer_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | What is the zip code of staff with first name as Janessa and last name as Sawayn lived? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : zip_postcode (text) , address_id (number) | staff : staff_address_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | What is the zip code of the hosue of the employee named Janessa Sawayn? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : zip_postcode (text) , address_id (number) | staff : staff_address_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | How many staff live in state Georgia? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : state_province_county (text) , address_id (number) | 0.95 |
driving_school | How many employees live in Georgia? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : state_province_county (text) , address_id (number) | 0.95 |
driving_school | Find out the first name and last name of staff lived in city Damianfort. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : first_name (text) , last_name (text) , staff_address_id (number) | addresses : address_id (number) , city (text) | 0.875 |
driving_school | What is the first and last name of all employees who live in the city Damianfort? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : first_name (text) , last_name (text) , staff_address_id (number) | addresses : address_id (number) , city (text) | 0.875 |
driving_school | Which city lives most of staffs? List the city name and number of staffs. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : city (text) , address_id (number) | staff : staff_address_id (number) , staff_id (number) | 0.9 |
driving_school | In which city do the most employees live and how many of them live there? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : city (text) , address_id (number) | staff : staff_address_id (number) , staff_id (number) | 0.9 |
driving_school | List the states which have between 2 to 4 staffs living there. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : state_province_county (text) , address_id (number) | staff : staff_address_id (number) , staff_id (number) | 0.9 |
driving_school | What are the names of the states that have 2 to 4 employees living there? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : state_province_county (text) , address_id (number) | staff : staff_address_id (number) , staff_id (number) | 0.9 |
driving_school | List the first name and last name of all customers. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : first_name (text) , last_name (text) | 0.95 |
driving_school | What are the first and last names for all customers? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : first_name (text) , last_name (text) | 0.95 |
driving_school | List email address and birthday of customer whose first name as Carole. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : email_address (text) , date_of_birth (time) , first_name (text) | 0.925 |
driving_school | What are the email addresses and date of births for all customers who have a first name of Carole? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : email_address (text) , date_of_birth (time) , first_name (text) | 0.925 |
driving_school | List phone number and email address of customer with more than 2000 outstanding balance. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : phone_number (text) , email_address (text) , amount_outstanding (number) | 0.925 |
driving_school | What are the phone numbers and email addresses of all customers who have an outstanding balance of more than 2000? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : phone_number (text) , email_address (text) , amount_outstanding (number) | 0.925 |
driving_school | What is the status code, mobile phone number and email address of customer with last name as Kohler or first name as Marina? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_status_code (text) , cell_mobile_phone_number (text) , email_address (text) , first_name (text) , last_name (text) | 0.875 |
driving_school | What is the status code, phone number, and email address of the customer whose last name is Kohler or whose first name is Marina? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_status_code (text) , cell_mobile_phone_number (text) , email_address (text) , first_name (text) , last_name (text) | 0.875 |
driving_school | When are the birthdays of customer who are classified as 'Good Customer' status? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : date_of_birth (time) , customer_status_code (text) | 0.95 |
driving_school | What is the date of birth of every customer whose status code is 'Good Customer'? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : date_of_birth (time) , customer_status_code (text) | 0.95 |
driving_school | When did customer with first name as Carole and last name as Bernhard became a customer? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : date_became_customer (time) , first_name (text) , last_name (text) | 0.925 |
driving_school | When did Carole Bernhard first become a customer? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : date_became_customer (time) , first_name (text) , last_name (text) | 0.925 |
driving_school | How many customers in total? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_id (number) | 0.975 |
driving_school | How many customers are there? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_id (number) | 0.975 |
driving_school | List all customer status codes and the number of customers having each status code. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_status_code (text) , customer_id (number) | 0.95 |
driving_school | For each customer status code, how many customers are classified that way? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_status_code (text) , customer_id (number) | 0.95 |
driving_school | Which customer status code has least number of customers? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_status_code (text) , customer_id (number) | 0.95 |
driving_school | What is the status code with the least number of customers? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_status_code (text) , customer_id (number) | 0.95 |
driving_school | How many lessons taken by customer with first name as Rylan and last name as Goodwin were completed? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_id (number) , first_name (text) , last_name (text) | lessons : customer_id (number) , lesson_status_code (text) , lesson_id (number) | 0.85 |
driving_school | How many lessons did the customer Ryan Goodwin complete? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_id (number) , first_name (text) , last_name (text) | lessons : customer_id (number) , lesson_status_code (text) , lesson_id (number) | 0.85 |
driving_school | What is maximum, minimum and average amount of outstanding of customer? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : amount_outstanding (number) | 0.975 |
driving_school | What is the maximum, minimum, and average amount of money outsanding for all customers? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : amount_outstanding (number) | 0.975 |
driving_school | List the first name and last name of customers have the amount of outstanding between 1000 and 3000. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : first_name (text) , last_name (text) , amount_outstanding (number) | 0.925 |
driving_school | What are the first and last names of all customers with between 1000 and 3000 dollars outstanding? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : first_name (text) , last_name (text) , amount_outstanding (number) | 0.925 |
driving_school | List first name and last name of customers lived in city Lockmanfurt. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : first_name (text) , last_name (text) , customer_address_id (number) | addresses : address_id (number) , city (text) | 0.875 |
driving_school | What are the first and last names of all customers who lived in Lockmanfurt? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : first_name (text) , last_name (text) , customer_address_id (number) | addresses : address_id (number) , city (text) | 0.875 |
driving_school | Which country does customer with first name as Carole and last name as Bernhard lived in? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : country (text) , address_id (number) | customers : customer_address_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | What is the country in which the customer Carole Bernhard lived? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : country (text) , address_id (number) | customers : customer_address_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | What is zip code of customer with first name as Carole and last name as Bernhard? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : zip_postcode (text) , address_id (number) | customers : customer_address_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | What is the zip code of the customer Carole Bernhard? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : zip_postcode (text) , address_id (number) | customers : customer_address_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | Which city does has most number of customers? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : city (text) , address_id (number) | customers : customer_address_id (number) , customer_id (number) | 0.9 |
driving_school | What is the city with the most customers? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | addresses : city (text) , address_id (number) | customers : customer_address_id (number) , customer_id (number) | 0.9 |
driving_school | How much in total does customer with first name as Carole and last name as Bernhard paid? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customer_payments : amount_payment (number) , customer_id (number) | customers : customer_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | What is the total amount of moeny paid by the customer Carole Bernhard? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customer_payments : amount_payment (number) , customer_id (number) | customers : customer_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | List the number of customers that did not have any payment history. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_id (number) | customer_payments : customer_id (number) | 0.95 |
driving_school | How many customers have no payment histories? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_id (number) | customer_payments : customer_id (number) | 0.95 |
driving_school | List first name and last name of customers that have more than 2 payments. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : first_name (text) , last_name (text) , customer_id (number) | customer_payments : customer_id (number) | 0.9 |
driving_school | What are the first and last names of all customers with more than 2 payments? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : first_name (text) , last_name (text) , customer_id (number) | customer_payments : customer_id (number) | 0.9 |
driving_school | List all payment methods and number of payments using each payment methods. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customer_payments : payment_method_code (text) , customer_id (number) | 0.95 |
driving_school | For each payment method, how many payments were made? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customer_payments : payment_method_code (text) , customer_id (number) | 0.95 |
driving_school | How many lessons were in cancelled state? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | lessons : lesson_status_code (text) , lesson_id (number) | 0.95 |
driving_school | How many lessons have been cancelled? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | lessons : lesson_status_code (text) , lesson_id (number) | 0.95 |
driving_school | List lesson id of all lessons taught by staff with first name as Janessa, last name as Sawayn and nickname containing letter 's'. | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | lessons : lesson_id (number) , staff_id (number) | staff : staff_id (number) , first_name (text) , last_name (text) , nickname (text) | 0.85 |
driving_school | What are the the lesson ids of all staff taught by Janessa Sawayn whose nickname has the letter s? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | lessons : lesson_id (number) , staff_id (number) | staff : staff_id (number) , first_name (text) , last_name (text) , nickname (text) | 0.85 |
driving_school | How many lessons taught by staff whose first name has letter 'a' in it? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : staff_id (number) , first_name (text) | lessons : staff_id (number) , lesson_id (number) | 0.9 |
driving_school | How many lessons were taught by a staff member whose first name has the letter 'a' in it? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : staff_id (number) , first_name (text) | lessons : staff_id (number) , lesson_id (number) | 0.9 |
driving_school | How long is the total lesson time taught by staff with first name as Janessa and last name as Sawayn? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | lessons : lesson_time (text) , staff_id (number) | staff : staff_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | What is the total time for all lessons taught by Janessa Sawayn? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | lessons : lesson_time (text) , staff_id (number) | staff : staff_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | What is average lesson price taught by staff with first name as Janessa and last name as Sawayn? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | lessons : price (number) , staff_id (number) | staff : staff_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | What is the average price for a lesson taught by Janessa Sawayn? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | lessons : price (number) , staff_id (number) | staff : staff_id (number) , first_name (text) , last_name (text) | 0.875 |
driving_school | How many lesson does customer with first name Ray took? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_id (number) , first_name (text) | lessons : customer_id (number) , lesson_id (number) | 0.9 |
driving_school | How many lessons did the customer with the first name Ray take? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | customers : customer_id (number) , first_name (text) | lessons : customer_id (number) , lesson_id (number) | 0.9 |
driving_school | Which last names are both used by customers and by staff? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : last_name (text) | customers : last_name (text) | 0.95 |
driving_school | What are the last names that are used by customers and staff? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : last_name (text) | customers : last_name (text) | 0.95 |
driving_school | What is the first name of the staff who did not give any lesson? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : first_name (text) , staff_id (number) | lessons : staff_id (number) | 0.925 |
driving_school | What is the first name of all employees who do not give any lessons? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | staff : first_name (text) , staff_id (number) | lessons : staff_id (number) | 0.925 |
driving_school | What is the id and detail of the vehicle used in lessons for most of the times? | addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | vehicles : vehicle_id (number) , vehicle_details (text) | customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | customer_payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number) | vehicles : vehicle_id (number) , vehicle_details (text) | lessons : vehicle_id (number) , lesson_id (number) | 0.9 |