spiderology / testsets /like_in_sql /tables_like_in_sql.json
k8-dmi3eva's picture
[NEW]: Upload test-sets
cdc1cad verified
[{"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, "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, "venue id"], [0, "venue name"], [1, "author id"], [1, "author name"], [2, "dataset id"], [2, "dataset name"], [3, "journal id"], [3, "journal name"], [4, "key phrase id"], [4, "key phrase name"], [5, "paper id"], [5, "title"], [5, "venue id"], [5, "year"], [5, "number citing"], [5, "number cited by"], [5, "journal id"], [6, "citing paper id"], [6, "cited paper id"], [7, "paper id"], [7, "dataset id"], [8, "paper id"], [8, "key phrase id"], [9, "paper id"], [9, "author id"]], "column_names_original": [[-1, "*"], [0, "venueid"], [0, "venuename"], [1, "authorid"], [1, "authorname"], [2, "datasetid"], [2, "datasetname"], [3, "journalid"], [3, "journalname"], [4, "keyphraseid"], [4, "keyphrasename"], [5, "paperid"], [5, "title"], [5, "venueid"], [5, "year"], [5, "numciting"], [5, "numcitedby"], [5, "journalid"], [6, "citingpaperid"], [6, "citedpaperid"], [7, "paperid"], [7, "datasetid"], [8, "paperid"], [8, "keyphraseid"], [9, "paperid"], [9, "authorid"]], "column_types": ["text", "number", "text", "number", "text", "number", "text", "number", "text", "number", "text", "number", "text", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number", "number"], "db_id": "scholar", "foreign_keys": [[13, 1], [17, 7], [18, 11], [19, 11], [23, 9], [22, 11], [25, 3], [24, 11]], "primary_keys": [1, 3, 5, 7, 9, 11, 18, 21, 23, 24], "table_names": ["venue", "author", "dataset", "journal", "key phrase", "paper", "cite", "paper dataset", "paper key phrase", "writes"], "table_names_original": ["venue", "author", "dataset", "journal", "keyphrase", "paper", "cite", "paperdataset", "paperkeyphrase", "writes"]}, {"column_names": [[-1, "*"], [0, "body builder id"], [0, "people id"], [0, "snatch"], [0, "clean jerk"], [0, "total"], [1, "people id"], [1, "name"], [1, "height"], [1, "weight"], [1, "birth date"], [1, "birth place"]], "column_names_original": [[-1, "*"], [0, "body_builder_id"], [0, "people_id"], [0, "snatch"], [0, "clean_jerk"], [0, "total"], [1, "people_id"], [1, "name"], [1, "height"], [1, "weight"], [1, "birth_date"], [1, "birth_place"]], "column_types": ["text", "number", "number", "number", "number", "number", "number", "text", "number", "number", "text", "text"], "db_id": "body_builder", "foreign_keys": [[2, 6]], "primary_keys": [1, 6], "table_names": ["body builder", "people"], "table_names_original": ["body_builder", "people"]}, {"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, "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, "template type code"], [0, "template type description"], [1, "template id"], [1, "version number"], [1, "template type code"], [1, "date effective from"], [1, "date effective to"], [1, "template details"], [2, "document id"], [2, "template id"], [2, "document name"], [2, "document description"], [2, "other details"], [3, "paragraph id"], [3, "document id"], [3, "paragraph text"], [3, "other details"]], "column_names_original": [[-1, "*"], [0, "template_type_code"], [0, "template_type_description"], [1, "template_id"], [1, "version_number"], [1, "template_type_code"], [1, "date_effective_from"], [1, "date_effective_to"], [1, "template_details"], [2, "document_id"], [2, "template_id"], [2, "document_name"], [2, "document_description"], [2, "other_details"], [3, "paragraph_id"], [3, "document_id"], [3, "paragraph_text"], [3, "other_details"]], "column_types": ["text", "text", "text", "number", "number", "text", "time", "time", "text", "number", "number", "text", "text", "text", "number", "number", "text", "text"], "db_id": "cre_Doc_Template_Mgt", "foreign_keys": [[5, 1], [10, 3], [15, 9]], "primary_keys": [1, 3, 9, 14], "table_names": ["reference template types", "templates", "documents", "paragraphs"], "table_names_original": ["ref_template_types", "templates", "documents", "paragraphs"]}, {"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, "id"], [0, "name"], [0, "nationality"], [0, "gender"], [1, "architect id"], [1, "id"], [1, "name"], [1, "location"], [1, "length meters"], [1, "length feet"], [2, "architect id"], [2, "id"], [2, "location"], [2, "name"], [2, "type"], [2, "built year"], [2, "notes"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "name"], [0, "nationality"], [0, "gender"], [1, "architect_id"], [1, "id"], [1, "name"], [1, "location"], [1, "length_meters"], [1, "length_feet"], [2, "architect_id"], [2, "id"], [2, "location"], [2, "name"], [2, "type"], [2, "built_year"], [2, "notes"]], "column_types": ["text", "text", "text", "text", "text", "number", "number", "text", "text", "number", "number", "number", "number", "text", "text", "text", "number", "text"], "db_id": "architecture", "foreign_keys": [[5, 1], [11, 1]], "primary_keys": [1, 6, 12], "table_names": ["architect", "bridge", "mill"], "table_names_original": ["architect", "bridge", "mill"]}, {"column_names": [[-1, "*"], [0, "song id"], [0, "title"], [1, "aid"], [1, "title"], [1, "year"], [1, "label"], [1, "type"], [2, "id"], [2, "first name"], [2, "last name"], [3, "song id"], [3, "bandmate id"], [3, "instrument"], [4, "song id"], [4, "bandmate"], [4, "stage position"], [5, "album id"], [5, "position"], [5, "song id"], [6, "song id"], [6, "bandmate"], [6, "type"]], "column_names_original": [[-1, "*"], [0, "songid"], [0, "title"], [1, "aid"], [1, "title"], [1, "year"], [1, "label"], [1, "type"], [2, "id"], [2, "firstname"], [2, "lastname"], [3, "songid"], [3, "bandmateid"], [3, "instrument"], [4, "songid"], [4, "bandmate"], [4, "stageposition"], [5, "albumid"], [5, "position"], [5, "songid"], [6, "songid"], [6, "bandmate"], [6, "type"]], "column_types": ["text", "number", "text", "number", "text", "number", "text", "text", "number", "text", "text", "number", "number", "text", "number", "number", "text", "number", "number", "number", "number", "number", "text"], "db_id": "music_2", "foreign_keys": [[12, 8], [11, 1], [15, 8], [14, 1], [17, 3], [19, 1], [21, 8], [20, 1]], "primary_keys": [1, 3, 8, 11, 14, 17, 20], "table_names": ["songs", "albums", "band", "instruments", "performance", "track lists", "vocals"], "table_names_original": ["songs", "albums", "band", "instruments", "performance", "tracklists", "vocals"]}, {"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, "address id"], [0, "line 1"], [0, "line 2"], [0, "line 3"], [0, "city"], [0, "zip postcode"], [0, "state province county"], [0, "country"], [0, "other address details"], [1, "course id"], [1, "course name"], [1, "course description"], [1, "other details"], [2, "department id"], [2, "department name"], [2, "department description"], [2, "other details"], [3, "degree program id"], [3, "department id"], [3, "degree summary name"], [3, "degree summary description"], [3, "other details"], [4, "section id"], [4, "course id"], [4, "section name"], [4, "section description"], [4, "other details"], [5, "semester id"], [5, "semester name"], [5, "semester description"], [5, "other details"], [6, "student id"], [6, "current address id"], [6, "permanent address id"], [6, "first name"], [6, "middle name"], [6, "last name"], [6, "cell mobile number"], [6, "email address"], [6, "ssn"], [6, "date first registered"], [6, "date left"], [6, "other student details"], [7, "student enrolment id"], [7, "degree program id"], [7, "semester id"], [7, "student id"], [7, "other details"], [8, "student course id"], [8, "course id"], [8, "student enrolment id"], [9, "transcript id"], [9, "transcript date"], [9, "other details"], [10, "student course id"], [10, "transcript id"]], "column_names_original": [[-1, "*"], [0, "address_id"], [0, "line_1"], [0, "line_2"], [0, "line_3"], [0, "city"], [0, "zip_postcode"], [0, "state_province_county"], [0, "country"], [0, "other_address_details"], [1, "course_id"], [1, "course_name"], [1, "course_description"], [1, "other_details"], [2, "department_id"], [2, "department_name"], [2, "department_description"], [2, "other_details"], [3, "degree_program_id"], [3, "department_id"], [3, "degree_summary_name"], [3, "degree_summary_description"], [3, "other_details"], [4, "section_id"], [4, "course_id"], [4, "section_name"], [4, "section_description"], [4, "other_details"], [5, "semester_id"], [5, "semester_name"], [5, "semester_description"], [5, "other_details"], [6, "student_id"], [6, "current_address_id"], [6, "permanent_address_id"], [6, "first_name"], [6, "middle_name"], [6, "last_name"], [6, "cell_mobile_number"], [6, "email_address"], [6, "ssn"], [6, "date_first_registered"], [6, "date_left"], [6, "other_student_details"], [7, "student_enrolment_id"], [7, "degree_program_id"], [7, "semester_id"], [7, "student_id"], [7, "other_details"], [8, "student_course_id"], [8, "course_id"], [8, "student_enrolment_id"], [9, "transcript_id"], [9, "transcript_date"], [9, "other_details"], [10, "student_course_id"], [10, "transcript_id"]], "column_types": ["text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "text", "number", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "number", "text", "text", "text", "text", "text", "text", "time", "time", "text", "number", "number", "number", "number", "text", "number", "number", "number", "number", "time", "text", "number", "number"], "db_id": "student_transcripts_tracking", "foreign_keys": [[19, 14], [24, 10], [34, 1], [33, 1], [47, 32], [46, 28], [45, 18], [51, 44], [50, 10], [56, 52], [55, 49]], "primary_keys": [1, 10, 14, 18, 23, 28, 32, 44, 49, 52], "table_names": ["addresses", "courses", "departments", "degree programs", "sections", "semesters", "students", "student enrolment", "student enrolment courses", "transcripts", "transcript contents"], "table_names_original": ["addresses", "courses", "departments", "degree_programs", "sections", "semesters", "students", "student_enrolment", "student_enrolment_courses", "transcripts", "transcript_contents"]}, {"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, "name"], [0, "seq"], [1, "id"], [1, "name"], [2, "id"], [2, "title"], [2, "artist id"], [3, "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, "id"], [4, "first name"], [4, "last name"], [4, "company"], [4, "address"], [4, "city"], [4, "state"], [4, "country"], [4, "postal code"], [4, "phone"], [4, "fax"], [4, "email"], [4, "support rep id"], [5, "id"], [5, "name"], [6, "id"], [6, "customer id"], [6, "invoice date"], [6, "billing address"], [6, "billing city"], [6, "billing state"], [6, "billing country"], [6, "billing postal code"], [6, "total"], [7, "id"], [7, "name"], [8, "id"], [8, "name"], [8, "album id"], [8, "media type id"], [8, "genre id"], [8, "composer"], [8, "milliseconds"], [8, "bytes"], [8, "unit price"], [9, "id"], [9, "invoice id"], [9, "track id"], [9, "unit price"], [9, "quantity"], [10, "id"], [10, "name"], [11, "playlist id"], [11, "track id"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "name"], [1, "name"], [1, "seq"], [2, "id"], [2, "title"], [2, "artist_id"], [3, "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, "id"], [4, "first_name"], [4, "last_name"], [4, "company"], [4, "address"], [4, "city"], [4, "state"], [4, "country"], [4, "postal_code"], [4, "phone"], [4, "fax"], [4, "email"], [4, "support_rep_id"], [5, "id"], [5, "name"], [6, "id"], [6, "customer_id"], [6, "invoice_date"], [6, "billing_address"], [6, "billing_city"], [6, "billing_state"], [6, "billing_country"], [6, "billing_postal_code"], [6, "total"], [7, "id"], [7, "name"], [8, "id"], [8, "name"], [8, "album_id"], [8, "media_type_id"], [8, "genre_id"], [8, "composer"], [8, "milliseconds"], [8, "bytes"], [8, "unit_price"], [9, "id"], [9, "invoice_id"], [9, "track_id"], [9, "unit_price"], [9, "quantity"], [10, "id"], [10, "name"], [11, "playlist_id"], [11, "track_id"]], "column_types": ["text", "number", "text", "text", "text", "number", "text", "number", "number", "text", "text", "text", "number", "time", "time", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "number", "number", "text", "number", "number", "time", "text", "text", "text", "text", "text", "number", "number", "text", "number", "text", "number", "number", "number", "text", "number", "number", "number", "number", "number", "number", "number", "number", "number", "text", "number", "number"], "db_id": "store_1", "foreign_keys": [[7, 1], [12, 8], [35, 8], [39, 23], [52, 47], [53, 36], [51, 5], [60, 49], [59, 38], [66, 49], [65, 63]], "primary_keys": [1, 5, 8, 23, 36, 38, 47, 49, 58, 63, 65], "table_names": ["sqlite sequence", "artists", "albums", "employees", "customers", "genres", "invoices", "media types", "tracks", "invoice lines", "playlists", "playlist tracks"], "table_names_original": ["artists", "something_sequence", "albums", "employees", "customers", "genres", "invoices", "media_types", "tracks", "invoice_lines", "playlists", "playlist_tracks"]}, {"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, "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, "document type code"], [0, "document description"], [1, "document id"], [1, "document type code"], [1, "grant id"], [1, "sent date"], [1, "response received date"], [1, "other details"], [2, "grant id"], [2, "organisation id"], [2, "grant amount"], [2, "grant start date"], [2, "grant end date"], [2, "other details"], [3, "organisation type"], [3, "organisation type description"], [4, "organisation id"], [4, "organisation type"], [4, "organisation details"], [5, "project id"], [5, "outcome code"], [5, "outcome details"], [6, "staff id"], [6, "project id"], [6, "role code"], [6, "date from"], [6, "date to"], [6, "other details"], [7, "project id"], [7, "organisation id"], [7, "project details"], [8, "outcome code"], [8, "outcome description"], [9, "staff id"], [9, "employer organisation id"], [9, "staff details"], [10, "role code"], [10, "role description"], [11, "task id"], [11, "project id"], [11, "task details"], [11, "eg_agree_objectives"]], "column_names_original": [[-1, "*"], [0, "document_type_code"], [0, "document_description"], [1, "document_id"], [1, "document_type_code"], [1, "grant_id"], [1, "sent_date"], [1, "response_received_date"], [1, "other_details"], [2, "grant_id"], [2, "organisation_id"], [2, "grant_amount"], [2, "grant_start_date"], [2, "grant_end_date"], [2, "other_details"], [3, "organisation_type"], [3, "organisation_type_description"], [4, "organisation_id"], [4, "organisation_type"], [4, "organisation_details"], [5, "project_id"], [5, "outcome_code"], [5, "outcome_details"], [6, "staff_id"], [6, "project_id"], [6, "role_code"], [6, "date_from"], [6, "date_to"], [6, "other_details"], [7, "project_id"], [7, "organisation_id"], [7, "project_details"], [8, "outcome_code"], [8, "outcome_description"], [9, "staff_id"], [9, "employer_organisation_id"], [9, "staff_details"], [10, "role_code"], [10, "role_description"], [11, "task_id"], [11, "project_id"], [11, "task_details"], [11, "eg_agree_objectives"]], "column_types": ["text", "text", "text", "number", "text", "number", "time", "time", "text", "number", "number", "number", "time", "time", "text", "text", "text", "number", "text", "text", "number", "text", "text", "number", "number", "text", "time", "time", "text", "number", "number", "text", "text", "text", "number", "number", "text", "text", "text", "number", "number", "text", "text"], "db_id": "tracking_grants_for_research", "foreign_keys": [[5, 9], [4, 1], [10, 17], [18, 15], [21, 32], [20, 29], [25, 37], [24, 29], [30, 17], [35, 17], [40, 29]], "primary_keys": [1, 3, 9, 15, 17, 23, 29, 32, 34, 37, 39], "table_names": ["document types", "documents", "grants", "organisation types", "organisations", "project outcomes", "project staff", "projects", "research outcomes", "research staff", "staff roles", "tasks"], "table_names_original": ["document_types", "documents", "grants", "organisation_types", "organisations", "project_outcomes", "project_staff", "projects", "research_outcomes", "research_staff", "staff_roles", "tasks"]}, {"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, "ssn"], [0, "name"], [1, "code"], [1, "name"], [1, "hours"], [2, "scientist"], [2, "project"]], "column_names_original": [[-1, "*"], [0, "ssn"], [0, "name"], [1, "code"], [1, "name"], [1, "hours"], [2, "scientist"], [2, "project"]], "column_types": ["text", "number", "text", "text", "text", "number", "number", "text"], "db_id": "scientist_1", "foreign_keys": [[7, 3], [6, 1]], "primary_keys": [1, 3, 6], "table_names": ["scientists", "projects", "assigned to"], "table_names_original": ["scientists", "projects", "assignedto"]}, {"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, "route id"], [0, "destination airport id"], [0, "destination airport"], [0, "source airport id"], [0, "source airport"], [0, "airline id"], [0, "airline"], [0, "code share"], [1, "airport id"], [1, "name"], [1, "city"], [1, "country"], [1, "x"], [1, "y"], [1, "elevation"], [1, "iata"], [1, "icao"], [2, "airline id"], [2, "name"], [2, "iata"], [2, "icao"], [2, "call sign"], [2, "country"], [2, "active"]], "column_names_original": [[-1, "*"], [0, "rid"], [0, "dst_apid"], [0, "dst_ap"], [0, "src_apid"], [0, "src_ap"], [0, "alid"], [0, "airline"], [0, "codeshare"], [1, "apid"], [1, "name"], [1, "city"], [1, "country"], [1, "x"], [1, "y"], [1, "elevation"], [1, "iata"], [1, "icao"], [2, "alid"], [2, "name"], [2, "iata"], [2, "icao"], [2, "callsign"], [2, "country"], [2, "active"]], "column_types": ["text", "number", "number", "text", "number", "text", "number", "text", "text", "number", "text", "text", "text", "number", "number", "number", "text", "text", "number", "text", "text", "text", "text", "text", "text"], "db_id": "flight_4", "foreign_keys": [[6, 18], [4, 9], [2, 9]], "primary_keys": [1, 9, 18], "table_names": ["routes", "airports", "airlines"], "table_names_original": ["routes", "airports", "airlines"]}, {"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, "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, "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, "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, "author id"], [0, "author tutor atb"], [0, "login name"], [0, "password"], [0, "personal name"], [0, "middle name"], [0, "family name"], [0, "gender mf"], [0, "address line 1"], [1, "student id"], [1, "date of registration"], [1, "date of latest logon"], [1, "login name"], [1, "password"], [1, "personal name"], [1, "middle name"], [1, "family name"], [2, "subject id"], [2, "subject name"], [3, "course id"], [3, "author id"], [3, "subject id"], [3, "course name"], [3, "course description"], [4, "registration id"], [4, "student id"], [4, "course id"], [4, "date of enrolment"], [4, "date of completion"], [5, "registration id"], [5, "date test taken"], [5, "test result"]], "column_names_original": [[-1, "*"], [0, "author_id"], [0, "author_tutor_atb"], [0, "login_name"], [0, "password"], [0, "personal_name"], [0, "middle_name"], [0, "family_name"], [0, "gender_mf"], [0, "address_line_1"], [1, "student_id"], [1, "date_of_registration"], [1, "date_of_latest_logon"], [1, "login_name"], [1, "password"], [1, "personal_name"], [1, "middle_name"], [1, "family_name"], [2, "subject_id"], [2, "subject_name"], [3, "course_id"], [3, "author_id"], [3, "subject_id"], [3, "course_name"], [3, "course_description"], [4, "registration_id"], [4, "student_id"], [4, "course_id"], [4, "date_of_enrolment"], [4, "date_of_completion"], [5, "registration_id"], [5, "date_test_taken"], [5, "test_result"]], "column_types": ["text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "time", "time", "text", "text", "text", "text", "text", "number", "text", "number", "number", "number", "text", "text", "number", "number", "number", "time", "time", "number", "time", "text"], "db_id": "e_learning", "foreign_keys": [[22, 18], [21, 1], [26, 10], [27, 20], [30, 25]], "primary_keys": [1, 10, 18, 20, 25], "table_names": ["course authors and tutors", "students", "subjects", "courses", "student course enrolment", "student tests taken"], "table_names_original": ["course_authors_and_tutors", "students", "subjects", "courses", "student_course_enrolment", "student_tests_taken"]}, {"column_names": [[-1, "*"], [0, "country id"], [0, "country name"], [0, "capital"], [0, "official native language"], [1, "team id"], [1, "name"], [2, "season"], [2, "player"], [2, "position"], [2, "country"], [2, "team"], [2, "draft pick number"], [2, "draft class"], [2, "college"], [3, "player id"], [3, "player"], [3, "years played"], [3, "total wl"], [3, "singles wl"], [3, "doubles wl"], [3, "team"]], "column_names_original": [[-1, "*"], [0, "country_id"], [0, "country_name"], [0, "capital"], [0, "official_native_language"], [1, "team_id"], [1, "name"], [2, "season"], [2, "player"], [2, "position"], [2, "country"], [2, "team"], [2, "draft_pick_number"], [2, "draft_class"], [2, "college"], [3, "player_id"], [3, "player"], [3, "years_played"], [3, "total_wl"], [3, "singles_wl"], [3, "doubles_wl"], [3, "team"]], "column_types": ["text", "number", "text", "text", "text", "number", "text", "number", "text", "text", "number", "number", "number", "text", "text", "number", "text", "text", "text", "text", "text", "number"], "db_id": "match_season", "foreign_keys": [[11, 5], [10, 1], [21, 5]], "primary_keys": [1, 5, 7, 15], "table_names": ["country", "team", "match season", "player"], "table_names_original": ["country", "team", "match_season", "player"]}, {"column_names": [[-1, "*"], [0, "customer id"], [0, "name"], [1, "customer id"], [1, "balance"], [2, "customer id"], [2, "balance"]], "column_names_original": [[-1, "*"], [0, "custid"], [0, "name"], [1, "custid"], [1, "balance"], [2, "custid"], [2, "balance"]], "column_types": ["text", "number", "text", "number", "number", "number", "number"], "db_id": "small_bank_1", "foreign_keys": [[3, 1], [5, 1]], "primary_keys": [1, 3, 5], "table_names": ["accounts", "savings", "checking"], "table_names_original": ["accounts", "savings", "checking"]}, {"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, "id"], [0, "name"], [0, "trade name"], [0, "fda approved"], [1, "id"], [1, "name"], [1, "location"], [1, "product"], [1, "chromosome"], [1, "omim"], [1, "porphyria"], [2, "enzyme id"], [2, "medicine id"], [2, "interaction type"]], "column_names_original": [[-1, "*"], [0, "id"], [0, "name"], [0, "trade_name"], [0, "fda_approved"], [1, "id"], [1, "name"], [1, "location"], [1, "product"], [1, "chromosome"], [1, "omim"], [1, "porphyria"], [2, "enzyme_id"], [2, "medicine_id"], [2, "interaction_type"]], "column_types": ["text", "number", "text", "text", "text", "number", "text", "text", "text", "text", "number", "text", "number", "number", "text"], "db_id": "medicine_enzyme_interaction", "foreign_keys": [[13, 1], [12, 5]], "primary_keys": [1, 5, 12], "table_names": ["medicine", "enzyme", "medicine enzyme interaction"], "table_names_original": ["medicine", "enzyme", "medicine_enzyme_interaction"]}, {"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, "breed code"], [0, "breed name"], [1, "charge id"], [1, "charge type"], [1, "charge amount"], [2, "size code"], [2, "size description"], [3, "treatment type code"], [3, "treatment type description"], [4, "owner id"], [4, "first name"], [4, "last name"], [4, "street"], [4, "city"], [4, "state"], [4, "zip code"], [4, "email address"], [4, "home phone"], [4, "cell number"], [5, "dog id"], [5, "owner id"], [5, "abandoned yes or no"], [5, "breed code"], [5, "size code"], [5, "name"], [5, "age"], [5, "date of birth"], [5, "gender"], [5, "weight"], [5, "date arrived"], [5, "date adopted"], [5, "date departed"], [6, "professional id"], [6, "role code"], [6, "first name"], [6, "street"], [6, "city"], [6, "state"], [6, "zip code"], [6, "last name"], [6, "email address"], [6, "home phone"], [6, "cell number"], [7, "treatment id"], [7, "dog id"], [7, "professional id"], [7, "treatment type code"], [7, "date of treatment"], [7, "cost of treatment"]], "column_names_original": [[-1, "*"], [0, "breed_code"], [0, "breed_name"], [1, "charge_id"], [1, "charge_type"], [1, "charge_amount"], [2, "size_code"], [2, "size_description"], [3, "treatment_type_code"], [3, "treatment_type_description"], [4, "owner_id"], [4, "first_name"], [4, "last_name"], [4, "street"], [4, "city"], [4, "state"], [4, "zip_code"], [4, "email_address"], [4, "home_phone"], [4, "cell_number"], [5, "dog_id"], [5, "owner_id"], [5, "abandoned_yn"], [5, "breed_code"], [5, "size_code"], [5, "name"], [5, "age"], [5, "date_of_birth"], [5, "gender"], [5, "weight"], [5, "date_arrived"], [5, "date_adopted"], [5, "date_departed"], [6, "professional_id"], [6, "role_code"], [6, "first_name"], [6, "street"], [6, "city"], [6, "state"], [6, "zip_code"], [6, "last_name"], [6, "email_address"], [6, "home_phone"], [6, "cell_number"], [7, "treatment_id"], [7, "dog_id"], [7, "professional_id"], [7, "treatment_type_code"], [7, "date_of_treatment"], [7, "cost_of_treatment"]], "column_types": ["text", "text", "text", "number", "text", "number", "text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "text", "number", "number", "text", "text", "text", "text", "text", "time", "text", "text", "time", "time", "time", "number", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "number", "number", "number", "text", "time", "number"], "db_id": "dog_kennels", "foreign_keys": [[21, 10], [21, 10], [24, 6], [23, 1], [45, 20], [46, 33], [47, 8]], "primary_keys": [1, 3, 6, 8, 10, 20, 33, 44], "table_names": ["breeds", "charges", "sizes", "treatment types", "owners", "dogs", "professionals", "treatments"], "table_names_original": ["breeds", "charges", "sizes", "treatment_types", "owners", "dogs", "professionals", "treatments"]}, {"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, "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, "characteristic type code"], [0, "characteristic type description"], [1, "color code"], [1, "color description"], [2, "product category code"], [2, "product category description"], [2, "unit of measure"], [3, "characteristic id"], [3, "characteristic type code"], [3, "characteristic data type"], [3, "characteristic name"], [3, "other characteristic details"], [4, "product id"], [4, "color code"], [4, "product category code"], [4, "product name"], [4, "typical buying price"], [4, "typical selling price"], [4, "product description"], [4, "other product details"], [5, "product id"], [5, "characteristic id"], [5, "product characteristic value"]], "column_names_original": [[-1, "*"], [0, "characteristic_type_code"], [0, "characteristic_type_description"], [1, "color_code"], [1, "color_description"], [2, "product_category_code"], [2, "product_category_description"], [2, "unit_of_measure"], [3, "characteristic_id"], [3, "characteristic_type_code"], [3, "characteristic_data_type"], [3, "characteristic_name"], [3, "other_characteristic_details"], [4, "product_id"], [4, "color_code"], [4, "product_category_code"], [4, "product_name"], [4, "typical_buying_price"], [4, "typical_selling_price"], [4, "product_description"], [4, "other_product_details"], [5, "product_id"], [5, "characteristic_id"], [5, "product_characteristic_value"]], "column_types": ["text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "number", "number", "text"], "db_id": "products_gen_characteristics", "foreign_keys": [[9, 1], [14, 3], [15, 5], [21, 13], [22, 8]], "primary_keys": [1, 3, 5, 8, 13], "table_names": ["reference characteristic types", "reference colors", "reference product categories", "characteristics", "products", "product characteristics"], "table_names_original": ["ref_characteristic_types", "ref_colors", "ref_product_categories", "characteristics", "products", "product_characteristics"]}, {"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"]}]