Datasets:
Tasks:
Text2Text Generation
Modalities:
Text
Formats:
json
Languages:
English
Size:
1K - 10K
Tags:
schema-summarization
Fixing empty summarized-schema columns
Browse files- train_dataset.jsonl +0 -9
- validation_dataset.jsonl +0 -2
train_dataset.jsonl
CHANGED
@@ -1575,8 +1575,6 @@
|
|
1575 |
{"db_id": "customers_and_invoices", "question": "Count the number of customers.", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": "customers : customer_id (number)"}
|
1576 |
{"db_id": "customers_and_invoices", "question": "Show the number of customers for each gender.", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": "customers : gender (text) , customer_id (number)"}
|
1577 |
{"db_id": "customers_and_invoices", "question": "How many customers are there of each gender?", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": "customers : gender (text) , customer_id (number)"}
|
1578 |
-
{"db_id": "customers_and_invoices", "question": "How many transactions do we have?", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": ""}
|
1579 |
-
{"db_id": "customers_and_invoices", "question": "Count the number of transactions.", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": ""}
|
1580 |
{"db_id": "customers_and_invoices", "question": "How many transaction does each account have? Show the number and account id.", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": "accounts : account_id (number) | financial_transactions : account_id (number)"}
|
1581 |
{"db_id": "customers_and_invoices", "question": "Count the number of financial transactions that correspond to each account id.", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": "accounts : account_id (number) | financial_transactions : account_id (number)"}
|
1582 |
{"db_id": "customers_and_invoices", "question": "How many transaction does account with name 337 have?", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": "accounts : account_id (number) , account_name (text) | financial_transactions : account_id (number)"}
|
@@ -3084,7 +3082,6 @@
|
|
3084 |
{"db_id": "loan_1", "question": "What is the average credit score for customers who have taken a loan?", "schema": "bank : branch_id (number) , bname (text) , no_of_customers (number) , city (text) , state (text) | customer : cust_id (text) , cust_name (text) , acc_type (text) , acc_bal (number) , no_of_loans (number) , credit_score (number) , branch_id (number) , state (text) | loan : loan_id (text) , loan_type (text) , cust_id (text) , branch_id (text) , amount (number)", "summarized-schema": "customer : credit_score (number) , cust_id (text) , cust_id (number) | loan : cust_id (text) , loan_id (number)"}
|
3085 |
{"db_id": "loan_1", "question": "Find the average credit score of the customers who do not have any loan.", "schema": "bank : branch_id (number) , bname (text) , no_of_customers (number) , city (text) , state (text) | customer : cust_id (text) , cust_name (text) , acc_type (text) , acc_bal (number) , no_of_loans (number) , credit_score (number) , branch_id (number) , state (text) | loan : loan_id (text) , loan_type (text) , cust_id (text) , branch_id (text) , amount (number)", "summarized-schema": "customer : credit_score (number) , cust_id (text) , cust_id (number) | loan : cust_id (text) , loan_id (number)"}
|
3086 |
{"db_id": "loan_1", "question": "What is the average credit score for customers who have never taken a loan?", "schema": "bank : branch_id (number) , bname (text) , no_of_customers (number) , city (text) , state (text) | customer : cust_id (text) , cust_name (text) , acc_type (text) , acc_bal (number) , no_of_loans (number) , credit_score (number) , branch_id (number) , state (text) | loan : loan_id (text) , loan_type (text) , cust_id (text) , branch_id (text) , amount (number)", "summarized-schema": "customer : credit_score (number) , cust_id (text) , cust_id (number) | loan : cust_id (text) , loan_id (number)"}
|
3087 |
-
{"db_id": "behavior_monitoring", "question": "How many assessment notes are there in total?", "schema": "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_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | students : student_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , date_first_rental (time) , date_left_university (time) , other_student_details (text) | teachers : teacher_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , gender (text) , cell_mobile_number (text) , email_address (text) , other_details (text) | assessment_notes : notes_id (number) , student_id (number) , teacher_id (number) , date_of_notes (time) , text_of_notes (text) , other_details (text) | behavior_incident : incident_id (number) , incident_type_code (text) , student_id (number) , date_incident_start (time) , date_incident_end (time) , incident_summary (text) , recommendations (text) , other_details (text) | detention : detention_id (number) , detention_type_code (text) , teacher_id (number) , datetime_detention_start (time) , datetime_detention_end (time) , detention_summary (text) , other_details (text) | student_addresses : student_id (number) , address_id (number) , date_address_from (time) , date_address_to (time) , monthly_rental (number) , other_details (text) | students_in_detention : student_id (number) , detention_id (number) , incident_id (number)", "summarized-schema": ""}
|
3088 |
{"db_id": "behavior_monitoring", "question": "What are the dates of the assessment notes?", "schema": "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_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | students : student_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , date_first_rental (time) , date_left_university (time) , other_student_details (text) | teachers : teacher_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , gender (text) , cell_mobile_number (text) , email_address (text) , other_details (text) | assessment_notes : notes_id (number) , student_id (number) , teacher_id (number) , date_of_notes (time) , text_of_notes (text) , other_details (text) | behavior_incident : incident_id (number) , incident_type_code (text) , student_id (number) , date_incident_start (time) , date_incident_end (time) , incident_summary (text) , recommendations (text) , other_details (text) | detention : detention_id (number) , detention_type_code (text) , teacher_id (number) , datetime_detention_start (time) , datetime_detention_end (time) , detention_summary (text) , other_details (text) | student_addresses : student_id (number) , address_id (number) , date_address_from (time) , date_address_to (time) , monthly_rental (number) , other_details (text) | students_in_detention : student_id (number) , detention_id (number) , incident_id (number)", "summarized-schema": "assessment_notes : date_of_notes (time)"}
|
3089 |
{"db_id": "behavior_monitoring", "question": "How many addresses have zip code 197?", "schema": "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_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | students : student_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , date_first_rental (time) , date_left_university (time) , other_student_details (text) | teachers : teacher_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , gender (text) , cell_mobile_number (text) , email_address (text) , other_details (text) | assessment_notes : notes_id (number) , student_id (number) , teacher_id (number) , date_of_notes (time) , text_of_notes (text) , other_details (text) | behavior_incident : incident_id (number) , incident_type_code (text) , student_id (number) , date_incident_start (time) , date_incident_end (time) , incident_summary (text) , recommendations (text) , other_details (text) | detention : detention_id (number) , detention_type_code (text) , teacher_id (number) , datetime_detention_start (time) , datetime_detention_end (time) , detention_summary (text) , other_details (text) | student_addresses : student_id (number) , address_id (number) , date_address_from (time) , date_address_to (time) , monthly_rental (number) , other_details (text) | students_in_detention : student_id (number) , detention_id (number) , incident_id (number)", "summarized-schema": "addresses : zip_postcode (text) , address_id (number)"}
|
3090 |
{"db_id": "behavior_monitoring", "question": "How many distinct incident type codes are there?", "schema": "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_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | students : student_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , date_first_rental (time) , date_left_university (time) , other_student_details (text) | teachers : teacher_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , gender (text) , cell_mobile_number (text) , email_address (text) , other_details (text) | assessment_notes : notes_id (number) , student_id (number) , teacher_id (number) , date_of_notes (time) , text_of_notes (text) , other_details (text) | behavior_incident : incident_id (number) , incident_type_code (text) , student_id (number) , date_incident_start (time) , date_incident_end (time) , incident_summary (text) , recommendations (text) , other_details (text) | detention : detention_id (number) , detention_type_code (text) , teacher_id (number) , datetime_detention_start (time) , datetime_detention_end (time) , detention_summary (text) , other_details (text) | student_addresses : student_id (number) , address_id (number) , date_address_from (time) , date_address_to (time) , monthly_rental (number) , other_details (text) | students_in_detention : student_id (number) , detention_id (number) , incident_id (number)", "summarized-schema": "ref_incident_type : incident_type_code (text) , incident_type_code (number) | behavior_incident : incident_type_code (text) , incident_id (number)"}
|
@@ -5444,8 +5441,6 @@
|
|
5444 |
{"db_id": "shop_membership", "question": "What are the card numbers of members from Kentucky?", "schema": "member : member_id (number) , card_number (text) , name (text) , hometown (text) , level (number) | branch : branch_id (number) , name (text) , open_year (text) , address_road (text) , city (text) , membership_amount (text) | membership_register_branch : member_id (number) , branch_id (text) , register_year (text) | purchase : member_id (number) , branch_id (text) , year (text) , total_pounds (number)", "summarized-schema": "member : card_number (text) , hometown (text) , member_id (number)"}
|
5445 |
{"db_id": "voter_2", "question": "Find the number of students in total.", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)", "summarized-schema": "student : stuid (number)"}
|
5446 |
{"db_id": "voter_2", "question": "How many students are there in total?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)", "summarized-schema": "student : stuid (number)"}
|
5447 |
-
{"db_id": "voter_2", "question": "Find the number of voting records in total.", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)", "summarized-schema": ""}
|
5448 |
-
{"db_id": "voter_2", "question": "How many voting records do we have?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)", "summarized-schema": ""}
|
5449 |
{"db_id": "voter_2", "question": "Find the distinct number of president votes.", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)", "summarized-schema": "voting_record : president_vote (number)"}
|
5450 |
{"db_id": "voter_2", "question": "How many distinct president votes are recorded?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)", "summarized-schema": "voting_record : president_vote (number)"}
|
5451 |
{"db_id": "voter_2", "question": "Find the maximum age of all the students.", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)", "summarized-schema": "student : age (number) , stuid (number)"}
|
@@ -5676,10 +5671,6 @@
|
|
5676 |
{"db_id": "dorm_1", "question": "What are the first names of all students who are older than 20?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": "student : fname (text) , age (number) , stuid (number)"}
|
5677 |
{"db_id": "dorm_1", "question": "Find the first name of students living in city PHL whose age is between 20 and 25.", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": "student : fname (text) , city_code (text) , age (number) , stuid (number)"}
|
5678 |
{"db_id": "dorm_1", "question": "What is the first name of the students who are in age 20 to 25 and living in PHL city?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": "student : fname (text) , city_code (text) , age (number) , stuid (number)"}
|
5679 |
-
{"db_id": "dorm_1", "question": "How many dorms are there?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": ""}
|
5680 |
-
{"db_id": "dorm_1", "question": "How many dorms are in the database?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": ""}
|
5681 |
-
{"db_id": "dorm_1", "question": "Find the number of distinct amenities.", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": ""}
|
5682 |
-
{"db_id": "dorm_1", "question": "How many diffrent dorm amenities are there?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": ""}
|
5683 |
{"db_id": "dorm_1", "question": "Find the total capacity of all dorms.", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": "dorm : student_capacity (number)"}
|
5684 |
{"db_id": "dorm_1", "question": "What is the total student capacity of all dorms?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": "dorm : student_capacity (number)"}
|
5685 |
{"db_id": "dorm_1", "question": "How many students are there?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": "student : stuid (number)"}
|
|
|
1575 |
{"db_id": "customers_and_invoices", "question": "Count the number of customers.", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": "customers : customer_id (number)"}
|
1576 |
{"db_id": "customers_and_invoices", "question": "Show the number of customers for each gender.", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": "customers : gender (text) , customer_id (number)"}
|
1577 |
{"db_id": "customers_and_invoices", "question": "How many customers are there of each gender?", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": "customers : gender (text) , customer_id (number)"}
|
|
|
|
|
1578 |
{"db_id": "customers_and_invoices", "question": "How many transaction does each account have? Show the number and account id.", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": "accounts : account_id (number) | financial_transactions : account_id (number)"}
|
1579 |
{"db_id": "customers_and_invoices", "question": "Count the number of financial transactions that correspond to each account id.", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": "accounts : account_id (number) | financial_transactions : account_id (number)"}
|
1580 |
{"db_id": "customers_and_invoices", "question": "How many transaction does account with name 337 have?", "schema": "customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | orders : order_id (number) , customer_id (number) , date_order_placed (time) , order_details (text) | invoices : invoice_number (number) , order_id (number) , invoice_date (time) | accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | product_categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | financial_transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | invoice_line_items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)", "summarized-schema": "accounts : account_id (number) , account_name (text) | financial_transactions : account_id (number)"}
|
|
|
3082 |
{"db_id": "loan_1", "question": "What is the average credit score for customers who have taken a loan?", "schema": "bank : branch_id (number) , bname (text) , no_of_customers (number) , city (text) , state (text) | customer : cust_id (text) , cust_name (text) , acc_type (text) , acc_bal (number) , no_of_loans (number) , credit_score (number) , branch_id (number) , state (text) | loan : loan_id (text) , loan_type (text) , cust_id (text) , branch_id (text) , amount (number)", "summarized-schema": "customer : credit_score (number) , cust_id (text) , cust_id (number) | loan : cust_id (text) , loan_id (number)"}
|
3083 |
{"db_id": "loan_1", "question": "Find the average credit score of the customers who do not have any loan.", "schema": "bank : branch_id (number) , bname (text) , no_of_customers (number) , city (text) , state (text) | customer : cust_id (text) , cust_name (text) , acc_type (text) , acc_bal (number) , no_of_loans (number) , credit_score (number) , branch_id (number) , state (text) | loan : loan_id (text) , loan_type (text) , cust_id (text) , branch_id (text) , amount (number)", "summarized-schema": "customer : credit_score (number) , cust_id (text) , cust_id (number) | loan : cust_id (text) , loan_id (number)"}
|
3084 |
{"db_id": "loan_1", "question": "What is the average credit score for customers who have never taken a loan?", "schema": "bank : branch_id (number) , bname (text) , no_of_customers (number) , city (text) , state (text) | customer : cust_id (text) , cust_name (text) , acc_type (text) , acc_bal (number) , no_of_loans (number) , credit_score (number) , branch_id (number) , state (text) | loan : loan_id (text) , loan_type (text) , cust_id (text) , branch_id (text) , amount (number)", "summarized-schema": "customer : credit_score (number) , cust_id (text) , cust_id (number) | loan : cust_id (text) , loan_id (number)"}
|
|
|
3085 |
{"db_id": "behavior_monitoring", "question": "What are the dates of the assessment notes?", "schema": "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_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | students : student_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , date_first_rental (time) , date_left_university (time) , other_student_details (text) | teachers : teacher_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , gender (text) , cell_mobile_number (text) , email_address (text) , other_details (text) | assessment_notes : notes_id (number) , student_id (number) , teacher_id (number) , date_of_notes (time) , text_of_notes (text) , other_details (text) | behavior_incident : incident_id (number) , incident_type_code (text) , student_id (number) , date_incident_start (time) , date_incident_end (time) , incident_summary (text) , recommendations (text) , other_details (text) | detention : detention_id (number) , detention_type_code (text) , teacher_id (number) , datetime_detention_start (time) , datetime_detention_end (time) , detention_summary (text) , other_details (text) | student_addresses : student_id (number) , address_id (number) , date_address_from (time) , date_address_to (time) , monthly_rental (number) , other_details (text) | students_in_detention : student_id (number) , detention_id (number) , incident_id (number)", "summarized-schema": "assessment_notes : date_of_notes (time)"}
|
3086 |
{"db_id": "behavior_monitoring", "question": "How many addresses have zip code 197?", "schema": "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_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | students : student_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , date_first_rental (time) , date_left_university (time) , other_student_details (text) | teachers : teacher_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , gender (text) , cell_mobile_number (text) , email_address (text) , other_details (text) | assessment_notes : notes_id (number) , student_id (number) , teacher_id (number) , date_of_notes (time) , text_of_notes (text) , other_details (text) | behavior_incident : incident_id (number) , incident_type_code (text) , student_id (number) , date_incident_start (time) , date_incident_end (time) , incident_summary (text) , recommendations (text) , other_details (text) | detention : detention_id (number) , detention_type_code (text) , teacher_id (number) , datetime_detention_start (time) , datetime_detention_end (time) , detention_summary (text) , other_details (text) | student_addresses : student_id (number) , address_id (number) , date_address_from (time) , date_address_to (time) , monthly_rental (number) , other_details (text) | students_in_detention : student_id (number) , detention_id (number) , incident_id (number)", "summarized-schema": "addresses : zip_postcode (text) , address_id (number)"}
|
3087 |
{"db_id": "behavior_monitoring", "question": "How many distinct incident type codes are there?", "schema": "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_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | students : student_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , date_first_rental (time) , date_left_university (time) , other_student_details (text) | teachers : teacher_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , gender (text) , cell_mobile_number (text) , email_address (text) , other_details (text) | assessment_notes : notes_id (number) , student_id (number) , teacher_id (number) , date_of_notes (time) , text_of_notes (text) , other_details (text) | behavior_incident : incident_id (number) , incident_type_code (text) , student_id (number) , date_incident_start (time) , date_incident_end (time) , incident_summary (text) , recommendations (text) , other_details (text) | detention : detention_id (number) , detention_type_code (text) , teacher_id (number) , datetime_detention_start (time) , datetime_detention_end (time) , detention_summary (text) , other_details (text) | student_addresses : student_id (number) , address_id (number) , date_address_from (time) , date_address_to (time) , monthly_rental (number) , other_details (text) | students_in_detention : student_id (number) , detention_id (number) , incident_id (number)", "summarized-schema": "ref_incident_type : incident_type_code (text) , incident_type_code (number) | behavior_incident : incident_type_code (text) , incident_id (number)"}
|
|
|
5441 |
{"db_id": "shop_membership", "question": "What are the card numbers of members from Kentucky?", "schema": "member : member_id (number) , card_number (text) , name (text) , hometown (text) , level (number) | branch : branch_id (number) , name (text) , open_year (text) , address_road (text) , city (text) , membership_amount (text) | membership_register_branch : member_id (number) , branch_id (text) , register_year (text) | purchase : member_id (number) , branch_id (text) , year (text) , total_pounds (number)", "summarized-schema": "member : card_number (text) , hometown (text) , member_id (number)"}
|
5442 |
{"db_id": "voter_2", "question": "Find the number of students in total.", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)", "summarized-schema": "student : stuid (number)"}
|
5443 |
{"db_id": "voter_2", "question": "How many students are there in total?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)", "summarized-schema": "student : stuid (number)"}
|
|
|
|
|
5444 |
{"db_id": "voter_2", "question": "Find the distinct number of president votes.", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)", "summarized-schema": "voting_record : president_vote (number)"}
|
5445 |
{"db_id": "voter_2", "question": "How many distinct president votes are recorded?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)", "summarized-schema": "voting_record : president_vote (number)"}
|
5446 |
{"db_id": "voter_2", "question": "Find the maximum age of all the students.", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | voting_record : stuid (number) , registration_date (text) , election_cycle (text) , president_vote (number) , vice_president_vote (number) , secretary_vote (number) , treasurer_vote (number) , class_president_vote (number) , class_senator_vote (number)", "summarized-schema": "student : age (number) , stuid (number)"}
|
|
|
5671 |
{"db_id": "dorm_1", "question": "What are the first names of all students who are older than 20?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": "student : fname (text) , age (number) , stuid (number)"}
|
5672 |
{"db_id": "dorm_1", "question": "Find the first name of students living in city PHL whose age is between 20 and 25.", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": "student : fname (text) , city_code (text) , age (number) , stuid (number)"}
|
5673 |
{"db_id": "dorm_1", "question": "What is the first name of the students who are in age 20 to 25 and living in PHL city?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": "student : fname (text) , city_code (text) , age (number) , stuid (number)"}
|
|
|
|
|
|
|
|
|
5674 |
{"db_id": "dorm_1", "question": "Find the total capacity of all dorms.", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": "dorm : student_capacity (number)"}
|
5675 |
{"db_id": "dorm_1", "question": "What is the total student capacity of all dorms?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": "dorm : student_capacity (number)"}
|
5676 |
{"db_id": "dorm_1", "question": "How many students are there?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | dorm_amenity : amenid (number) , amenity_name (text) | has_amenity : dormid (number) , amenid (number) | lives_in : stuid (number) , dormid (number) , room_number (number)", "summarized-schema": "student : stuid (number)"}
|
validation_dataset.jsonl
CHANGED
@@ -429,8 +429,6 @@
|
|
429 |
{"db_id": "museum_visit", "question": "How many museums were opened after 2013 or before 2008?", "schema": "museum : museum_id (number) , name (text) , num_of_staff (number) , open_year (text) | visitor : id (number) , name (text) , level_of_membership (number) , age (number) | visit : museum_id (number) , visitor_id (text) , num_of_ticket (number) , total_spent (number)", "summarized-schema": "museum : open_year (text) , museum_id (number)"}
|
430 |
{"db_id": "wta_1", "question": "Find the total number of players.", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": "players : player_id (number)"}
|
431 |
{"db_id": "wta_1", "question": "How many players are there?", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": "players : player_id (number)"}
|
432 |
-
{"db_id": "wta_1", "question": "Find the total number of matches.", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": ""}
|
433 |
-
{"db_id": "wta_1", "question": "Count the number of matches.", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": ""}
|
434 |
{"db_id": "wta_1", "question": "List the first name and birth date of all players from the country with code USA.", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": "players : first_name (text) , birth_date (time) , country_code (text) , player_id (number)"}
|
435 |
{"db_id": "wta_1", "question": "What are the first names and birth dates of players from the USA?", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": "players : first_name (text) , birth_date (time) , country_code (text) , player_id (number)"}
|
436 |
{"db_id": "wta_1", "question": "Find the average age of losers and winners of all matches.", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": "matches : loser_age (number) , winner_age (number)"}
|
|
|
429 |
{"db_id": "museum_visit", "question": "How many museums were opened after 2013 or before 2008?", "schema": "museum : museum_id (number) , name (text) , num_of_staff (number) , open_year (text) | visitor : id (number) , name (text) , level_of_membership (number) , age (number) | visit : museum_id (number) , visitor_id (text) , num_of_ticket (number) , total_spent (number)", "summarized-schema": "museum : open_year (text) , museum_id (number)"}
|
430 |
{"db_id": "wta_1", "question": "Find the total number of players.", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": "players : player_id (number)"}
|
431 |
{"db_id": "wta_1", "question": "How many players are there?", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": "players : player_id (number)"}
|
|
|
|
|
432 |
{"db_id": "wta_1", "question": "List the first name and birth date of all players from the country with code USA.", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": "players : first_name (text) , birth_date (time) , country_code (text) , player_id (number)"}
|
433 |
{"db_id": "wta_1", "question": "What are the first names and birth dates of players from the USA?", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": "players : first_name (text) , birth_date (time) , country_code (text) , player_id (number)"}
|
434 |
{"db_id": "wta_1", "question": "Find the average age of losers and winners of all matches.", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": "matches : loser_age (number) , winner_age (number)"}
|