spiderology / testsets /multi_aggregation /tables_multi_aggregation.json
k8-dmi3eva's picture
[NEW]: Upload test-sets
cdc1cad verified
[{"column_names": [[-1, "*"], [0, "id"], [0, "name"], [0, "home games"], [0, "average attendance"], [0, "total attendance"], [0, "capacity percentage"], [1, "stadium id"], [1, "id"], [1, "season"], [1, "date"], [1, "home team"], [1, "away team"], [1, "score"], [1, "competition"], [2, "game id"], [2, "id"], [2, "player"], [2, "injury"], [2, "number of matches"], [2, "source"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "name"], [0, "home_games"], [0, "average_attendance"], [0, "total_attendance"], [0, "capacity_percentage"], [1, "stadium_id"], [1, "id"], [1, "season"], [1, "date"], [1, "home_team"], [1, "away_team"], [1, "score"], [1, "competition"], [2, "game_id"], [2, "id"], [2, "player"], [2, "injury"], [2, "number_of_matches"], [2, "source"]], "column_types": ["text", "number", "text", "number", "number", "number", "number", "number", "number", "number", "text", "text", "text", "text", "text", "number", "number", "text", "text", "text", "text"], "db_id": "game_injury", "foreign_keys": [[7, 1], [15, 8]], "primary_keys": [1, 8, 16], "table_names": ["stadium", "game", "injury accident"], "table_names_original": ["stadium", "game", "injury_accident"]}, {"column_names": [[-1, "*"], [0, "county id"], [0, "county name"], [0, "population"], [0, "zip code"], [1, "party id"], [1, "year"], [1, "party"], [1, "governor"], [1, "lieutenant governor"], [1, "comptroller"], [1, "attorney general"], [1, "us senate"], [2, "election id"], [2, "counties represented"], [2, "district"], [2, "delegate"], [2, "party"], [2, "first elected"], [2, "committee"]], "column_names_original": [[-1, "*"], [0, "county_id"], [0, "county_name"], [0, "population"], [0, "zip_code"], [1, "party_id"], [1, "year"], [1, "party"], [1, "governor"], [1, "lieutenant_governor"], [1, "comptroller"], [1, "attorney_general"], [1, "us_senate"], [2, "election_id"], [2, "counties_represented"], [2, "district"], [2, "delegate"], [2, "party"], [2, "first_elected"], [2, "committee"]], "column_types": ["text", "number", "text", "number", "text", "number", "number", "text", "text", "text", "text", "text", "text", "number", "text", "number", "text", "number", "number", "text"], "db_id": "election", "foreign_keys": [[15, 1], [17, 5]], "primary_keys": [1, 5, 13], "table_names": ["county", "party", "election"], "table_names_original": ["county", "party", "election"]}, {"column_names": [[-1, "*"], [0, "id"], [0, "name"], [0, "latitude"], [0, "longitude"], [0, "dock count"], [0, "city"], [0, "installation date"], [1, "station id"], [1, "bikes available"], [1, "docks available"], [1, "time"], [2, "id"], [2, "duration"], [2, "start date"], [2, "start station name"], [2, "start station id"], [2, "end date"], [2, "end station name"], [2, "end station id"], [2, "bike id"], [2, "subscription type"], [2, "zip code"], [3, "date"], [3, "max temperature f"], [3, "mean temperature f"], [3, "min temperature f"], [3, "max dew point f"], [3, "mean dew point f"], [3, "min dew point f"], [3, "max humidity"], [3, "mean humidity"], [3, "min humidity"], [3, "max sea level pressure inches"], [3, "mean sea level pressure inches"], [3, "min sea level pressure inches"], [3, "max visibility miles"], [3, "mean visibility miles"], [3, "min visibility miles"], [3, "max wind speed mph"], [3, "mean wind speed mph"], [3, "max gust speed mph"], [3, "precipitation inches"], [3, "cloud cover"], [3, "events"], [3, "wind dir degrees"], [3, "zip code"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "name"], [0, "lat"], [0, "long"], [0, "dock_count"], [0, "city"], [0, "installation_date"], [1, "station_id"], [1, "bikes_available"], [1, "docks_available"], [1, "time"], [2, "id"], [2, "duration"], [2, "start_date"], [2, "start_station_name"], [2, "start_station_id"], [2, "end_date"], [2, "end_station_name"], [2, "end_station_id"], [2, "bike_id"], [2, "subscription_type"], [2, "zip_code"], [3, "date"], [3, "max_temperature_f"], [3, "mean_temperature_f"], [3, "min_temperature_f"], [3, "max_dew_point_f"], [3, "mean_dew_point_f"], [3, "min_dew_point_f"], [3, "max_humidity"], [3, "mean_humidity"], [3, "min_humidity"], [3, "max_sea_level_pressure_inches"], [3, "mean_sea_level_pressure_inches"], [3, "min_sea_level_pressure_inches"], [3, "max_visibility_miles"], [3, "mean_visibility_miles"], [3, "min_visibility_miles"], [3, "max_wind_speed_mph"], [3, "mean_wind_speed_mph"], [3, "max_gust_speed_mph"], [3, "precipitation_inches"], [3, "cloud_cover"], [3, "events"], [3, "wind_dir_degrees"], [3, "zip_code"]], "column_types": ["text", "number", "text", "number", "number", "number", "text", "text", "number", "number", "number", "text", "number", "number", "text", "text", "number", "text", "text", "number", "number", "text", "number", "text", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "text", "number", "number"], "db_id": "bike_1", "foreign_keys": [[8, 1]], "primary_keys": [1, 12], "table_names": ["station", "status", "trip", "weather"], "table_names_original": ["station", "status", "trip", "weather"]}, {"column_names": [[-1, "*"], [0, "area code"], [0, "state"], [1, "contestant number"], [1, "contestant name"], [2, "vote id"], [2, "phone number"], [2, "state"], [2, "contestant number"], [2, "created"]], "column_names_original": [[-1, "*"], [0, "area_code"], [0, "state"], [1, "contestant_number"], [1, "contestant_name"], [2, "vote_id"], [2, "phone_number"], [2, "state"], [2, "contestant_number"], [2, "created"]], "column_types": ["text", "number", "text", "number", "text", "number", "number", "text", "number", "time"], "db_id": "voter_1", "foreign_keys": [[8, 3], [7, 2]], "primary_keys": [1, 3, 5], "table_names": ["area code state", "contestants", "votes"], "table_names_original": ["area_code_state", "contestants", "votes"]}, {"column_names": [[-1, "*"], [0, "people id"], [0, "name"], [0, "country"], [0, "is male"], [0, "age"], [1, "church id"], [1, "name"], [1, "organized by"], [1, "open date"], [1, "continuation of"], [2, "church id"], [2, "male id"], [2, "female id"], [2, "year"]], "column_names_original": [[-1, "*"], [0, "people_id"], [0, "name"], [0, "country"], [0, "is_male"], [0, "age"], [1, "church_id"], [1, "name"], [1, "organized_by"], [1, "open_date"], [1, "continuation_of"], [2, "church_id"], [2, "male_id"], [2, "female_id"], [2, "year"]], "column_types": ["text", "number", "text", "text", "text", "number", "number", "text", "text", "number", "text", "number", "number", "number", "number"], "db_id": "wedding", "foreign_keys": [[13, 1], [12, 1], [11, 6]], "primary_keys": [1, 6, 11], "table_names": ["people", "church", "wedding"], "table_names_original": ["people", "church", "wedding"]}, {"column_names": [[-1, "*"], [0, "film id"], [0, "title"], [0, "studio"], [0, "director"], [0, "gross in dollar"], [1, "market id"], [1, "country"], [1, "number cities"], [2, "estimation id"], [2, "low estimate"], [2, "high estimate"], [2, "film id"], [2, "type"], [2, "market id"], [2, "year"]], "column_names_original": [[-1, "*"], [0, "film_id"], [0, "title"], [0, "studio"], [0, "director"], [0, "gross_in_dollar"], [1, "market_id"], [1, "country"], [1, "number_cities"], [2, "estimation_id"], [2, "low_estimate"], [2, "high_estimate"], [2, "film_id"], [2, "type"], [2, "market_id"], [2, "year"]], "column_types": ["text", "number", "text", "text", "text", "number", "number", "text", "number", "number", "number", "number", "number", "text", "number", "number"], "db_id": "film_rank", "foreign_keys": [[14, 6], [12, 1]], "primary_keys": [1, 6, 9], "table_names": ["film", "market", "film market estimation"], "table_names_original": ["film", "market", "film_market_estimation"]}, {"column_names": [[-1, "*"], [0, "student id"], [0, "last name"], [0, "first name"], [0, "age"], [0, "sex"], [0, "major"], [0, "advisor"], [0, "city code"], [1, "faculty id"], [1, "last name"], [1, "first name"], [1, "rank"], [1, "sex"], [1, "phone"], [1, "room"], [1, "building"], [2, "department number"], [2, "division"], [2, "department name"], [2, "room"], [2, "building"], [2, "department phone"], [3, "faculty id"], [3, "department number"], [3, "appt type"], [4, "course id"], [4, "course name"], [4, "credits"], [4, "instructor"], [4, "days"], [4, "hours"], [4, "department number"], [5, "student id"], [5, "department number"], [6, "student id"], [6, "course id"], [6, "grade"], [7, "letter grade"], [7, "grade point"]], "column_names_original": [[-1, "*"], [0, "stuid"], [0, "lname"], [0, "fname"], [0, "age"], [0, "sex"], [0, "major"], [0, "advisor"], [0, "city_code"], [1, "facid"], [1, "lname"], [1, "fname"], [1, "rank"], [1, "sex"], [1, "phone"], [1, "room"], [1, "building"], [2, "dno"], [2, "division"], [2, "dname"], [2, "room"], [2, "building"], [2, "dphone"], [3, "facid"], [3, "dno"], [3, "appt_type"], [4, "cid"], [4, "cname"], [4, "credits"], [4, "instructor"], [4, "days"], [4, "hours"], [4, "dno"], [5, "stuid"], [5, "dno"], [6, "stuid"], [6, "cid"], [6, "grade"], [7, "lettergrade"], [7, "gradepoint"]], "column_types": ["text", "number", "text", "text", "number", "text", "number", "number", "text", "number", "text", "text", "text", "text", "number", "text", "text", "number", "text", "text", "text", "text", "number", "number", "number", "text", "text", "text", "number", "number", "text", "text", "number", "number", "number", "number", "text", "text", "text", "number"], "db_id": "college_3", "foreign_keys": [[24, 17], [23, 9], [32, 17], [29, 9], [34, 17], [33, 1], [37, 38], [36, 26], [35, 1]], "primary_keys": [1, 9, 17, 26, 38], "table_names": ["student", "faculty", "department", "member of", "course", "minor in", "enrolled in", "grade conversion"], "table_names_original": ["student", "faculty", "department", "member_of", "course", "minor_in", "enrolled_in", "gradeconversion"]}, {"column_names": [[-1, "*"], [0, "id"], [0, "name"], [0, "operating system"], [0, "client"], [0, "connection"], [1, "id"], [1, "name"], [1, "market share"], [2, "accelerator id"], [2, "browser id"], [2, "compatible since year"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "name"], [0, "operating_system"], [0, "client"], [0, "connection"], [1, "id"], [1, "name"], [1, "market_share"], [2, "accelerator_id"], [2, "browser_id"], [2, "compatible_since_year"]], "column_types": ["text", "number", "text", "text", "text", "text", "number", "text", "number", "number", "number", "number"], "db_id": "browser_web", "foreign_keys": [[10, 6], [9, 1]], "primary_keys": [1, 6, 9], "table_names": ["web client accelerator", "browser", "accelerator compatible browser"], "table_names_original": ["web_client_accelerator", "browser", "accelerator_compatible_browser"]}, {"column_names": [[-1, "*"], [0, "museum id"], [0, "name"], [0, "num of staff"], [0, "open year"], [1, "customer id"], [1, "name"], [1, "level of membership"], [1, "age"], [2, "museum id"], [2, "customer id"], [2, "num of ticket"], [2, "total spent"]], "column_names_original": [[-1, "*"], [0, "museum_id"], [0, "name"], [0, "num_of_staff"], [0, "open_year"], [1, "id"], [1, "name"], [1, "level_of_membership"], [1, "age"], [2, "museum_id"], [2, "visitor_id"], [2, "num_of_ticket"], [2, "total_spent"]], "column_types": ["text", "number", "text", "number", "text", "number", "text", "number", "number", "number", "text", "number", "number"], "db_id": "museum_visit", "foreign_keys": [[10, 5], [9, 1]], "primary_keys": [1, 5, 9], "table_names": ["museum", "customer", "visit"], "table_names_original": ["museum", "visitor", "visit"]}, {"column_names": [[-1, "*"], [0, "county id"], [0, "name"], [0, "population"], [0, "police officers"], [0, "residents per officer"], [0, "case burden"], [0, "crime rate"], [0, "police force"], [0, "location"], [1, "city id"], [1, "county id"], [1, "name"], [1, "white"], [1, "black"], [1, "amerindian"], [1, "asian"], [1, "multiracial"], [1, "hispanic"]], "column_names_original": [[-1, "*"], [0, "county_id"], [0, "name"], [0, "population"], [0, "police_officers"], [0, "residents_per_officer"], [0, "case_burden"], [0, "crime_rate"], [0, "police_force"], [0, "location"], [1, "city_id"], [1, "county_id"], [1, "name"], [1, "white"], [1, "black"], [1, "amerindian"], [1, "asian"], [1, "multiracial"], [1, "hispanic"]], "column_types": ["text", "number", "text", "number", "number", "number", "number", "number", "text", "text", "number", "number", "text", "number", "number", "number", "number", "number", "number"], "db_id": "county_public_safety", "foreign_keys": [[11, 1]], "primary_keys": [1, 10], "table_names": ["county public safety", "city"], "table_names_original": ["county_public_safety", "city"]}, {"column_names": [[-1, "*"], [0, "driver id"], [0, "name"], [0, "party"], [0, "home city"], [0, "age"], [1, "school id"], [1, "grade"], [1, "school"], [1, "location"], [1, "type"], [2, "school id"], [2, "driver id"], [2, "years working"], [2, "if full time"]], "column_names_original": [[-1, "*"], [0, "driver_id"], [0, "name"], [0, "party"], [0, "home_city"], [0, "age"], [1, "school_id"], [1, "grade"], [1, "school"], [1, "location"], [1, "type"], [2, "school_id"], [2, "driver_id"], [2, "years_working"], [2, "if_full_time"]], "column_types": ["text", "number", "text", "text", "text", "number", "number", "text", "text", "text", "text", "number", "number", "number", "others"], "db_id": "school_bus", "foreign_keys": [[12, 1], [11, 6]], "primary_keys": [1, 6, 11], "table_names": ["driver", "school", "school bus"], "table_names_original": ["driver", "school", "school_bus"]}, {"column_names": [[-1, "*"], [0, "event id"], [0, "date"], [0, "venue"], [0, "name"], [0, "event attendance"], [1, "journalist id"], [1, "name"], [1, "nationality"], [1, "age"], [1, "years working"], [2, "journalist id"], [2, "event id"], [2, "work type"]], "column_names_original": [[-1, "*"], [0, "event_id"], [0, "date"], [0, "venue"], [0, "name"], [0, "event_attendance"], [1, "journalist_id"], [1, "name"], [1, "nationality"], [1, "age"], [1, "years_working"], [2, "journalist_id"], [2, "event_id"], [2, "work_type"]], "column_types": ["text", "number", "text", "text", "text", "number", "number", "text", "text", "text", "number", "number", "number", "text"], "db_id": "news_report", "foreign_keys": [[12, 1], [11, 6]], "primary_keys": [1, 6, 11], "table_names": ["event", "journalist", "news report"], "table_names_original": ["event", "journalist", "news_report"]}, {"column_names": [[-1, "*"], [0, "customer id"], [0, "customer first name"], [0, "customer middle initial"], [0, "customer last name"], [0, "gender"], [0, "email address"], [0, "login name"], [0, "login password"], [0, "phone number"], [0, "town city"], [0, "state county province"], [0, "country"], [1, "order id"], [1, "customer id"], [1, "date order placed"], [1, "order details"], [2, "invoice number"], [2, "order id"], [2, "invoice date"], [3, "account id"], [3, "customer id"], [3, "date account opened"], [3, "account name"], [3, "other account details"], [4, "production type code"], [4, "product type description"], [4, "vat rating"], [5, "product id"], [5, "parent product id"], [5, "production type code"], [5, "unit price"], [5, "product name"], [5, "product color"], [5, "product size"], [6, "transaction id"], [6, "account id"], [6, "invoice number"], [6, "transaction type"], [6, "transaction date"], [6, "transaction amount"], [6, "transaction comment"], [6, "other transaction details"], [7, "order item id"], [7, "order id"], [7, "product id"], [7, "product quantity"], [7, "other order item details"], [8, "order item id"], [8, "invoice number"], [8, "product id"], [8, "product title"], [8, "product quantity"], [8, "product price"], [8, "derived product cost"], [8, "derived vat payable"], [8, "derived total cost"]], "column_names_original": [[-1, "*"], [0, "customer_id"], [0, "customer_first_name"], [0, "customer_middle_initial"], [0, "customer_last_name"], [0, "gender"], [0, "email_address"], [0, "login_name"], [0, "login_password"], [0, "phone_number"], [0, "town_city"], [0, "state_county_province"], [0, "country"], [1, "order_id"], [1, "customer_id"], [1, "date_order_placed"], [1, "order_details"], [2, "invoice_number"], [2, "order_id"], [2, "invoice_date"], [3, "account_id"], [3, "customer_id"], [3, "date_account_opened"], [3, "account_name"], [3, "other_account_details"], [4, "production_type_code"], [4, "product_type_description"], [4, "vat_rating"], [5, "product_id"], [5, "parent_product_id"], [5, "production_type_code"], [5, "unit_price"], [5, "product_name"], [5, "product_color"], [5, "product_size"], [6, "transaction_id"], [6, "account_id"], [6, "invoice_number"], [6, "transaction_type"], [6, "transaction_date"], [6, "transaction_amount"], [6, "transaction_comment"], [6, "other_transaction_details"], [7, "order_item_id"], [7, "order_id"], [7, "product_id"], [7, "product_quantity"], [7, "other_order_item_details"], [8, "order_item_id"], [8, "invoice_number"], [8, "product_id"], [8, "product_title"], [8, "product_quantity"], [8, "product_price"], [8, "derived_product_cost"], [8, "derived_vat_payable"], [8, "derived_total_cost"]], "column_types": ["text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "number", "number", "time", "text", "number", "number", "time", "number", "number", "time", "text", "text", "text", "text", "number", "number", "number", "text", "number", "text", "text", "text", "number", "number", "number", "text", "time", "number", "text", "text", "number", "number", "number", "text", "text", "number", "number", "number", "text", "text", "number", "number", "number", "number"], "db_id": "customers_and_invoices", "foreign_keys": [[14, 1], [18, 13], [21, 1], [30, 25], [36, 20], [37, 17], [44, 13], [45, 28], [50, 28], [49, 17], [48, 43]], "primary_keys": [1, 13, 17, 20, 25, 28, 43], "table_names": ["customers", "orders", "invoices", "accounts", "product categories", "products", "financial transactions", "order items", "invoice line items"], "table_names_original": ["customers", "orders", "invoices", "accounts", "product_categories", "products", "financial_transactions", "order_items", "invoice_line_items"]}, {"column_names": [[-1, "*"], [0, "storm id"], [0, "name"], [0, "dates active"], [0, "max speed"], [0, "damage millions usd"], [0, "number deaths"], [1, "region id"], [1, "region code"], [1, "region name"], [2, "region id"], [2, "storm id"], [2, "number city affected"]], "column_names_original": [[-1, "*"], [0, "storm_id"], [0, "name"], [0, "dates_active"], [0, "max_speed"], [0, "damage_millions_usd"], [0, "number_deaths"], [1, "region_id"], [1, "region_code"], [1, "region_name"], [2, "region_id"], [2, "storm_id"], [2, "number_city_affected"]], "column_types": ["text", "number", "text", "text", "number", "number", "number", "number", "text", "text", "number", "number", "number"], "db_id": "storm_record", "foreign_keys": [[11, 1], [10, 7]], "primary_keys": [1, 7, 10], "table_names": ["storm", "region", "affected region"], "table_names_original": ["storm", "region", "affected_region"]}, {"column_names": [[-1, "*"], [0, "customer id"], [0, "customer name"], [1, "service id"], [1, "service name"], [2, "policy id"], [2, "policy type code"], [2, "customer phone"], [3, "customer id"], [3, "policy id"], [3, "date opened"], [3, "date closed"], [4, "fnol id"], [4, "customer id"], [4, "policy id"], [4, "service id"], [5, "claim id"], [5, "fnol id"], [5, "effective date"], [6, "settlement id"], [6, "claim id"], [6, "effective date"], [6, "settlement amount"]], "column_names_original": [[-1, "*"], [0, "customer_id"], [0, "customer_name"], [1, "service_id"], [1, "service_name"], [2, "policy_id"], [2, "policy_type_code"], [2, "customer_phone"], [3, "customer_id"], [3, "policy_id"], [3, "date_opened"], [3, "date_closed"], [4, "fnol_id"], [4, "customer_id"], [4, "policy_id"], [4, "service_id"], [5, "claim_id"], [5, "fnol_id"], [5, "effective_date"], [6, "settlement_id"], [6, "claim_id"], [6, "effective_date"], [6, "settlement_amount"]], "column_types": ["text", "number", "text", "number", "text", "number", "text", "text", "number", "number", "time", "time", "number", "number", "number", "number", "number", "number", "time", "number", "number", "time", "number"], "db_id": "insurance_fnol", "foreign_keys": [[9, 5], [8, 1], [13, 8], [14, 9], [15, 3], [17, 12], [20, 16]], "primary_keys": [1, 3, 5, 8, 12, 16, 19], "table_names": ["customers", "services", "available policies", "customers policies", "first notification of loss", "claims", "settlements"], "table_names_original": ["customers", "services", "available_policies", "customers_policies", "first_notification_of_loss", "claims", "settlements"]}, {"column_names": [[-1, "*"], [0, "department id"], [0, "name"], [0, "creation"], [0, "ranking"], [0, "budget in billions"], [0, "num employees"], [1, "head id"], [1, "name"], [1, "born state"], [1, "age"], [2, "department id"], [2, "head id"], [2, "temporary acting"]], "column_names_original": [[-1, "*"], [0, "department_id"], [0, "name"], [0, "creation"], [0, "ranking"], [0, "budget_in_billions"], [0, "num_employees"], [1, "head_id"], [1, "name"], [1, "born_state"], [1, "age"], [2, "department_id"], [2, "head_id"], [2, "temporary_acting"]], "column_types": ["text", "number", "text", "text", "number", "number", "number", "number", "text", "text", "number", "number", "number", "text"], "db_id": "department_management", "foreign_keys": [[12, 7], [11, 1]], "primary_keys": [1, 7, 11], "table_names": ["department", "head", "management"], "table_names_original": ["department", "head", "management"]}, {"column_names": [[-1, "*"], [0, "id"], [0, "name"], [0, "city"], [0, "height"], [0, "stories"], [0, "status"], [1, "id"], [1, "name"], [1, "headquarters"], [1, "industry"], [1, "sales billion"], [1, "profits billion"], [1, "assets billion"], [1, "market value billion"], [2, "building id"], [2, "company id"], [2, "move in year"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "name"], [0, "city"], [0, "height"], [0, "stories"], [0, "status"], [1, "id"], [1, "name"], [1, "headquarters"], [1, "industry"], [1, "sales_billion"], [1, "profits_billion"], [1, "assets_billion"], [1, "market_value_billion"], [2, "building_id"], [2, "company_id"], [2, "move_in_year"]], "column_types": ["text", "number", "text", "text", "number", "number", "text", "number", "text", "text", "text", "number", "number", "number", "text", "number", "number", "number"], "db_id": "company_office", "foreign_keys": [[16, 7], [15, 1]], "primary_keys": [1, 7, 15], "table_names": ["buildings", "companies", "office locations"], "table_names_original": ["buildings", "companies", "office_locations"]}, {"column_names": [[-1, "*"], [0, "id"], [0, "name"], [0, "height"], [0, "prominence"], [0, "range"], [0, "country"], [1, "id"], [1, "brand"], [1, "name"], [1, "focal length mm"], [1, "max aperture"], [2, "id"], [2, "camera lens id"], [2, "mountain id"], [2, "color"], [2, "name"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "name"], [0, "height"], [0, "prominence"], [0, "range"], [0, "country"], [1, "id"], [1, "brand"], [1, "name"], [1, "focal_length_mm"], [1, "max_aperture"], [2, "id"], [2, "camera_lens_id"], [2, "mountain_id"], [2, "color"], [2, "name"]], "column_types": ["text", "number", "text", "number", "number", "text", "text", "number", "text", "text", "number", "number", "number", "number", "number", "text", "text"], "db_id": "mountain_photos", "foreign_keys": [[14, 1], [13, 7]], "primary_keys": [1, 7, 12], "table_names": ["mountain", "camera lens", "photos"], "table_names_original": ["mountain", "camera_lens", "photos"]}, {"column_names": [[-1, "*"], [0, "city id"], [0, "official name"], [0, "status"], [0, "area km 2"], [0, "population"], [0, "census ranking"], [1, "farm id"], [1, "year"], [1, "total horses"], [1, "working horses"], [1, "total cattle"], [1, "oxen"], [1, "bulls"], [1, "cows"], [1, "pigs"], [1, "sheep and goats"], [2, "competition id"], [2, "year"], [2, "theme"], [2, "host city id"], [2, "hosts"], [3, "competition id"], [3, "farm id"], [3, "rank"]], "column_names_original": [[-1, "*"], [0, "city_id"], [0, "official_name"], [0, "status"], [0, "area_km_2"], [0, "population"], [0, "census_ranking"], [1, "farm_id"], [1, "year"], [1, "total_horses"], [1, "working_horses"], [1, "total_cattle"], [1, "oxen"], [1, "bulls"], [1, "cows"], [1, "pigs"], [1, "sheep_and_goats"], [2, "competition_id"], [2, "year"], [2, "theme"], [2, "host_city_id"], [2, "hosts"], [3, "competition_id"], [3, "farm_id"], [3, "rank"]], "column_types": ["text", "number", "text", "text", "number", "number", "text", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "text", "number", "text", "number", "number", "number"], "db_id": "farm", "foreign_keys": [[20, 1], [23, 7], [22, 17]], "primary_keys": [1, 7, 17, 22], "table_names": ["city", "farm", "farm competition", "competition record"], "table_names_original": ["city", "farm", "farm_competition", "competition_record"]}, {"column_names": [[-1, "*"], [0, "student id"], [0, "last name"], [0, "first name"], [0, "age"], [0, "sex"], [0, "major"], [0, "advisor"], [0, "city code"], [1, "student id"], [1, "pet id"], [2, "pet id"], [2, "pet type"], [2, "pet age"], [2, "weight"]], "column_names_original": [[-1, "*"], [0, "stuid"], [0, "lname"], [0, "fname"], [0, "age"], [0, "sex"], [0, "major"], [0, "advisor"], [0, "city_code"], [1, "stuid"], [1, "petid"], [2, "petid"], [2, "pettype"], [2, "pet_age"], [2, "weight"]], "column_types": ["text", "number", "text", "text", "number", "text", "number", "number", "text", "number", "number", "number", "text", "number", "number"], "db_id": "pets_1", "foreign_keys": [[9, 1], [10, 11]], "primary_keys": [1, 11], "table_names": ["student", "has pet", "pets"], "table_names_original": ["student", "has_pet", "pets"]}, {"column_names": [[-1, "*"], [0, "account id"], [0, "customer id"], [0, "account name"], [0, "other account details"], [1, "customer id"], [1, "customer first name"], [1, "customer last name"], [1, "customer address"], [1, "customer phone"], [1, "customer email"], [1, "other customer details"], [2, "card id"], [2, "customer id"], [2, "card type code"], [2, "card number"], [2, "date valid from"], [2, "date valid to"], [2, "other card details"], [3, "transaction id"], [3, "previous transaction id"], [3, "account id"], [3, "card id"], [3, "transaction type"], [3, "transaction date"], [3, "transaction amount"], [3, "transaction comment"], [3, "other transaction details"]], "column_names_original": [[-1, "*"], [0, "account_id"], [0, "customer_id"], [0, "account_name"], [0, "other_account_details"], [1, "customer_id"], [1, "customer_first_name"], [1, "customer_last_name"], [1, "customer_address"], [1, "customer_phone"], [1, "customer_email"], [1, "other_customer_details"], [2, "card_id"], [2, "customer_id"], [2, "card_type_code"], [2, "card_number"], [2, "date_valid_from"], [2, "date_valid_to"], [2, "other_card_details"], [3, "transaction_id"], [3, "previous_transaction_id"], [3, "account_id"], [3, "card_id"], [3, "transaction_type"], [3, "transaction_date"], [3, "transaction_amount"], [3, "transaction_comment"], [3, "other_transaction_details"]], "column_types": ["text", "number", "number", "text", "text", "number", "text", "text", "text", "text", "text", "text", "number", "number", "text", "text", "time", "time", "text", "number", "number", "number", "number", "text", "time", "number", "text", "text"], "db_id": "customers_card_transactions", "foreign_keys": [[21, 1], [22, 12]], "primary_keys": [1, 5, 12], "table_names": ["accounts", "customers", "customers cards", "financial transactions"], "table_names_original": ["accounts", "customers", "customers_cards", "financial_transactions"]}, {"column_names": [[-1, "*"], [0, "id"], [0, "player fifa api id"], [0, "player api id"], [0, "date"], [0, "overall rating"], [0, "potential"], [0, "preferred foot"], [0, "attacking work rate"], [0, "defensive work rate"], [0, "crossing"], [0, "finishing"], [0, "heading accuracy"], [0, "short passing"], [0, "volleys"], [0, "dribbling"], [0, "curve"], [0, "free kick accuracy"], [0, "long passing"], [0, "ball control"], [0, "acceleration"], [0, "sprint speed"], [0, "agility"], [0, "reactions"], [0, "balance"], [0, "shot power"], [0, "jumping"], [0, "stamina"], [0, "strength"], [0, "long shots"], [0, "aggression"], [0, "interceptions"], [0, "positioning"], [0, "vision"], [0, "penalties"], [0, "marking"], [0, "standing tackle"], [0, "sliding tackle"], [0, "gk diving"], [0, "gk handling"], [0, "gk kicking"], [0, "gk positioning"], [0, "gk reflexes"], [1, "name"], [1, "seq"], [2, "id"], [2, "player api id"], [2, "player name"], [2, "player fifa api id"], [2, "birthday"], [2, "height"], [2, "weight"], [3, "id"], [3, "country id"], [3, "name"], [4, "id"], [4, "name"], [5, "id"], [5, "team api id"], [5, "team fifa api id"], [5, "team long name"], [5, "team short name"], [6, "id"], [6, "team fifa api id"], [6, "team api id"], [6, "date"], [6, "buildup play speed"], [6, "buildup play speed class"], [6, "buildup play dribbling"], [6, "buildup play dribbling class"], [6, "buildup play passing"], [6, "buildup play passing class"], [6, "buildup play positioning class"], [6, "chance creation passing"], [6, "chance creation passing class"], [6, "chance creation crossing"], [6, "chance creation crossing class"], [6, "chance creation shooting"], [6, "chance creation shooting class"], [6, "chance creation positioning class"], [6, "defence pressure"], [6, "defence pressure class"], [6, "defence aggression"], [6, "defence aggression class"], [6, "defence team width"], [6, "defence team width class"], [6, "defence defender line class"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "player_fifa_api_id"], [0, "player_api_id"], [0, "date"], [0, "overall_rating"], [0, "potential"], [0, "preferred_foot"], [0, "attacking_work_rate"], [0, "defensive_work_rate"], [0, "crossing"], [0, "finishing"], [0, "heading_accuracy"], [0, "short_passing"], [0, "volleys"], [0, "dribbling"], [0, "curve"], [0, "free_kick_accuracy"], [0, "long_passing"], [0, "ball_control"], [0, "acceleration"], [0, "sprint_speed"], [0, "agility"], [0, "reactions"], [0, "balance"], [0, "shot_power"], [0, "jumping"], [0, "stamina"], [0, "strength"], [0, "long_shots"], [0, "aggression"], [0, "interceptions"], [0, "positioning"], [0, "vision"], [0, "penalties"], [0, "marking"], [0, "standing_tackle"], [0, "sliding_tackle"], [0, "gk_diving"], [0, "gk_handling"], [0, "gk_kicking"], [0, "gk_positioning"], [0, "gk_reflexes"], [1, "name"], [1, "seq"], [2, "id"], [2, "player_api_id"], [2, "player_name"], [2, "player_fifa_api_id"], [2, "birthday"], [2, "height"], [2, "weight"], [3, "id"], [3, "country_id"], [3, "name"], [4, "id"], [4, "name"], [5, "id"], [5, "team_api_id"], [5, "team_fifa_api_id"], [5, "team_long_name"], [5, "team_short_name"], [6, "id"], [6, "team_fifa_api_id"], [6, "team_api_id"], [6, "date"], [6, "buildupplayspeed"], [6, "buildupplayspeedclass"], [6, "buildupplaydribbling"], [6, "buildupplaydribblingclass"], [6, "buildupplaypassing"], [6, "buildupplaypassingclass"], [6, "buildupplaypositioningclass"], [6, "chancecreationpassing"], [6, "chancecreationpassingclass"], [6, "chancecreationcrossing"], [6, "chancecreationcrossingclass"], [6, "chancecreationshooting"], [6, "chancecreationshootingclass"], [6, "chancecreationpositioningclass"], [6, "defencepressure"], [6, "defencepressureclass"], [6, "defenceaggression"], [6, "defenceaggressionclass"], [6, "defenceteamwidth"], [6, "defenceteamwidthclass"], [6, "defencedefenderlineclass"]], "column_types": ["text", "number", "number", "number", "text", "number", "number", "text", "text", "text", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "text", "text", "number", "number", "text", "number", "text", "number", "number", "number", "number", "text", "number", "text", "number", "number", "number", "text", "text", "number", "number", "number", "text", "number", "text", "number", "text", "number", "text", "text", "number", "text", "number", "text", "number", "text", "text", "number", "text", "number", "text", "number", "text", "text"], "db_id": "soccer_1", "foreign_keys": [[3, 46], [2, 48], [53, 55], [64, 58], [63, 59]], "primary_keys": [1, 45, 52, 55, 57, 62], "table_names": ["player attributes", "sqlite sequence", "player", "league", "country", "team", "team attributes"], "table_names_original": ["player_attributes", "something_sequence", "player", "league", "country", "team", "team_attributes"]}, {"column_names": [[-1, "*"], [0, "artist id"], [0, "name"], [0, "country"], [0, "year join"], [0, "age"], [1, "exhibition id"], [1, "year"], [1, "theme"], [1, "artist id"], [1, "ticket price"], [2, "exhibition id"], [2, "date"], [2, "attendance"]], "column_names_original": [[-1, "*"], [0, "artist_id"], [0, "name"], [0, "country"], [0, "year_join"], [0, "age"], [1, "exhibition_id"], [1, "year"], [1, "theme"], [1, "artist_id"], [1, "ticket_price"], [2, "exhibition_id"], [2, "date"], [2, "attendance"]], "column_types": ["text", "number", "text", "text", "number", "number", "number", "number", "text", "number", "number", "number", "text", "number"], "db_id": "theme_gallery", "foreign_keys": [[9, 1], [11, 6]], "primary_keys": [1, 6, 11], "table_names": ["artist", "exhibition", "exhibition record"], "table_names_original": ["artist", "exhibition", "exhibition_record"]}, {"column_names": [[-1, "*"], [0, "allergy name"], [0, "allergy type"], [1, "stuid"], [1, "allergy"], [2, "stuid"], [2, "last name"], [2, "first name"], [2, "age"], [2, "sex"], [2, "major"], [2, "advisor"], [2, "city code"]], "column_names_original": [[-1, "*"], [0, "allergy"], [0, "allergytype"], [1, "stuid"], [1, "allergy"], [2, "stuid"], [2, "lname"], [2, "fname"], [2, "age"], [2, "sex"], [2, "major"], [2, "advisor"], [2, "city_code"]], "column_types": ["text", "text", "text", "number", "text", "number", "text", "text", "number", "text", "number", "number", "text"], "db_id": "allergy_1", "foreign_keys": [[4, 1], [3, 5]], "primary_keys": [1, 5], "table_names": ["allergy type", "has allergy", "student"], "table_names_original": ["allergy_type", "has_allergy", "student"]}, {"column_names": [[-1, "*"], [0, "team id"], [0, "school id"], [0, "team name"], [0, "acc regular season"], [0, "acc percent"], [0, "acc home"], [0, "acc road"], [0, "all games"], [0, "all games percent"], [0, "all home"], [0, "all road"], [0, "all neutral"], [1, "school id"], [1, "school"], [1, "location"], [1, "founded"], [1, "affiliation"], [1, "enrollment"], [1, "nickname"], [1, "primary conference"]], "column_names_original": [[-1, "*"], [0, "team_id"], [0, "school_id"], [0, "team_name"], [0, "acc_regular_season"], [0, "acc_percent"], [0, "acc_home"], [0, "acc_road"], [0, "all_games"], [0, "all_games_percent"], [0, "all_home"], [0, "all_road"], [0, "all_neutral"], [1, "school_id"], [1, "school"], [1, "location"], [1, "founded"], [1, "affiliation"], [1, "enrollment"], [1, "nickname"], [1, "primary_conference"]], "column_types": ["text", "number", "number", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "number", "text", "number", "text", "text"], "db_id": "university_basketball", "foreign_keys": [[2, 13]], "primary_keys": [1, 13], "table_names": ["basketball match", "university"], "table_names_original": ["basketball_match", "university"]}, {"column_names": [[-1, "*"], [0, "customer id"], [0, "customer details"], [1, "staff id"], [1, "staff details"], [2, "policy id"], [2, "customer id"], [2, "policy type code"], [2, "start date"], [2, "end date"], [3, "claim header id"], [3, "claim status code"], [3, "claim type code"], [3, "policy id"], [3, "date of claim"], [3, "date of settlement"], [3, "amount claimed"], [3, "amount piad"], [4, "claim id"], [4, "document type code"], [4, "created by staff id"], [4, "created date"], [5, "claim stage id"], [5, "next claim stage id"], [5, "claim status name"], [5, "claim status description"], [6, "claim processing id"], [6, "claim id"], [6, "claim outcome code"], [6, "claim stage id"], [6, "staff id"]], "column_names_original": [[-1, "*"], [0, "customer_id"], [0, "customer_details"], [1, "staff_id"], [1, "staff_details"], [2, "policy_id"], [2, "customer_id"], [2, "policy_type_code"], [2, "start_date"], [2, "end_date"], [3, "claim_header_id"], [3, "claim_status_code"], [3, "claim_type_code"], [3, "policy_id"], [3, "date_of_claim"], [3, "date_of_settlement"], [3, "amount_claimed"], [3, "amount_piad"], [4, "claim_id"], [4, "document_type_code"], [4, "created_by_staff_id"], [4, "created_date"], [5, "claim_stage_id"], [5, "next_claim_stage_id"], [5, "claim_status_name"], [5, "claim_status_description"], [6, "claim_processing_id"], [6, "claim_id"], [6, "claim_outcome_code"], [6, "claim_stage_id"], [6, "staff_id"]], "column_types": ["text", "number", "text", "number", "text", "number", "number", "text", "time", "time", "number", "text", "text", "number", "time", "time", "number", "number", "number", "text", "number", "number", "number", "number", "text", "text", "number", "number", "text", "number", "number"], "db_id": "insurance_and_eClaims", "foreign_keys": [[6, 1], [13, 5], [20, 3], [18, 10], [30, 3], [27, 10]], "primary_keys": [1, 3, 5, 10, 18, 22, 26], "table_names": ["customers", "staff", "policies", "claim headers", "claims documents", "claims processing stages", "claims processing"], "table_names_original": ["customers", "staff", "policies", "claim_headers", "claims_documents", "claims_processing_stages", "claims_processing"]}, {"column_names": [[-1, "*"], [0, "student id"], [0, "last name"], [0, "first name"], [0, "age"], [0, "sex"], [0, "major"], [0, "advisor"], [0, "city code"], [1, "student id"], [1, "registration date"], [1, "election cycle"], [1, "president vote"], [1, "vice president vote"], [1, "secretary vote"], [1, "treasurer vote"], [1, "class president vote"], [1, "class senator vote"]], "column_names_original": [[-1, "*"], [0, "stuid"], [0, "lname"], [0, "fname"], [0, "age"], [0, "sex"], [0, "major"], [0, "advisor"], [0, "city_code"], [1, "stuid"], [1, "registration_date"], [1, "election_cycle"], [1, "president_vote"], [1, "vice_president_vote"], [1, "secretary_vote"], [1, "treasurer_vote"], [1, "class_president_vote"], [1, "class_senator_vote"]], "column_types": ["text", "number", "text", "text", "number", "text", "number", "number", "text", "number", "text", "text", "number", "number", "number", "number", "number", "number"], "db_id": "voter_2", "foreign_keys": [[17, 1], [16, 1], [15, 1], [14, 1], [13, 1], [12, 1], [9, 1]], "primary_keys": [1], "table_names": ["student", "voting record"], "table_names_original": ["student", "voting_record"]}, {"column_names": [[-1, "*"], [0, "building id"], [0, "building short name"], [0, "building full name"], [0, "building description"], [0, "building address"], [0, "building manager"], [0, "building phone"], [1, "apartment id"], [1, "building id"], [1, "apartment type code"], [1, "apartment number"], [1, "bathroom count"], [1, "bedroom count"], [1, "room count"], [2, "apartment id"], [2, "facility code"], [3, "guest id"], [3, "gender code"], [3, "guest first name"], [3, "guest last name"], [3, "date of birth"], [4, "apartment booking id"], [4, "apartment id"], [4, "guest id"], [4, "booking status code"], [4, "booking start date"], [4, "booking end date"], [5, "apartment id"], [5, "apartment booking id"], [5, "status date"], [5, "available yes or no"]], "column_names_original": [[-1, "*"], [0, "building_id"], [0, "building_short_name"], [0, "building_full_name"], [0, "building_description"], [0, "building_address"], [0, "building_manager"], [0, "building_phone"], [1, "apt_id"], [1, "building_id"], [1, "apt_type_code"], [1, "apt_number"], [1, "bathroom_count"], [1, "bedroom_count"], [1, "room_count"], [2, "apt_id"], [2, "facility_code"], [3, "guest_id"], [3, "gender_code"], [3, "guest_first_name"], [3, "guest_last_name"], [3, "date_of_birth"], [4, "apt_booking_id"], [4, "apt_id"], [4, "guest_id"], [4, "booking_status_code"], [4, "booking_start_date"], [4, "booking_end_date"], [5, "apt_id"], [5, "apt_booking_id"], [5, "status_date"], [5, "available_yn"]], "column_types": ["text", "number", "text", "text", "text", "text", "text", "text", "number", "number", "text", "text", "number", "number", "text", "number", "text", "number", "text", "text", "text", "time", "number", "number", "number", "text", "time", "time", "number", "number", "time", "others"], "db_id": "apartment_rentals", "foreign_keys": [[9, 1], [15, 8], [24, 17], [23, 8], [29, 22], [28, 8]], "primary_keys": [1, 8, 15, 17, 22, 30], "table_names": ["apartment buildings", "apartments", "apartment facilities", "guests", "apartment bookings", "view unit status"], "table_names_original": ["apartment_buildings", "apartments", "apartment_facilities", "guests", "apartment_bookings", "view_unit_status"]}, {"column_names": [[-1, "*"], [0, "flight number"], [0, "origin"], [0, "destination"], [0, "distance"], [0, "departure date"], [0, "arrival date"], [0, "price"], [0, "airline id"], [1, "airline id"], [1, "name"], [1, "distance"], [2, "employee id"], [2, "name"], [2, "salary"], [3, "employee id"], [3, "airline id"]], "column_names_original": [[-1, "*"], [0, "flno"], [0, "origin"], [0, "destination"], [0, "distance"], [0, "departure_date"], [0, "arrival_date"], [0, "price"], [0, "aid"], [1, "aid"], [1, "name"], [1, "distance"], [2, "eid"], [2, "name"], [2, "salary"], [3, "eid"], [3, "aid"]], "column_types": ["text", "number", "text", "text", "number", "time", "time", "number", "number", "number", "text", "number", "number", "text", "number", "number", "number"], "db_id": "flight_1", "foreign_keys": [[8, 9], [16, 9], [15, 12]], "primary_keys": [1, 9, 12, 15], "table_names": ["flight", "aircraft", "employee", "certificate"], "table_names_original": ["flight", "aircraft", "employee", "certificate"]}, {"column_names": [[-1, "*"], [0, "class code"], [0, "course code"], [0, "class section"], [0, "class time"], [0, "class room"], [0, "professor employee number"], [1, "course code"], [1, "department code"], [1, "course description"], [1, "course credit"], [2, "department code"], [2, "department name"], [2, "school code"], [2, "employee number"], [2, "department address"], [2, "department extension"], [3, "employee number"], [3, "employee last name"], [3, "employee first name"], [3, "employee initial"], [3, "employee job code"], [3, "employee hire date"], [3, "employee date of birth"], [4, "class code"], [4, "student number"], [4, "enroll grade"], [5, "employee number"], [5, "department code"], [5, "professor office"], [5, "professor extension"], [5, "professor high degree"], [6, "student num"], [6, "student last name"], [6, "student first name"], [6, "student init"], [6, "student date of birth"], [6, "student class hours took"], [6, "student class"], [6, "student gpa"], [6, "student transfer"], [6, "department code"], [6, "student phone"], [6, "professor number"]], "column_names_original": [[-1, "*"], [0, "class_code"], [0, "crs_code"], [0, "class_section"], [0, "class_time"], [0, "class_room"], [0, "prof_num"], [1, "crs_code"], [1, "dept_code"], [1, "crs_description"], [1, "crs_credit"], [2, "dept_code"], [2, "dept_name"], [2, "school_code"], [2, "emp_num"], [2, "dept_address"], [2, "dept_extension"], [3, "emp_num"], [3, "emp_lname"], [3, "emp_fname"], [3, "emp_initial"], [3, "emp_jobcode"], [3, "emp_hiredate"], [3, "emp_dob"], [4, "class_code"], [4, "stu_num"], [4, "enroll_grade"], [5, "emp_num"], [5, "dept_code"], [5, "prof_office"], [5, "prof_extension"], [5, "prof_high_degree"], [6, "stu_num"], [6, "stu_lname"], [6, "stu_fname"], [6, "stu_init"], [6, "stu_dob"], [6, "stu_hrs"], [6, "stu_class"], [6, "stu_gpa"], [6, "stu_transfer"], [6, "dept_code"], [6, "stu_phone"], [6, "prof_num"]], "column_types": ["text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "number", "text", "text", "text", "text", "time", "time", "text", "number", "text", "number", "text", "text", "text", "text", "number", "text", "text", "text", "time", "number", "text", "number", "number", "text", "text", "number"], "db_id": "college_1", "foreign_keys": [[6, 17], [2, 7], [8, 11], [14, 17], [25, 32], [24, 1], [28, 11], [27, 17], [41, 11]], "primary_keys": [1, 7, 11, 17, 32], "table_names": ["class", "course", "department", "employee", "enroll", "professor", "student"], "table_names_original": ["class", "course", "department", "employee", "enroll", "professor", "student"]}, {"column_names": [[-1, "*"], [0, "address id"], [0, "line 1 number building"], [0, "city"], [0, "zip postcode"], [0, "state province county"], [0, "country"], [1, "product id"], [1, "product type code"], [1, "product name"], [1, "product price"], [2, "customer id"], [2, "payment method code"], [2, "customer number"], [2, "customer name"], [2, "customer address"], [2, "customer phone"], [2, "customer email"], [3, "contact id"], [3, "customer id"], [3, "gender"], [3, "first name"], [3, "last name"], [3, "contact phone"], [4, "customer id"], [4, "address id"], [4, "date from"], [4, "date to"], [5, "order id"], [5, "customer id"], [5, "order date"], [5, "order status code"], [6, "order item id"], [6, "order id"], [6, "product id"], [6, "order quantity"]], "column_names_original": [[-1, "*"], [0, "address_id"], [0, "line_1_number_building"], [0, "city"], [0, "zip_postcode"], [0, "state_province_county"], [0, "country"], [1, "product_id"], [1, "product_type_code"], [1, "product_name"], [1, "product_price"], [2, "customer_id"], [2, "payment_method_code"], [2, "customer_number"], [2, "customer_name"], [2, "customer_address"], [2, "customer_phone"], [2, "customer_email"], [3, "contact_id"], [3, "customer_id"], [3, "gender"], [3, "first_name"], [3, "last_name"], [3, "contact_phone"], [4, "customer_id"], [4, "address_id"], [4, "date_from"], [4, "date_to"], [5, "order_id"], [5, "customer_id"], [5, "order_date"], [5, "order_status_code"], [6, "order_item_id"], [6, "order_id"], [6, "product_id"], [6, "order_quantity"]], "column_types": ["text", "number", "text", "text", "text", "text", "text", "number", "text", "text", "number", "number", "text", "text", "text", "text", "text", "text", "number", "number", "text", "text", "text", "text", "number", "number", "time", "time", "number", "number", "time", "text", "number", "number", "number", "text"], "db_id": "customers_and_products_contacts", "foreign_keys": [[25, 1], [24, 11], [29, 11], [33, 28], [34, 7]], "primary_keys": [1, 7, 11, 18, 28], "table_names": ["addresses", "products", "customers", "contacts", "customer address history", "customer orders", "order items"], "table_names_original": ["addresses", "products", "customers", "contacts", "customer_address_history", "customer_orders", "order_items"]}, {"column_names": [[-1, "*"], [0, "id"], [0, "name"], [0, "date"], [0, "bulgarian commander"], [0, "latin commander"], [0, "result"], [1, "lost in battle"], [1, "id"], [1, "name"], [1, "tonnage"], [1, "ship type"], [1, "location"], [1, "disposition of ship"], [2, "caused by ship id"], [2, "id"], [2, "note"], [2, "killed"], [2, "injured"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "name"], [0, "date"], [0, "bulgarian_commander"], [0, "latin_commander"], [0, "result"], [1, "lost_in_battle"], [1, "id"], [1, "name"], [1, "tonnage"], [1, "ship_type"], [1, "location"], [1, "disposition_of_ship"], [2, "caused_by_ship_id"], [2, "id"], [2, "note"], [2, "killed"], [2, "injured"]], "column_types": ["text", "number", "text", "text", "text", "text", "text", "number", "number", "text", "text", "text", "text", "text", "number", "number", "text", "number", "number"], "db_id": "battle_death", "foreign_keys": [[7, 1], [14, 8]], "primary_keys": [1, 8, 15], "table_names": ["battle", "ship", "death"], "table_names_original": ["battle", "ship", "death"]}, {"column_names": [[-1, "*"], [0, "book club id"], [0, "year"], [0, "author or editor"], [0, "book title"], [0, "publisher"], [0, "category"], [0, "result"], [1, "movie id"], [1, "title"], [1, "year"], [1, "director"], [1, "budget million"], [1, "gross worldwide"], [2, "company name"], [2, "type"], [2, "incorporated in"], [2, "group equity shareholding"], [2, "book club id"], [2, "movie id"]], "column_names_original": [[-1, "*"], [0, "book_club_id"], [0, "year"], [0, "author_or_editor"], [0, "book_title"], [0, "publisher"], [0, "category"], [0, "result"], [1, "movie_id"], [1, "title"], [1, "year"], [1, "director"], [1, "budget_million"], [1, "gross_worldwide"], [2, "company_name"], [2, "type"], [2, "incorporated_in"], [2, "group_equity_shareholding"], [2, "book_club_id"], [2, "movie_id"]], "column_types": ["text", "number", "number", "text", "text", "text", "text", "text", "number", "text", "number", "text", "number", "number", "text", "text", "text", "number", "text", "text"], "db_id": "culture_company", "foreign_keys": [[19, 8], [18, 1]], "primary_keys": [1, 8, 14], "table_names": ["book club", "movie", "culture company"], "table_names_original": ["book_club", "movie", "culture_company"]}, {"column_names": [[-1, "*"], [0, "building id"], [0, "name"], [0, "street address"], [0, "years as tallest"], [0, "height feet"], [0, "floors"], [1, "institution id"], [1, "institution"], [1, "location"], [1, "founded"], [1, "type"], [1, "enrollment"], [1, "team"], [1, "primary conference"], [1, "building id"], [2, "common name"], [2, "protein name"], [2, "divergence from human lineage"], [2, "accession number"], [2, "sequence length"], [2, "sequence identity to human protein"], [2, "institution id"]], "column_names_original": [[-1, "*"], [0, "building_id"], [0, "name"], [0, "street_address"], [0, "years_as_tallest"], [0, "height_feet"], [0, "floors"], [1, "institution_id"], [1, "institution"], [1, "location"], [1, "founded"], [1, "type"], [1, "enrollment"], [1, "team"], [1, "primary_conference"], [1, "building_id"], [2, "common_name"], [2, "protein_name"], [2, "divergence_from_human_lineage"], [2, "accession_number"], [2, "sequence_length"], [2, "sequence_identity_to_human_protein"], [2, "institution_id"]], "column_types": ["text", "text", "text", "text", "text", "number", "number", "text", "text", "text", "number", "text", "number", "text", "text", "text", "text", "text", "number", "text", "number", "text", "text"], "db_id": "protein_institute", "foreign_keys": [[15, 1], [22, 7]], "primary_keys": [1, 7, 16], "table_names": ["building", "institution", "protein"], "table_names_original": ["building", "institution", "protein"]}, {"column_names": [[-1, "*"], [0, "item id"], [0, "title"], [1, "a id"], [1, "user id"], [1, "item id"], [1, "rating"], [1, "rank"], [2, "user id"], [2, "name"], [3, "source user id"], [3, "target user id"], [3, "trust"]], "column_names_original": [[-1, "*"], [0, "i_id"], [0, "title"], [1, "a_id"], [1, "u_id"], [1, "i_id"], [1, "rating"], [1, "rank"], [2, "u_id"], [2, "name"], [3, "source_u_id"], [3, "target_u_id"], [3, "trust"]], "column_types": ["text", "number", "text", "number", "number", "number", "number", "number", "number", "text", "number", "number", "number"], "db_id": "epinions_1", "foreign_keys": [[5, 1], [4, 8], [11, 8], [10, 8]], "primary_keys": [1, 3, 8], "table_names": ["item", "review", "useracct", "trust"], "table_names_original": ["item", "review", "useracct", "trust"]}, {"column_names": [[-1, "*"], [0, "club id"], [0, "name"], [0, "region"], [0, "start year"], [1, "rank"], [1, "club id"], [1, "gold"], [1, "silver"], [1, "bronze"], [1, "total"], [2, "player id"], [2, "name"], [2, "position"], [2, "club id"], [2, "apps"], [2, "tries"], [2, "goals"], [2, "points"], [3, "competition id"], [3, "year"], [3, "competition type"], [3, "country"], [4, "competition id"], [4, "club id 1"], [4, "club id 2"], [4, "score"]], "column_names_original": [[-1, "*"], [0, "club_id"], [0, "name"], [0, "region"], [0, "start_year"], [1, "rank"], [1, "club_id"], [1, "gold"], [1, "silver"], [1, "bronze"], [1, "total"], [2, "player_id"], [2, "name"], [2, "position"], [2, "club_id"], [2, "apps"], [2, "tries"], [2, "goals"], [2, "points"], [3, "competition_id"], [3, "year"], [3, "competition_type"], [3, "country"], [4, "competition_id"], [4, "club_id_1"], [4, "club_id_2"], [4, "score"]], "column_types": ["text", "number", "text", "text", "text", "number", "number", "number", "number", "number", "number", "number", "text", "text", "number", "number", "number", "text", "number", "number", "number", "text", "text", "number", "number", "number", "text"], "db_id": "sports_competition", "foreign_keys": [[6, 1], [14, 1], [23, 19], [25, 1], [24, 1]], "primary_keys": [1, 5, 11, 19, 23], "table_names": ["club", "club rank", "player", "competition", "competition result"], "table_names_original": ["club", "club_rank", "player", "competition", "competition_result"]}, {"column_names": [[-1, "*"], [0, "artist id"], [0, "artist"], [0, "age"], [0, "famous title"], [0, "famous release date"], [1, "volume id"], [1, "volume issue"], [1, "issue date"], [1, "weeks on top"], [1, "song"], [1, "artist id"], [2, "id"], [2, "music festival"], [2, "date of ceremony"], [2, "category"], [2, "volume"], [2, "result"]], "column_names_original": [[-1, "*"], [0, "artist_id"], [0, "artist"], [0, "age"], [0, "famous_title"], [0, "famous_release_date"], [1, "volume_id"], [1, "volume_issue"], [1, "issue_date"], [1, "weeks_on_top"], [1, "song"], [1, "artist_id"], [2, "id"], [2, "music_festival"], [2, "date_of_ceremony"], [2, "category"], [2, "volume"], [2, "result"]], "column_types": ["text", "number", "text", "number", "text", "text", "number", "text", "text", "number", "text", "number", "number", "text", "text", "text", "number", "text"], "db_id": "music_4", "foreign_keys": [[11, 1], [16, 6]], "primary_keys": [1, 6, 12], "table_names": ["artist", "volume", "music festival"], "table_names_original": ["artist", "volume", "music_festival"]}, {"column_names": [[-1, "*"], [0, "captain id"], [0, "name"], [0, "ship id"], [0, "age"], [0, "class"], [0, "rank"], [1, "ship id"], [1, "name"], [1, "type"], [1, "built year"], [1, "class"], [1, "flag"]], "column_names_original": [[-1, "*"], [0, "captain_id"], [0, "name"], [0, "ship_id"], [0, "age"], [0, "class"], [0, "rank"], [1, "ship_id"], [1, "name"], [1, "type"], [1, "built_year"], [1, "class"], [1, "flag"]], "column_types": ["text", "number", "text", "number", "text", "text", "text", "number", "text", "text", "number", "text", "text"], "db_id": "ship_1", "foreign_keys": [[3, 7]], "primary_keys": [1, 7], "table_names": ["captain", "ship"], "table_names_original": ["captain", "ship"]}, {"column_names": [[-1, "*"], [0, "model name"], [0, "launch year"], [0, "ram mib"], [0, "rom mib"], [0, "slots"], [0, "wifi"], [0, "bluetooth"], [1, "graphics mode"], [1, "char cells"], [1, "pixels"], [1, "hardware colours"], [1, "used kb"], [1, "map"], [1, "type"], [2, "company name"], [2, "hardware model name"], [2, "accreditation type"], [2, "accreditation level"], [2, "date"], [2, "chip model"], [2, "screen mode"]], "column_names_original": [[-1, "*"], [0, "model_name"], [0, "launch_year"], [0, "ram_mib"], [0, "rom_mib"], [0, "slots"], [0, "wifi"], [0, "bluetooth"], [1, "graphics_mode"], [1, "char_cells"], [1, "pixels"], [1, "hardware_colours"], [1, "used_kb"], [1, "map"], [1, "type"], [2, "company_name"], [2, "hardware_model_name"], [2, "accreditation_type"], [2, "accreditation_level"], [2, "date"], [2, "chip_model"], [2, "screen_mode"]], "column_types": ["text", "text", "number", "number", "number", "text", "text", "text", "number", "text", "text", "number", "number", "text", "text", "text", "text", "text", "text", "text", "text", "text"], "db_id": "phone_1", "foreign_keys": [[20, 1], [21, 8]], "primary_keys": [1, 8, 16], "table_names": ["chip model", "screen mode", "phone"], "table_names_original": ["chip_model", "screen_mode", "phone"]}, {"column_names": [[-1, "*"], [0, "election id"], [0, "representative id"], [0, "date"], [0, "votes"], [0, "vote percent"], [0, "seats"], [0, "place"], [1, "representative id"], [1, "name"], [1, "state"], [1, "party"], [1, "lifespan"]], "column_names_original": [[-1, "*"], [0, "election_id"], [0, "representative_id"], [0, "date"], [0, "votes"], [0, "vote_percent"], [0, "seats"], [0, "place"], [1, "representative_id"], [1, "name"], [1, "state"], [1, "party"], [1, "lifespan"]], "column_types": ["text", "number", "number", "text", "number", "number", "number", "number", "number", "text", "text", "text", "text"], "db_id": "election_representative", "foreign_keys": [[2, 8]], "primary_keys": [1, 8], "table_names": ["election", "representative"], "table_names_original": ["election", "representative"]}, {"column_names": [[-1, "*"], [0, "student id"], [0, "last name"], [0, "first name"], [0, "age"], [0, "sex"], [0, "major"], [0, "advisor"], [0, "city code"], [1, "dorm id"], [1, "dorm name"], [1, "student capacity"], [1, "gender"], [2, "amenity id"], [2, "amenity name"], [3, "dorm id"], [3, "amenity id"], [4, "student id"], [4, "dorm id"], [4, "room number"]], "column_names_original": [[-1, "*"], [0, "stuid"], [0, "lname"], [0, "fname"], [0, "age"], [0, "sex"], [0, "major"], [0, "advisor"], [0, "city_code"], [1, "dormid"], [1, "dorm_name"], [1, "student_capacity"], [1, "gender"], [2, "amenid"], [2, "amenity_name"], [3, "dormid"], [3, "amenid"], [4, "stuid"], [4, "dormid"], [4, "room_number"]], "column_types": ["text", "number", "text", "text", "number", "text", "number", "number", "text", "number", "text", "number", "text", "number", "text", "number", "number", "number", "number", "number"], "db_id": "dorm_1", "foreign_keys": [[16, 13], [15, 9], [18, 9], [17, 1]], "primary_keys": [1], "table_names": ["student", "dorm", "dorm amenity", "has amenity", "lives in"], "table_names_original": ["student", "dorm", "dorm_amenity", "has_amenity", "lives_in"]}, {"column_names": [[-1, "*"], [0, "building"], [0, "room number"], [0, "capacity"], [1, "department name"], [1, "building"], [1, "budget"], [2, "course id"], [2, "title"], [2, "department name"], [2, "credits"], [3, "id"], [3, "name"], [3, "department name"], [3, "salary"], [4, "course id"], [4, "section id"], [4, "semester"], [4, "year"], [4, "building"], [4, "room number"], [4, "time slot id"], [5, "id"], [5, "course id"], [5, "section id"], [5, "semester"], [5, "year"], [6, "id"], [6, "name"], [6, "department name"], [6, "total credits"], [7, "id"], [7, "course id"], [7, "section id"], [7, "semester"], [7, "year"], [7, "grade"], [8, "student id"], [8, "instructor id"], [9, "time slot id"], [9, "day"], [9, "start hour"], [9, "start minute"], [9, "end hour"], [9, "end minute"], [10, "course id"], [10, "prerequisite id"]], "column_names_original": [[-1, "*"], [0, "building"], [0, "room_number"], [0, "capacity"], [1, "dept_name"], [1, "building"], [1, "budget"], [2, "course_id"], [2, "title"], [2, "dept_name"], [2, "credits"], [3, "id"], [3, "name"], [3, "dept_name"], [3, "salary"], [4, "course_id"], [4, "sec_id"], [4, "semester"], [4, "year"], [4, "building"], [4, "room_number"], [4, "time_slot_id"], [5, "id"], [5, "course_id"], [5, "sec_id"], [5, "semester"], [5, "year"], [6, "id"], [6, "name"], [6, "dept_name"], [6, "tot_cred"], [7, "id"], [7, "course_id"], [7, "sec_id"], [7, "semester"], [7, "year"], [7, "grade"], [8, "s_id"], [8, "i_id"], [9, "time_slot_id"], [9, "day"], [9, "start_hr"], [9, "start_min"], [9, "end_hr"], [9, "end_min"], [10, "course_id"], [10, "prereq_id"]], "column_types": ["text", "text", "text", "number", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "number", "number", "number", "number", "text", "text"], "db_id": "college_2", "foreign_keys": [[9, 4], [13, 4], [19, 1], [20, 2], [15, 7], [22, 11], [23, 15], [24, 16], [25, 17], [26, 18], [29, 4], [31, 27], [32, 15], [33, 16], [34, 17], [35, 18], [37, 27], [38, 11], [46, 7], [45, 7]], "primary_keys": [1, 4, 7, 11, 15, 22, 27, 31, 37, 39, 45], "table_names": ["classroom", "department", "course", "instructor", "section", "teaches", "student", "takes classes", "advisor", "time slot", "prerequisite"], "table_names_original": ["classroom", "department", "course", "instructor", "section", "teaches", "student", "takes", "advisor", "time_slot", "prereq"]}, {"column_names": [[-1, "*"], [0, "address type code"], [0, "address type description"], [1, "detention type code"], [1, "detention type description"], [2, "incident type code"], [2, "incident type description"], [3, "address id"], [3, "line 1"], [3, "line 2"], [3, "line 3"], [3, "city"], [3, "zip postcode"], [3, "state province county"], [3, "country"], [3, "other address details"], [4, "student id"], [4, "address id"], [4, "first name"], [4, "middle name"], [4, "last name"], [4, "cell mobile number"], [4, "email address"], [4, "date first rental"], [4, "date left university"], [4, "other student details"], [5, "teacher id"], [5, "address id"], [5, "first name"], [5, "middle name"], [5, "last name"], [5, "gender"], [5, "cell mobile number"], [5, "email address"], [5, "other details"], [6, "notes id"], [6, "student id"], [6, "teacher id"], [6, "date of notes"], [6, "text of notes"], [6, "other details"], [7, "incident id"], [7, "incident type code"], [7, "student id"], [7, "date incident start"], [7, "date incident end"], [7, "incident summary"], [7, "recommendations"], [7, "other details"], [8, "detention id"], [8, "detention type code"], [8, "teacher id"], [8, "datetime detention start"], [8, "datetime detention end"], [8, "detention summary"], [8, "other details"], [9, "student id"], [9, "address id"], [9, "date address from"], [9, "date address to"], [9, "monthly rental"], [9, "other details"], [10, "student id"], [10, "detention id"], [10, "incident id"]], "column_names_original": [[-1, "*"], [0, "address_type_code"], [0, "address_type_description"], [1, "detention_type_code"], [1, "detention_type_description"], [2, "incident_type_code"], [2, "incident_type_description"], [3, "address_id"], [3, "line_1"], [3, "line_2"], [3, "line_3"], [3, "city"], [3, "zip_postcode"], [3, "state_province_county"], [3, "country"], [3, "other_address_details"], [4, "student_id"], [4, "address_id"], [4, "first_name"], [4, "middle_name"], [4, "last_name"], [4, "cell_mobile_number"], [4, "email_address"], [4, "date_first_rental"], [4, "date_left_university"], [4, "other_student_details"], [5, "teacher_id"], [5, "address_id"], [5, "first_name"], [5, "middle_name"], [5, "last_name"], [5, "gender"], [5, "cell_mobile_number"], [5, "email_address"], [5, "other_details"], [6, "notes_id"], [6, "student_id"], [6, "teacher_id"], [6, "date_of_notes"], [6, "text_of_notes"], [6, "other_details"], [7, "incident_id"], [7, "incident_type_code"], [7, "student_id"], [7, "date_incident_start"], [7, "date_incident_end"], [7, "incident_summary"], [7, "recommendations"], [7, "other_details"], [8, "detention_id"], [8, "detention_type_code"], [8, "teacher_id"], [8, "datetime_detention_start"], [8, "datetime_detention_end"], [8, "detention_summary"], [8, "other_details"], [9, "student_id"], [9, "address_id"], [9, "date_address_from"], [9, "date_address_to"], [9, "monthly_rental"], [9, "other_details"], [10, "student_id"], [10, "detention_id"], [10, "incident_id"]], "column_types": ["text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "number", "text", "text", "text", "text", "text", "time", "time", "text", "number", "number", "text", "text", "text", "text", "text", "text", "text", "number", "number", "number", "time", "text", "text", "number", "text", "number", "time", "time", "text", "text", "text", "number", "text", "number", "time", "time", "text", "text", "number", "number", "time", "time", "number", "text", "number", "number", "number"], "db_id": "behavior_monitoring", "foreign_keys": [[17, 7], [27, 7], [37, 26], [36, 16], [43, 16], [42, 5], [51, 26], [50, 3], [56, 16], [57, 7], [62, 16], [63, 49], [64, 41]], "primary_keys": [1, 3, 5, 7, 16, 26, 41, 49], "table_names": ["reference address types", "reference detention type", "reference incident type", "addresses", "students", "teachers", "assessment notes", "behavior incident", "detention", "student addresses", "students in detention"], "table_names_original": ["ref_address_types", "ref_detention_type", "ref_incident_type", "addresses", "students", "teachers", "assessment_notes", "behavior_incident", "detention", "student_addresses", "students_in_detention"]}, {"column_names": [[-1, "*"], [0, "candidate id"], [0, "people id"], [0, "poll source"], [0, "date"], [0, "support rate"], [0, "consider rate"], [0, "oppose rate"], [0, "unsure rate"], [1, "people id"], [1, "sex"], [1, "name"], [1, "date of birth"], [1, "height"], [1, "weight"]], "column_names_original": [[-1, "*"], [0, "candidate_id"], [0, "people_id"], [0, "poll_source"], [0, "date"], [0, "support_rate"], [0, "consider_rate"], [0, "oppose_rate"], [0, "unsure_rate"], [1, "people_id"], [1, "sex"], [1, "name"], [1, "date_of_birth"], [1, "height"], [1, "weight"]], "column_types": ["text", "number", "number", "text", "text", "number", "number", "number", "number", "number", "text", "text", "text", "number", "number"], "db_id": "candidate_poll", "foreign_keys": [[2, 9]], "primary_keys": [1, 9], "table_names": ["candidate", "people"], "table_names_original": ["candidate", "people"]}, {"column_names": [[-1, "*"], [0, "genre name"], [0, "rating"], [0, "most popular in"], [1, "artist name"], [1, "country"], [1, "gender"], [1, "preferred genre"], [2, "song id"], [2, "artist name"], [2, "file size"], [2, "duration"], [2, "formats"], [3, "song name"], [3, "artist name"], [3, "country"], [3, "song id"], [3, "genre is"], [3, "rating"], [3, "languages"], [3, "releasedate"], [3, "resolution"]], "column_names_original": [[-1, "*"], [0, "g_name"], [0, "rating"], [0, "most_popular_in"], [1, "artist_name"], [1, "country"], [1, "gender"], [1, "preferred_genre"], [2, "f_id"], [2, "artist_name"], [2, "file_size"], [2, "duration"], [2, "formats"], [3, "song_name"], [3, "artist_name"], [3, "country"], [3, "f_id"], [3, "genre_is"], [3, "rating"], [3, "languages"], [3, "releasedate"], [3, "resolution"]], "column_types": ["text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "number", "text", "number", "text", "time", "number"], "db_id": "music_1", "foreign_keys": [[7, 1], [9, 4], [17, 1], [16, 8], [14, 4]], "primary_keys": [1, 4, 8, 13], "table_names": ["genre", "artist", "files", "song"], "table_names_original": ["genre", "artist", "files", "song"]}, {"column_names": [[-1, "*"], [0, "company id"], [0, "rank"], [0, "company"], [0, "headquarters"], [0, "main industry"], [0, "sales billion"], [0, "profits billion"], [0, "assets billion"], [0, "market value"], [1, "station id"], [1, "open year"], [1, "location"], [1, "manager name"], [1, "vice manager name"], [1, "representative name"], [2, "station id"], [2, "company id"], [2, "rank of the year"]], "column_names_original": [[-1, "*"], [0, "company_id"], [0, "rank"], [0, "company"], [0, "headquarters"], [0, "main_industry"], [0, "sales_billion"], [0, "profits_billion"], [0, "assets_billion"], [0, "market_value"], [1, "station_id"], [1, "open_year"], [1, "location"], [1, "manager_name"], [1, "vice_manager_name"], [1, "representative_name"], [2, "station_id"], [2, "company_id"], [2, "rank_of_the_year"]], "column_types": ["text", "number", "number", "text", "text", "text", "number", "number", "number", "number", "number", "number", "text", "text", "text", "text", "number", "number", "number"], "db_id": "gas_company", "foreign_keys": [[17, 1], [16, 10]], "primary_keys": [1, 10, 16], "table_names": ["company", "gas station", "station company"], "table_names_original": ["company", "gas_station", "station_company"]}, {"column_names": [[-1, "*"], [0, "pilot id"], [0, "name"], [0, "age"], [1, "aircraft id"], [1, "aircraft"], [1, "description"], [1, "max gross weight"], [1, "total disk area"], [1, "max disk loading"], [2, "round"], [2, "location"], [2, "country"], [2, "date"], [2, "fastest qualifying"], [2, "winning pilot"], [2, "winning aircraft"], [3, "airport id"], [3, "airport name"], [3, "total passengers"], [3, "% change 2007"], [3, "international passengers"], [3, "domestic passengers"], [3, "transit passengers"], [3, "aircraft movements"], [3, "freight metric tonnes"], [4, "id"], [4, "airport id"], [4, "aircraft id"]], "column_names_original": [[-1, "*"], [0, "pilot_id"], [0, "name"], [0, "age"], [1, "aircraft_id"], [1, "aircraft"], [1, "description"], [1, "max_gross_weight"], [1, "total_disk_area"], [1, "max_disk_loading"], [2, "round"], [2, "location"], [2, "country"], [2, "date"], [2, "fastest_qualifying"], [2, "winning_pilot"], [2, "winning_aircraft"], [3, "airport_id"], [3, "airport_name"], [3, "total_passengers"], [3, "%_change_2007"], [3, "international_passengers"], [3, "domestic_passengers"], [3, "transit_passengers"], [3, "aircraft_movements"], [3, "freight_metric_tonnes"], [4, "id"], [4, "airport_id"], [4, "aircraft_id"]], "column_types": ["text", "number", "text", "number", "number", "text", "text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "number", "text", "number", "text", "number", "number", "number", "number", "number", "number", "number", "number"], "db_id": "aircraft", "foreign_keys": [[15, 1], [16, 4], [28, 4], [27, 17]], "primary_keys": [1, 4, 10, 17, 27], "table_names": ["pilot", "aircraft", "match", "airport", "airport aircraft"], "table_names_original": ["pilot", "aircraft", "match", "airport", "airport_aircraft"]}, {"column_names": [[-1, "*"], [0, "attribute id"], [0, "attribute name"], [0, "attribute data type"], [1, "catalog id"], [1, "catalog name"], [1, "catalog publisher"], [1, "date of publication"], [1, "date of latest revision"], [2, "catalog level number"], [2, "catalog id"], [2, "catalog level name"], [3, "catalog entry id"], [3, "catalog level number"], [3, "parent entry id"], [3, "previous entry id"], [3, "next entry id"], [3, "catalog entry name"], [3, "product stock number"], [3, "price in dollars"], [3, "price in euros"], [3, "price in pounds"], [3, "capacity"], [3, "length"], [3, "height"], [3, "width"], [4, "catalog entry id"], [4, "catalog level number"], [4, "attribute id"], [4, "attribute value"]], "column_names_original": [[-1, "*"], [0, "attribute_id"], [0, "attribute_name"], [0, "attribute_data_type"], [1, "catalog_id"], [1, "catalog_name"], [1, "catalog_publisher"], [1, "date_of_publication"], [1, "date_of_latest_revision"], [2, "catalog_level_number"], [2, "catalog_id"], [2, "catalog_level_name"], [3, "catalog_entry_id"], [3, "catalog_level_number"], [3, "parent_entry_id"], [3, "previous_entry_id"], [3, "next_entry_id"], [3, "catalog_entry_name"], [3, "product_stock_number"], [3, "price_in_dollars"], [3, "price_in_euros"], [3, "price_in_pounds"], [3, "capacity"], [3, "length"], [3, "height"], [3, "width"], [4, "catalog_entry_id"], [4, "catalog_level_number"], [4, "attribute_id"], [4, "attribute_value"]], "column_types": ["text", "number", "text", "text", "number", "text", "text", "time", "time", "number", "number", "text", "number", "number", "number", "number", "number", "text", "text", "number", "number", "number", "text", "text", "text", "text", "number", "number", "number", "text"], "db_id": "product_catalog", "foreign_keys": [[10, 4], [13, 9], [27, 9], [26, 12]], "primary_keys": [1, 4, 9, 12], "table_names": ["attribute definitions", "catalogs", "catalog structure", "catalog contents", "catalog contents additional attributes"], "table_names_original": ["attribute_definitions", "catalogs", "catalog_structure", "catalog_contents", "catalog_contents_additional_attributes"]}, {"column_names": [[-1, "*"], [0, "coupon id"], [0, "date issued"], [0, "coupon amount"], [1, "customer id"], [1, "coupon id"], [1, "good or bad customer"], [1, "first name"], [1, "last name"], [1, "gender"], [1, "date became customer"], [1, "date last hire"], [2, "booking id"], [2, "customer id"], [2, "booking status code"], [2, "returned damaged yes or no"], [2, "booking start date"], [2, "booking end date"], [2, "count hired"], [2, "amount payable"], [2, "amount of discount"], [2, "amount outstanding"], [2, "amount of refund"], [3, "product id"], [3, "product type code"], [3, "daily hire cost"], [3, "product name"], [3, "product description"], [4, "payment id"], [4, "booking id"], [4, "customer id"], [4, "payment type code"], [4, "amount paid in full yn"], [4, "payment date"], [4, "amount due"], [4, "amount paid"], [5, "booking id"], [5, "product id"], [5, "returned yes or no"], [5, "returned late yes or no"], [5, "booked count"], [5, "booked amount"], [6, "product id"], [6, "booking id"], [6, "status date"], [6, "available yes or no"]], "column_names_original": [[-1, "*"], [0, "coupon_id"], [0, "date_issued"], [0, "coupon_amount"], [1, "customer_id"], [1, "coupon_id"], [1, "good_or_bad_customer"], [1, "first_name"], [1, "last_name"], [1, "gender_mf"], [1, "date_became_customer"], [1, "date_last_hire"], [2, "booking_id"], [2, "customer_id"], [2, "booking_status_code"], [2, "returned_damaged_yn"], [2, "booking_start_date"], [2, "booking_end_date"], [2, "count_hired"], [2, "amount_payable"], [2, "amount_of_discount"], [2, "amount_outstanding"], [2, "amount_of_refund"], [3, "product_id"], [3, "product_type_code"], [3, "daily_hire_cost"], [3, "product_name"], [3, "product_description"], [4, "payment_id"], [4, "booking_id"], [4, "customer_id"], [4, "payment_type_code"], [4, "amount_paid_in_full_yn"], [4, "payment_date"], [4, "amount_due"], [4, "amount_paid"], [5, "booking_id"], [5, "product_id"], [5, "returned_yn"], [5, "returned_late_yn"], [5, "booked_count"], [5, "booked_amount"], [6, "product_id"], [6, "booking_id"], [6, "status_date"], [6, "available_yn"]], "column_types": ["text", "number", "time", "number", "number", "number", "text", "text", "text", "text", "time", "time", "number", "number", "text", "text", "time", "time", "text", "number", "number", "number", "number", "number", "text", "number", "text", "text", "number", "number", "number", "text", "text", "time", "number", "number", "number", "number", "text", "text", "number", "number", "number", "number", "time", "text"], "db_id": "products_for_hire", "foreign_keys": [[5, 1], [13, 4], [30, 4], [29, 12], [37, 23], [36, 12], [42, 23], [43, 12]], "primary_keys": [1, 4, 12, 23, 28, 36, 44], "table_names": ["discount coupons", "customers", "bookings", "products for hire", "payments", "products booked", "view product availability"], "table_names_original": ["discount_coupons", "customers", "bookings", "products_for_hire", "payments", "products_booked", "view_product_availability"]}, {"column_names": [[-1, "*"], [0, "id"], [0, "series name"], [0, "country"], [0, "language"], [0, "content"], [0, "pixel aspect ratio par"], [0, "hight definition tv"], [0, "pay per view ppv"], [0, "package option"], [1, "id"], [1, "episode"], [1, "air date"], [1, "rating"], [1, "share"], [1, "18 49 rating share"], [1, "viewers m"], [1, "weekly rank"], [1, "channel"], [2, "id"], [2, "title"], [2, "directed by"], [2, "written by"], [2, "original air date"], [2, "production code"], [2, "channel"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "series_name"], [0, "country"], [0, "language"], [0, "content"], [0, "pixel_aspect_ratio_par"], [0, "hight_definition_tv"], [0, "pay_per_view_ppv"], [0, "package_option"], [1, "id"], [1, "episode"], [1, "air_date"], [1, "rating"], [1, "share"], [1, "18_49_rating_share"], [1, "viewers_m"], [1, "weekly_rank"], [1, "channel"], [2, "id"], [2, "title"], [2, "directed_by"], [2, "written_by"], [2, "original_air_date"], [2, "production_code"], [2, "channel"]], "column_types": ["text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "number", "text", "number", "text", "text", "text", "text", "number", "text"], "db_id": "tvshow", "foreign_keys": [[18, 1], [25, 1]], "primary_keys": [1, 10, 19], "table_names": ["tv channel", "tv series", "cartoon"], "table_names_original": ["tv_channel", "tv_series", "cartoon"]}, {"column_names": [[-1, "*"], [0, "code"], [0, "name"], [0, "headquarter"], [0, "founder"], [0, "revenue"], [1, "code"], [1, "name"], [1, "price"], [1, "manufacturer"]], "column_names_original": [[-1, "*"], [0, "code"], [0, "name"], [0, "headquarter"], [0, "founder"], [0, "revenue"], [1, "code"], [1, "name"], [1, "price"], [1, "manufacturer"]], "column_types": ["text", "number", "text", "text", "text", "number", "number", "text", "number", "number"], "db_id": "manufactory_1", "foreign_keys": [[9, 1]], "primary_keys": [1, 6], "table_names": ["manufacturers", "products"], "table_names_original": ["manufacturers", "products"]}, {"column_names": [[-1, "*"], [0, "room id"], [0, "room name"], [0, "beds"], [0, "bed type"], [0, "max occupancy"], [0, "base price"], [0, "decor"], [1, "code"], [1, "room"], [1, "check in"], [1, "check out"], [1, "rate"], [1, "last name"], [1, "first name"], [1, "adults"], [1, "kids"]], "column_names_original": [[-1, "*"], [0, "roomid"], [0, "roomname"], [0, "beds"], [0, "bedtype"], [0, "maxoccupancy"], [0, "baseprice"], [0, "decor"], [1, "code"], [1, "room"], [1, "checkin"], [1, "checkout"], [1, "rate"], [1, "lastname"], [1, "firstname"], [1, "adults"], [1, "kids"]], "column_types": ["text", "text", "text", "number", "text", "number", "number", "text", "number", "text", "text", "text", "number", "text", "text", "number", "number"], "db_id": "inn_1", "foreign_keys": [[9, 1]], "primary_keys": [1, 8], "table_names": ["rooms", "reservations"], "table_names_original": ["rooms", "reservations"]}, {"column_names": [[-1, "*"], [0, "college name"], [0, "state"], [0, "enrollment"], [1, "player id"], [1, "player name"], [1, "yes card"], [1, "training hours"], [2, "player id"], [2, "college name"], [2, "player position"], [2, "decision"]], "column_names_original": [[-1, "*"], [0, "cname"], [0, "state"], [0, "enr"], [1, "pid"], [1, "pname"], [1, "ycard"], [1, "hs"], [2, "pid"], [2, "cname"], [2, "ppos"], [2, "decision"]], "column_types": ["text", "text", "text", "number", "number", "text", "text", "number", "number", "text", "text", "text"], "db_id": "soccer_2", "foreign_keys": [[9, 1], [8, 4]], "primary_keys": [1, 4, 8], "table_names": ["college", "player", "tryout"], "table_names_original": ["college", "player", "tryout"]}, {"column_names": [[-1, "*"], [0, "user id"], [0, "follower id"], [1, "id"], [1, "user id"], [1, "text"], [1, "create date"], [2, "uid"], [2, "name"], [2, "email"], [2, "partition id"], [2, "followers"]], "column_names_original": [[-1, "*"], [0, "f1"], [0, "f2"], [1, "id"], [1, "uid"], [1, "text"], [1, "createdate"], [2, "uid"], [2, "name"], [2, "email"], [2, "partitionid"], [2, "followers"]], "column_types": ["text", "number", "number", "number", "number", "text", "time", "number", "text", "text", "number", "number"], "db_id": "twitter_1", "foreign_keys": [[2, 7], [1, 7], [4, 7]], "primary_keys": [1, 3, 7], "table_names": ["follows", "tweets", "user profiles"], "table_names_original": ["follows", "tweets", "user_profiles"]}, {"column_names": [[-1, "*"], [0, "race id"], [0, "name"], [0, "class"], [0, "date"], [0, "track id"], [1, "track id"], [1, "name"], [1, "location"], [1, "seating"], [1, "year opened"]], "column_names_original": [[-1, "*"], [0, "race_id"], [0, "name"], [0, "class"], [0, "date"], [0, "track_id"], [1, "track_id"], [1, "name"], [1, "location"], [1, "seating"], [1, "year_opened"]], "column_types": ["text", "number", "text", "text", "text", "text", "number", "text", "text", "number", "number"], "db_id": "race_track", "foreign_keys": [[5, 6]], "primary_keys": [1, 6], "table_names": ["race", "track"], "table_names_original": ["race", "track"]}, {"column_names": [[-1, "*"], [0, "address id"], [0, "address details"], [1, "staff id"], [1, "staff gender"], [1, "staff name"], [2, "supplier id"], [2, "supplier name"], [2, "supplier phone"], [3, "department store chain id"], [3, "department store chain name"], [4, "customer id"], [4, "payment method code"], [4, "customer code"], [4, "customer name"], [4, "customer address"], [4, "customer phone"], [4, "customer email"], [5, "product id"], [5, "product type code"], [5, "product name"], [5, "product price"], [6, "supplier id"], [6, "address id"], [6, "date from"], [6, "date to"], [7, "customer id"], [7, "address id"], [7, "date from"], [7, "date to"], [8, "order id"], [8, "customer id"], [8, "order status code"], [8, "order date"], [9, "department store id"], [9, "department store chain id"], [9, "store name"], [9, "store address"], [9, "store phone"], [9, "store email"], [10, "department id"], [10, "department store id"], [10, "department name"], [11, "order item id"], [11, "order id"], [11, "product id"], [12, "product id"], [12, "supplier id"], [12, "date supplied from"], [12, "date supplied to"], [12, "total amount purchased"], [12, "total value purchased"], [13, "staff id"], [13, "department id"], [13, "date assigned from"], [13, "job title code"], [13, "date assigned to"]], "column_names_original": [[-1, "*"], [0, "address_id"], [0, "address_details"], [1, "staff_id"], [1, "staff_gender"], [1, "staff_name"], [2, "supplier_id"], [2, "supplier_name"], [2, "supplier_phone"], [3, "dept_store_chain_id"], [3, "dept_store_chain_name"], [4, "customer_id"], [4, "payment_method_code"], [4, "customer_code"], [4, "customer_name"], [4, "customer_address"], [4, "customer_phone"], [4, "customer_email"], [5, "product_id"], [5, "product_type_code"], [5, "product_name"], [5, "product_price"], [6, "supplier_id"], [6, "address_id"], [6, "date_from"], [6, "date_to"], [7, "customer_id"], [7, "address_id"], [7, "date_from"], [7, "date_to"], [8, "order_id"], [8, "customer_id"], [8, "order_status_code"], [8, "order_date"], [9, "dept_store_id"], [9, "dept_store_chain_id"], [9, "store_name"], [9, "store_address"], [9, "store_phone"], [9, "store_email"], [10, "department_id"], [10, "dept_store_id"], [10, "department_name"], [11, "order_item_id"], [11, "order_id"], [11, "product_id"], [12, "product_id"], [12, "supplier_id"], [12, "date_supplied_from"], [12, "date_supplied_to"], [12, "total_amount_purchased"], [12, "total_value_purchased"], [13, "staff_id"], [13, "department_id"], [13, "date_assigned_from"], [13, "job_title_code"], [13, "date_assigned_to"]], "column_types": ["text", "number", "text", "number", "text", "text", "number", "text", "text", "number", "text", "number", "text", "text", "text", "text", "text", "text", "number", "text", "text", "number", "number", "number", "time", "time", "number", "number", "time", "time", "number", "number", "text", "time", "number", "number", "text", "text", "text", "text", "number", "number", "text", "number", "number", "number", "number", "number", "time", "time", "text", "number", "number", "number", "time", "text", "time"], "db_id": "department_store", "foreign_keys": [[22, 6], [23, 1], [26, 11], [27, 1], [31, 11], [35, 9], [41, 34], [45, 18], [44, 30], [46, 18], [47, 6], [52, 3], [53, 40]], "primary_keys": [1, 3, 6, 9, 11, 18, 22, 26, 30, 34, 40, 43, 46, 52], "table_names": ["addresses", "staff", "suppliers", "department store chain", "customers", "products", "supplier addresses", "customer addresses", "customer orders", "department stores", "departments", "order items", "product suppliers", "staff department assignments"], "table_names_original": ["addresses", "staff", "suppliers", "department_store_chain", "customers", "products", "supplier_addresses", "customer_addresses", "customer_orders", "department_stores", "departments", "order_items", "product_suppliers", "staff_department_assignments"]}, {"column_names": [[-1, "*"], [0, "conductor id"], [0, "name"], [0, "age"], [0, "nationality"], [0, "year of work"], [1, "orchestra id"], [1, "orchestra"], [1, "conductor id"], [1, "record company"], [1, "year of founded"], [1, "major record format"], [2, "performance id"], [2, "orchestra id"], [2, "type"], [2, "date"], [2, "official ratings (millions)"], [2, "weekly rank"], [2, "share"], [3, "show id"], [3, "performance id"], [3, "if first show"], [3, "result"], [3, "attendance"]], "column_names_original": [[-1, "*"], [0, "conductor_id"], [0, "name"], [0, "age"], [0, "nationality"], [0, "year_of_work"], [1, "orchestra_id"], [1, "orchestra"], [1, "conductor_id"], [1, "record_company"], [1, "year_of_founded"], [1, "major_record_format"], [2, "performance_id"], [2, "orchestra_id"], [2, "type"], [2, "date"], [2, "official_ratings_(millions)"], [2, "weekly_rank"], [2, "share"], [3, "show_id"], [3, "performance_id"], [3, "if_first_show"], [3, "result"], [3, "attendance"]], "column_types": ["text", "number", "text", "number", "text", "number", "number", "text", "number", "text", "number", "text", "number", "number", "text", "text", "number", "text", "text", "number", "number", "others", "text", "number"], "db_id": "orchestra", "foreign_keys": [[8, 1], [13, 6], [20, 12]], "primary_keys": [1, 6, 12], "table_names": ["conductor", "orchestra", "performance", "show"], "table_names_original": ["conductor", "orchestra", "performance", "show"]}, {"column_names": [[-1, "*"], [0, "payment method code"], [0, "payment method description"], [1, "service type code"], [1, "parent service type code"], [1, "service type description"], [2, "address id"], [2, "line 1"], [2, "line 2"], [2, "city town"], [2, "state county"], [2, "other details"], [3, "product id"], [3, "product name"], [3, "product price"], [3, "product description"], [3, "other product service details"], [4, "marketing region code"], [4, "marketing region name"], [4, "marketing region descriptrion"], [4, "other details"], [5, "client id"], [5, "address id"], [5, "customer email address"], [5, "customer name"], [5, "customer phone"], [5, "other details"], [6, "workshop group id"], [6, "address id"], [6, "currency code"], [6, "marketing region code"], [6, "store name"], [6, "store phone"], [6, "store email address"], [6, "other details"], [7, "performer id"], [7, "address id"], [7, "customer name"], [7, "customer phone"], [7, "customer email address"], [7, "other details"], [8, "customer id"], [8, "address id"], [8, "customer name"], [8, "customer phone"], [8, "customer email address"], [8, "other details"], [9, "store id"], [9, "address id"], [9, "marketing region code"], [9, "store name"], [9, "store phone"], [9, "store email address"], [9, "other details"], [10, "booking id"], [10, "customer id"], [10, "workshop group id"], [10, "status code"], [10, "store id"], [10, "order date"], [10, "planned delivery date"], [10, "actual delivery date"], [10, "other order details"], [11, "order id"], [11, "performer id"], [12, "order id"], [12, "customer id"], [12, "store id"], [12, "order date"], [12, "planned delivery date"], [12, "actual delivery date"], [12, "other order details"], [13, "order item id"], [13, "order id"], [13, "product id"], [13, "order quantity"], [13, "other item details"], [14, "invoice id"], [14, "order id"], [14, "payment method code"], [14, "product id"], [14, "order quantity"], [14, "other item details"], [14, "order item id"], [15, "service id"], [15, "service type code"], [15, "workshop group id"], [15, "product description"], [15, "product name"], [15, "product price"], [15, "other product service details"], [16, "order id"], [16, "product id"], [17, "invoice item id"], [17, "invoice id"], [17, "order id"], [17, "order item id"], [17, "product id"], [17, "order quantity"], [17, "other item details"]], "column_names_original": [[-1, "*"], [0, "payment_method_code"], [0, "payment_method_description"], [1, "service_type_code"], [1, "parent_service_type_code"], [1, "service_type_description"], [2, "address_id"], [2, "line_1"], [2, "line_2"], [2, "city_town"], [2, "state_county"], [2, "other_details"], [3, "product_id"], [3, "product_name"], [3, "product_price"], [3, "product_description"], [3, "other_product_service_details"], [4, "marketing_region_code"], [4, "marketing_region_name"], [4, "marketing_region_descriptrion"], [4, "other_details"], [5, "client_id"], [5, "address_id"], [5, "customer_email_address"], [5, "customer_name"], [5, "customer_phone"], [5, "other_details"], [6, "workshop_group_id"], [6, "address_id"], [6, "currency_code"], [6, "marketing_region_code"], [6, "store_name"], [6, "store_phone"], [6, "store_email_address"], [6, "other_details"], [7, "performer_id"], [7, "address_id"], [7, "customer_name"], [7, "customer_phone"], [7, "customer_email_address"], [7, "other_details"], [8, "customer_id"], [8, "address_id"], [8, "customer_name"], [8, "customer_phone"], [8, "customer_email_address"], [8, "other_details"], [9, "store_id"], [9, "address_id"], [9, "marketing_region_code"], [9, "store_name"], [9, "store_phone"], [9, "store_email_address"], [9, "other_details"], [10, "booking_id"], [10, "customer_id"], [10, "workshop_group_id"], [10, "status_code"], [10, "store_id"], [10, "order_date"], [10, "planned_delivery_date"], [10, "actual_delivery_date"], [10, "other_order_details"], [11, "order_id"], [11, "performer_id"], [12, "order_id"], [12, "customer_id"], [12, "store_id"], [12, "order_date"], [12, "planned_delivery_date"], [12, "actual_delivery_date"], [12, "other_order_details"], [13, "order_item_id"], [13, "order_id"], [13, "product_id"], [13, "order_quantity"], [13, "other_item_details"], [14, "invoice_id"], [14, "order_id"], [14, "payment_method_code"], [14, "product_id"], [14, "order_quantity"], [14, "other_item_details"], [14, "order_item_id"], [15, "service_id"], [15, "service_type_code"], [15, "workshop_group_id"], [15, "product_description"], [15, "product_name"], [15, "product_price"], [15, "other_product_service_details"], [16, "order_id"], [16, "product_id"], [17, "invoice_item_id"], [17, "invoice_id"], [17, "order_id"], [17, "order_item_id"], [17, "product_id"], [17, "order_quantity"], [17, "other_item_details"]], "column_types": ["text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "number", "number", "text", "text", "text", "text", "number", "number", "text", "text", "text", "text", "text", "text", "number", "number", "text", "text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "number", "number", "text", "text", "number", "time", "time", "time", "text", "number", "number", "number", "number", "number", "time", "time", "time", "text", "number", "number", "number", "text", "text", "number", "number", "text", "number", "text", "text", "number", "number", "text", "number", "text", "text", "number", "text", "number", "number", "number", "number", "number", "number", "number", "number", "text"], "db_id": "cre_Drama_Workshop_Groups", "foreign_keys": [[22, 6], [28, 6], [36, 6], [42, 6], [49, 17], [48, 6], [56, 27], [55, 21], [63, 54], [64, 35], [67, 47], [66, 41], [74, 12], [73, 65], [79, 1], [78, 54], [78, 65], [85, 3], [86, 27], [92, 84], [91, 54], [95, 91], [97, 92], [94, 77], [96, 72]], "primary_keys": [1, 3, 6, 12, 17, 21, 27, 35, 41, 47, 54, 63, 65, 72, 77, 84, 91, 93], "table_names": ["reference payment methods", "reference service types", "addresses", "products", "marketing regions", "clients", "drama workshop groups", "performers", "customers", "stores", "bookings", "performers in bookings", "customer orders", "order items", "invoices", "services", "bookings services", "invoice items"], "table_names_original": ["ref_payment_methods", "ref_service_types", "addresses", "products", "marketing_regions", "clients", "drama_workshop_groups", "performers", "customers", "stores", "bookings", "performers_in_bookings", "customer_orders", "order_items", "invoices", "services", "bookings_services", "invoice_items"]}, {"column_names": [[-1, "*"], [0, "employee id"], [0, "name"], [0, "position"], [0, "ssn"], [1, "departmentid"], [1, "name"], [1, "head"], [2, "physician"], [2, "department"], [2, "primary affiliation"], [3, "code"], [3, "name"], [3, "cost"], [4, "physician"], [4, "treatment"], [4, "certification date"], [4, "certification expires"], [5, "ssn"], [5, "name"], [5, "address"], [5, "phone"], [5, "insurance id"], [5, "pcp"], [6, "employee id"], [6, "name"], [6, "position"], [6, "registered"], [6, "ssn"], [7, "appointment id"], [7, "patient"], [7, "prep nurse"], [7, "physician"], [7, "start"], [7, "end"], [7, "examination room"], [8, "code"], [8, "name"], [8, "brand"], [8, "description"], [9, "physician"], [9, "patient"], [9, "medication"], [9, "date"], [9, "appointment"], [9, "dose"], [10, "block floor"], [10, "block code"], [11, "roomnumber"], [11, "room type"], [11, "block floor"], [11, "block code"], [11, "unavailable"], [12, "nurse"], [12, "block floor"], [12, "block code"], [12, "oncall start"], [12, "oncall end"], [13, "stay id"], [13, "patient"], [13, "room"], [13, "stay start"], [13, "stay end"], [14, "patient"], [14, "procedures"], [14, "stay"], [14, "date undergoes"], [14, "physician"], [14, "assisting nurse"]], "column_names_original": [[-1, "*"], [0, "employeeid"], [0, "name"], [0, "position"], [0, "ssn"], [1, "departmentid"], [1, "name"], [1, "head"], [2, "physician"], [2, "department"], [2, "primaryaffiliation"], [3, "code"], [3, "name"], [3, "cost"], [4, "physician"], [4, "treatment"], [4, "certificationdate"], [4, "certificationexpires"], [5, "ssn"], [5, "name"], [5, "address"], [5, "phone"], [5, "insuranceid"], [5, "pcp"], [6, "employeeid"], [6, "name"], [6, "position"], [6, "registered"], [6, "ssn"], [7, "appointmentid"], [7, "patient"], [7, "prepnurse"], [7, "physician"], [7, "start"], [7, "end"], [7, "examinationroom"], [8, "code"], [8, "name"], [8, "brand"], [8, "description"], [9, "physician"], [9, "patient"], [9, "medication"], [9, "date"], [9, "appointment"], [9, "dose"], [10, "blockfloor"], [10, "blockcode"], [11, "roomnumber"], [11, "roomtype"], [11, "blockfloor"], [11, "blockcode"], [11, "unavailable"], [12, "nurse"], [12, "blockfloor"], [12, "blockcode"], [12, "oncallstart"], [12, "oncallend"], [13, "stayid"], [13, "patient"], [13, "room"], [13, "staystart"], [13, "stayend"], [14, "patient"], [14, "procedures"], [14, "stay"], [14, "dateundergoes"], [14, "physician"], [14, "assistingnurse"]], "column_types": ["text", "number", "text", "text", "number", "number", "text", "number", "number", "number", "boolean", "number", "text", "number", "number", "number", "time", "time", "number", "text", "text", "text", "number", "number", "number", "text", "text", "boolean", "number", "number", "number", "number", "number", "time", "time", "text", "number", "text", "text", "text", "number", "number", "number", "time", "number", "text", "number", "number", "number", "text", "number", "number", "boolean", "number", "number", "number", "time", "time", "number", "number", "number", "time", "time", "number", "number", "number", "time", "number", "number"], "db_id": "hospital_1", "foreign_keys": [[7, 1], [9, 5], [8, 1], [15, 11], [14, 1], [23, 1], [32, 1], [31, 24], [30, 18], [44, 29], [42, 36], [41, 18], [40, 1], [50, 46], [51, 47], [54, 46], [55, 47], [53, 24], [60, 48], [59, 18], [68, 24], [67, 1], [65, 58], [64, 11], [63, 18]], "primary_keys": [1, 5, 8, 11, 14, 18, 24, 29, 36, 40, 46, 48, 53, 58, 63], "table_names": ["physician", "department", "affiliated with", "procedures", "trained in", "patient", "nurse", "appointment", "medication", "prescribes", "block", "room", "on call", "stay", "undergoes"], "table_names_original": ["physician", "department", "affiliated_with", "procedures", "trained_in", "patient", "nurse", "appointment", "medication", "prescribes", "block", "room", "on_call", "stay", "undergoes"]}, {"column_names": [[-1, "*"], [0, "stadium id"], [0, "location"], [0, "name"], [0, "capacity"], [0, "highest"], [0, "lowest"], [0, "average"], [1, "singer id"], [1, "name"], [1, "country"], [1, "song name"], [1, "song release year"], [1, "age"], [1, "is male"], [2, "concert id"], [2, "concert name"], [2, "theme"], [2, "stadium id"], [2, "year"], [3, "concert id"], [3, "singer id"]], "column_names_original": [[-1, "*"], [0, "stadium_id"], [0, "location"], [0, "name"], [0, "capacity"], [0, "highest"], [0, "lowest"], [0, "average"], [1, "singer_id"], [1, "name"], [1, "country"], [1, "song_name"], [1, "song_release_year"], [1, "age"], [1, "is_male"], [2, "concert_id"], [2, "concert_name"], [2, "theme"], [2, "stadium_id"], [2, "year"], [3, "concert_id"], [3, "singer_id"]], "column_types": ["text", "number", "text", "text", "number", "number", "number", "number", "number", "text", "text", "text", "text", "number", "others", "number", "text", "text", "text", "text", "number", "text"], "db_id": "concert_singer", "foreign_keys": [[18, 1], [21, 8], [20, 15]], "primary_keys": [1, 8, 15, 20], "table_names": ["stadium", "singer", "concert", "singer in concert"], "table_names_original": ["stadium", "singer", "concert", "singer_in_concert"]}, {"column_names": [[-1, "*"], [0, "people id"], [0, "age"], [0, "name"], [0, "nationality"], [0, "graduation college"], [1, "company id"], [1, "name"], [1, "headquarters"], [1, "industry"], [1, "sales in billion"], [1, "profits in billion"], [1, "assets in billion"], [1, "market value in billion"], [2, "company id"], [2, "people id"], [2, "year working"]], "column_names_original": [[-1, "*"], [0, "people_id"], [0, "age"], [0, "name"], [0, "nationality"], [0, "graduation_college"], [1, "company_id"], [1, "name"], [1, "headquarters"], [1, "industry"], [1, "sales_in_billion"], [1, "profits_in_billion"], [1, "assets_in_billion"], [1, "market_value_in_billion"], [2, "company_id"], [2, "people_id"], [2, "year_working"]], "column_types": ["text", "number", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "number", "number", "number", "number", "number"], "db_id": "company_employee", "foreign_keys": [[15, 1], [14, 6]], "primary_keys": [1, 6, 14], "table_names": ["people", "company", "employment"], "table_names_original": ["people", "company", "employment"]}, {"column_names": [[-1, "*"], [0, "member id"], [0, "card number"], [0, "name"], [0, "hometown"], [0, "level"], [1, "branch id"], [1, "name"], [1, "open year"], [1, "address road"], [1, "city"], [1, "membership amount"], [2, "member id"], [2, "branch id"], [2, "register year"], [3, "member id"], [3, "branch id"], [3, "year"], [3, "total pounds"]], "column_names_original": [[-1, "*"], [0, "member_id"], [0, "card_number"], [0, "name"], [0, "hometown"], [0, "level"], [1, "branch_id"], [1, "name"], [1, "open_year"], [1, "address_road"], [1, "city"], [1, "membership_amount"], [2, "member_id"], [2, "branch_id"], [2, "register_year"], [3, "member_id"], [3, "branch_id"], [3, "year"], [3, "total_pounds"]], "column_types": ["text", "number", "text", "text", "text", "number", "number", "text", "text", "text", "text", "text", "number", "text", "text", "number", "text", "text", "number"], "db_id": "shop_membership", "foreign_keys": [[13, 6], [12, 1], [16, 6], [15, 1]], "primary_keys": [1, 6, 12, 15], "table_names": ["member", "branch", "membership register branch", "purchase"], "table_names_original": ["member", "branch", "membership_register_branch", "purchase"]}, {"column_names": [[-1, "*"], [0, "employee id"], [0, "name"], [0, "age"], [0, "city"], [1, "shop id"], [1, "name"], [1, "location"], [1, "district"], [1, "number products"], [1, "manager name"], [2, "shop id"], [2, "employee id"], [2, "start from"], [2, "is full time"], [3, "employee id"], [3, "year awarded"], [3, "bonus"]], "column_names_original": [[-1, "*"], [0, "employee_id"], [0, "name"], [0, "age"], [0, "city"], [1, "shop_id"], [1, "name"], [1, "location"], [1, "district"], [1, "number_products"], [1, "manager_name"], [2, "shop_id"], [2, "employee_id"], [2, "start_from"], [2, "is_full_time"], [3, "employee_id"], [3, "year_awarded"], [3, "bonus"]], "column_types": ["text", "number", "text", "number", "text", "number", "text", "text", "text", "number", "text", "number", "number", "text", "others", "text", "text", "number"], "db_id": "employee_hire_evaluation", "foreign_keys": [[12, 1], [11, 5], [15, 1]], "primary_keys": [1, 5, 12, 15], "table_names": ["employee", "shop", "hiring", "evaluation"], "table_names_original": ["employee", "shop", "hiring", "evaluation"]}, {"column_names": [[-1, "*"], [0, "album id"], [0, "title"], [0, "artist id"], [1, "artist id"], [1, "name"], [2, "customer id"], [2, "first name"], [2, "last name"], [2, "company"], [2, "address"], [2, "city"], [2, "state"], [2, "country"], [2, "postal code"], [2, "phone"], [2, "fax"], [2, "email"], [2, "support representative id"], [3, "employee id"], [3, "last name"], [3, "first name"], [3, "title"], [3, "reports to"], [3, "birth date"], [3, "hire date"], [3, "address"], [3, "city"], [3, "state"], [3, "country"], [3, "postal code"], [3, "phone"], [3, "fax"], [3, "email"], [4, "genre id"], [4, "name"], [5, "invoice id"], [5, "customer id"], [5, "invoice date"], [5, "billing address"], [5, "billing city"], [5, "billing state"], [5, "billing country"], [5, "billing postal code"], [5, "total"], [6, "invoice line id"], [6, "invoice id"], [6, "track id"], [6, "unit price"], [6, "quantity"], [7, "media type id"], [7, "name"], [8, "play list id"], [8, "name"], [9, "play list id"], [9, "track id"], [10, "track id"], [10, "name"], [10, "album id"], [10, "media type id"], [10, "genre id"], [10, "composer"], [10, "milliseconds"], [10, "bytes"], [10, "unit price"]], "column_names_original": [[-1, "*"], [0, "albumid"], [0, "title"], [0, "artistid"], [1, "artistid"], [1, "name"], [2, "customerid"], [2, "firstname"], [2, "lastname"], [2, "company"], [2, "address"], [2, "city"], [2, "state"], [2, "country"], [2, "postalcode"], [2, "phone"], [2, "fax"], [2, "email"], [2, "supportrepid"], [3, "employeeid"], [3, "lastname"], [3, "firstname"], [3, "title"], [3, "reportsto"], [3, "birthdate"], [3, "hiredate"], [3, "address"], [3, "city"], [3, "state"], [3, "country"], [3, "postalcode"], [3, "phone"], [3, "fax"], [3, "email"], [4, "genreid"], [4, "name"], [5, "invoiceid"], [5, "customerid"], [5, "invoicedate"], [5, "billingaddress"], [5, "billingcity"], [5, "billingstate"], [5, "billingcountry"], [5, "billingpostalcode"], [5, "total"], [6, "invoicelineid"], [6, "invoiceid"], [6, "trackid"], [6, "unitprice"], [6, "quantity"], [7, "mediatypeid"], [7, "name"], [8, "playlistid"], [8, "name"], [9, "playlistid"], [9, "trackid"], [10, "trackid"], [10, "name"], [10, "albumid"], [10, "mediatypeid"], [10, "genreid"], [10, "composer"], [10, "milliseconds"], [10, "bytes"], [10, "unitprice"]], "column_types": ["text", "number", "text", "number", "number", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "number", "number", "text", "text", "text", "number", "time", "time", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "number", "number", "time", "text", "text", "text", "text", "text", "number", "number", "number", "number", "number", "number", "number", "text", "number", "text", "number", "number", "number", "text", "number", "number", "number", "text", "number", "number", "number"], "db_id": "chinook_1", "foreign_keys": [[3, 4], [18, 19], [23, 19], [37, 6], [47, 56], [46, 36], [55, 56], [54, 52], [59, 50], [60, 34], [58, 1]], "primary_keys": [1, 4, 6, 19, 34, 36, 45, 50, 52, 54, 56], "table_names": ["album", "artist", "customer", "employee", "genre", "invoice", "invoice line", "media type", "playlist", "playlist track", "track"], "table_names_original": ["album", "artist", "customer", "employee", "genre", "invoice", "invoiceline", "mediatype", "playlist", "playlisttrack", "track"]}, {"column_names": [[-1, "*"], [0, "school id"], [0, "school name"], [0, "location"], [0, "mascot"], [0, "enrollment"], [0, "ihsaa class"], [0, "ihsaa football class"], [0, "county"], [1, "school id"], [1, "year"], [1, "budgeted"], [1, "total budget percent budgeted"], [1, "invested"], [1, "total budget percent invested"], [1, "budget invested percent"], [2, "endowment id"], [2, "school id"], [2, "donator name"], [2, "amount"]], "column_names_original": [[-1, "*"], [0, "school_id"], [0, "school_name"], [0, "location"], [0, "mascot"], [0, "enrollment"], [0, "ihsaa_class"], [0, "ihsaa_football_class"], [0, "county"], [1, "school_id"], [1, "year"], [1, "budgeted"], [1, "total_budget_percent_budgeted"], [1, "invested"], [1, "total_budget_percent_invested"], [1, "budget_invested_percent"], [2, "endowment_id"], [2, "school_id"], [2, "donator_name"], [2, "amount"]], "column_types": ["text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "number", "number", "number", "number", "number", "text", "number", "number", "text", "number"], "db_id": "school_finance", "foreign_keys": [[9, 1], [17, 1]], "primary_keys": [1, 9, 16], "table_names": ["school", "budget", "endowment"], "table_names_original": ["school", "budget", "endowment"]}, {"column_names": [[-1, "*"], [0, "address id"], [0, "line 1 number building"], [0, "city"], [0, "zip postcode"], [0, "state province county"], [0, "country"], [1, "staff id"], [1, "staff address id"], [1, "nickname"], [1, "first name"], [1, "middle name"], [1, "last name"], [1, "date of birth"], [1, "date joined staff"], [1, "date left staff"], [2, "vehicle id"], [2, "vehicle details"], [3, "customer id"], [3, "customer address id"], [3, "customer status code"], [3, "date became customer"], [3, "date of birth"], [3, "first name"], [3, "last name"], [3, "amount outstanding"], [3, "email address"], [3, "phone number"], [3, "cell mobile phone number"], [4, "customer id"], [4, "datetime payment"], [4, "payment method code"], [4, "amount payment"], [5, "lesson id"], [5, "customer id"], [5, "lesson status code"], [5, "staff id"], [5, "vehicle id"], [5, "lesson date"], [5, "lesson time"], [5, "price"]], "column_names_original": [[-1, "*"], [0, "address_id"], [0, "line_1_number_building"], [0, "city"], [0, "zip_postcode"], [0, "state_province_county"], [0, "country"], [1, "staff_id"], [1, "staff_address_id"], [1, "nickname"], [1, "first_name"], [1, "middle_name"], [1, "last_name"], [1, "date_of_birth"], [1, "date_joined_staff"], [1, "date_left_staff"], [2, "vehicle_id"], [2, "vehicle_details"], [3, "customer_id"], [3, "customer_address_id"], [3, "customer_status_code"], [3, "date_became_customer"], [3, "date_of_birth"], [3, "first_name"], [3, "last_name"], [3, "amount_outstanding"], [3, "email_address"], [3, "phone_number"], [3, "cell_mobile_phone_number"], [4, "customer_id"], [4, "datetime_payment"], [4, "payment_method_code"], [4, "amount_payment"], [5, "lesson_id"], [5, "customer_id"], [5, "lesson_status_code"], [5, "staff_id"], [5, "vehicle_id"], [5, "lesson_date"], [5, "lesson_time"], [5, "price"]], "column_types": ["text", "number", "text", "text", "text", "text", "text", "number", "number", "text", "text", "text", "text", "time", "time", "time", "number", "text", "number", "number", "text", "time", "time", "text", "text", "number", "text", "text", "text", "number", "time", "text", "number", "number", "number", "text", "number", "number", "time", "text", "number"], "db_id": "driving_school", "foreign_keys": [[8, 1], [19, 1], [29, 18], [34, 18], [36, 7], [37, 16]], "primary_keys": [1, 7, 16, 18, 29, 33], "table_names": ["addresses", "staff", "vehicles", "customers", "customer payments", "lessons"], "table_names_original": ["addresses", "staff", "vehicles", "customers", "customer_payments", "lessons"]}, {"column_names": [[-1, "*"], [0, "movie id"], [0, "title"], [0, "year"], [0, "director"], [1, "reviewer id"], [1, "name"], [2, "reviewer id"], [2, "movie id"], [2, "rating stars"], [2, "rating date"]], "column_names_original": [[-1, "*"], [0, "mid"], [0, "title"], [0, "year"], [0, "director"], [1, "rid"], [1, "name"], [2, "rid"], [2, "mid"], [2, "stars"], [2, "ratingdate"]], "column_types": ["text", "number", "text", "number", "text", "number", "text", "number", "number", "number", "time"], "db_id": "movie_1", "foreign_keys": [[7, 5], [8, 1]], "primary_keys": [1, 5], "table_names": ["movie", "reviewer", "rating"], "table_names_original": ["movie", "reviewer", "rating"]}, {"column_names": [[-1, "*"], [0, "film id"], [0, "rank in series"], [0, "number in season"], [0, "title"], [0, "directed by"], [0, "original air date"], [0, "production code"], [1, "cinema id"], [1, "name"], [1, "openning year"], [1, "capacity"], [1, "location"], [2, "cinema id"], [2, "film id"], [2, "date"], [2, "show times per day"], [2, "price"]], "column_names_original": [[-1, "*"], [0, "film_id"], [0, "rank_in_series"], [0, "number_in_season"], [0, "title"], [0, "directed_by"], [0, "original_air_date"], [0, "production_code"], [1, "cinema_id"], [1, "name"], [1, "openning_year"], [1, "capacity"], [1, "location"], [2, "cinema_id"], [2, "film_id"], [2, "date"], [2, "show_times_per_day"], [2, "price"]], "column_types": ["text", "number", "number", "number", "text", "text", "text", "text", "number", "text", "number", "number", "text", "number", "number", "text", "number", "number"], "db_id": "cinema", "foreign_keys": [[13, 8], [14, 1]], "primary_keys": [1, 8, 13], "table_names": ["film", "cinema", "schedule"], "table_names_original": ["film", "cinema", "schedule"]}]