db_id
stringclasses
140 values
question
stringlengths
16
224
schema
stringclasses
140 values
summarized-schema
stringlengths
18
304
shrink-score
float64
0
1
behavior_monitoring
Find the id and city of the student address with the highest average monthly rental.
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
addresses : address_id (number) , city (text) | student_addresses : address_id (number) , monthly_rental (number)
0.9375
behavior_monitoring
What are the code and description of the most frequent behavior incident type?
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
ref_incident_type : incident_type_code (text) , incident_type_description (text) | behavior_incident : incident_type_code (text) , incident_id (number)
0.9375
behavior_monitoring
What are the code and description of the least frequent detention type ?
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
ref_detention_type : detention_type_code (text) , detention_type_description (text) | detention : detention_type_code (text) , detention_id (number)
0.9375
behavior_monitoring
Find the dates of assessment notes for students with first name "Fanny".
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
assessment_notes : date_of_notes (time) , student_id (number) | students : student_id (number) , first_name (text)
0.9375
behavior_monitoring
Find the texts of assessment notes for teachers with last name "Schuster".
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
assessment_notes : text_of_notes (text) , teacher_id (number) | teachers : teacher_id (number) , last_name (text)
0.9375
behavior_monitoring
Find the start and end dates of behavior incidents of students with last name "Fahey".
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
behavior_incident : date_incident_start (time) , date_incident_end (time) , student_id (number) | students : student_id (number) , last_name (text)
0.921875
behavior_monitoring
Find the start and end dates of detentions of teachers with last name "Schultz".
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
detention : datetime_detention_start (time) , datetime_detention_end (time) , teacher_id (number) | teachers : teacher_id (number) , last_name (text)
0.921875
behavior_monitoring
What are the id and zip code of the address with the highest monthly rental?
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
addresses : address_id (number) , zip_postcode (text) | student_addresses : address_id (number) , monthly_rental (number)
0.9375
behavior_monitoring
What is the cell phone number of the student whose address has the lowest monthly rental?
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
students : cell_mobile_number (text) , student_id (number) | student_addresses : student_id (number) , monthly_rental (number)
0.9375
behavior_monitoring
What are the monthly rentals of student addresses in Texas state?
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
student_addresses : monthly_rental (number) , address_id (number) | addresses : address_id (number) , state_province_county (text)
0.9375
behavior_monitoring
What are the first names and last names of students with address in Wisconsin state?
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
students : first_name (text) , last_name (text) , address_id (number) | addresses : address_id (number) , state_province_county (text)
0.921875
behavior_monitoring
What are the line 1 and average monthly rentals of all student addresses?
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
addresses : line_1 (text) , address_id (number) | student_addresses : monthly_rental (number) , address_id (number)
0.9375
behavior_monitoring
What is the zip code of the address where the teacher with first name "Lyla" lives?
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
addresses : zip_postcode (text) , address_id (number) | teachers : address_id (number) , first_name (text)
0.9375
behavior_monitoring
What are the email addresses of teachers whose address has zip code "918"?
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
teachers : email_address (text) , address_id (number) | addresses : address_id (number) , zip_postcode (text)
0.9375
behavior_monitoring
How many students are not involved in any behavior incident?
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
students : student_id (number) | behavior_incident : student_id (number) , incident_id (number)
0.953125
behavior_monitoring
Find the last names of teachers who are not involved in any detention.
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
teachers : last_name (text) , teacher_id (number) | detention : teacher_id (number)
0.953125
behavior_monitoring
What are the line 1 of addresses shared by some students and some teachers?
ref_address_types : address_type_code (text) , address_type_description (text) | ref_detention_type : detention_type_code (text) , detention_type_description (text) | ref_incident_type : incident_type_code (text) , incident_type_description (text) | addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
addresses : line_1 (text) , address_id (number) | students : address_id (number) | teachers : address_id (number)
0.9375
assets_maintenance
Which assets have 2 parts and have less than 2 fault logs? List the asset id and detail.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
assets : asset_id (number) , asset_details (text) | asset_parts : asset_id (number) | fault_log : asset_id (number) , fault_log_entry_id (number)
0.921875
assets_maintenance
How many assets does each maintenance contract contain? List the number and the contract id.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
maintenance_contracts : maintenance_contract_id (number) | assets : maintenance_contract_id (number) , asset_id (number)
0.953125
assets_maintenance
How many assets does each third party company supply? List the count and the company id.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
third_party_companies : company_id (number) | assets : supplier_company_id (number) , asset_id (number)
0.953125
assets_maintenance
Which third party companies have at least 2 maintenance engineers or have at least 2 maintenance contracts? List the company id and name.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
third_party_companies : company_id (number) , company_name (text) | maintenance_engineers : company_id (number) , engineer_id (number) | maintenance_contracts : maintenance_contract_company_id (number) , maintenance_contract_id (number)
0.90625
assets_maintenance
What is the name and id of the staff who recorded the fault log but has not contacted any visiting engineers?
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
staff : staff_name (text) , staff_id (number) | fault_log : recorded_by_staff_id (number) | engineer_visits : contact_staff_id (number)
0.9375
assets_maintenance
Which engineer has visited the most times? Show the engineer id, first name and last name.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
maintenance_engineers : engineer_id (number) , first_name (text) , last_name (text) | engineer_visits : engineer_id (number) , engineer_visit_id (number)
0.921875
assets_maintenance
Which parts have more than 2 faults? Show the part name and id.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
parts : part_name (text) , part_id (number) | part_faults : part_id (number) , part_fault_id (number)
0.9375
assets_maintenance
List all every engineer's first name, last name, details and coresponding skill description.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
maintenance_engineers : first_name (text) , last_name (text) , other_details (text) , engineer_id (number) | skills : skill_description (text) , skill_id (number) | engineer_skills : engineer_id (number) , skill_id (number)
0.875
assets_maintenance
For all the faults of different parts, what are all the decriptions of the skills required to fix them? List the name of the faults and the skill description.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
part_faults : fault_short_name (text) , part_fault_id (number) | skills : skill_description (text) , skill_id (number) | skills_required_to_fix : part_fault_id (number) , skill_id (number)
0.90625
assets_maintenance
How many assets can each parts be used in? List the part name and the number.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
parts : part_name (text) , part_id (number) | asset_parts : part_id (number)
0.953125
assets_maintenance
What are all the fault descriptions and the fault status of all the faults recoreded in the logs?
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
fault_log : fault_description (text) , fault_log_entry_id (number) | fault_log_parts : fault_status (text) , fault_log_entry_id (number)
0.9375
assets_maintenance
How many engineer visits are required at most for a single fault log? List the number and the log entry id.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
fault_log : fault_log_entry_id (number) | engineer_visits : fault_log_entry_id (number) , engineer_visit_id (number)
0.953125
assets_maintenance
What are all the distinct last names of all the engineers?
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
maintenance_engineers : last_name (text)
0.984375
assets_maintenance
How many fault status codes are recorded in the fault log parts table?
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
fault_log_parts : fault_status (text)
0.984375
assets_maintenance
Which engineers have never visited to maintain the assets? List the engineer first name and last name.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
maintenance_engineers : first_name (text) , last_name (text) , engineer_id (number) | engineer_visits : engineer_id (number)
0.9375
assets_maintenance
List the asset id, details, make and model for every asset.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
assets : asset_id (number) , asset_details (text) , asset_make (text) , asset_model (text)
0.9375
assets_maintenance
When was the first asset acquired?
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
assets : asset_acquired_date (time)
0.984375
assets_maintenance
Which part fault requires the most number of skills to fix? List part id and name.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
parts : part_id (number) , part_name (text) | part_faults : part_id (number) , part_fault_id (number) | skills_required_to_fix : part_fault_id (number)
0.921875
assets_maintenance
Which kind of part has the least number of faults? List the part name.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
parts : part_name (text) , part_id (number) | part_faults : part_id (number) , part_fault_id (number)
0.9375
assets_maintenance
Among those engineers who have visited, which engineer makes the least number of visits? List the engineer id, first name and last name.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
maintenance_engineers : engineer_id (number) , first_name (text) , last_name (text) | engineer_visits : engineer_id (number) , engineer_visit_id (number)
0.921875
assets_maintenance
Which staff have contacted which engineers? List the staff name and the engineer first name and last name.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
staff : staff_name (text) , staff_id (number) | maintenance_engineers : first_name (text) , last_name (text) , engineer_id (number) | engineer_visits : contact_staff_id (number) , engineer_id (number)
0.890625
assets_maintenance
Which fault log included the most number of faulty parts? List the fault log id, description and record time.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
fault_log : fault_log_entry_id (number) , fault_description (text) , fault_log_entry_datetime (time) | fault_log_parts : fault_log_entry_id (number)
0.9375
assets_maintenance
Which skill is used in fixing the most number of faults? List the skill id and description.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
skills : skill_id (number) , skill_description (text) | skills_required_to_fix : skill_id (number)
0.953125
assets_maintenance
What are all the distinct asset models?
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
assets : asset_model (text)
0.984375
assets_maintenance
List the all the assets make, model, details by the disposed date ascendingly.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
assets : asset_make (text) , asset_model (text) , asset_details (text) , asset_disposed_date (time)
0.9375
assets_maintenance
Which part has the least chargeable amount? List the part id and amount.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
parts : part_id (number) , chargeable_amount (text)
0.96875
assets_maintenance
Which company started the earliest the maintenance contract? Show the company name.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
third_party_companies : company_name (text) , company_id (number) | maintenance_contracts : maintenance_contract_company_id (number) , contract_start_date (time)
0.9375
assets_maintenance
What is the description of the type of the company who concluded its contracts most recently?
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
third_party_companies : company_name (text) , company_id (number) | maintenance_contracts : maintenance_contract_company_id (number) , contract_end_date (time)
0.9375
assets_maintenance
Which gender makes up the majority of the staff?
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
staff : gender (text) , staff_id (number)
0.96875
assets_maintenance
How many engineers did each staff contact? List both the contact staff name and number of engineers contacted.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
staff : staff_name (text) , staff_id (number) | engineer_visits : contact_staff_id (number) , engineer_visit_id (number)
0.9375
assets_maintenance
Which assets did not incur any fault log? List the asset model.
third_party_companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | maintenance_contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_d...
assets : asset_model (text) , asset_id (number) | fault_log : asset_id (number)
0.953125
station_weather
list the local authorities and services provided by all stations.
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
station : local_authority (text) , services (text)
0.894737
station_weather
show all train numbers and names ordered by their time from early to late.
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
train : train_number (number) , name (text) , time (text)
0.842105
station_weather
Give me the times and numbers of all trains that go to Chennai, ordered by time.
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
train : time (text) , train_number (number) , destination (text)
0.842105
station_weather
How many trains have 'Express' in their names?
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
train : name (text) , id (number)
0.894737
station_weather
Find the number and time of the train that goes from Chennai to Guruvayur.
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
train : train_number (number) , time (text) , origin (text) , destination (text)
0.789474
station_weather
Find the number of trains starting from each origin.
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
train : origin (text) , id (number)
0.894737
station_weather
Find the name of the train whose route runs through greatest number of stations.
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
train : name (text) , id (number) | route : train_id (number)
0.842105
station_weather
Find the number of trains for each station, as well as the station network name and services.
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
station : network_name (text) , services (text) , id (number) | route : station_id (number) , train_id (number)
0.736842
station_weather
What is the average high temperature for each day of week?
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
weekly_weather : high_temperature (number) , day_of_week (text)
0.894737
station_weather
Give me the maximum low temperature and average precipitation at the Amersham station.
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
weekly_weather : low_temperature (number) , precipitation (number) , station_id (number) | station : id (number) , network_name (text)
0.736842
station_weather
Find names and times of trains that run through stations for the local authority Chiltern.
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
train : name (text) , time (text) , id (number) | station : id (number) , local_authority (text) | route : station_id (number) , train_id (number)
0.631579
station_weather
How many different services are provided by all stations?
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
station : services (text)
0.947368
station_weather
Find the id and local authority of the station with has the highest average high temperature.
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
station : id (number) , local_authority (text) | weekly_weather : station_id (number) , high_temperature (number)
0.789474
station_weather
Find the id and local authority of the station whose maximum precipitation is higher than 50.
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
station : id (number) , local_authority (text) | weekly_weather : station_id (number) , precipitation (number)
0.789474
station_weather
show the lowest low temperature and highest wind speed in miles per hour.
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
weekly_weather : low_temperature (number) , wind_speed_mph (number)
0.894737
station_weather
Find the origins from which more than 1 train starts.
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (...
train : origin (text) , id (number)
0.894737
college_1
Find the number of professors in accounting department.
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : dept_code (text) , dept_name (text) | professor : dept_code (text)
0.930233
college_1
How many professors are in the accounting dept?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : dept_code (text) , dept_name (text) | professor : dept_code (text)
0.930233
college_1
How many professors are teaching class with code ACCT-211?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
class : prof_num (number) , crs_code (text)
0.953488
college_1
How many professors teach a class with the code ACCT-211?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
class : prof_num (number) , crs_code (text)
0.953488
college_1
What is the first and last name of the professor in biology department?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
employee : emp_fname (text) , emp_lname (text) , emp_num (number) | department : dept_code (text) , emp_num (number) , dept_name (text) | professor : dept_code (text) , emp_num (number)
0.813953
college_1
What are the first and last name of all biology professors?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
employee : emp_fname (text) , emp_lname (text) , emp_num (number) | department : dept_code (text) , emp_num (number) , dept_name (text) | professor : dept_code (text) , emp_num (number)
0.813953
college_1
What are the first names and date of birth of professors teaching course ACCT-211?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
employee : emp_fname (text) , emp_dob (time) , emp_num (number) | class : prof_num (number) , crs_code (text)
0.883721
college_1
What are the first names and birthdates of the professors in charge of ACCT-211?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
employee : emp_fname (text) , emp_dob (time) , emp_num (number) | class : prof_num (number) , crs_code (text)
0.883721
college_1
How many classes are professor whose last name is Graztevski has?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
employee : emp_num (number) , emp_lname (text) | class : prof_num (number) , class_code (text)
0.906977
college_1
How many classes does the professor whose last name is Graztevski teach?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
employee : emp_num (number) , emp_lname (text) | class : prof_num (number) , class_code (text)
0.906977
college_1
What is the code of the school where the accounting department belongs to?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : school_code (text) , dept_name (text)
0.953488
college_1
What is the school code of the accounting department?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : school_code (text) , dept_name (text)
0.953488
college_1
How many credits does course CIS-220 have, and what its description?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
course : crs_credit (number) , crs_description (text) , crs_code (text)
0.930233
college_1
What is the description for the CIS-220 and how many credits does it have?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
course : crs_credit (number) , crs_description (text) , crs_code (text)
0.930233
college_1
what is the address of history department?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : dept_address (text) , dept_name (text)
0.953488
college_1
Where is the history department?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : dept_address (text) , dept_name (text)
0.953488
college_1
How many different locations does the school with code BUS has?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : dept_address (text) , school_code (text)
0.953488
college_1
What are the different locations of the school with the code BUS?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : dept_address (text) , school_code (text)
0.953488
college_1
How many different locations does each school have?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : dept_address (text) , school_code (text)
0.953488
college_1
Count different addresses of each school.
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : dept_address (text) , school_code (text)
0.953488
college_1
Find the description and credit for the course QM-261?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
course : crs_credit (number) , crs_description (text) , crs_code (text)
0.930233
college_1
What is the course description and number of credits for QM-261?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
course : crs_credit (number) , crs_description (text) , crs_code (text)
0.930233
college_1
Find the number of departments in each school.
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : dept_name (text) , school_code (text)
0.953488
college_1
How many departments are in each school?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : dept_name (text) , school_code (text)
0.953488
college_1
Find the number of different departments in each school whose number of different departments is less than 5.
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : dept_name (text) , school_code (text)
0.953488
college_1
How many different departments are there in each school that has less than 5 apartments?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : dept_name (text) , school_code (text)
0.953488
college_1
How many sections does each course has?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
class : crs_code (text) , class_code (text)
0.953488
college_1
How many sections does each course have?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
class : crs_code (text) , class_code (text)
0.953488
college_1
What is the total credit does each department offer?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
course : crs_credit (number) , dept_code (text)
0.953488
college_1
How many credits does the department offer?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
course : crs_credit (number) , dept_code (text)
0.953488
college_1
Find the number of classes offered for all class rooms that held at least 2 classes.
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
class : class_room (text) , class_code (text)
0.953488
college_1
For each classroom with at least 2 classes, how many classes are offered?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
class : class_room (text) , class_code (text)
0.953488
college_1
Find the number of classes in each department.
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
course : dept_code (text) , crs_code (text) | class : crs_code (text) , class_code (text)
0.906977
college_1
How many classes are held in each department?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
course : dept_code (text) , crs_code (text) | class : crs_code (text) , class_code (text)
0.906977
college_1
Find the number of classes in each school.
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : school_code (text) , dept_code (text) | class : crs_code (text) , class_code (text) | course : crs_code (text) , dept_code (text)
0.860465
college_1
How many classes exist for each school?
class : class_code (text) , crs_code (text) , class_section (text) , class_time (text) , class_room (text) , prof_num (number) | course : crs_code (text) , dept_code (text) , crs_description (text) , crs_credit (number) | department : dept_code (text) , dept_name (text) , school_code (text) , emp_num (number) , dept_ad...
department : school_code (text) , dept_code (text) | class : crs_code (text) , class_code (text) | course : crs_code (text) , dept_code (text)
0.860465