diff --git "a/train_tables.json" "b/train_tables.json" new file mode 100644--- /dev/null +++ "b/train_tables.json" @@ -0,0 +1,37269 @@ +[ + { + "db_id": "european_football_1", + "table_names_original": [ + "divisions", + "matchs" + ], + "table_names": [ + "divisions", + "matchs" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "division" + ], + [ + 0, + "name" + ], + [ + 0, + "country" + ], + [ + 1, + "Div" + ], + [ + 1, + "Date" + ], + [ + 1, + "HomeTeam" + ], + [ + 1, + "AwayTeam" + ], + [ + 1, + "FTHG" + ], + [ + 1, + "FTAG" + ], + [ + 1, + "FTR" + ], + [ + 1, + "season" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "division" + ], + [ + 0, + "name" + ], + [ + 0, + "country" + ], + [ + 1, + "Division" + ], + [ + 1, + "Date" + ], + [ + 1, + "HomeTeam" + ], + [ + 1, + "AwayTeam" + ], + [ + 1, + "Final-time Home-team Goals" + ], + [ + 1, + "Final-time Away-team Goals" + ], + [ + 1, + "Final-time Results" + ], + [ + 1, + "season" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "date", + "text", + "text", + "integer", + "integer", + "text", + "integer" + ], + "primary_keys": [ + 1 + ], + "foreign_keys": [ + [ + 4, + 1 + ] + ] + }, + { + "db_id": "sales_in_weather", + "table_names_original": [ + "sales_in_weather", + "weather", + "relation" + ], + "table_names": [ + "sales_in_weather", + "weather", + "relation" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "date" + ], + [ + 0, + "store_nbr" + ], + [ + 0, + "item_nbr" + ], + [ + 0, + "units" + ], + [ + 1, + "station_nbr" + ], + [ + 1, + "date" + ], + [ + 1, + "tmax" + ], + [ + 1, + "tmin" + ], + [ + 1, + "tavg" + ], + [ + 1, + "depart" + ], + [ + 1, + "dewpoint" + ], + [ + 1, + "wetbulb" + ], + [ + 1, + "heat" + ], + [ + 1, + "cool" + ], + [ + 1, + "sunrise" + ], + [ + 1, + "sunset" + ], + [ + 1, + "codesum" + ], + [ + 1, + "snowfall" + ], + [ + 1, + "preciptotal" + ], + [ + 1, + "stnpressure" + ], + [ + 1, + "sealevel" + ], + [ + 1, + "resultspeed" + ], + [ + 1, + "resultdir" + ], + [ + 1, + "avgspeed" + ], + [ + 2, + "store_nbr" + ], + [ + 2, + "station_nbr" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "date" + ], + [ + 0, + "store number" + ], + [ + 0, + "item number" + ], + [ + 0, + "units" + ], + [ + 1, + "station number" + ], + [ + 1, + "date" + ], + [ + 1, + "temperature max" + ], + [ + 1, + "temperature min" + ], + [ + 1, + "temperature average" + ], + [ + 1, + "departure from normal" + ], + [ + 1, + "dew point" + ], + [ + 1, + "wet bulb" + ], + [ + 1, + "heat" + ], + [ + 1, + "cool" + ], + [ + 1, + "sunrise" + ], + [ + 1, + "sunset" + ], + [ + 1, + "code summarization" + ], + [ + 1, + "snowfall" + ], + [ + 1, + "preciptotal" + ], + [ + 1, + "station pressure" + ], + [ + 1, + "sea level" + ], + [ + 1, + "resultant speed" + ], + [ + 1, + "resultant direction" + ], + [ + 1, + "average speed" + ], + [ + 2, + "store number" + ], + [ + 2, + "station number" + ] + ], + "column_types": [ + "text", + "date", + "integer", + "integer", + "integer", + "integer", + "date", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "real", + "real", + "real", + "real", + "real", + "integer", + "real", + "integer", + "integer" + ], + "primary_keys": [ + [ + 1, + 2, + 3 + ], + [ + 5, + 6 + ], + 25 + ], + "foreign_keys": [ + [ + 26, + 5 + ], + [ + 25, + 2 + ] + ] + }, + { + "db_id": "craftbeer", + "table_names_original": [ + "breweries", + "beers" + ], + "table_names": [ + "Breweries", + "Beers" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "city" + ], + [ + 0, + "state" + ], + [ + 1, + "id" + ], + [ + 1, + "brewery_id" + ], + [ + 1, + "abv" + ], + [ + 1, + "ibu" + ], + [ + 1, + "name" + ], + [ + 1, + "style" + ], + [ + 1, + "ounces" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "city" + ], + [ + 0, + "state" + ], + [ + 1, + "id" + ], + [ + 1, + "brewery id" + ], + [ + 1, + "alcohol by volume" + ], + [ + 1, + "International Bitterness Units" + ], + [ + 1, + "name" + ], + [ + 1, + "style" + ], + [ + 1, + "ounces" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "real", + "real", + "text", + "text", + "real" + ], + "primary_keys": [ + 1, + 5 + ], + "foreign_keys": [] + }, + { + "db_id": "soccer_2016", + "table_names_original": [ + "Batting_Style", + "Bowling_Style", + "City", + "Country", + "Extra_Type", + "Extra_Runs", + "Out_Type", + "Outcome", + "Player", + "Rolee", + "Season", + "Team", + "Toss_Decision", + "Umpire", + "Venue", + "Win_By", + "Match", + "Ball_by_Ball", + "Batsman_Scored", + "Player_Match", + "Wicket_Taken" + ], + "table_names": [ + "Batting_Style", + "Bowling_Style", + "City", + "Country", + "Extra_Type", + "Extra_Runs", + "Out_Type", + "Outcome", + "Player", + "Rolee", + "Season", + "Team", + "Toss_Decision", + "Umpire", + "Venue", + "Win_By", + "Match", + "Ball_by_Ball", + "Batsman_Scored", + "Player_Match", + "Wicket_Taken" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Batting_Id" + ], + [ + 0, + "Batting_hand" + ], + [ + 1, + "Bowling_Id" + ], + [ + 1, + "Bowling_skill" + ], + [ + 2, + "City_Id" + ], + [ + 2, + "City_Name" + ], + [ + 2, + "Country_id" + ], + [ + 3, + "Country_Id" + ], + [ + 3, + "Country_Name" + ], + [ + 4, + "Extra_Id" + ], + [ + 4, + "Extra_Name" + ], + [ + 5, + "Match_Id" + ], + [ + 5, + "Over_Id" + ], + [ + 5, + "Ball_Id" + ], + [ + 5, + "Extra_Type_Id" + ], + [ + 5, + "Extra_Runs" + ], + [ + 5, + "Innings_No" + ], + [ + 6, + "Out_Id" + ], + [ + 6, + "Out_Name" + ], + [ + 7, + "Outcome_Id" + ], + [ + 7, + "Outcome_Type" + ], + [ + 8, + "Player_Id" + ], + [ + 8, + "Player_Name" + ], + [ + 8, + "DOB" + ], + [ + 8, + "Batting_hand" + ], + [ + 8, + "Bowling_skill" + ], + [ + 8, + "Country_Name" + ], + [ + 9, + "Role_Id" + ], + [ + 9, + "Role_Desc" + ], + [ + 10, + "Season_Id" + ], + [ + 10, + "Man_of_the_Series" + ], + [ + 10, + "Orange_Cap" + ], + [ + 10, + "Purple_Cap" + ], + [ + 10, + "Season_Year" + ], + [ + 11, + "Team_Id" + ], + [ + 11, + "Team_Name" + ], + [ + 12, + "Toss_Id" + ], + [ + 12, + "Toss_Name" + ], + [ + 13, + "Umpire_Id" + ], + [ + 13, + "Umpire_Name" + ], + [ + 13, + "Umpire_Country" + ], + [ + 14, + "Venue_Id" + ], + [ + 14, + "Venue_Name" + ], + [ + 14, + "City_Id" + ], + [ + 15, + "Win_Id" + ], + [ + 15, + "Win_Type" + ], + [ + 16, + "Match_Id" + ], + [ + 16, + "Team_1" + ], + [ + 16, + "Team_2" + ], + [ + 16, + "Match_Date" + ], + [ + 16, + "Season_Id" + ], + [ + 16, + "Venue_Id" + ], + [ + 16, + "Toss_Winner" + ], + [ + 16, + "Toss_Decide" + ], + [ + 16, + "Win_Type" + ], + [ + 16, + "Win_Margin" + ], + [ + 16, + "Outcome_type" + ], + [ + 16, + "Match_Winner" + ], + [ + 16, + "Man_of_the_Match" + ], + [ + 17, + "Match_Id" + ], + [ + 17, + "Over_Id" + ], + [ + 17, + "Ball_Id" + ], + [ + 17, + "Innings_No" + ], + [ + 17, + "Team_Batting" + ], + [ + 17, + "Team_Bowling" + ], + [ + 17, + "Striker_Batting_Position" + ], + [ + 17, + "Striker" + ], + [ + 17, + "Non_Striker" + ], + [ + 17, + "Bowler" + ], + [ + 18, + "Match_Id" + ], + [ + 18, + "Over_Id" + ], + [ + 18, + "Ball_Id" + ], + [ + 18, + "Runs_Scored" + ], + [ + 18, + "Innings_No" + ], + [ + 19, + "Match_Id" + ], + [ + 19, + "Player_Id" + ], + [ + 19, + "Role_Id" + ], + [ + 19, + "Team_Id" + ], + [ + 20, + "Match_Id" + ], + [ + 20, + "Over_Id" + ], + [ + 20, + "Ball_Id" + ], + [ + 20, + "Player_Out" + ], + [ + 20, + "Kind_Out" + ], + [ + 20, + "Fielders" + ], + [ + 20, + "Innings_No" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "batting id" + ], + [ + 0, + "batting hand" + ], + [ + 1, + "bowling id" + ], + [ + 1, + "bowling skill" + ], + [ + 2, + "city id" + ], + [ + 2, + "city name" + ], + [ + 2, + "country id" + ], + [ + 3, + "country id" + ], + [ + 3, + "country name" + ], + [ + 4, + "extra id" + ], + [ + 4, + "extra name" + ], + [ + 5, + "match id" + ], + [ + 5, + "over id" + ], + [ + 5, + "ball id" + ], + [ + 5, + "extra type id" + ], + [ + 5, + "extra runs" + ], + [ + 5, + "innings number" + ], + [ + 6, + "out id" + ], + [ + 6, + "out name" + ], + [ + 7, + "outcome id" + ], + [ + 7, + "outcome type" + ], + [ + 8, + "player id" + ], + [ + 8, + "player name" + ], + [ + 8, + "date of birth" + ], + [ + 8, + "batting hand" + ], + [ + 8, + "bowling skill" + ], + [ + 8, + "country name" + ], + [ + 9, + "role id" + ], + [ + 9, + "role description" + ], + [ + 10, + "season id" + ], + [ + 10, + "man of the series" + ], + [ + 10, + "orange cap" + ], + [ + 10, + "purple cap" + ], + [ + 10, + "season year" + ], + [ + 11, + "team id" + ], + [ + 11, + "team name" + ], + [ + 12, + "toss id" + ], + [ + 12, + "toss name" + ], + [ + 13, + "umpire id" + ], + [ + 13, + "umpire name" + ], + [ + 13, + "umpire country" + ], + [ + 14, + "venue id" + ], + [ + 14, + "venue name" + ], + [ + 14, + "city id" + ], + [ + 15, + "winning id" + ], + [ + 15, + "winning type" + ], + [ + 16, + "Match_Id" + ], + [ + 16, + "team 1" + ], + [ + 16, + "team 2" + ], + [ + 16, + "match date" + ], + [ + 16, + "season id" + ], + [ + 16, + "venue id" + ], + [ + 16, + "toss winner" + ], + [ + 16, + "toss decide" + ], + [ + 16, + "winning type" + ], + [ + 16, + "winning margin" + ], + [ + 16, + "outcome type" + ], + [ + 16, + "match winner" + ], + [ + 16, + "man of the match" + ], + [ + 17, + "match id" + ], + [ + 17, + "over id" + ], + [ + 17, + "ball id" + ], + [ + 17, + "innings number" + ], + [ + 17, + "team batting" + ], + [ + 17, + "team bowling" + ], + [ + 17, + "striker batting position" + ], + [ + 17, + "Striker" + ], + [ + 17, + "non striker" + ], + [ + 17, + "Bowler" + ], + [ + 18, + "match id" + ], + [ + 18, + "over id" + ], + [ + 18, + "ball id" + ], + [ + 18, + "runs scored" + ], + [ + 18, + "innings number" + ], + [ + 19, + "match id" + ], + [ + 19, + "player id" + ], + [ + 19, + "role id" + ], + [ + 19, + "team id" + ], + [ + 20, + "match id" + ], + [ + 20, + "over id" + ], + [ + 20, + "ball id" + ], + [ + 20, + "player out" + ], + [ + 20, + "kind out" + ], + [ + 20, + "Fielders" + ], + [ + 20, + "innings number" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "date", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "date", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 3, + 5, + 8, + 10, + [ + 12, + 13, + 14, + 17 + ], + 18, + 20, + 22, + 28, + 30, + 35, + 37, + 39, + 42, + 45, + 47, + [ + 60, + 61, + 62, + 63 + ], + [ + 70, + 71, + 72, + 74 + ], + [ + 75, + 76, + 77 + ], + [ + 79, + 80, + 81, + 85 + ] + ], + "foreign_keys": [ + [ + 15, + 10 + ], + [ + 27, + 8 + ], + [ + 26, + 3 + ], + [ + 25, + 1 + ], + [ + 41, + 8 + ], + [ + 44, + 5 + ], + [ + 59, + 22 + ], + [ + 58, + 35 + ], + [ + 57, + 18 + ], + [ + 55, + 45 + ], + [ + 54, + 37 + ], + [ + 53, + 35 + ], + [ + 52, + 42 + ], + [ + 51, + 30 + ], + [ + 49, + 35 + ], + [ + 48, + 35 + ], + [ + 60, + 47 + ], + [ + 70, + 47 + ], + [ + 77, + 28 + ], + [ + 78, + 35 + ], + [ + 76, + 22 + ], + [ + 75, + 47 + ], + [ + 84, + 22 + ], + [ + 83, + 18 + ], + [ + 82, + 22 + ], + [ + 79, + 47 + ] + ] + }, + { + "db_id": "restaurant", + "table_names_original": [ + "geographic", + "generalinfo", + "location" + ], + "table_names": [ + "geographic", + "generalinfo", + "location" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "city" + ], + [ + 0, + "county" + ], + [ + 0, + "region" + ], + [ + 1, + "id_restaurant" + ], + [ + 1, + "label" + ], + [ + 1, + "food_type" + ], + [ + 1, + "city" + ], + [ + 1, + "review" + ], + [ + 2, + "id_restaurant" + ], + [ + 2, + "street_num" + ], + [ + 2, + "street_name" + ], + [ + 2, + "city" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "city" + ], + [ + 0, + "country" + ], + [ + 0, + "region" + ], + [ + 1, + "id restaurant" + ], + [ + 1, + "label" + ], + [ + 1, + "food type" + ], + [ + 1, + "city" + ], + [ + 1, + "review" + ], + [ + 2, + "id restaurant" + ], + [ + 2, + "street number" + ], + [ + 2, + "street name" + ], + [ + 2, + "city" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "real", + "integer", + "integer", + "text", + "text" + ], + "primary_keys": [ + 1, + 4, + 9 + ], + "foreign_keys": [ + [ + 7, + 1 + ], + [ + 9, + 4 + ], + [ + 12, + 1 + ] + ] + }, + { + "db_id": "movie", + "table_names_original": [ + "actor", + "movie", + "characters" + ], + "table_names": [ + "actor", + "movie", + "characters" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "ActorID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Date of Birth" + ], + [ + 0, + "Birth City" + ], + [ + 0, + "Birth Country" + ], + [ + 0, + "Height (Inches)" + ], + [ + 0, + "Biography" + ], + [ + 0, + "Gender" + ], + [ + 0, + "Ethnicity" + ], + [ + 0, + "NetWorth" + ], + [ + 1, + "MovieID" + ], + [ + 1, + "Title" + ], + [ + 1, + "MPAA Rating" + ], + [ + 1, + "Budget" + ], + [ + 1, + "Gross" + ], + [ + 1, + "Release Date" + ], + [ + 1, + "Genre" + ], + [ + 1, + "Runtime" + ], + [ + 1, + "Rating" + ], + [ + 1, + "Rating Count" + ], + [ + 1, + "Summary" + ], + [ + 2, + "MovieID" + ], + [ + 2, + "ActorID" + ], + [ + 2, + "Character Name" + ], + [ + 2, + "creditOrder" + ], + [ + 2, + "pay" + ], + [ + 2, + "screentime" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "actor id" + ], + [ + 0, + "Name" + ], + [ + 0, + "date of birth" + ], + [ + 0, + "birth city" + ], + [ + 0, + "birth country" + ], + [ + 0, + "height inches" + ], + [ + 0, + "Biography" + ], + [ + 0, + "Gender" + ], + [ + 0, + "Ethnicity" + ], + [ + 0, + "NetWorth" + ], + [ + 1, + "movie id" + ], + [ + 1, + "Title" + ], + [ + 1, + "motion picture association of america rating" + ], + [ + 1, + "Budget" + ], + [ + 1, + "Gross" + ], + [ + 1, + "Release Date" + ], + [ + 1, + "Genre" + ], + [ + 1, + "Runtime" + ], + [ + 1, + "Rating" + ], + [ + 1, + "rating count" + ], + [ + 1, + "Summary" + ], + [ + 2, + "movie id" + ], + [ + 2, + "actor id" + ], + [ + 2, + "character name" + ], + [ + 2, + "credit order" + ], + [ + 2, + "pay" + ], + [ + 2, + "screentime" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "date", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "text", + "text", + "integer", + "real", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "text", + "text" + ], + "primary_keys": [ + 1, + 11, + [ + 22, + 23 + ] + ], + "foreign_keys": [ + [ + 22, + 11 + ], + [ + 23, + 1 + ] + ] + }, + { + "db_id": "olympics", + "table_names_original": [ + "city", + "games", + "games_city", + "medal", + "noc_region", + "person", + "games_competitor", + "person_region", + "sport", + "event", + "competitor_event" + ], + "table_names": [ + "city", + "games", + "games_city", + "medal", + "noc_region", + "person", + "games_competitor", + "person_region", + "sport", + "event", + "competitor_event" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "city_name" + ], + [ + 1, + "id" + ], + [ + 1, + "games_year" + ], + [ + 1, + "games_name" + ], + [ + 1, + "season" + ], + [ + 2, + "games_id" + ], + [ + 2, + "city_id" + ], + [ + 3, + "id" + ], + [ + 3, + "medal_name" + ], + [ + 4, + "id" + ], + [ + 4, + "noc" + ], + [ + 4, + "region_name" + ], + [ + 5, + "id" + ], + [ + 5, + "full_name" + ], + [ + 5, + "gender" + ], + [ + 5, + "height" + ], + [ + 5, + "weight" + ], + [ + 6, + "id" + ], + [ + 6, + "games_id" + ], + [ + 6, + "person_id" + ], + [ + 6, + "age" + ], + [ + 7, + "person_id" + ], + [ + 7, + "region_id" + ], + [ + 8, + "id" + ], + [ + 8, + "sport_name" + ], + [ + 9, + "id" + ], + [ + 9, + "sport_id" + ], + [ + 9, + "event_name" + ], + [ + 10, + "event_id" + ], + [ + 10, + "competitor_id" + ], + [ + 10, + "medal_id" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "city name" + ], + [ + 1, + "id" + ], + [ + 1, + "games year" + ], + [ + 1, + "games name" + ], + [ + 1, + "season" + ], + [ + 2, + "games id" + ], + [ + 2, + "city id" + ], + [ + 3, + "id" + ], + [ + 3, + "medal name" + ], + [ + 4, + "id" + ], + [ + 4, + "noc" + ], + [ + 4, + "region name" + ], + [ + 5, + "id" + ], + [ + 5, + "full name" + ], + [ + 5, + "gender" + ], + [ + 5, + "height" + ], + [ + 5, + "weight" + ], + [ + 6, + "id" + ], + [ + 6, + "games id" + ], + [ + 6, + "person id" + ], + [ + 6, + "age" + ], + [ + 7, + "person_id" + ], + [ + 7, + "region_id" + ], + [ + 8, + "id" + ], + [ + 8, + "sport name" + ], + [ + 9, + "id" + ], + [ + 9, + "sport id" + ], + [ + 9, + "event name" + ], + [ + 10, + "event id" + ], + [ + 10, + "competitor id" + ], + [ + 10, + "medal id" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 3, + 9, + 11, + 14, + 19, + 25, + 27 + ], + "foreign_keys": [ + [ + 7, + 3 + ], + [ + 8, + 1 + ], + [ + 21, + 14 + ], + [ + 20, + 3 + ], + [ + 24, + 11 + ], + [ + 23, + 14 + ], + [ + 28, + 25 + ], + [ + 32, + 9 + ], + [ + 30, + 27 + ], + [ + 31, + 19 + ] + ] + }, + { + "db_id": "language_corpus", + "table_names_original": [ + "langs", + "pages", + "words", + "langs_words", + "pages_words", + "biwords" + ], + "table_names": [ + "langs", + "pages", + "words", + "langs_words", + "pages_words", + "biwords" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "lid" + ], + [ + 0, + "lang" + ], + [ + 0, + "locale" + ], + [ + 0, + "pages" + ], + [ + 0, + "words" + ], + [ + 1, + "pid" + ], + [ + 1, + "lid" + ], + [ + 1, + "page" + ], + [ + 1, + "revision" + ], + [ + 1, + "title" + ], + [ + 1, + "words" + ], + [ + 2, + "wid" + ], + [ + 2, + "word" + ], + [ + 2, + "occurrences" + ], + [ + 3, + "lid" + ], + [ + 3, + "wid" + ], + [ + 3, + "occurrences" + ], + [ + 4, + "pid" + ], + [ + 4, + "wid" + ], + [ + 4, + "occurrences" + ], + [ + 5, + "lid" + ], + [ + 5, + "w1st" + ], + [ + 5, + "w2nd" + ], + [ + 5, + "occurrences" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "language id" + ], + [ + 0, + "language" + ], + [ + 0, + "locale" + ], + [ + 0, + "pages" + ], + [ + 0, + "words" + ], + [ + 1, + "page id" + ], + [ + 1, + "language id" + ], + [ + 1, + "page" + ], + [ + 1, + "revision" + ], + [ + 1, + "title" + ], + [ + 1, + "words" + ], + [ + 2, + "word id" + ], + [ + 2, + "word" + ], + [ + 2, + "occurrences" + ], + [ + 3, + "language id" + ], + [ + 3, + "word id" + ], + [ + 3, + "occurrences" + ], + [ + 4, + "page id" + ], + [ + 4, + "word id" + ], + [ + 4, + "occurrences" + ], + [ + 5, + "language id" + ], + [ + 5, + "word id of the first word" + ], + [ + 5, + "word id of the second word" + ], + [ + 5, + "occurrences" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 6, + 12, + [ + 15, + 16 + ], + [ + 18, + 19 + ], + [ + 21, + 22, + 23 + ] + ], + "foreign_keys": [ + [ + 7, + 1 + ], + [ + 16, + 12 + ], + [ + 15, + 1 + ], + [ + 19, + 12 + ], + [ + 18, + 6 + ], + [ + 23, + 12 + ], + [ + 22, + 12 + ], + [ + 21, + 1 + ] + ] + }, + { + "db_id": "app_store", + "table_names_original": [ + "playstore", + "user_reviews" + ], + "table_names": [ + "googleplaystore", + "googleplaystore_user_reviews" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "App" + ], + [ + 0, + "Category" + ], + [ + 0, + "Rating" + ], + [ + 0, + "Reviews" + ], + [ + 0, + "Size" + ], + [ + 0, + "Installs" + ], + [ + 0, + "Type" + ], + [ + 0, + "Price" + ], + [ + 0, + "Content Rating" + ], + [ + 0, + "Genres" + ], + [ + 1, + "App" + ], + [ + 1, + "Translated_Review" + ], + [ + 1, + "Sentiment" + ], + [ + 1, + "Sentiment_Polarity" + ], + [ + 1, + "Sentiment_Subjectivity" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "App" + ], + [ + 0, + "Category" + ], + [ + 0, + "Rating" + ], + [ + 0, + "Reviews" + ], + [ + 0, + "Size" + ], + [ + 0, + "Installs" + ], + [ + 0, + "Type" + ], + [ + 0, + "Price" + ], + [ + 0, + "Content Rating" + ], + [ + 0, + "Genres" + ], + [ + 1, + "App" + ], + [ + 1, + "Translated_Review" + ], + [ + 1, + "Sentiment" + ], + [ + 1, + "Sentiment Polarity" + ], + [ + 1, + "Sentiment Subjectivity" + ] + ], + "column_types": [ + "text", + "text", + "text", + "real", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text" + ], + "primary_keys": [], + "foreign_keys": [ + [ + 11, + 1 + ] + ] + }, + { + "db_id": "sales", + "table_names_original": [ + "Customers", + "Employees", + "Products", + "Sales" + ], + "table_names": [ + "Customers", + "Employees", + "Products", + "Sales" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "CustomerID" + ], + [ + 0, + "FirstName" + ], + [ + 0, + "MiddleInitial" + ], + [ + 0, + "LastName" + ], + [ + 1, + "EmployeeID" + ], + [ + 1, + "FirstName" + ], + [ + 1, + "MiddleInitial" + ], + [ + 1, + "LastName" + ], + [ + 2, + "ProductID" + ], + [ + 2, + "Name" + ], + [ + 2, + "Price" + ], + [ + 3, + "SalesID" + ], + [ + 3, + "SalesPersonID" + ], + [ + 3, + "CustomerID" + ], + [ + 3, + "ProductID" + ], + [ + 3, + "Quantity" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "Customer ID" + ], + [ + 0, + "First Name" + ], + [ + 0, + "Middle Initial" + ], + [ + 0, + "Last Name" + ], + [ + 1, + "Employee ID" + ], + [ + 1, + "First Name" + ], + [ + 1, + "Middle Initial" + ], + [ + 1, + "Last Name" + ], + [ + 2, + "Product ID" + ], + [ + 2, + "Name" + ], + [ + 2, + "Price" + ], + [ + 3, + "Sales ID" + ], + [ + 3, + "SalesPerson ID" + ], + [ + 3, + "Customer ID" + ], + [ + 3, + "Product ID" + ], + [ + 3, + "Quantity" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "integer", + "text", + "real", + "integer", + "integer", + "integer", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 5, + 9, + 12 + ], + "foreign_keys": [ + [ + 15, + 9 + ], + [ + 14, + 1 + ], + [ + 13, + 5 + ] + ] + }, + { + "db_id": "video_games", + "table_names_original": [ + "genre", + "game", + "platform", + "publisher", + "game_publisher", + "game_platform", + "region", + "region_sales" + ], + "table_names": [ + "genre", + "game", + "platform", + "publisher", + "game_publisher", + "game_platform", + "region", + "region_sales" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "genre_name" + ], + [ + 1, + "id" + ], + [ + 1, + "genre_id" + ], + [ + 1, + "game_name" + ], + [ + 2, + "id" + ], + [ + 2, + "platform_name" + ], + [ + 3, + "id" + ], + [ + 3, + "publisher_name" + ], + [ + 4, + "id" + ], + [ + 4, + "game_id" + ], + [ + 4, + "publisher_id" + ], + [ + 5, + "id" + ], + [ + 5, + "game_publisher_id" + ], + [ + 5, + "platform_id" + ], + [ + 5, + "release_year" + ], + [ + 6, + "id" + ], + [ + 6, + "region_name" + ], + [ + 7, + "region_id" + ], + [ + 7, + "game_platform_id" + ], + [ + 7, + "num_sales" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "genre_name" + ], + [ + 1, + "id" + ], + [ + 1, + "genre id" + ], + [ + 1, + "game name" + ], + [ + 2, + "id" + ], + [ + 2, + "platform_name" + ], + [ + 3, + "id" + ], + [ + 3, + "publisher_name" + ], + [ + 4, + "id" + ], + [ + 4, + "game id" + ], + [ + 4, + "publisher id" + ], + [ + 5, + "id" + ], + [ + 5, + "game publisher id" + ], + [ + 5, + "platform id" + ], + [ + 5, + "release year" + ], + [ + 6, + "id" + ], + [ + 6, + "region_name" + ], + [ + 7, + "region_id" + ], + [ + 7, + "game platform id" + ], + [ + 7, + "number sales" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "real" + ], + "primary_keys": [ + 1, + 3, + 6, + 8, + 10, + 13, + 17 + ], + "foreign_keys": [ + [ + 4, + 1 + ], + [ + 12, + 8 + ], + [ + 11, + 3 + ], + [ + 15, + 6 + ], + [ + 14, + 10 + ], + [ + 19, + 17 + ], + [ + 20, + 13 + ] + ] + }, + { + "db_id": "image_and_language", + "table_names_original": [ + "ATT_CLASSES", + "OBJ_CLASSES", + "IMG_OBJ", + "IMG_OBJ_ATT", + "PRED_CLASSES", + "IMG_REL" + ], + "table_names": [ + "ATT_CLASSES", + "OBJ_CLASSES", + "IMG_OBJ", + "IMG_OBJ_ATT", + "PRED_CLASSES", + "IMG_REL" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "ATT_CLASS_ID" + ], + [ + 0, + "ATT_CLASS" + ], + [ + 1, + "OBJ_CLASS_ID" + ], + [ + 1, + "OBJ_CLASS" + ], + [ + 2, + "IMG_ID" + ], + [ + 2, + "OBJ_SAMPLE_ID" + ], + [ + 2, + "OBJ_CLASS_ID" + ], + [ + 2, + "X" + ], + [ + 2, + "Y" + ], + [ + 2, + "W" + ], + [ + 2, + "H" + ], + [ + 3, + "IMG_ID" + ], + [ + 3, + "ATT_CLASS_ID" + ], + [ + 3, + "OBJ_SAMPLE_ID" + ], + [ + 4, + "PRED_CLASS_ID" + ], + [ + 4, + "PRED_CLASS" + ], + [ + 5, + "IMG_ID" + ], + [ + 5, + "PRED_CLASS_ID" + ], + [ + 5, + "OBJ1_SAMPLE_ID" + ], + [ + 5, + "OBJ2_SAMPLE_ID" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "ATTRIBUTE CLASS ID" + ], + [ + 0, + "ATTRIBUTE CLASS" + ], + [ + 1, + "OBJECT CLASS ID" + ], + [ + 1, + "OBJECT CLASS" + ], + [ + 2, + "IMAGE ID" + ], + [ + 2, + "OBJECT SAMPLE ID" + ], + [ + 2, + "OBJECT CLASS ID" + ], + [ + 2, + "X" + ], + [ + 2, + "Y" + ], + [ + 2, + "W" + ], + [ + 2, + "H" + ], + [ + 3, + "IMAGE ID" + ], + [ + 3, + "ATTRIBUTE CLASS ID" + ], + [ + 3, + "OBJECT SAMPLE ID" + ], + [ + 4, + "PREDICTION CLASS ID" + ], + [ + 4, + "PREDICTION CLASS" + ], + [ + 5, + "IMAGE ID" + ], + [ + 5, + "PREDICTION CLASS ID" + ], + [ + 5, + "OBJECT1 SAMPLE ID" + ], + [ + 5, + "OBJECT2 SAMPLE ID" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 3, + [ + 5, + 6 + ], + [ + 12, + 13, + 14 + ], + 15, + [ + 17, + 18, + 19, + 20 + ] + ], + "foreign_keys": [ + [ + 7, + 3 + ], + [ + 12, + 5 + ], + [ + 14, + 6 + ], + [ + 13, + 1 + ], + [ + 17, + 5 + ], + [ + 20, + 6 + ], + [ + 17, + 5 + ], + [ + 19, + 6 + ], + [ + 18, + 15 + ] + ] + }, + { + "db_id": "software_company", + "table_names_original": [ + "Demog", + "mailings3", + "Customers", + "Mailings1_2", + "Sales" + ], + "table_names": [ + "Demog", + "mailings3", + "Customers", + "Mailings1_2", + "Sales" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "GEOID" + ], + [ + 0, + "INHABITANTS_K" + ], + [ + 0, + "INCOME_K" + ], + [ + 0, + "A_VAR1" + ], + [ + 0, + "A_VAR2" + ], + [ + 0, + "A_VAR3" + ], + [ + 0, + "A_VAR4" + ], + [ + 0, + "A_VAR5" + ], + [ + 0, + "A_VAR6" + ], + [ + 0, + "A_VAR7" + ], + [ + 0, + "A_VAR8" + ], + [ + 0, + "A_VAR9" + ], + [ + 0, + "A_VAR10" + ], + [ + 0, + "A_VAR11" + ], + [ + 0, + "A_VAR12" + ], + [ + 0, + "A_VAR13" + ], + [ + 0, + "A_VAR14" + ], + [ + 0, + "A_VAR15" + ], + [ + 0, + "A_VAR16" + ], + [ + 0, + "A_VAR17" + ], + [ + 0, + "A_VAR18" + ], + [ + 1, + "REFID" + ], + [ + 1, + "REF_DATE" + ], + [ + 1, + "RESPONSE" + ], + [ + 2, + "ID" + ], + [ + 2, + "SEX" + ], + [ + 2, + "MARITAL_STATUS" + ], + [ + 2, + "GEOID" + ], + [ + 2, + "EDUCATIONNUM" + ], + [ + 2, + "OCCUPATION" + ], + [ + 2, + "age" + ], + [ + 3, + "REFID" + ], + [ + 3, + "REF_DATE" + ], + [ + 3, + "RESPONSE" + ], + [ + 4, + "EVENTID" + ], + [ + 4, + "REFID" + ], + [ + 4, + "EVENT_DATE" + ], + [ + 4, + "AMOUNT" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "GEOGRAPHIC ID" + ], + [ + 0, + "INHABITANTS (THOUSANDS)" + ], + [ + 0, + "INCOME (THOUSANDS)" + ], + [ + 0, + "A_VAR1" + ], + [ + 0, + "A_VAR2" + ], + [ + 0, + "A_VAR3" + ], + [ + 0, + "A_VAR4" + ], + [ + 0, + "A_VAR5" + ], + [ + 0, + "A_VAR6" + ], + [ + 0, + "A_VAR7" + ], + [ + 0, + "A_VAR8" + ], + [ + 0, + "A_VAR9" + ], + [ + 0, + "A_VAR10" + ], + [ + 0, + "A_VAR11" + ], + [ + 0, + "A_VAR12" + ], + [ + 0, + "A_VAR13" + ], + [ + 0, + "A_VAR14" + ], + [ + 0, + "A_VAR15" + ], + [ + 0, + "A_VAR16" + ], + [ + 0, + "A_VAR17" + ], + [ + 0, + "A_VAR18" + ], + [ + 1, + "REFERENCE ID" + ], + [ + 1, + "REFERENCE DATE" + ], + [ + 1, + "RESPONSE" + ], + [ + 2, + "ID" + ], + [ + 2, + "SEX" + ], + [ + 2, + "MARITAL STATUS" + ], + [ + 2, + "GEOGRAPHIC ID" + ], + [ + 2, + "EDUCATION NUMBER" + ], + [ + 2, + "OCCUPATION" + ], + [ + 2, + "age" + ], + [ + 3, + "REFERENCE ID" + ], + [ + 3, + "REFERENCE DATE" + ], + [ + 3, + "RESPONSE" + ], + [ + 4, + "EVENT ID" + ], + [ + 4, + "REFERENCE ID" + ], + [ + 4, + "EVENT DATE" + ], + [ + 4, + "AMOUNT" + ] + ], + "column_types": [ + "text", + "integer", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "integer", + "datetime", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "datetime", + "text", + "integer", + "integer", + "datetime", + "real" + ], + "primary_keys": [ + 1, + 22, + 25, + 32, + 35 + ], + "foreign_keys": [] + }, + { + "db_id": "authors", + "table_names_original": [ + "Author", + "Conference", + "Journal", + "Paper", + "PaperAuthor" + ], + "table_names": [ + "Author", + "Conference", + "Journal", + "Paper", + "PaperAuthor" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Id" + ], + [ + 0, + "Name" + ], + [ + 0, + "Affiliation" + ], + [ + 1, + "Id" + ], + [ + 1, + "ShortName" + ], + [ + 1, + "FullName" + ], + [ + 1, + "HomePage" + ], + [ + 2, + "Id" + ], + [ + 2, + "ShortName" + ], + [ + 2, + "FullName" + ], + [ + 2, + "HomePage" + ], + [ + 3, + "Id" + ], + [ + 3, + "Title" + ], + [ + 3, + "Year" + ], + [ + 3, + "ConferenceId" + ], + [ + 3, + "JournalId" + ], + [ + 3, + "Keyword" + ], + [ + 4, + "PaperId" + ], + [ + 4, + "AuthorId" + ], + [ + 4, + "Name" + ], + [ + 4, + "Affiliation" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "Id" + ], + [ + 0, + "Name" + ], + [ + 0, + "Affiliation" + ], + [ + 1, + "Id" + ], + [ + 1, + "ShortName" + ], + [ + 1, + "FullName" + ], + [ + 1, + "HomePage" + ], + [ + 2, + "Id" + ], + [ + 2, + "ShortName" + ], + [ + 2, + "FullName" + ], + [ + 2, + "HomePage" + ], + [ + 3, + "Id" + ], + [ + 3, + "Title" + ], + [ + 3, + "Year" + ], + [ + 3, + "ConferenceId" + ], + [ + 3, + "JournalId" + ], + [ + 3, + "Keyword" + ], + [ + 4, + "PaperId" + ], + [ + 4, + "AuthorId" + ], + [ + 4, + "Name" + ], + [ + 4, + "Affiliation" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "integer", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "text" + ], + "primary_keys": [ + 1, + 4, + 8, + 12 + ], + "foreign_keys": [ + [ + 16, + 8 + ], + [ + 15, + 4 + ], + [ + 19, + 1 + ], + [ + 18, + 12 + ] + ] + }, + { + "db_id": "movies_4", + "table_names_original": [ + "country", + "department", + "gender", + "genre", + "keyword", + "language", + "language_role", + "movie", + "movie_genres", + "movie_languages", + "person", + "movie_crew", + "production_company", + "production_country", + "movie_cast", + "movie_keywords", + "movie_company" + ], + "table_names": [ + "country", + "department", + "gender", + "genre", + "keyword", + "language", + "language_role", + "movie", + "movie_genres", + "movie_languages", + "person", + "movie_crew", + "production_company", + "production_country", + "movie_cast", + "movie_keywords", + "movie_company" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "country_id" + ], + [ + 0, + "country_iso_code" + ], + [ + 0, + "country_name" + ], + [ + 1, + "department_id" + ], + [ + 1, + "department_name" + ], + [ + 2, + "gender_id" + ], + [ + 2, + "gender" + ], + [ + 3, + "genre_id" + ], + [ + 3, + "genre_name" + ], + [ + 4, + "keyword_id" + ], + [ + 4, + "keyword_name" + ], + [ + 5, + "language_id" + ], + [ + 5, + "language_code" + ], + [ + 5, + "language_name" + ], + [ + 6, + "role_id" + ], + [ + 6, + "language_role" + ], + [ + 7, + "movie_id" + ], + [ + 7, + "title" + ], + [ + 7, + "budget" + ], + [ + 7, + "homepage" + ], + [ + 7, + "overview" + ], + [ + 7, + "popularity" + ], + [ + 7, + "release_date" + ], + [ + 7, + "revenue" + ], + [ + 7, + "runtime" + ], + [ + 7, + "movie_status" + ], + [ + 7, + "tagline" + ], + [ + 7, + "vote_average" + ], + [ + 7, + "vote_count" + ], + [ + 8, + "movie_id" + ], + [ + 8, + "genre_id" + ], + [ + 9, + "movie_id" + ], + [ + 9, + "language_id" + ], + [ + 9, + "language_role_id" + ], + [ + 10, + "person_id" + ], + [ + 10, + "person_name" + ], + [ + 11, + "movie_id" + ], + [ + 11, + "person_id" + ], + [ + 11, + "department_id" + ], + [ + 11, + "job" + ], + [ + 12, + "company_id" + ], + [ + 12, + "company_name" + ], + [ + 13, + "movie_id" + ], + [ + 13, + "country_id" + ], + [ + 14, + "movie_id" + ], + [ + 14, + "person_id" + ], + [ + 14, + "character_name" + ], + [ + 14, + "gender_id" + ], + [ + 14, + "cast_order" + ], + [ + 15, + "movie_id" + ], + [ + 15, + "keyword_id" + ], + [ + 16, + "movie_id" + ], + [ + 16, + "company_id" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "country id" + ], + [ + 0, + "country iso code" + ], + [ + 0, + "country name" + ], + [ + 1, + "department id" + ], + [ + 1, + "department name" + ], + [ + 2, + "gender id" + ], + [ + 2, + "gender" + ], + [ + 3, + "genre id" + ], + [ + 3, + "genre_name" + ], + [ + 4, + "keyword id" + ], + [ + 4, + "keyword name" + ], + [ + 5, + "language id" + ], + [ + 5, + "language code" + ], + [ + 5, + "language name" + ], + [ + 6, + "role id" + ], + [ + 6, + "language role" + ], + [ + 7, + "movie id" + ], + [ + 7, + "title" + ], + [ + 7, + "budget" + ], + [ + 7, + "homepage" + ], + [ + 7, + "overview" + ], + [ + 7, + "popularity" + ], + [ + 7, + "release date" + ], + [ + 7, + "revenue" + ], + [ + 7, + "runtime" + ], + [ + 7, + "movie_status" + ], + [ + 7, + "tagline" + ], + [ + 7, + "vote average" + ], + [ + 7, + "vote count" + ], + [ + 8, + "movie id" + ], + [ + 8, + "genre id" + ], + [ + 9, + "movie id" + ], + [ + 9, + "language id" + ], + [ + 9, + "language role id" + ], + [ + 10, + "person id" + ], + [ + 10, + "person name" + ], + [ + 11, + "movie id" + ], + [ + 11, + "person id" + ], + [ + 11, + "department id" + ], + [ + 11, + "job" + ], + [ + 12, + "company id" + ], + [ + 12, + "company name" + ], + [ + 13, + "mivie id" + ], + [ + 13, + "country id" + ], + [ + 14, + "movie id" + ], + [ + 14, + "person id" + ], + [ + 14, + "character name" + ], + [ + 14, + "gender id" + ], + [ + 14, + "cast order" + ], + [ + 15, + "movie id" + ], + [ + 15, + "keyword id" + ], + [ + 16, + "movie id" + ], + [ + 16, + "company id" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "text", + "real", + "date", + "integer", + "integer", + "text", + "text", + "real", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 4, + 6, + 8, + 10, + 12, + 15, + 17, + 35, + 41 + ], + "foreign_keys": [ + [ + 30, + 17 + ], + [ + 31, + 8 + ], + [ + 34, + 15 + ], + [ + 32, + 17 + ], + [ + 33, + 12 + ], + [ + 38, + 35 + ], + [ + 37, + 17 + ], + [ + 39, + 4 + ], + [ + 43, + 17 + ], + [ + 44, + 1 + ], + [ + 46, + 35 + ], + [ + 45, + 17 + ], + [ + 48, + 6 + ] + ] + }, + { + "db_id": "social_media", + "table_names_original": [ + "location", + "user", + "twitter" + ], + "table_names": [ + "location", + "user", + "twitter" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "LocationID" + ], + [ + 0, + "Country" + ], + [ + 0, + "State" + ], + [ + 0, + "StateCode" + ], + [ + 0, + "City" + ], + [ + 1, + "UserID" + ], + [ + 1, + "Gender" + ], + [ + 2, + "TweetID" + ], + [ + 2, + "Weekday" + ], + [ + 2, + "Hour" + ], + [ + 2, + "Day" + ], + [ + 2, + "Lang" + ], + [ + 2, + "IsReshare" + ], + [ + 2, + "Reach" + ], + [ + 2, + "RetweetCount" + ], + [ + 2, + "Likes" + ], + [ + 2, + "Klout" + ], + [ + 2, + "Sentiment" + ], + [ + 2, + "text" + ], + [ + 2, + "LocationID" + ], + [ + 2, + "UserID" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "location id" + ], + [ + 0, + "Country" + ], + [ + 0, + "State" + ], + [ + 0, + "state code" + ], + [ + 0, + "City" + ], + [ + 1, + "user id" + ], + [ + 1, + "Gender" + ], + [ + 2, + "tweet id" + ], + [ + 2, + "Weekday" + ], + [ + 2, + "Hour" + ], + [ + 2, + "Day" + ], + [ + 2, + "language" + ], + [ + 2, + "is reshare" + ], + [ + 2, + "Reach" + ], + [ + 2, + "retweet count" + ], + [ + 2, + "Likes" + ], + [ + 2, + "Klout" + ], + [ + 2, + "Sentiment" + ], + [ + 2, + "text" + ], + [ + 2, + "location id" + ], + [ + 2, + "user id" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "real", + "text", + "integer", + "text" + ], + "primary_keys": [ + 1, + 6, + 8 + ], + "foreign_keys": [ + [ + 21, + 6 + ], + [ + 20, + 1 + ] + ] + }, + { + "db_id": "human_resources", + "table_names_original": [ + "location", + "position", + "employee" + ], + "table_names": [ + "location", + "position", + "employee" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "locationID" + ], + [ + 0, + "locationcity" + ], + [ + 0, + "address" + ], + [ + 0, + "state" + ], + [ + 0, + "zipcode" + ], + [ + 0, + "officephone" + ], + [ + 1, + "positionID" + ], + [ + 1, + "positiontitle" + ], + [ + 1, + "educationrequired" + ], + [ + 1, + "minsalary" + ], + [ + 1, + "maxsalary" + ], + [ + 2, + "ssn" + ], + [ + 2, + "lastname" + ], + [ + 2, + "firstname" + ], + [ + 2, + "hiredate" + ], + [ + 2, + "salary" + ], + [ + 2, + "gender" + ], + [ + 2, + "performance" + ], + [ + 2, + "positionID" + ], + [ + 2, + "locationID" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "location id" + ], + [ + 0, + "location city" + ], + [ + 0, + "address" + ], + [ + 0, + "state" + ], + [ + 0, + "zip code" + ], + [ + 0, + "office phone" + ], + [ + 1, + "position id" + ], + [ + 1, + "position title" + ], + [ + 1, + "education required" + ], + [ + 1, + "minimum salary" + ], + [ + 1, + "maximum salary" + ], + [ + 2, + "social security number" + ], + [ + 2, + "last name" + ], + [ + 2, + "first name" + ], + [ + 2, + "hire date" + ], + [ + 2, + "salary" + ], + [ + 2, + "gender" + ], + [ + 2, + "performance" + ], + [ + 2, + "position id" + ], + [ + 2, + "location id" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "integer", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 7, + 12 + ], + "foreign_keys": [ + [ + 19, + 7 + ], + [ + 20, + 1 + ] + ] + }, + { + "db_id": "regional_sales", + "table_names_original": [ + "Customers", + "Products", + "Regions", + "Sales Team", + "Store Locations", + "Sales Orders" + ], + "table_names": [ + "Customers", + "Products", + "Regions", + "Sales Team", + "Store Locations", + "Sales Orders" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "CustomerID" + ], + [ + 0, + "Customer Names" + ], + [ + 1, + "ProductID" + ], + [ + 1, + "Product Name" + ], + [ + 2, + "StateCode" + ], + [ + 2, + "State" + ], + [ + 2, + "Region" + ], + [ + 3, + "SalesTeamID" + ], + [ + 3, + "Sales Team" + ], + [ + 3, + "Region" + ], + [ + 4, + "StoreID" + ], + [ + 4, + "City Name" + ], + [ + 4, + "County" + ], + [ + 4, + "StateCode" + ], + [ + 4, + "State" + ], + [ + 4, + "Type" + ], + [ + 4, + "Latitude" + ], + [ + 4, + "Longitude" + ], + [ + 4, + "AreaCode" + ], + [ + 4, + "Population" + ], + [ + 4, + "Household Income" + ], + [ + 4, + "Median Income" + ], + [ + 4, + "Land Area" + ], + [ + 4, + "Water Area" + ], + [ + 4, + "Time Zone" + ], + [ + 5, + "OrderNumber" + ], + [ + 5, + "Sales Channel" + ], + [ + 5, + "WarehouseCode" + ], + [ + 5, + "ProcuredDate" + ], + [ + 5, + "OrderDate" + ], + [ + 5, + "ShipDate" + ], + [ + 5, + "DeliveryDate" + ], + [ + 5, + "CurrencyCode" + ], + [ + 5, + "_SalesTeamID" + ], + [ + 5, + "_CustomerID" + ], + [ + 5, + "_StoreID" + ], + [ + 5, + "_ProductID" + ], + [ + 5, + "Order Quantity" + ], + [ + 5, + "Discount Applied" + ], + [ + 5, + "Unit Price" + ], + [ + 5, + "Unit Cost" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "customer id" + ], + [ + 0, + "customer names" + ], + [ + 1, + "product id" + ], + [ + 1, + "product name" + ], + [ + 2, + "state code" + ], + [ + 2, + "State" + ], + [ + 2, + "Region" + ], + [ + 3, + "SalesTeam ID" + ], + [ + 3, + "Sales Team" + ], + [ + 3, + "Region" + ], + [ + 4, + "Store ID" + ], + [ + 4, + "City Name" + ], + [ + 4, + "County" + ], + [ + 4, + "State Code" + ], + [ + 4, + "State" + ], + [ + 4, + "Type" + ], + [ + 4, + "Latitude" + ], + [ + 4, + "Longitude" + ], + [ + 4, + "Area Code" + ], + [ + 4, + "Population" + ], + [ + 4, + "Household Income" + ], + [ + 4, + "Median Income" + ], + [ + 4, + "Land Area" + ], + [ + 4, + "Water Area" + ], + [ + 4, + "Time Zone" + ], + [ + 5, + "Order Number" + ], + [ + 5, + "Sales Channel" + ], + [ + 5, + "Warehouse Code" + ], + [ + 5, + "Procured Date" + ], + [ + 5, + "Order Date" + ], + [ + 5, + "Ship Date" + ], + [ + 5, + "Delivery Date" + ], + [ + 5, + "Currency Code" + ], + [ + 5, + "_Sales Team ID" + ], + [ + 5, + "_Customer ID" + ], + [ + 5, + "_Store ID" + ], + [ + 5, + "_Product ID" + ], + [ + 5, + "Order Quantity" + ], + [ + 5, + "Discount Applied" + ], + [ + 5, + "Unit Price" + ], + [ + 5, + "Unit Cost" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "integer", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "real", + "real", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "real", + "text", + "text" + ], + "primary_keys": [ + 1, + 3, + 5, + 8, + 11, + 26 + ], + "foreign_keys": [ + [ + 14, + 5 + ], + [ + 37, + 3 + ], + [ + 36, + 11 + ], + [ + 35, + 1 + ], + [ + 34, + 8 + ] + ] + }, + { + "db_id": "computer_student", + "table_names_original": [ + "course", + "person", + "advisedBy", + "taughtBy" + ], + "table_names": [ + "course", + "person", + "advisedBy", + "taughtBy" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "course_id" + ], + [ + 0, + "courseLevel" + ], + [ + 1, + "p_id" + ], + [ + 1, + "professor" + ], + [ + 1, + "student" + ], + [ + 1, + "hasPosition" + ], + [ + 1, + "inPhase" + ], + [ + 1, + "yearsInProgram" + ], + [ + 2, + "p_id" + ], + [ + 2, + "p_id_dummy" + ], + [ + 3, + "course_id" + ], + [ + 3, + "p_id" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "course id" + ], + [ + 0, + "course level" + ], + [ + 1, + "person ID" + ], + [ + 1, + "professor" + ], + [ + 1, + "student" + ], + [ + 1, + "has position" + ], + [ + 1, + "in phase" + ], + [ + 1, + "years in program" + ], + [ + 2, + "person id" + ], + [ + 2, + "person id dummy" + ], + [ + 3, + "course ID" + ], + [ + 3, + "person ID" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 3, + [ + 9, + 10 + ], + [ + 11, + 12 + ] + ], + "foreign_keys": [ + [ + 9, + 3 + ], + [ + 10, + 3 + ], + [ + 11, + 1 + ], + [ + 12, + 3 + ] + ] + }, + { + "db_id": "works_cycles", + "table_names_original": [ + "CountryRegion", + "Culture", + "Currency", + "CountryRegionCurrency", + "Person", + "BusinessEntityContact", + "EmailAddress", + "Employee", + "Password", + "PersonCreditCard", + "ProductCategory", + "ProductDescription", + "ProductModel", + "ProductModelProductDescriptionCulture", + "ProductPhoto", + "ProductSubcategory", + "SalesReason", + "SalesTerritory", + "SalesPerson", + "SalesPersonQuotaHistory", + "SalesTerritoryHistory", + "ScrapReason", + "Shift", + "ShipMethod", + "SpecialOffer", + "BusinessEntityAddress", + "SalesTaxRate", + "Store", + "SalesOrderHeaderSalesReason", + "TransactionHistoryArchive", + "UnitMeasure", + "ProductCostHistory", + "ProductDocument", + "ProductInventory", + "ProductProductPhoto", + "ProductReview", + "ShoppingCartItem", + "SpecialOfferProduct", + "SalesOrderDetail", + "TransactionHistory", + "Vendor", + "ProductVendor", + "PurchaseOrderHeader", + "PurchaseOrderDetail", + "WorkOrder", + "WorkOrderRouting", + "Customer", + "ProductListPriceHistory", + "Address", + "AddressType", + "BillOfMaterials", + "BusinessEntity", + "ContactType", + "CurrencyRate", + "Department", + "EmployeeDepartmentHistory", + "EmployeePayHistory", + "JobCandidate", + "Location", + "PhoneNumberType", + "Product", + "Document", + "StateProvince", + "CreditCard", + "SalesOrderHeader" + ], + "table_names": [ + "CountryRegion", + "Culture", + "Currency", + "CountryRegionCurrency", + "Person", + "BusinessEntityContact", + "EmailAddress", + "Employee", + "Password", + "PersonCreditCard", + "ProductCategory", + "ProductDescription", + "ProductModel", + "ProductModelProductDescriptionCulture", + "ProductPhoto", + "ProductSubcategory", + "SalesReason", + "SalesTerritory", + "SalesPerson", + "SalesPersonQuotaHistory", + "SalesTerritoryHistory", + "ScrapReason", + "Shift", + "ShipMethod", + "SpecialOffer", + "BusinessEntityAddress", + "SalesTaxRate", + "Store", + "SalesOrderHeaderSalesReason", + "TransactionHistoryArchive", + "UnitMeasure", + "ProductCostHistory", + "ProductDocument", + "ProductInventory", + "ProductProductPhoto", + "ProductReview", + "ShoppingCartItem", + "SpecialOfferProduct", + "SalesOrderDetail", + "TransactionHistory", + "Vendor", + "ProductVendor", + "PurchaseOrderHeader", + "PurchaseOrderDetail", + "WorkOrder", + "WorkOrderRouting", + "Customer", + "ProductListPriceHistory", + "Address", + "AddressType", + "BillOfMaterials", + "BusinessEntity", + "ContactType", + "CurrencyRate", + "Department", + "EmployeeDepartmentHistory", + "EmployeePayHistory", + "JobCandidate", + "Location", + "PhoneNumberType", + "Product", + "Document", + "StateProvince", + "CreditCard", + "SalesOrderHeader" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "CountryRegionCode" + ], + [ + 0, + "Name" + ], + [ + 0, + "ModifiedDate" + ], + [ + 1, + "CultureID" + ], + [ + 1, + "Name" + ], + [ + 1, + "ModifiedDate" + ], + [ + 2, + "CurrencyCode" + ], + [ + 2, + "Name" + ], + [ + 2, + "ModifiedDate" + ], + [ + 3, + "CountryRegionCode" + ], + [ + 3, + "CurrencyCode" + ], + [ + 3, + "ModifiedDate" + ], + [ + 4, + "BusinessEntityID" + ], + [ + 4, + "PersonType" + ], + [ + 4, + "NameStyle" + ], + [ + 4, + "Title" + ], + [ + 4, + "FirstName" + ], + [ + 4, + "MiddleName" + ], + [ + 4, + "LastName" + ], + [ + 4, + "Suffix" + ], + [ + 4, + "EmailPromotion" + ], + [ + 4, + "AdditionalContactInfo" + ], + [ + 4, + "Demographics" + ], + [ + 4, + "rowguid" + ], + [ + 4, + "ModifiedDate" + ], + [ + 5, + "BusinessEntityID" + ], + [ + 5, + "PersonID" + ], + [ + 5, + "ContactTypeID" + ], + [ + 5, + "rowguid" + ], + [ + 5, + "ModifiedDate" + ], + [ + 6, + "BusinessEntityID" + ], + [ + 6, + "EmailAddressID" + ], + [ + 6, + "EmailAddress" + ], + [ + 6, + "rowguid" + ], + [ + 6, + "ModifiedDate" + ], + [ + 7, + "BusinessEntityID" + ], + [ + 7, + "NationalIDNumber" + ], + [ + 7, + "LoginID" + ], + [ + 7, + "OrganizationNode" + ], + [ + 7, + "OrganizationLevel" + ], + [ + 7, + "JobTitle" + ], + [ + 7, + "BirthDate" + ], + [ + 7, + "MaritalStatus" + ], + [ + 7, + "Gender" + ], + [ + 7, + "HireDate" + ], + [ + 7, + "SalariedFlag" + ], + [ + 7, + "VacationHours" + ], + [ + 7, + "SickLeaveHours" + ], + [ + 7, + "CurrentFlag" + ], + [ + 7, + "rowguid" + ], + [ + 7, + "ModifiedDate" + ], + [ + 8, + "BusinessEntityID" + ], + [ + 8, + "PasswordHash" + ], + [ + 8, + "PasswordSalt" + ], + [ + 8, + "rowguid" + ], + [ + 8, + "ModifiedDate" + ], + [ + 9, + "BusinessEntityID" + ], + [ + 9, + "CreditCardID" + ], + [ + 9, + "ModifiedDate" + ], + [ + 10, + "ProductCategoryID" + ], + [ + 10, + "Name" + ], + [ + 10, + "rowguid" + ], + [ + 10, + "ModifiedDate" + ], + [ + 11, + "ProductDescriptionID" + ], + [ + 11, + "Description" + ], + [ + 11, + "rowguid" + ], + [ + 11, + "ModifiedDate" + ], + [ + 12, + "ProductModelID" + ], + [ + 12, + "Name" + ], + [ + 12, + "CatalogDescription" + ], + [ + 12, + "Instructions" + ], + [ + 12, + "rowguid" + ], + [ + 12, + "ModifiedDate" + ], + [ + 13, + "ProductModelID" + ], + [ + 13, + "ProductDescriptionID" + ], + [ + 13, + "CultureID" + ], + [ + 13, + "ModifiedDate" + ], + [ + 14, + "ProductPhotoID" + ], + [ + 14, + "ThumbNailPhoto" + ], + [ + 14, + "ThumbnailPhotoFileName" + ], + [ + 14, + "LargePhoto" + ], + [ + 14, + "LargePhotoFileName" + ], + [ + 14, + "ModifiedDate" + ], + [ + 15, + "ProductSubcategoryID" + ], + [ + 15, + "ProductCategoryID" + ], + [ + 15, + "Name" + ], + [ + 15, + "rowguid" + ], + [ + 15, + "ModifiedDate" + ], + [ + 16, + "SalesReasonID" + ], + [ + 16, + "Name" + ], + [ + 16, + "ReasonType" + ], + [ + 16, + "ModifiedDate" + ], + [ + 17, + "TerritoryID" + ], + [ + 17, + "Name" + ], + [ + 17, + "CountryRegionCode" + ], + [ + 17, + "Group" + ], + [ + 17, + "SalesYTD" + ], + [ + 17, + "SalesLastYear" + ], + [ + 17, + "CostYTD" + ], + [ + 17, + "CostLastYear" + ], + [ + 17, + "rowguid" + ], + [ + 17, + "ModifiedDate" + ], + [ + 18, + "BusinessEntityID" + ], + [ + 18, + "TerritoryID" + ], + [ + 18, + "SalesQuota" + ], + [ + 18, + "Bonus" + ], + [ + 18, + "CommissionPct" + ], + [ + 18, + "SalesYTD" + ], + [ + 18, + "SalesLastYear" + ], + [ + 18, + "rowguid" + ], + [ + 18, + "ModifiedDate" + ], + [ + 19, + "BusinessEntityID" + ], + [ + 19, + "QuotaDate" + ], + [ + 19, + "SalesQuota" + ], + [ + 19, + "rowguid" + ], + [ + 19, + "ModifiedDate" + ], + [ + 20, + "BusinessEntityID" + ], + [ + 20, + "TerritoryID" + ], + [ + 20, + "StartDate" + ], + [ + 20, + "EndDate" + ], + [ + 20, + "rowguid" + ], + [ + 20, + "ModifiedDate" + ], + [ + 21, + "ScrapReasonID" + ], + [ + 21, + "Name" + ], + [ + 21, + "ModifiedDate" + ], + [ + 22, + "ShiftID" + ], + [ + 22, + "Name" + ], + [ + 22, + "StartTime" + ], + [ + 22, + "EndTime" + ], + [ + 22, + "ModifiedDate" + ], + [ + 23, + "ShipMethodID" + ], + [ + 23, + "Name" + ], + [ + 23, + "ShipBase" + ], + [ + 23, + "ShipRate" + ], + [ + 23, + "rowguid" + ], + [ + 23, + "ModifiedDate" + ], + [ + 24, + "SpecialOfferID" + ], + [ + 24, + "Description" + ], + [ + 24, + "DiscountPct" + ], + [ + 24, + "Type" + ], + [ + 24, + "Category" + ], + [ + 24, + "StartDate" + ], + [ + 24, + "EndDate" + ], + [ + 24, + "MinQty" + ], + [ + 24, + "MaxQty" + ], + [ + 24, + "rowguid" + ], + [ + 24, + "ModifiedDate" + ], + [ + 25, + "BusinessEntityID" + ], + [ + 25, + "AddressID" + ], + [ + 25, + "AddressTypeID" + ], + [ + 25, + "rowguid" + ], + [ + 25, + "ModifiedDate" + ], + [ + 26, + "SalesTaxRateID" + ], + [ + 26, + "StateProvinceID" + ], + [ + 26, + "TaxType" + ], + [ + 26, + "TaxRate" + ], + [ + 26, + "Name" + ], + [ + 26, + "rowguid" + ], + [ + 26, + "ModifiedDate" + ], + [ + 27, + "BusinessEntityID" + ], + [ + 27, + "Name" + ], + [ + 27, + "SalesPersonID" + ], + [ + 27, + "Demographics" + ], + [ + 27, + "rowguid" + ], + [ + 27, + "ModifiedDate" + ], + [ + 28, + "SalesOrderID" + ], + [ + 28, + "SalesReasonID" + ], + [ + 28, + "ModifiedDate" + ], + [ + 29, + "TransactionID" + ], + [ + 29, + "ProductID" + ], + [ + 29, + "ReferenceOrderID" + ], + [ + 29, + "ReferenceOrderLineID" + ], + [ + 29, + "TransactionDate" + ], + [ + 29, + "TransactionType" + ], + [ + 29, + "Quantity" + ], + [ + 29, + "ActualCost" + ], + [ + 29, + "ModifiedDate" + ], + [ + 30, + "UnitMeasureCode" + ], + [ + 30, + "Name" + ], + [ + 30, + "ModifiedDate" + ], + [ + 31, + "ProductID" + ], + [ + 31, + "StartDate" + ], + [ + 31, + "EndDate" + ], + [ + 31, + "StandardCost" + ], + [ + 31, + "ModifiedDate" + ], + [ + 32, + "ProductID" + ], + [ + 32, + "DocumentNode" + ], + [ + 32, + "ModifiedDate" + ], + [ + 33, + "ProductID" + ], + [ + 33, + "LocationID" + ], + [ + 33, + "Shelf" + ], + [ + 33, + "Bin" + ], + [ + 33, + "Quantity" + ], + [ + 33, + "rowguid" + ], + [ + 33, + "ModifiedDate" + ], + [ + 34, + "ProductID" + ], + [ + 34, + "ProductPhotoID" + ], + [ + 34, + "Primary" + ], + [ + 34, + "ModifiedDate" + ], + [ + 35, + "ProductReviewID" + ], + [ + 35, + "ProductID" + ], + [ + 35, + "ReviewerName" + ], + [ + 35, + "ReviewDate" + ], + [ + 35, + "EmailAddress" + ], + [ + 35, + "Rating" + ], + [ + 35, + "Comments" + ], + [ + 35, + "ModifiedDate" + ], + [ + 36, + "ShoppingCartItemID" + ], + [ + 36, + "ShoppingCartID" + ], + [ + 36, + "Quantity" + ], + [ + 36, + "ProductID" + ], + [ + 36, + "DateCreated" + ], + [ + 36, + "ModifiedDate" + ], + [ + 37, + "SpecialOfferID" + ], + [ + 37, + "ProductID" + ], + [ + 37, + "rowguid" + ], + [ + 37, + "ModifiedDate" + ], + [ + 38, + "SalesOrderID" + ], + [ + 38, + "SalesOrderDetailID" + ], + [ + 38, + "CarrierTrackingNumber" + ], + [ + 38, + "OrderQty" + ], + [ + 38, + "ProductID" + ], + [ + 38, + "SpecialOfferID" + ], + [ + 38, + "UnitPrice" + ], + [ + 38, + "UnitPriceDiscount" + ], + [ + 38, + "LineTotal" + ], + [ + 38, + "rowguid" + ], + [ + 38, + "ModifiedDate" + ], + [ + 39, + "TransactionID" + ], + [ + 39, + "ProductID" + ], + [ + 39, + "ReferenceOrderID" + ], + [ + 39, + "ReferenceOrderLineID" + ], + [ + 39, + "TransactionDate" + ], + [ + 39, + "TransactionType" + ], + [ + 39, + "Quantity" + ], + [ + 39, + "ActualCost" + ], + [ + 39, + "ModifiedDate" + ], + [ + 40, + "BusinessEntityID" + ], + [ + 40, + "AccountNumber" + ], + [ + 40, + "Name" + ], + [ + 40, + "CreditRating" + ], + [ + 40, + "PreferredVendorStatus" + ], + [ + 40, + "ActiveFlag" + ], + [ + 40, + "PurchasingWebServiceURL" + ], + [ + 40, + "ModifiedDate" + ], + [ + 41, + "ProductID" + ], + [ + 41, + "BusinessEntityID" + ], + [ + 41, + "AverageLeadTime" + ], + [ + 41, + "StandardPrice" + ], + [ + 41, + "LastReceiptCost" + ], + [ + 41, + "LastReceiptDate" + ], + [ + 41, + "MinOrderQty" + ], + [ + 41, + "MaxOrderQty" + ], + [ + 41, + "OnOrderQty" + ], + [ + 41, + "UnitMeasureCode" + ], + [ + 41, + "ModifiedDate" + ], + [ + 42, + "PurchaseOrderID" + ], + [ + 42, + "RevisionNumber" + ], + [ + 42, + "Status" + ], + [ + 42, + "EmployeeID" + ], + [ + 42, + "VendorID" + ], + [ + 42, + "ShipMethodID" + ], + [ + 42, + "OrderDate" + ], + [ + 42, + "ShipDate" + ], + [ + 42, + "SubTotal" + ], + [ + 42, + "TaxAmt" + ], + [ + 42, + "Freight" + ], + [ + 42, + "TotalDue" + ], + [ + 42, + "ModifiedDate" + ], + [ + 43, + "PurchaseOrderID" + ], + [ + 43, + "PurchaseOrderDetailID" + ], + [ + 43, + "DueDate" + ], + [ + 43, + "OrderQty" + ], + [ + 43, + "ProductID" + ], + [ + 43, + "UnitPrice" + ], + [ + 43, + "LineTotal" + ], + [ + 43, + "ReceivedQty" + ], + [ + 43, + "RejectedQty" + ], + [ + 43, + "StockedQty" + ], + [ + 43, + "ModifiedDate" + ], + [ + 44, + "WorkOrderID" + ], + [ + 44, + "ProductID" + ], + [ + 44, + "OrderQty" + ], + [ + 44, + "StockedQty" + ], + [ + 44, + "ScrappedQty" + ], + [ + 44, + "StartDate" + ], + [ + 44, + "EndDate" + ], + [ + 44, + "DueDate" + ], + [ + 44, + "ScrapReasonID" + ], + [ + 44, + "ModifiedDate" + ], + [ + 45, + "WorkOrderID" + ], + [ + 45, + "ProductID" + ], + [ + 45, + "OperationSequence" + ], + [ + 45, + "LocationID" + ], + [ + 45, + "ScheduledStartDate" + ], + [ + 45, + "ScheduledEndDate" + ], + [ + 45, + "ActualStartDate" + ], + [ + 45, + "ActualEndDate" + ], + [ + 45, + "ActualResourceHrs" + ], + [ + 45, + "PlannedCost" + ], + [ + 45, + "ActualCost" + ], + [ + 45, + "ModifiedDate" + ], + [ + 46, + "CustomerID" + ], + [ + 46, + "PersonID" + ], + [ + 46, + "StoreID" + ], + [ + 46, + "TerritoryID" + ], + [ + 46, + "AccountNumber" + ], + [ + 46, + "rowguid" + ], + [ + 46, + "ModifiedDate" + ], + [ + 47, + "ProductID" + ], + [ + 47, + "StartDate" + ], + [ + 47, + "EndDate" + ], + [ + 47, + "ListPrice" + ], + [ + 47, + "ModifiedDate" + ], + [ + 48, + "AddressID" + ], + [ + 48, + "AddressLine1" + ], + [ + 48, + "AddressLine2" + ], + [ + 48, + "City" + ], + [ + 48, + "StateProvinceID" + ], + [ + 48, + "PostalCode" + ], + [ + 48, + "SpatialLocation" + ], + [ + 48, + "rowguid" + ], + [ + 48, + "ModifiedDate" + ], + [ + 49, + "AddressTypeID" + ], + [ + 49, + "Name" + ], + [ + 49, + "rowguid" + ], + [ + 49, + "ModifiedDate" + ], + [ + 50, + "BillOfMaterialsID" + ], + [ + 50, + "ProductAssemblyID" + ], + [ + 50, + "ComponentID" + ], + [ + 50, + "StartDate" + ], + [ + 50, + "EndDate" + ], + [ + 50, + "UnitMeasureCode" + ], + [ + 50, + "BOMLevel" + ], + [ + 50, + "PerAssemblyQty" + ], + [ + 50, + "ModifiedDate" + ], + [ + 51, + "BusinessEntityID" + ], + [ + 51, + "rowguid" + ], + [ + 51, + "ModifiedDate" + ], + [ + 52, + "ContactTypeID" + ], + [ + 52, + "Name" + ], + [ + 52, + "ModifiedDate" + ], + [ + 53, + "CurrencyRateID" + ], + [ + 53, + "CurrencyRateDate" + ], + [ + 53, + "FromCurrencyCode" + ], + [ + 53, + "ToCurrencyCode" + ], + [ + 53, + "AverageRate" + ], + [ + 53, + "EndOfDayRate" + ], + [ + 53, + "ModifiedDate" + ], + [ + 54, + "DepartmentID" + ], + [ + 54, + "Name" + ], + [ + 54, + "GroupName" + ], + [ + 54, + "ModifiedDate" + ], + [ + 55, + "BusinessEntityID" + ], + [ + 55, + "DepartmentID" + ], + [ + 55, + "ShiftID" + ], + [ + 55, + "StartDate" + ], + [ + 55, + "EndDate" + ], + [ + 55, + "ModifiedDate" + ], + [ + 56, + "BusinessEntityID" + ], + [ + 56, + "RateChangeDate" + ], + [ + 56, + "Rate" + ], + [ + 56, + "PayFrequency" + ], + [ + 56, + "ModifiedDate" + ], + [ + 57, + "JobCandidateID" + ], + [ + 57, + "BusinessEntityID" + ], + [ + 57, + "Resume" + ], + [ + 57, + "ModifiedDate" + ], + [ + 58, + "LocationID" + ], + [ + 58, + "Name" + ], + [ + 58, + "CostRate" + ], + [ + 58, + "Availability" + ], + [ + 58, + "ModifiedDate" + ], + [ + 59, + "PhoneNumberTypeID" + ], + [ + 59, + "Name" + ], + [ + 59, + "ModifiedDate" + ], + [ + 60, + "ProductID" + ], + [ + 60, + "Name" + ], + [ + 60, + "ProductNumber" + ], + [ + 60, + "MakeFlag" + ], + [ + 60, + "FinishedGoodsFlag" + ], + [ + 60, + "Color" + ], + [ + 60, + "SafetyStockLevel" + ], + [ + 60, + "ReorderPoint" + ], + [ + 60, + "StandardCost" + ], + [ + 60, + "ListPrice" + ], + [ + 60, + "Size" + ], + [ + 60, + "SizeUnitMeasureCode" + ], + [ + 60, + "WeightUnitMeasureCode" + ], + [ + 60, + "Weight" + ], + [ + 60, + "DaysToManufacture" + ], + [ + 60, + "ProductLine" + ], + [ + 60, + "Class" + ], + [ + 60, + "Style" + ], + [ + 60, + "ProductSubcategoryID" + ], + [ + 60, + "ProductModelID" + ], + [ + 60, + "SellStartDate" + ], + [ + 60, + "SellEndDate" + ], + [ + 60, + "DiscontinuedDate" + ], + [ + 60, + "rowguid" + ], + [ + 60, + "ModifiedDate" + ], + [ + 61, + "DocumentNode" + ], + [ + 61, + "DocumentLevel" + ], + [ + 61, + "Title" + ], + [ + 61, + "Owner" + ], + [ + 61, + "FolderFlag" + ], + [ + 61, + "FileName" + ], + [ + 61, + "FileExtension" + ], + [ + 61, + "Revision" + ], + [ + 61, + "ChangeNumber" + ], + [ + 61, + "Status" + ], + [ + 61, + "DocumentSummary" + ], + [ + 61, + "Document" + ], + [ + 61, + "rowguid" + ], + [ + 61, + "ModifiedDate" + ], + [ + 62, + "StateProvinceID" + ], + [ + 62, + "StateProvinceCode" + ], + [ + 62, + "CountryRegionCode" + ], + [ + 62, + "IsOnlyStateProvinceFlag" + ], + [ + 62, + "Name" + ], + [ + 62, + "TerritoryID" + ], + [ + 62, + "rowguid" + ], + [ + 62, + "ModifiedDate" + ], + [ + 63, + "CreditCardID" + ], + [ + 63, + "CardType" + ], + [ + 63, + "CardNumber" + ], + [ + 63, + "ExpMonth" + ], + [ + 63, + "ExpYear" + ], + [ + 63, + "ModifiedDate" + ], + [ + 64, + "SalesOrderID" + ], + [ + 64, + "RevisionNumber" + ], + [ + 64, + "OrderDate" + ], + [ + 64, + "DueDate" + ], + [ + 64, + "ShipDate" + ], + [ + 64, + "Status" + ], + [ + 64, + "OnlineOrderFlag" + ], + [ + 64, + "SalesOrderNumber" + ], + [ + 64, + "PurchaseOrderNumber" + ], + [ + 64, + "AccountNumber" + ], + [ + 64, + "CustomerID" + ], + [ + 64, + "SalesPersonID" + ], + [ + 64, + "TerritoryID" + ], + [ + 64, + "BillToAddressID" + ], + [ + 64, + "ShipToAddressID" + ], + [ + 64, + "ShipMethodID" + ], + [ + 64, + "CreditCardID" + ], + [ + 64, + "CreditCardApprovalCode" + ], + [ + 64, + "CurrencyRateID" + ], + [ + 64, + "SubTotal" + ], + [ + 64, + "TaxAmt" + ], + [ + 64, + "Freight" + ], + [ + 64, + "TotalDue" + ], + [ + 64, + "Comment" + ], + [ + 64, + "rowguid" + ], + [ + 64, + "ModifiedDate" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "Country Region Code" + ], + [ + 0, + "Name" + ], + [ + 0, + "modified date" + ], + [ + 1, + "Culture ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "modified date" + ], + [ + 2, + "Currency Code" + ], + [ + 2, + "Name" + ], + [ + 2, + "modified date" + ], + [ + 3, + "Country Region Code" + ], + [ + 3, + "Currency Code" + ], + [ + 3, + "modified date" + ], + [ + 4, + "Business Entity ID" + ], + [ + 4, + "Person Type" + ], + [ + 4, + "Name Style" + ], + [ + 4, + "Title" + ], + [ + 4, + "First Name" + ], + [ + 4, + "Middle Name" + ], + [ + 4, + "Last Name" + ], + [ + 4, + "Suffix" + ], + [ + 4, + "Email Promotion" + ], + [ + 4, + "Additional Contact Info" + ], + [ + 4, + "Demographics" + ], + [ + 4, + "rowguid" + ], + [ + 4, + "modified date" + ], + [ + 5, + "Business Entity ID" + ], + [ + 5, + "Person ID" + ], + [ + 5, + "Contact Type ID" + ], + [ + 5, + "rowguid" + ], + [ + 5, + "modified date" + ], + [ + 6, + "Business Entity ID" + ], + [ + 6, + "Email Address ID" + ], + [ + 6, + "Email Address" + ], + [ + 6, + "rowguid" + ], + [ + 6, + "modified date" + ], + [ + 7, + "Business Entity ID" + ], + [ + 7, + "National ID Number" + ], + [ + 7, + "Login ID" + ], + [ + 7, + "Organization Node" + ], + [ + 7, + "Organization Level" + ], + [ + 7, + "Job Title" + ], + [ + 7, + "Birth Date" + ], + [ + 7, + "Marital Status" + ], + [ + 7, + "Gender" + ], + [ + 7, + "Hire Date" + ], + [ + 7, + "Salaried Flag" + ], + [ + 7, + "Vacation Hours" + ], + [ + 7, + "Sick Leave Hours" + ], + [ + 7, + "Current Flag" + ], + [ + 7, + "rowguid" + ], + [ + 7, + "modified date" + ], + [ + 8, + "Business Entity ID" + ], + [ + 8, + "Password Hash" + ], + [ + 8, + "Password Salt" + ], + [ + 8, + "rowguid" + ], + [ + 8, + "modified date" + ], + [ + 9, + "Business Entity ID" + ], + [ + 9, + "Credit Card ID" + ], + [ + 9, + "modified date" + ], + [ + 10, + "Product Category ID" + ], + [ + 10, + "Name" + ], + [ + 10, + "rowguid" + ], + [ + 10, + "modified date" + ], + [ + 11, + "Product Description ID" + ], + [ + 11, + "Description" + ], + [ + 11, + "rowguid" + ], + [ + 11, + "modified date" + ], + [ + 12, + "Product Model ID" + ], + [ + 12, + "Name" + ], + [ + 12, + "Catalog Description" + ], + [ + 12, + "Instructions" + ], + [ + 12, + "rowguid" + ], + [ + 12, + "modified date" + ], + [ + 13, + "Product Model ID" + ], + [ + 13, + "Product Description ID" + ], + [ + 13, + "Culture ID" + ], + [ + 13, + "modified date" + ], + [ + 14, + "Product Photo ID" + ], + [ + 14, + "Thumb Nail Photo" + ], + [ + 14, + "Thumbnail Photo File Name" + ], + [ + 14, + "large photo" + ], + [ + 14, + "Large Photo File Name" + ], + [ + 14, + "Modified Date" + ], + [ + 15, + "Product Subcategory ID" + ], + [ + 15, + "Product Category ID" + ], + [ + 15, + "Name" + ], + [ + 15, + "rowguid" + ], + [ + 15, + "modified date" + ], + [ + 16, + "SalesReasonID" + ], + [ + 16, + "Name" + ], + [ + 16, + "ReasonType" + ], + [ + 16, + "modified date" + ], + [ + 17, + "TerritoryID" + ], + [ + 17, + "Name" + ], + [ + 17, + "Country Region Code" + ], + [ + 17, + "Group" + ], + [ + 17, + "Sales Year to Date" + ], + [ + 17, + "Sales Last Year" + ], + [ + 17, + "Cost Year to Date" + ], + [ + 17, + "Cost Last Year" + ], + [ + 17, + "rowguid" + ], + [ + 17, + "modified date" + ], + [ + 18, + "Business Entity ID" + ], + [ + 18, + "Territory ID" + ], + [ + 18, + "Sales Quota" + ], + [ + 18, + "Bonus" + ], + [ + 18, + "Commission percentage" + ], + [ + 18, + "sales year to date" + ], + [ + 18, + "Sales Last Year" + ], + [ + 18, + "rowguid" + ], + [ + 18, + "modified date" + ], + [ + 19, + "Business Entity ID" + ], + [ + 19, + "Quota Date" + ], + [ + 19, + "Sales Quota" + ], + [ + 19, + "rowguid" + ], + [ + 19, + "modified date" + ], + [ + 20, + "Business Entity ID" + ], + [ + 20, + "Territory ID" + ], + [ + 20, + "Start Date" + ], + [ + 20, + "End Date" + ], + [ + 20, + "rowguid" + ], + [ + 20, + "modified date" + ], + [ + 21, + "Scrap Reason ID" + ], + [ + 21, + "Name" + ], + [ + 21, + "modified date" + ], + [ + 22, + "ShiftID" + ], + [ + 22, + "Name" + ], + [ + 22, + "Start Time" + ], + [ + 22, + "End Time" + ], + [ + 22, + "modified date" + ], + [ + 23, + "Ship Method ID" + ], + [ + 23, + "Name" + ], + [ + 23, + "Ship Base" + ], + [ + 23, + "Ship Rate" + ], + [ + 23, + "rowguid" + ], + [ + 23, + "modified date" + ], + [ + 24, + "Special Offer ID" + ], + [ + 24, + "Description" + ], + [ + 24, + "Discount precentage" + ], + [ + 24, + "Type" + ], + [ + 24, + "Category" + ], + [ + 24, + "Start Date" + ], + [ + 24, + "End Date" + ], + [ + 24, + "Min Quality" + ], + [ + 24, + "Max Quality" + ], + [ + 24, + "rowguid" + ], + [ + 24, + "modified date" + ], + [ + 25, + "Business Entity ID" + ], + [ + 25, + "Address ID" + ], + [ + 25, + "Address Type ID" + ], + [ + 25, + "rowguid" + ], + [ + 25, + "modified date" + ], + [ + 26, + "Sales Tax Rate ID" + ], + [ + 26, + "State Province ID" + ], + [ + 26, + "Tax Type" + ], + [ + 26, + "Tax Rate" + ], + [ + 26, + "Name" + ], + [ + 26, + "rowguid" + ], + [ + 26, + "modified date" + ], + [ + 27, + "Business Entity ID" + ], + [ + 27, + "Name" + ], + [ + 27, + "Sales Person ID" + ], + [ + 27, + "Demographics" + ], + [ + 27, + "rowguid" + ], + [ + 27, + "modified date" + ], + [ + 28, + "Sales Order ID" + ], + [ + 28, + "Sales Reason ID" + ], + [ + 28, + "modified date" + ], + [ + 29, + "Transaction ID" + ], + [ + 29, + "Product ID" + ], + [ + 29, + "Reference Order ID" + ], + [ + 29, + "Reference Order Line ID" + ], + [ + 29, + "Transaction Date" + ], + [ + 29, + "Transaction Type" + ], + [ + 29, + "Quantity" + ], + [ + 29, + "Actual Cost" + ], + [ + 29, + "modified date" + ], + [ + 30, + "Unit Measure Code" + ], + [ + 30, + "Name" + ], + [ + 30, + "modified date" + ], + [ + 31, + "Product ID" + ], + [ + 31, + "Start Date" + ], + [ + 31, + "End Date" + ], + [ + 31, + "Standard Cost" + ], + [ + 31, + "modified date" + ], + [ + 32, + "Product ID" + ], + [ + 32, + "Document Node" + ], + [ + 32, + "modified date" + ], + [ + 33, + "Product ID" + ], + [ + 33, + "Location ID" + ], + [ + 33, + "Shelf" + ], + [ + 33, + "Bin" + ], + [ + 33, + "Quantity" + ], + [ + 33, + "rowguid" + ], + [ + 33, + "modified date" + ], + [ + 34, + "Product ID" + ], + [ + 34, + "Product Photo ID" + ], + [ + 34, + "Primary" + ], + [ + 34, + "Modified Date" + ], + [ + 35, + "Product Review ID" + ], + [ + 35, + "Product ID" + ], + [ + 35, + "Reviewer Name" + ], + [ + 35, + "Review Date" + ], + [ + 35, + "Email Address" + ], + [ + 35, + "Rating" + ], + [ + 35, + "Comments" + ], + [ + 35, + "modified date" + ], + [ + 36, + "Shopping CartItem ID" + ], + [ + 36, + "Shopping Cart ID" + ], + [ + 36, + "Quantity" + ], + [ + 36, + "Product ID" + ], + [ + 36, + "Date Created" + ], + [ + 36, + "modified date" + ], + [ + 37, + "Special Offer ID" + ], + [ + 37, + "Product ID" + ], + [ + 37, + "rowguid" + ], + [ + 37, + "modified date" + ], + [ + 38, + "SalesOrderID" + ], + [ + 38, + "SalesOrderDetailID" + ], + [ + 38, + "CarrierTrackingNumber" + ], + [ + 38, + "OrderQty" + ], + [ + 38, + "ProductID" + ], + [ + 38, + "SpecialOfferID" + ], + [ + 38, + "UnitPrice" + ], + [ + 38, + "UnitPriceDiscount" + ], + [ + 38, + "LineTotal" + ], + [ + 38, + "rowguid" + ], + [ + 38, + "ModifiedDate" + ], + [ + 39, + "Transaction ID" + ], + [ + 39, + "Product ID" + ], + [ + 39, + "Reference Order ID" + ], + [ + 39, + "Reference Order Line ID" + ], + [ + 39, + "Transaction Date" + ], + [ + 39, + "Transaction Type" + ], + [ + 39, + "Quantity" + ], + [ + 39, + "Actual Cost" + ], + [ + 39, + "modified date" + ], + [ + 40, + "BusinessEntityID" + ], + [ + 40, + "AccountNumber" + ], + [ + 40, + "Name" + ], + [ + 40, + "CreditRating" + ], + [ + 40, + "Preferred Vendor Status" + ], + [ + 40, + "Active Flag" + ], + [ + 40, + "PurchasingWebServiceURL" + ], + [ + 40, + "modified date" + ], + [ + 41, + "Product ID" + ], + [ + 41, + "Business Entity ID" + ], + [ + 41, + "Average Lead Time" + ], + [ + 41, + "Standard Price" + ], + [ + 41, + "Last Receipt Cost" + ], + [ + 41, + "Last Receipt Date" + ], + [ + 41, + "Min Order Quantity" + ], + [ + 41, + "Max Order Quantity" + ], + [ + 41, + "On Order Quantity" + ], + [ + 41, + "Unit Measure Code" + ], + [ + 41, + "modified date" + ], + [ + 42, + "Purchase Order ID" + ], + [ + 42, + "Revision Number" + ], + [ + 42, + "Status" + ], + [ + 42, + "Employee ID" + ], + [ + 42, + "Vendor ID" + ], + [ + 42, + "Ship Method ID" + ], + [ + 42, + "Order Date" + ], + [ + 42, + "Ship Date" + ], + [ + 42, + "SubTotal" + ], + [ + 42, + "Tax Amount" + ], + [ + 42, + "Freight" + ], + [ + 42, + "Total Due" + ], + [ + 42, + "modified date" + ], + [ + 43, + "Purchase Order ID" + ], + [ + 43, + "Purchase Orde rDetail ID" + ], + [ + 43, + "Due Date" + ], + [ + 43, + "Order Quantity" + ], + [ + 43, + "Product ID" + ], + [ + 43, + "Unit Price" + ], + [ + 43, + "Line Total" + ], + [ + 43, + "ReceivedQty" + ], + [ + 43, + "RejectedQty" + ], + [ + 43, + "StockedQty" + ], + [ + 43, + "ModifiedDate" + ], + [ + 44, + "Work Order ID" + ], + [ + 44, + "Product ID" + ], + [ + 44, + "Order Quantity" + ], + [ + 44, + "Stocked Quantity" + ], + [ + 44, + "Scrapped Quantity" + ], + [ + 44, + "Start Date" + ], + [ + 44, + "End Date" + ], + [ + 44, + "Due Date" + ], + [ + 44, + "Scrap Reason ID" + ], + [ + 44, + "modified date" + ], + [ + 45, + "WorkOrderID" + ], + [ + 45, + "ProductID" + ], + [ + 45, + "Operation Sequence" + ], + [ + 45, + "Location ID" + ], + [ + 45, + "Scheduled Start Date" + ], + [ + 45, + "Scheduled End Date" + ], + [ + 45, + "Actual Start Date" + ], + [ + 45, + "ActualEndDate" + ], + [ + 45, + "Actual Resource Hours" + ], + [ + 45, + "Planned Cost" + ], + [ + 45, + "ActualCost" + ], + [ + 45, + "modified date" + ], + [ + 46, + "Customer ID" + ], + [ + 46, + "Person ID" + ], + [ + 46, + "Store ID" + ], + [ + 46, + "Territory ID" + ], + [ + 46, + "Account Number" + ], + [ + 46, + "rowguid" + ], + [ + 46, + "modified date" + ], + [ + 47, + "Product ID" + ], + [ + 47, + "Start Date" + ], + [ + 47, + "End Date" + ], + [ + 47, + "ListPrice" + ], + [ + 47, + "modified date" + ], + [ + 48, + "address id" + ], + [ + 48, + "address line 1" + ], + [ + 48, + "address line 2" + ], + [ + 48, + "City" + ], + [ + 48, + "state province id" + ], + [ + 48, + "postal code" + ], + [ + 48, + "spatial location" + ], + [ + 48, + "rowguid" + ], + [ + 48, + "modified date" + ], + [ + 49, + "address type id" + ], + [ + 49, + "Name" + ], + [ + 49, + "rowguid" + ], + [ + 49, + "modified date" + ], + [ + 50, + "bill of materials id" + ], + [ + 50, + "product assembly id" + ], + [ + 50, + "component ID" + ], + [ + 50, + "start date" + ], + [ + 50, + "end date" + ], + [ + 50, + "unit measure code" + ], + [ + 50, + "bill of materials level" + ], + [ + 50, + "per assembly quantity" + ], + [ + 50, + "modified date" + ], + [ + 51, + "business entity id" + ], + [ + 51, + "rowguid" + ], + [ + 51, + "modified date" + ], + [ + 52, + "Contact Type ID" + ], + [ + 52, + "Name" + ], + [ + 52, + "modified date" + ], + [ + 53, + "Currency Rate ID" + ], + [ + 53, + "Currency Rate Date" + ], + [ + 53, + "From Currency Code" + ], + [ + 53, + "ToCurrencyCode" + ], + [ + 53, + "Average Rate" + ], + [ + 53, + "End Of Day Rate" + ], + [ + 53, + "modified date" + ], + [ + 54, + "Department ID" + ], + [ + 54, + "Name" + ], + [ + 54, + "Group Name" + ], + [ + 54, + "modified date" + ], + [ + 55, + "Business Entity ID" + ], + [ + 55, + "DepartmentI D" + ], + [ + 55, + "Shift ID" + ], + [ + 55, + "Start Date" + ], + [ + 55, + "End Date" + ], + [ + 55, + "modified date" + ], + [ + 56, + "Business Entity ID" + ], + [ + 56, + "Rate Change Date" + ], + [ + 56, + "Rate" + ], + [ + 56, + "Pay Frequency" + ], + [ + 56, + "modified date" + ], + [ + 57, + "Job Candidate ID" + ], + [ + 57, + "Business Entity ID" + ], + [ + 57, + "Resume" + ], + [ + 57, + "modified date" + ], + [ + 58, + "Location ID" + ], + [ + 58, + "Name" + ], + [ + 58, + "Cost Rate" + ], + [ + 58, + "Availability" + ], + [ + 58, + "modified date" + ], + [ + 59, + "Phone Number Type ID" + ], + [ + 59, + "Phone Number" + ], + [ + 59, + "modified date" + ], + [ + 60, + "Product ID" + ], + [ + 60, + "Name" + ], + [ + 60, + "Product Number" + ], + [ + 60, + "Make Flag" + ], + [ + 60, + "Finished Goods Flag" + ], + [ + 60, + "Color" + ], + [ + 60, + "Safety Stock Level" + ], + [ + 60, + "Reorder Point" + ], + [ + 60, + "Standard Cost" + ], + [ + 60, + "List Price" + ], + [ + 60, + "Size" + ], + [ + 60, + "Size Unit Measure Code" + ], + [ + 60, + "Weight Unit Measure Code" + ], + [ + 60, + "Weight" + ], + [ + 60, + "Days To Manufacture" + ], + [ + 60, + "Product Line" + ], + [ + 60, + "Class" + ], + [ + 60, + "Style" + ], + [ + 60, + "Product Subcategory ID" + ], + [ + 60, + "Product Model ID" + ], + [ + 60, + "Sell Start Date" + ], + [ + 60, + "Sell End Date" + ], + [ + 60, + "Discontinued Date" + ], + [ + 60, + "rowguid" + ], + [ + 60, + "modified date" + ], + [ + 61, + "Document Node" + ], + [ + 61, + "Document Level" + ], + [ + 61, + "Title" + ], + [ + 61, + "Owner" + ], + [ + 61, + "Folder Flag" + ], + [ + 61, + "File Name" + ], + [ + 61, + "File Extension" + ], + [ + 61, + "Revision" + ], + [ + 61, + "Change Number" + ], + [ + 61, + "Status" + ], + [ + 61, + "Document Summary" + ], + [ + 61, + "Document" + ], + [ + 61, + "rowguid" + ], + [ + 61, + "modified date" + ], + [ + 62, + "State Province ID" + ], + [ + 62, + "State Province Code" + ], + [ + 62, + "Country Region Code" + ], + [ + 62, + "Is Only State Province Flag" + ], + [ + 62, + "Name" + ], + [ + 62, + "Territory ID" + ], + [ + 62, + "rowguid" + ], + [ + 62, + "modified date" + ], + [ + 63, + "Credit Card ID" + ], + [ + 63, + "Card Type" + ], + [ + 63, + "Card Number" + ], + [ + 63, + "Expiration Month" + ], + [ + 63, + "Expiration Year" + ], + [ + 63, + "modified date" + ], + [ + 64, + "Sales Order ID" + ], + [ + 64, + "RevisionNumber" + ], + [ + 64, + "Order Date" + ], + [ + 64, + "DueDate" + ], + [ + 64, + "Ship Date" + ], + [ + 64, + "Status" + ], + [ + 64, + "OnlineOrderFlag" + ], + [ + 64, + "SalesOrderNumber" + ], + [ + 64, + "PurchaseOrderNumber" + ], + [ + 64, + "AccountNumber" + ], + [ + 64, + "CustomerID" + ], + [ + 64, + "SalesPersonID" + ], + [ + 64, + "TerritoryID" + ], + [ + 64, + "BillToAddressID" + ], + [ + 64, + "ShipToAddressID" + ], + [ + 64, + "Ship Method ID" + ], + [ + 64, + "CreditCardID" + ], + [ + 64, + "CreditCardApprovalCode" + ], + [ + 64, + "CurrencyRateID" + ], + [ + 64, + "SubTotal" + ], + [ + 64, + "Tax Amount" + ], + [ + 64, + "Freight" + ], + [ + 64, + "Total Due" + ], + [ + 64, + "Comment" + ], + [ + 64, + "rowguid" + ], + [ + 64, + "modified date" + ] + ], + "column_types": [ + "text", + "text", + "text", + "datetime", + "text", + "text", + "datetime", + "text", + "text", + "datetime", + "text", + "text", + "datetime", + "integer", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "datetime", + "integer", + "integer", + "integer", + "text", + "datetime", + "integer", + "integer", + "text", + "text", + "datetime", + "integer", + "text", + "text", + "text", + "integer", + "text", + "date", + "text", + "text", + "date", + "integer", + "integer", + "integer", + "integer", + "text", + "datetime", + "integer", + "text", + "text", + "text", + "datetime", + "integer", + "integer", + "datetime", + "integer", + "text", + "text", + "datetime", + "integer", + "text", + "text", + "datetime", + "integer", + "text", + "text", + "text", + "text", + "datetime", + "integer", + "integer", + "text", + "datetime", + "integer", + "blob", + "text", + "blob", + "text", + "datetime", + "integer", + "integer", + "text", + "text", + "datetime", + "integer", + "text", + "text", + "datetime", + "integer", + "text", + "text", + "text", + "real", + "real", + "real", + "real", + "text", + "datetime", + "integer", + "integer", + "real", + "real", + "real", + "real", + "real", + "text", + "datetime", + "integer", + "datetime", + "real", + "text", + "datetime", + "integer", + "integer", + "datetime", + "datetime", + "text", + "datetime", + "integer", + "text", + "datetime", + "integer", + "text", + "text", + "text", + "datetime", + "integer", + "text", + "real", + "real", + "text", + "datetime", + "integer", + "text", + "real", + "text", + "text", + "datetime", + "datetime", + "integer", + "integer", + "text", + "datetime", + "integer", + "integer", + "integer", + "text", + "datetime", + "integer", + "integer", + "integer", + "real", + "text", + "text", + "datetime", + "integer", + "text", + "integer", + "text", + "text", + "datetime", + "integer", + "integer", + "datetime", + "integer", + "integer", + "integer", + "integer", + "datetime", + "text", + "integer", + "real", + "datetime", + "text", + "text", + "datetime", + "integer", + "date", + "date", + "real", + "datetime", + "integer", + "text", + "datetime", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "datetime", + "integer", + "integer", + "integer", + "datetime", + "integer", + "integer", + "text", + "datetime", + "text", + "integer", + "text", + "datetime", + "integer", + "text", + "integer", + "integer", + "datetime", + "datetime", + "integer", + "integer", + "text", + "datetime", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "real", + "real", + "real", + "text", + "datetime", + "integer", + "integer", + "integer", + "integer", + "datetime", + "text", + "integer", + "real", + "datetime", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "datetime", + "integer", + "integer", + "integer", + "real", + "real", + "datetime", + "integer", + "integer", + "integer", + "text", + "datetime", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "datetime", + "datetime", + "real", + "real", + "real", + "real", + "datetime", + "integer", + "integer", + "datetime", + "integer", + "integer", + "real", + "real", + "real", + "real", + "real", + "datetime", + "integer", + "integer", + "integer", + "integer", + "integer", + "datetime", + "datetime", + "datetime", + "integer", + "datetime", + "integer", + "integer", + "integer", + "integer", + "datetime", + "datetime", + "datetime", + "datetime", + "real", + "real", + "real", + "datetime", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "datetime", + "integer", + "date", + "date", + "real", + "datetime", + "integer", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "datetime", + "integer", + "text", + "text", + "datetime", + "integer", + "integer", + "integer", + "datetime", + "datetime", + "text", + "integer", + "real", + "datetime", + "integer", + "text", + "datetime", + "integer", + "text", + "datetime", + "integer", + "datetime", + "text", + "text", + "real", + "real", + "datetime", + "integer", + "text", + "text", + "datetime", + "integer", + "integer", + "integer", + "date", + "date", + "datetime", + "integer", + "datetime", + "real", + "integer", + "datetime", + "integer", + "integer", + "text", + "datetime", + "integer", + "text", + "real", + "real", + "datetime", + "integer", + "text", + "datetime", + "integer", + "text", + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "real", + "real", + "text", + "text", + "text", + "real", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "datetime", + "datetime", + "datetime", + "text", + "datetime", + "text", + "integer", + "text", + "integer", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "text", + "blob", + "text", + "datetime", + "integer", + "text", + "text", + "integer", + "text", + "integer", + "text", + "datetime", + "integer", + "text", + "text", + "integer", + "integer", + "datetime", + "integer", + "integer", + "datetime", + "datetime", + "datetime", + "integer", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "real", + "real", + "real", + "real", + "text", + "text", + "datetime" + ], + "primary_keys": [ + 1, + 4, + 7, + [ + 10, + 11 + ], + 13, + [ + 26, + 27, + 28 + ], + [ + 31, + 32 + ], + 36, + 52, + [ + 57, + 58 + ], + 60, + 64, + 68, + [ + 74, + 75, + 76 + ], + 78, + 84, + 89, + 93, + 103, + [ + 112, + 113 + ], + [ + 117, + 118, + 119 + ], + 123, + 126, + 131, + 137, + [ + 148, + 149, + 150 + ], + 153, + 160, + [ + 166, + 167 + ], + 169, + 178, + [ + 181, + 182 + ], + [ + 186, + 187 + ], + [ + 189, + 190 + ], + [ + 196, + 197 + ], + 200, + 208, + [ + 214, + 215 + ], + 219, + 229, + 238, + [ + 246, + 247 + ], + 257, + 271, + 281, + [ + 291, + 292, + 293 + ], + 303, + [ + 310, + 311 + ], + 315, + 324, + 328, + 337, + 340, + 343, + 350, + [ + 354, + 355, + 356, + 357 + ], + [ + 360, + 361 + ], + 365, + 369, + 374, + 377, + 402, + 416, + 424, + 430 + ], + "foreign_keys": [ + [ + 11, + 7 + ], + [ + 10, + 1 + ], + [ + 13, + 337 + ], + [ + 27, + 13 + ], + [ + 28, + 340 + ], + [ + 26, + 337 + ], + [ + 31, + 13 + ], + [ + 36, + 13 + ], + [ + 52, + 13 + ], + [ + 57, + 13 + ], + [ + 58, + 424 + ], + [ + 76, + 4 + ], + [ + 75, + 64 + ], + [ + 74, + 68 + ], + [ + 85, + 60 + ], + [ + 95, + 1 + ], + [ + 104, + 93 + ], + [ + 103, + 36 + ], + [ + 112, + 103 + ], + [ + 118, + 93 + ], + [ + 117, + 103 + ], + [ + 148, + 337 + ], + [ + 150, + 324 + ], + [ + 149, + 315 + ], + [ + 154, + 416 + ], + [ + 162, + 103 + ], + [ + 160, + 337 + ], + [ + 167, + 89 + ], + [ + 166, + 430 + ], + [ + 181, + 377 + ], + [ + 187, + 402 + ], + [ + 186, + 377 + ], + [ + 190, + 369 + ], + [ + 189, + 377 + ], + [ + 197, + 78 + ], + [ + 196, + 377 + ], + [ + 201, + 377 + ], + [ + 211, + 377 + ], + [ + 215, + 377 + ], + [ + 214, + 137 + ], + [ + 223, + 214 + ], + [ + 222, + 215 + ], + [ + 218, + 430 + ], + [ + 230, + 377 + ], + [ + 238, + 337 + ], + [ + 255, + 178 + ], + [ + 247, + 238 + ], + [ + 246, + 377 + ], + [ + 262, + 131 + ], + [ + 261, + 238 + ], + [ + 260, + 36 + ], + [ + 274, + 377 + ], + [ + 270, + 257 + ], + [ + 289, + 123 + ], + [ + 282, + 377 + ], + [ + 294, + 369 + ], + [ + 291, + 281 + ], + [ + 305, + 160 + ], + [ + 306, + 93 + ], + [ + 304, + 13 + ], + [ + 310, + 377 + ] + ] + }, + { + "db_id": "food_inspection_2", + "table_names_original": [ + "employee", + "establishment", + "inspection", + "inspection_point", + "violation" + ], + "table_names": [ + "employee", + "establishment", + "inspection", + "inspection_point", + "violation" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "employee_id" + ], + [ + 0, + "first_name" + ], + [ + 0, + "last_name" + ], + [ + 0, + "address" + ], + [ + 0, + "city" + ], + [ + 0, + "state" + ], + [ + 0, + "zip" + ], + [ + 0, + "phone" + ], + [ + 0, + "title" + ], + [ + 0, + "salary" + ], + [ + 0, + "supervisor" + ], + [ + 1, + "license_no" + ], + [ + 1, + "dba_name" + ], + [ + 1, + "aka_name" + ], + [ + 1, + "facility_type" + ], + [ + 1, + "risk_level" + ], + [ + 1, + "address" + ], + [ + 1, + "city" + ], + [ + 1, + "state" + ], + [ + 1, + "zip" + ], + [ + 1, + "latitude" + ], + [ + 1, + "longitude" + ], + [ + 1, + "ward" + ], + [ + 2, + "inspection_id" + ], + [ + 2, + "inspection_date" + ], + [ + 2, + "inspection_type" + ], + [ + 2, + "results" + ], + [ + 2, + "employee_id" + ], + [ + 2, + "license_no" + ], + [ + 2, + "followup_to" + ], + [ + 3, + "point_id" + ], + [ + 3, + "Description" + ], + [ + 3, + "category" + ], + [ + 3, + "code" + ], + [ + 3, + "fine" + ], + [ + 3, + "point_level" + ], + [ + 4, + "inspection_id" + ], + [ + 4, + "point_id" + ], + [ + 4, + "fine" + ], + [ + 4, + "inspector_comment" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "employee id" + ], + [ + 0, + "first name" + ], + [ + 0, + "last name" + ], + [ + 0, + "address" + ], + [ + 0, + "city" + ], + [ + 0, + "state" + ], + [ + 0, + "zip" + ], + [ + 0, + "phone" + ], + [ + 0, + "title" + ], + [ + 0, + "salary" + ], + [ + 0, + "supervisor" + ], + [ + 1, + "license number" + ], + [ + 1, + "doing business as name" + ], + [ + 1, + "as know as name" + ], + [ + 1, + "facility type" + ], + [ + 1, + "risk level" + ], + [ + 1, + "address" + ], + [ + 1, + "city" + ], + [ + 1, + "state" + ], + [ + 1, + "zip" + ], + [ + 1, + "latitude" + ], + [ + 1, + "longitude" + ], + [ + 1, + "ward" + ], + [ + 2, + "inspection id" + ], + [ + 2, + "inspection date" + ], + [ + 2, + "inspection type" + ], + [ + 2, + "results" + ], + [ + 2, + "employee id" + ], + [ + 2, + "license number" + ], + [ + 2, + "followup to" + ], + [ + 3, + "point id" + ], + [ + 3, + "Description" + ], + [ + 3, + "category" + ], + [ + 3, + "code" + ], + [ + 3, + "fine" + ], + [ + 3, + "point_level" + ], + [ + 4, + "inspection id" + ], + [ + 4, + "point id" + ], + [ + 4, + "fine" + ], + [ + 4, + "inspector_comment" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "integer", + "real", + "real", + "integer", + "integer", + "date", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "text" + ], + "primary_keys": [ + 1, + 12, + 24, + 31, + [ + 37, + 38 + ] + ], + "foreign_keys": [ + [ + 11, + 1 + ], + [ + 30, + 24 + ], + [ + 29, + 12 + ], + [ + 28, + 1 + ], + [ + 38, + 31 + ], + [ + 37, + 24 + ] + ] + }, + { + "db_id": "citeseer", + "table_names_original": [ + "cites", + "paper", + "content" + ], + "table_names": [ + "cites", + "paper", + "content" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "cited_paper_id" + ], + [ + 0, + "citing_paper_id" + ], + [ + 1, + "paper_id" + ], + [ + 1, + "class_label" + ], + [ + 2, + "paper_id" + ], + [ + 2, + "word_cited_id" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "cited_paper_id" + ], + [ + 0, + "citing_paper_id" + ], + [ + 1, + "paper id" + ], + [ + 1, + "class label" + ], + [ + 2, + "paper id" + ], + [ + 2, + "word cited id" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text" + ], + "primary_keys": [ + [ + 1, + 2 + ], + 3, + [ + 5, + 6 + ] + ], + "foreign_keys": [ + [ + 5, + 3 + ] + ] + }, + { + "db_id": "bike_share_1", + "table_names_original": [ + "station", + "status", + "trip", + "weather" + ], + "table_names": [ + "station", + "status", + "trip", + "weather" + ], + "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_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 in Fahrenheit degree" + ], + [ + 3, + "mean temperature in Fahrenheit degree" + ], + [ + 3, + "min temperature in Fahrenheit degree" + ], + [ + 3, + "max dew point in Fahrenheit degree" + ], + [ + 3, + "mean dew point in Fahrenheit degree" + ], + [ + 3, + "min dew point in Fahrenheit degree" + ], + [ + 3, + "max humidity" + ], + [ + 3, + "mean humidity" + ], + [ + 3, + "min humidity" + ], + [ + 3, + "max sea level pressure in inches" + ], + [ + 3, + "mean sea level pressure in inches" + ], + [ + 3, + "min sea level pressure in inches" + ], + [ + 3, + "max visibility in miles" + ], + [ + 3, + "mean visibility in miles" + ], + [ + 3, + "min visibility in miles" + ], + [ + 3, + "max wind Speed in mph" + ], + [ + 3, + "mean wind Speed in mph" + ], + [ + 3, + "max gust Speed in mph" + ], + [ + 3, + "precipitation in inches" + ], + [ + 3, + "cloud cover" + ], + [ + 3, + "events" + ], + [ + 3, + "wind direction degrees" + ], + [ + 3, + "zip code" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "real", + "real", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "real", + "real", + "real", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "text", + "integer", + "text" + ], + "primary_keys": [ + 1, + 12 + ], + "foreign_keys": [] + }, + { + "db_id": "law_episode", + "table_names_original": [ + "Episode", + "Keyword", + "Person", + "Award", + "Credit", + "Vote" + ], + "table_names": [ + "Episode", + "Keyword", + "Person", + "Award", + "Credit", + "Vote" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "episode_id" + ], + [ + 0, + "series" + ], + [ + 0, + "season" + ], + [ + 0, + "episode" + ], + [ + 0, + "number_in_series" + ], + [ + 0, + "title" + ], + [ + 0, + "summary" + ], + [ + 0, + "air_date" + ], + [ + 0, + "episode_image" + ], + [ + 0, + "rating" + ], + [ + 0, + "votes" + ], + [ + 1, + "episode_id" + ], + [ + 1, + "keyword" + ], + [ + 2, + "person_id" + ], + [ + 2, + "name" + ], + [ + 2, + "birthdate" + ], + [ + 2, + "birth_name" + ], + [ + 2, + "birth_place" + ], + [ + 2, + "birth_region" + ], + [ + 2, + "birth_country" + ], + [ + 2, + "height_meters" + ], + [ + 2, + "nickname" + ], + [ + 3, + "award_id" + ], + [ + 3, + "organization" + ], + [ + 3, + "year" + ], + [ + 3, + "award_category" + ], + [ + 3, + "award" + ], + [ + 3, + "series" + ], + [ + 3, + "episode_id" + ], + [ + 3, + "person_id" + ], + [ + 3, + "role" + ], + [ + 3, + "result" + ], + [ + 4, + "episode_id" + ], + [ + 4, + "person_id" + ], + [ + 4, + "category" + ], + [ + 4, + "role" + ], + [ + 4, + "credited" + ], + [ + 5, + "episode_id" + ], + [ + 5, + "stars" + ], + [ + 5, + "votes" + ], + [ + 5, + "percent" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "episode id" + ], + [ + 0, + "series" + ], + [ + 0, + "season" + ], + [ + 0, + "episode" + ], + [ + 0, + "number in series" + ], + [ + 0, + "title" + ], + [ + 0, + "summary" + ], + [ + 0, + "air date" + ], + [ + 0, + "episode image" + ], + [ + 0, + "rating" + ], + [ + 0, + "votes" + ], + [ + 1, + "episode id" + ], + [ + 1, + "keyword" + ], + [ + 2, + "person id" + ], + [ + 2, + "name" + ], + [ + 2, + "birth date" + ], + [ + 2, + "birth name" + ], + [ + 2, + "birth place" + ], + [ + 2, + "birth region" + ], + [ + 2, + "birth country" + ], + [ + 2, + "height meters" + ], + [ + 2, + "nickname" + ], + [ + 3, + "award id" + ], + [ + 3, + "organization" + ], + [ + 3, + "year" + ], + [ + 3, + "award category" + ], + [ + 3, + "award" + ], + [ + 3, + "series" + ], + [ + 3, + "episode id" + ], + [ + 3, + "person_id" + ], + [ + 3, + "role" + ], + [ + 3, + "result" + ], + [ + 4, + "episode id" + ], + [ + 4, + "person id" + ], + [ + 4, + "category" + ], + [ + 4, + "role" + ], + [ + 4, + "credited" + ], + [ + 5, + "episode id" + ], + [ + 5, + "stars" + ], + [ + 5, + "votes" + ], + [ + 5, + "percent" + ] + ], + "column_types": [ + "text", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "date", + "text", + "real", + "integer", + "text", + "text", + "text", + "text", + "date", + "text", + "text", + "text", + "text", + "real", + "text", + "integer", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "real" + ], + "primary_keys": [ + 1, + [ + 12, + 13 + ], + 14, + 23, + [ + 33, + 34 + ] + ], + "foreign_keys": [ + [ + 12, + 1 + ], + [ + 30, + 14 + ], + [ + 29, + 1 + ], + [ + 34, + 14 + ], + [ + 33, + 1 + ], + [ + 38, + 1 + ] + ] + }, + { + "db_id": "cs_semester", + "table_names_original": [ + "course", + "prof", + "RA", + "registration", + "student" + ], + "table_names": [ + "course", + "prof", + "RA", + "registration", + "student" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "course_id" + ], + [ + 0, + "name" + ], + [ + 0, + "credit" + ], + [ + 0, + "diff" + ], + [ + 1, + "prof_id" + ], + [ + 1, + "gender" + ], + [ + 1, + "first_name" + ], + [ + 1, + "last_name" + ], + [ + 1, + "email" + ], + [ + 1, + "popularity" + ], + [ + 1, + "teachingability" + ], + [ + 1, + "graduate_from" + ], + [ + 2, + "student_id" + ], + [ + 2, + "capability" + ], + [ + 2, + "prof_id" + ], + [ + 2, + "salary" + ], + [ + 3, + "course_id" + ], + [ + 3, + "student_id" + ], + [ + 3, + "grade" + ], + [ + 3, + "sat" + ], + [ + 4, + "student_id" + ], + [ + 4, + "f_name" + ], + [ + 4, + "l_name" + ], + [ + 4, + "phone_number" + ], + [ + 4, + "email" + ], + [ + 4, + "intelligence" + ], + [ + 4, + "gpa" + ], + [ + 4, + "type" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "course id" + ], + [ + 0, + "name" + ], + [ + 0, + "credit" + ], + [ + 0, + "difficulty" + ], + [ + 1, + "professor id" + ], + [ + 1, + "gender" + ], + [ + 1, + "first name" + ], + [ + 1, + "last name" + ], + [ + 1, + "email" + ], + [ + 1, + "popularity" + ], + [ + 1, + "teaching ability" + ], + [ + 1, + "graduate from" + ], + [ + 2, + "student id" + ], + [ + 2, + "capability" + ], + [ + 2, + "professor id" + ], + [ + 2, + "salary" + ], + [ + 3, + "course id" + ], + [ + 3, + "student id" + ], + [ + 3, + "grade" + ], + [ + 3, + "satisfying degree" + ], + [ + 4, + "student id" + ], + [ + 4, + "first name" + ], + [ + 4, + "last name" + ], + [ + 4, + "phone number" + ], + [ + 4, + "email" + ], + [ + 4, + "intelligence" + ], + [ + 4, + "graduate point average" + ], + [ + 4, + "type" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "integer", + "real", + "text" + ], + "primary_keys": [ + 1, + 5, + [ + 13, + 15 + ], + [ + 17, + 18 + ], + 21 + ], + "foreign_keys": [ + [ + 13, + 21 + ], + [ + 15, + 5 + ], + [ + 18, + 21 + ], + [ + 17, + 1 + ] + ] + }, + { + "db_id": "legislator", + "table_names_original": [ + "current", + "current-terms", + "historical", + "historical-terms", + "social-media" + ], + "table_names": [ + "current", + "current-terms", + "historical", + "historical-terms", + "social-media" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "ballotpedia_id" + ], + [ + 0, + "bioguide_id" + ], + [ + 0, + "birthday_bio" + ], + [ + 0, + "cspan_id" + ], + [ + 0, + "fec_id" + ], + [ + 0, + "first_name" + ], + [ + 0, + "gender_bio" + ], + [ + 0, + "google_entity_id_id" + ], + [ + 0, + "govtrack_id" + ], + [ + 0, + "house_history_id" + ], + [ + 0, + "icpsr_id" + ], + [ + 0, + "last_name" + ], + [ + 0, + "lis_id" + ], + [ + 0, + "maplight_id" + ], + [ + 0, + "middle_name" + ], + [ + 0, + "nickname_name" + ], + [ + 0, + "official_full_name" + ], + [ + 0, + "opensecrets_id" + ], + [ + 0, + "religion_bio" + ], + [ + 0, + "suffix_name" + ], + [ + 0, + "thomas_id" + ], + [ + 0, + "votesmart_id" + ], + [ + 0, + "wikidata_id" + ], + [ + 0, + "wikipedia_id" + ], + [ + 1, + "address" + ], + [ + 1, + "bioguide" + ], + [ + 1, + "caucus" + ], + [ + 1, + "chamber" + ], + [ + 1, + "class" + ], + [ + 1, + "contact_form" + ], + [ + 1, + "district" + ], + [ + 1, + "end" + ], + [ + 1, + "fax" + ], + [ + 1, + "last" + ], + [ + 1, + "name" + ], + [ + 1, + "office" + ], + [ + 1, + "party" + ], + [ + 1, + "party_affiliations" + ], + [ + 1, + "phone" + ], + [ + 1, + "relation" + ], + [ + 1, + "rss_url" + ], + [ + 1, + "start" + ], + [ + 1, + "state" + ], + [ + 1, + "state_rank" + ], + [ + 1, + "title" + ], + [ + 1, + "type" + ], + [ + 1, + "url" + ], + [ + 2, + "ballotpedia_id" + ], + [ + 2, + "bioguide_id" + ], + [ + 2, + "bioguide_previous_id" + ], + [ + 2, + "birthday_bio" + ], + [ + 2, + "cspan_id" + ], + [ + 2, + "fec_id" + ], + [ + 2, + "first_name" + ], + [ + 2, + "gender_bio" + ], + [ + 2, + "google_entity_id_id" + ], + [ + 2, + "govtrack_id" + ], + [ + 2, + "house_history_alternate_id" + ], + [ + 2, + "house_history_id" + ], + [ + 2, + "icpsr_id" + ], + [ + 2, + "last_name" + ], + [ + 2, + "lis_id" + ], + [ + 2, + "maplight_id" + ], + [ + 2, + "middle_name" + ], + [ + 2, + "nickname_name" + ], + [ + 2, + "official_full_name" + ], + [ + 2, + "opensecrets_id" + ], + [ + 2, + "religion_bio" + ], + [ + 2, + "suffix_name" + ], + [ + 2, + "thomas_id" + ], + [ + 2, + "votesmart_id" + ], + [ + 2, + "wikidata_id" + ], + [ + 2, + "wikipedia_id" + ], + [ + 3, + "address" + ], + [ + 3, + "bioguide" + ], + [ + 3, + "chamber" + ], + [ + 3, + "class" + ], + [ + 3, + "contact_form" + ], + [ + 3, + "district" + ], + [ + 3, + "end" + ], + [ + 3, + "fax" + ], + [ + 3, + "last" + ], + [ + 3, + "middle" + ], + [ + 3, + "name" + ], + [ + 3, + "office" + ], + [ + 3, + "party" + ], + [ + 3, + "party_affiliations" + ], + [ + 3, + "phone" + ], + [ + 3, + "relation" + ], + [ + 3, + "rss_url" + ], + [ + 3, + "start" + ], + [ + 3, + "state" + ], + [ + 3, + "state_rank" + ], + [ + 3, + "title" + ], + [ + 3, + "type" + ], + [ + 3, + "url" + ], + [ + 4, + "bioguide" + ], + [ + 4, + "facebook" + ], + [ + 4, + "facebook_id" + ], + [ + 4, + "govtrack" + ], + [ + 4, + "instagram" + ], + [ + 4, + "instagram_id" + ], + [ + 4, + "thomas" + ], + [ + 4, + "twitter" + ], + [ + 4, + "twitter_id" + ], + [ + 4, + "youtube" + ], + [ + 4, + "youtube_id" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "ballotpedia id" + ], + [ + 0, + "bioguide id" + ], + [ + 0, + "birthday bio" + ], + [ + 0, + "cspan id" + ], + [ + 0, + "fec id" + ], + [ + 0, + "first name" + ], + [ + 0, + "gender bio" + ], + [ + 0, + "google entity id" + ], + [ + 0, + "govtrack id" + ], + [ + 0, + "house history id" + ], + [ + 0, + "interuniversity consortium for political and social research id" + ], + [ + 0, + "last name" + ], + [ + 0, + "legislator id" + ], + [ + 0, + "maplight id" + ], + [ + 0, + "middle name" + ], + [ + 0, + "nickname" + ], + [ + 0, + "official full name" + ], + [ + 0, + "opensecrets id" + ], + [ + 0, + "religion bio" + ], + [ + 0, + "suffix name" + ], + [ + 0, + "thomas id" + ], + [ + 0, + "votesmart id" + ], + [ + 0, + "wikidata id" + ], + [ + 0, + "wikipedia id" + ], + [ + 1, + "address" + ], + [ + 1, + "bioguide id" + ], + [ + 1, + "caucus" + ], + [ + 1, + "chamber" + ], + [ + 1, + "class" + ], + [ + 1, + "contact_form" + ], + [ + 1, + "district" + ], + [ + 1, + "end" + ], + [ + 1, + "fax" + ], + [ + 1, + "last" + ], + [ + 1, + "name" + ], + [ + 1, + "office" + ], + [ + 1, + "party" + ], + [ + 1, + "party affiliations" + ], + [ + 1, + "phone" + ], + [ + 1, + "relation" + ], + [ + 1, + "Really Simple Syndication URL" + ], + [ + 1, + "start" + ], + [ + 1, + "state" + ], + [ + 1, + "state_rank" + ], + [ + 1, + "title" + ], + [ + 1, + "type" + ], + [ + 1, + "url" + ], + [ + 2, + "ballotpedia id" + ], + [ + 2, + "bioguide id" + ], + [ + 2, + "bioguide previous id" + ], + [ + 2, + "birthday bio" + ], + [ + 2, + "cspan id" + ], + [ + 2, + "fec id" + ], + [ + 2, + "first name" + ], + [ + 2, + "gender bio" + ], + [ + 2, + "google entity id" + ], + [ + 2, + "govtrack id" + ], + [ + 2, + "house history alternate id" + ], + [ + 2, + "house history id" + ], + [ + 2, + "interuniversity consortium for political and social research id" + ], + [ + 2, + "last name" + ], + [ + 2, + "legislator id" + ], + [ + 2, + "maplight id" + ], + [ + 2, + "middle name" + ], + [ + 2, + "nickname" + ], + [ + 2, + "official full name" + ], + [ + 2, + "opensecrets id" + ], + [ + 2, + "religion bio" + ], + [ + 2, + "suffix name" + ], + [ + 2, + "thomas id" + ], + [ + 2, + "votesmart id" + ], + [ + 2, + "wikidata id" + ], + [ + 2, + "wikipedia id" + ], + [ + 3, + "address" + ], + [ + 3, + "bioguide id" + ], + [ + 3, + "chamber" + ], + [ + 3, + "class" + ], + [ + 3, + "contact_form" + ], + [ + 3, + "district" + ], + [ + 3, + "end" + ], + [ + 3, + "fax" + ], + [ + 3, + "last" + ], + [ + 3, + "middle" + ], + [ + 3, + "name" + ], + [ + 3, + "office" + ], + [ + 3, + "party" + ], + [ + 3, + "party affiliations" + ], + [ + 3, + "phone" + ], + [ + 3, + "relation" + ], + [ + 3, + "Really Simple Syndication URL" + ], + [ + 3, + "start" + ], + [ + 3, + "state" + ], + [ + 3, + "state_rank" + ], + [ + 3, + "title" + ], + [ + 3, + "type" + ], + [ + 3, + "url" + ], + [ + 4, + "bioguide" + ], + [ + 4, + "facebook" + ], + [ + 4, + "facebook_id" + ], + [ + 4, + "govtrack" + ], + [ + 4, + "instagram" + ], + [ + 4, + "instagram_id" + ], + [ + 4, + "thomas" + ], + [ + 4, + "twitter" + ], + [ + 4, + "twitter_id" + ], + [ + 4, + "youtube" + ], + [ + 4, + "youtube_id" + ] + ], + "column_types": [ + "text", + "text", + "text", + "date", + "real", + "text", + "text", + "text", + "text", + "integer", + "real", + "real", + "text", + "text", + "real", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "real", + "text", + "text", + "text", + "text", + "text", + "text", + "real", + "text", + "real", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "real", + "real", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "real", + "text", + "real", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "real", + "real", + "text", + "real", + "integer", + "text", + "real", + "text", + "text" + ], + "primary_keys": [ + [ + 2, + 4 + ], + [ + 26, + 32 + ], + 49, + 75, + 97 + ], + "foreign_keys": [ + [ + 26, + 2 + ], + [ + 75, + 49 + ], + [ + 97, + 2 + ] + ] + }, + { + "db_id": "world", + "table_names_original": [ + "City", + "Country", + "CountryLanguage" + ], + "table_names": [ + "City", + "Country", + "CountryLanguage" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "CountryCode" + ], + [ + 0, + "District" + ], + [ + 0, + "Population" + ], + [ + 1, + "Code" + ], + [ + 1, + "Name" + ], + [ + 1, + "Continent" + ], + [ + 1, + "Region" + ], + [ + 1, + "SurfaceArea" + ], + [ + 1, + "IndepYear" + ], + [ + 1, + "Population" + ], + [ + 1, + "LifeExpectancy" + ], + [ + 1, + "GNP" + ], + [ + 1, + "GNPOld" + ], + [ + 1, + "LocalName" + ], + [ + 1, + "GovernmentForm" + ], + [ + 1, + "HeadOfState" + ], + [ + 1, + "Capital" + ], + [ + 1, + "Code2" + ], + [ + 2, + "CountryCode" + ], + [ + 2, + "Language" + ], + [ + 2, + "IsOfficial" + ], + [ + 2, + "Percentage" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Country Code" + ], + [ + 0, + "District" + ], + [ + 0, + "Population" + ], + [ + 1, + "Code" + ], + [ + 1, + "Name" + ], + [ + 1, + "Continent" + ], + [ + 1, + "Region" + ], + [ + 1, + "Surface Area" + ], + [ + 1, + "Independence Year" + ], + [ + 1, + "Population" + ], + [ + 1, + "Life Expectancy" + ], + [ + 1, + "Gross National Product" + ], + [ + 1, + "Gross National Product Old" + ], + [ + 1, + "Local Name" + ], + [ + 1, + "Government Form" + ], + [ + 1, + "Head Of State" + ], + [ + 1, + "Capital" + ], + [ + 1, + "Code2" + ], + [ + 2, + "Country Code" + ], + [ + 2, + "Language" + ], + [ + 2, + "Is Official" + ], + [ + 2, + "Percentage" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "real", + "integer", + "integer", + "real", + "real", + "real", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "real" + ], + "primary_keys": [ + 1, + 6, + [ + 21, + 22 + ] + ], + "foreign_keys": [ + [ + 3, + 6 + ], + [ + 21, + 6 + ] + ] + }, + { + "db_id": "cookbook", + "table_names_original": [ + "Ingredient", + "Recipe", + "Nutrition", + "Quantity" + ], + "table_names": [ + "Ingredient", + "Recipe", + "Nutrition", + "Quantity" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "ingredient_id" + ], + [ + 0, + "category" + ], + [ + 0, + "name" + ], + [ + 0, + "plural" + ], + [ + 1, + "recipe_id" + ], + [ + 1, + "title" + ], + [ + 1, + "subtitle" + ], + [ + 1, + "servings" + ], + [ + 1, + "yield_unit" + ], + [ + 1, + "prep_min" + ], + [ + 1, + "cook_min" + ], + [ + 1, + "stnd_min" + ], + [ + 1, + "source" + ], + [ + 1, + "intro" + ], + [ + 1, + "directions" + ], + [ + 2, + "recipe_id" + ], + [ + 2, + "protein" + ], + [ + 2, + "carbo" + ], + [ + 2, + "alcohol" + ], + [ + 2, + "total_fat" + ], + [ + 2, + "sat_fat" + ], + [ + 2, + "cholestrl" + ], + [ + 2, + "sodium" + ], + [ + 2, + "iron" + ], + [ + 2, + "vitamin_c" + ], + [ + 2, + "vitamin_a" + ], + [ + 2, + "fiber" + ], + [ + 2, + "pcnt_cal_carb" + ], + [ + 2, + "pcnt_cal_fat" + ], + [ + 2, + "pcnt_cal_prot" + ], + [ + 2, + "calories" + ], + [ + 3, + "quantity_id" + ], + [ + 3, + "recipe_id" + ], + [ + 3, + "ingredient_id" + ], + [ + 3, + "max_qty" + ], + [ + 3, + "min_qty" + ], + [ + 3, + "unit" + ], + [ + 3, + "preparation" + ], + [ + 3, + "optional" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "ingredient id" + ], + [ + 0, + "category" + ], + [ + 0, + "name" + ], + [ + 0, + "plural" + ], + [ + 1, + "recipe id" + ], + [ + 1, + "title" + ], + [ + 1, + "subtitle" + ], + [ + 1, + "servings" + ], + [ + 1, + "yield unit" + ], + [ + 1, + "preparation minute" + ], + [ + 1, + "cooked minute" + ], + [ + 1, + "stand minute" + ], + [ + 1, + "source" + ], + [ + 1, + "introduction" + ], + [ + 1, + "directions" + ], + [ + 2, + "recipe id" + ], + [ + 2, + "protein" + ], + [ + 2, + "carbo" + ], + [ + 2, + "alcohol" + ], + [ + 2, + "total fat" + ], + [ + 2, + "saturated fat" + ], + [ + 2, + "cholesterol" + ], + [ + 2, + "sodium" + ], + [ + 2, + "iron" + ], + [ + 2, + "vitamin c" + ], + [ + 2, + "vitamin a" + ], + [ + 2, + "fiber" + ], + [ + 2, + "percentage calculation carbo" + ], + [ + 2, + "percentage calculation fat" + ], + [ + 2, + "percentage calculation protein" + ], + [ + 2, + "calories" + ], + [ + 3, + "quantity id" + ], + [ + 3, + "recipe id" + ], + [ + 3, + "ingredient id" + ], + [ + 3, + "maximum quantity" + ], + [ + 3, + "minimum quantity" + ], + [ + 3, + "unit" + ], + [ + 3, + "preparation" + ], + [ + 3, + "optional" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "integer", + "text", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "integer", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "integer", + "integer", + "integer", + "real", + "real", + "text", + "text", + "text" + ], + "primary_keys": [ + 1, + 5, + 16, + 32 + ], + "foreign_keys": [ + [ + 16, + 5 + ], + [ + 33, + 16 + ], + [ + 34, + 1 + ], + [ + 33, + 5 + ] + ] + }, + { + "db_id": "university", + "table_names_original": [ + "country", + "ranking_system", + "ranking_criteria", + "university", + "university_ranking_year", + "university_year" + ], + "table_names": [ + "country", + "ranking_system", + "ranking_criteria", + "university", + "university_ranking_year", + "university_year" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "country_name" + ], + [ + 1, + "id" + ], + [ + 1, + "system_name" + ], + [ + 2, + "id" + ], + [ + 2, + "ranking_system_id" + ], + [ + 2, + "criteria_name" + ], + [ + 3, + "id" + ], + [ + 3, + "country_id" + ], + [ + 3, + "university_name" + ], + [ + 4, + "university_id" + ], + [ + 4, + "ranking_criteria_id" + ], + [ + 4, + "year" + ], + [ + 4, + "score" + ], + [ + 5, + "university_id" + ], + [ + 5, + "year" + ], + [ + 5, + "num_students" + ], + [ + 5, + "student_staff_ratio" + ], + [ + 5, + "pct_international_students" + ], + [ + 5, + "pct_female_students" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "country name" + ], + [ + 1, + "id" + ], + [ + 1, + "system name" + ], + [ + 2, + "id" + ], + [ + 2, + "ranking system id" + ], + [ + 2, + "criteria name" + ], + [ + 3, + "id" + ], + [ + 3, + "country id" + ], + [ + 3, + "university name" + ], + [ + 4, + "university id" + ], + [ + 4, + "ranking criteria id" + ], + [ + 4, + "year" + ], + [ + 4, + "score" + ], + [ + 5, + "university id" + ], + [ + 5, + "year" + ], + [ + 5, + "number of students" + ], + [ + 5, + "student staff ratio" + ], + [ + 5, + "pct internation student" + ], + [ + 5, + "pct female students" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "real", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 3, + 5, + 8 + ], + "foreign_keys": [ + [ + 6, + 3 + ], + [ + 9, + 1 + ], + [ + 11, + 8 + ], + [ + 12, + 5 + ], + [ + 15, + 8 + ] + ] + }, + { + "db_id": "books", + "table_names_original": [ + "address_status", + "author", + "book_language", + "country", + "address", + "customer", + "customer_address", + "order_status", + "publisher", + "book", + "book_author", + "shipping_method", + "cust_order", + "order_history", + "order_line" + ], + "table_names": [ + "address_status", + "author", + "book_language", + "country", + "address", + "customer", + "customer_address", + "order_status", + "publisher", + "book", + "book_author", + "shipping_method", + "cust_order", + "order_history", + "order_line" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "status_id" + ], + [ + 0, + "address_status" + ], + [ + 1, + "author_id" + ], + [ + 1, + "author_name" + ], + [ + 2, + "language_id" + ], + [ + 2, + "language_code" + ], + [ + 2, + "language_name" + ], + [ + 3, + "country_id" + ], + [ + 3, + "country_name" + ], + [ + 4, + "address_id" + ], + [ + 4, + "street_number" + ], + [ + 4, + "street_name" + ], + [ + 4, + "city" + ], + [ + 4, + "country_id" + ], + [ + 5, + "customer_id" + ], + [ + 5, + "first_name" + ], + [ + 5, + "last_name" + ], + [ + 5, + "email" + ], + [ + 6, + "customer_id" + ], + [ + 6, + "address_id" + ], + [ + 6, + "status_id" + ], + [ + 7, + "status_id" + ], + [ + 7, + "status_value" + ], + [ + 8, + "publisher_id" + ], + [ + 8, + "publisher_name" + ], + [ + 9, + "book_id" + ], + [ + 9, + "title" + ], + [ + 9, + "isbn13" + ], + [ + 9, + "language_id" + ], + [ + 9, + "num_pages" + ], + [ + 9, + "publication_date" + ], + [ + 9, + "publisher_id" + ], + [ + 10, + "book_id" + ], + [ + 10, + "author_id" + ], + [ + 11, + "method_id" + ], + [ + 11, + "method_name" + ], + [ + 11, + "cost" + ], + [ + 12, + "order_id" + ], + [ + 12, + "order_date" + ], + [ + 12, + "customer_id" + ], + [ + 12, + "shipping_method_id" + ], + [ + 12, + "dest_address_id" + ], + [ + 13, + "history_id" + ], + [ + 13, + "order_id" + ], + [ + 13, + "status_id" + ], + [ + 13, + "status_date" + ], + [ + 14, + "line_id" + ], + [ + 14, + "order_id" + ], + [ + 14, + "book_id" + ], + [ + 14, + "price" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "status id" + ], + [ + 0, + "address status" + ], + [ + 1, + "author id" + ], + [ + 1, + "author name" + ], + [ + 2, + "language id" + ], + [ + 2, + "language code" + ], + [ + 2, + "language name" + ], + [ + 3, + "country id" + ], + [ + 3, + "country name" + ], + [ + 4, + "address id" + ], + [ + 4, + "street number" + ], + [ + 4, + "street name" + ], + [ + 4, + "city" + ], + [ + 4, + "country id" + ], + [ + 5, + "customer id" + ], + [ + 5, + "first name" + ], + [ + 5, + "last name" + ], + [ + 5, + "email" + ], + [ + 6, + "customer id" + ], + [ + 6, + "address id" + ], + [ + 6, + "status id" + ], + [ + 7, + "status id" + ], + [ + 7, + "status value" + ], + [ + 8, + "publisher id" + ], + [ + 8, + "publisher name" + ], + [ + 9, + "book id" + ], + [ + 9, + "title" + ], + [ + 9, + "isbn13" + ], + [ + 9, + "language id" + ], + [ + 9, + "number pages" + ], + [ + 9, + "publication date" + ], + [ + 9, + "publisher_id" + ], + [ + 10, + "book id" + ], + [ + 10, + "author id" + ], + [ + 11, + "method id" + ], + [ + 11, + "method name" + ], + [ + 11, + "cost" + ], + [ + 12, + "order id" + ], + [ + 12, + "order date" + ], + [ + 12, + "customer id" + ], + [ + 12, + "shipping method id" + ], + [ + 12, + "destination address id" + ], + [ + 13, + "history id" + ], + [ + 13, + "order_id" + ], + [ + 13, + "status id" + ], + [ + 13, + "status date" + ], + [ + 14, + "line id" + ], + [ + 14, + "order id" + ], + [ + 14, + "book id" + ], + [ + 14, + "price" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "text", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "date", + "integer", + "integer", + "integer", + "integer", + "text", + "real", + "integer", + "datetime", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "datetime", + "integer", + "integer", + "integer", + "real" + ], + "primary_keys": [ + 1, + 3, + 5, + 8, + 10, + 15, + [ + 19, + 20 + ], + 22, + 24, + 26, + [ + 33, + 34 + ], + 35, + 38, + 43, + 47 + ], + "foreign_keys": [ + [ + 14, + 8 + ], + [ + 19, + 15 + ], + [ + 20, + 10 + ], + [ + 32, + 24 + ], + [ + 29, + 5 + ], + [ + 33, + 26 + ], + [ + 34, + 3 + ] + ] + }, + { + "db_id": "shipping", + "table_names_original": [ + "city", + "customer", + "driver", + "truck", + "shipment" + ], + "table_names": [ + "city", + "customer", + "driver", + "truck", + "shipment" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "city_id" + ], + [ + 0, + "city_name" + ], + [ + 0, + "state" + ], + [ + 0, + "population" + ], + [ + 0, + "area" + ], + [ + 1, + "cust_id" + ], + [ + 1, + "cust_name" + ], + [ + 1, + "annual_revenue" + ], + [ + 1, + "cust_type" + ], + [ + 1, + "address" + ], + [ + 1, + "city" + ], + [ + 1, + "state" + ], + [ + 1, + "zip" + ], + [ + 1, + "phone" + ], + [ + 2, + "driver_id" + ], + [ + 2, + "first_name" + ], + [ + 2, + "last_name" + ], + [ + 2, + "address" + ], + [ + 2, + "city" + ], + [ + 2, + "state" + ], + [ + 2, + "zip_code" + ], + [ + 2, + "phone" + ], + [ + 3, + "truck_id" + ], + [ + 3, + "make" + ], + [ + 3, + "model_year" + ], + [ + 4, + "ship_id" + ], + [ + 4, + "cust_id" + ], + [ + 4, + "weight" + ], + [ + 4, + "truck_id" + ], + [ + 4, + "driver_id" + ], + [ + 4, + "city_id" + ], + [ + 4, + "ship_date" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "city id" + ], + [ + 0, + "city name" + ], + [ + 0, + "state" + ], + [ + 0, + "population" + ], + [ + 0, + "area" + ], + [ + 1, + "customer id" + ], + [ + 1, + "customer name" + ], + [ + 1, + "annual revenue" + ], + [ + 1, + "customer type" + ], + [ + 1, + "address" + ], + [ + 1, + "city" + ], + [ + 1, + "state" + ], + [ + 1, + "zip" + ], + [ + 1, + "phone" + ], + [ + 2, + "driver id" + ], + [ + 2, + "first name" + ], + [ + 2, + "last name" + ], + [ + 2, + "address" + ], + [ + 2, + "city" + ], + [ + 2, + "state" + ], + [ + 2, + "zip code" + ], + [ + 2, + "phone" + ], + [ + 3, + "truck id" + ], + [ + 3, + "make" + ], + [ + 3, + "model year" + ], + [ + 4, + "ship id" + ], + [ + 4, + "customer id" + ], + [ + 4, + "weight" + ], + [ + 4, + "truck id" + ], + [ + 4, + "driver id" + ], + [ + 4, + "city id" + ], + [ + 4, + "ship date" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "integer", + "real", + "integer", + "text", + "integer", + "text", + "text", + "text", + "text", + "real", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "real", + "integer", + "integer", + "integer", + "text" + ], + "primary_keys": [ + 1, + 6, + 15, + 23, + 26 + ], + "foreign_keys": [ + [ + 29, + 23 + ], + [ + 30, + 15 + ], + [ + 31, + 1 + ], + [ + 27, + 6 + ] + ] + }, + { + "db_id": "food_inspection", + "table_names_original": [ + "businesses", + "inspections", + "violations" + ], + "table_names": [ + "businesses", + "inspections", + "violations" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "business_id" + ], + [ + 0, + "name" + ], + [ + 0, + "address" + ], + [ + 0, + "city" + ], + [ + 0, + "postal_code" + ], + [ + 0, + "latitude" + ], + [ + 0, + "longitude" + ], + [ + 0, + "phone_number" + ], + [ + 0, + "tax_code" + ], + [ + 0, + "business_certificate" + ], + [ + 0, + "application_date" + ], + [ + 0, + "owner_name" + ], + [ + 0, + "owner_address" + ], + [ + 0, + "owner_city" + ], + [ + 0, + "owner_state" + ], + [ + 0, + "owner_zip" + ], + [ + 1, + "business_id" + ], + [ + 1, + "score" + ], + [ + 1, + "date" + ], + [ + 1, + "type" + ], + [ + 2, + "business_id" + ], + [ + 2, + "date" + ], + [ + 2, + "violation_type_id" + ], + [ + 2, + "risk_category" + ], + [ + 2, + "description" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "business id" + ], + [ + 0, + "name" + ], + [ + 0, + "address" + ], + [ + 0, + "city" + ], + [ + 0, + "postal code" + ], + [ + 0, + "latitude" + ], + [ + 0, + "longitude" + ], + [ + 0, + "phone number" + ], + [ + 0, + "tax code" + ], + [ + 0, + "business certificate" + ], + [ + 0, + "application date" + ], + [ + 0, + "owner name" + ], + [ + 0, + "owner address" + ], + [ + 0, + "owner city" + ], + [ + 0, + "owner state" + ], + [ + 0, + "owner zip" + ], + [ + 1, + "business id" + ], + [ + 1, + "score" + ], + [ + 1, + "date" + ], + [ + 1, + "type" + ], + [ + 2, + "business id" + ], + [ + 2, + "date" + ], + [ + 2, + "violation type id" + ], + [ + 2, + "risk category" + ], + [ + 2, + "description" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "text", + "real", + "real", + "integer", + "text", + "integer", + "date", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "date", + "text", + "integer", + "date", + "text", + "text", + "text" + ], + "primary_keys": [ + 1 + ], + "foreign_keys": [ + [ + 17, + 1 + ], + [ + 21, + 1 + ] + ] + }, + { + "db_id": "movie_platform", + "table_names_original": [ + "lists", + "movies", + "ratings_users", + "lists_users", + "ratings" + ], + "table_names": [ + "lists", + "movies", + "ratings_users", + "lists_users", + "ratings" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "user_id" + ], + [ + 0, + "list_id" + ], + [ + 0, + "list_title" + ], + [ + 0, + "list_movie_number" + ], + [ + 0, + "list_update_timestamp_utc" + ], + [ + 0, + "list_creation_timestamp_utc" + ], + [ + 0, + "list_followers" + ], + [ + 0, + "list_url" + ], + [ + 0, + "list_comments" + ], + [ + 0, + "list_description" + ], + [ + 0, + "list_cover_image_url" + ], + [ + 0, + "list_first_image_url" + ], + [ + 0, + "list_second_image_url" + ], + [ + 0, + "list_third_image_url" + ], + [ + 1, + "movie_id" + ], + [ + 1, + "movie_title" + ], + [ + 1, + "movie_release_year" + ], + [ + 1, + "movie_url" + ], + [ + 1, + "movie_title_language" + ], + [ + 1, + "movie_popularity" + ], + [ + 1, + "movie_image_url" + ], + [ + 1, + "director_id" + ], + [ + 1, + "director_name" + ], + [ + 1, + "director_url" + ], + [ + 2, + "user_id" + ], + [ + 2, + "rating_date_utc" + ], + [ + 2, + "user_trialist" + ], + [ + 2, + "user_subscriber" + ], + [ + 2, + "user_avatar_image_url" + ], + [ + 2, + "user_cover_image_url" + ], + [ + 2, + "user_eligible_for_trial" + ], + [ + 2, + "user_has_payment_method" + ], + [ + 3, + "user_id" + ], + [ + 3, + "list_id" + ], + [ + 3, + "list_update_date_utc" + ], + [ + 3, + "list_creation_date_utc" + ], + [ + 3, + "user_trialist" + ], + [ + 3, + "user_subscriber" + ], + [ + 3, + "user_avatar_image_url" + ], + [ + 3, + "user_cover_image_url" + ], + [ + 3, + "user_eligible_for_trial" + ], + [ + 3, + "user_has_payment_method" + ], + [ + 4, + "movie_id" + ], + [ + 4, + "rating_id" + ], + [ + 4, + "rating_url" + ], + [ + 4, + "rating_score" + ], + [ + 4, + "rating_timestamp_utc" + ], + [ + 4, + "critic" + ], + [ + 4, + "critic_likes" + ], + [ + 4, + "critic_comments" + ], + [ + 4, + "user_id" + ], + [ + 4, + "user_trialist" + ], + [ + 4, + "user_subscriber" + ], + [ + 4, + "user_eligible_for_trial" + ], + [ + 4, + "user_has_payment_method" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "user_id" + ], + [ + 0, + "list_id" + ], + [ + 0, + "list_title" + ], + [ + 0, + "list_movie_number" + ], + [ + 0, + "list_update_timestamp_utc" + ], + [ + 0, + "list_creation_timestamp_utc" + ], + [ + 0, + "list_followers" + ], + [ + 0, + "list_url" + ], + [ + 0, + "list_comments" + ], + [ + 0, + "list_description" + ], + [ + 0, + "list_cover_image_url" + ], + [ + 0, + "list_first_image_url" + ], + [ + 0, + "list_second_image_url" + ], + [ + 0, + "list_third_image_url" + ], + [ + 1, + "movie_id" + ], + [ + 1, + "movie_title" + ], + [ + 1, + "movie_release_year" + ], + [ + 1, + "movie_url" + ], + [ + 1, + "movie_title_language" + ], + [ + 1, + "movie_popularity" + ], + [ + 1, + "movie_image_url" + ], + [ + 1, + "director_id" + ], + [ + 1, + "director_name" + ], + [ + 1, + "director_url" + ], + [ + 2, + "user_id" + ], + [ + 2, + "rating_date_utc" + ], + [ + 2, + "user_trialist" + ], + [ + 2, + "user_subscriber" + ], + [ + 2, + "user_avatar_image_url" + ], + [ + 2, + "user_cover_image_url" + ], + [ + 2, + "user_eligible_for_trial" + ], + [ + 2, + "user_has_payment_method" + ], + [ + 3, + "user_id" + ], + [ + 3, + "list_id" + ], + [ + 3, + "list_update_date_utc" + ], + [ + 3, + "list_creation_date_utc" + ], + [ + 3, + "user_trialist" + ], + [ + 3, + "user_subscriber" + ], + [ + 3, + "user_avatar_image_url" + ], + [ + 3, + "user_cover_image_url" + ], + [ + 3, + "user_eligible_for_trial" + ], + [ + 3, + "user_has_payment_method" + ], + [ + 4, + "movie_id" + ], + [ + 4, + "rating_id" + ], + [ + 4, + "rating_url" + ], + [ + 4, + "rating_score" + ], + [ + 4, + "rating_timestamp_utc" + ], + [ + 4, + "critic" + ], + [ + 4, + "critic_likes" + ], + [ + 4, + "critic_comments" + ], + [ + 4, + "user_id" + ], + [ + 4, + "user_trialist" + ], + [ + 4, + "user_subscriber" + ], + [ + 4, + "user_eligible_for_trial" + ], + [ + 4, + "user_has_payment_method" + ] + ], + "column_types": [ + "text", + "integer", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "integer", + "text", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "integer", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer" + ], + "primary_keys": [ + 2, + 15, + [ + 33, + 34 + ] + ], + "foreign_keys": [ + [ + 1, + 33 + ], + [ + 25, + 33 + ], + [ + 33, + 1 + ], + [ + 34, + 2 + ], + [ + 51, + 25 + ], + [ + 51, + 33 + ], + [ + 43, + 15 + ] + ] + }, + { + "db_id": "shakespeare", + "table_names_original": [ + "chapters", + "characters", + "paragraphs", + "works" + ], + "table_names": [ + "chapters", + "characters", + "paragraphs", + "works" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "Act" + ], + [ + 0, + "Scene" + ], + [ + 0, + "Description" + ], + [ + 0, + "work_id" + ], + [ + 1, + "id" + ], + [ + 1, + "CharName" + ], + [ + 1, + "Abbrev" + ], + [ + 1, + "Description" + ], + [ + 2, + "id" + ], + [ + 2, + "ParagraphNum" + ], + [ + 2, + "PlainText" + ], + [ + 2, + "character_id" + ], + [ + 2, + "chapter_id" + ], + [ + 3, + "id" + ], + [ + 3, + "Title" + ], + [ + 3, + "LongTitle" + ], + [ + 3, + "Date" + ], + [ + 3, + "GenreType" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "Act" + ], + [ + 0, + "Scene" + ], + [ + 0, + "Description" + ], + [ + 0, + "work id" + ], + [ + 1, + "id" + ], + [ + 1, + "char name" + ], + [ + 1, + "abbreviation" + ], + [ + 1, + "Description" + ], + [ + 2, + "id" + ], + [ + 2, + "paragraph number" + ], + [ + 2, + "Plain Text" + ], + [ + 2, + "character id" + ], + [ + 2, + "chapter id" + ], + [ + 3, + "id" + ], + [ + 3, + "Title" + ], + [ + 3, + "Long Title" + ], + [ + 3, + "character id" + ], + [ + 3, + "genre type" + ] + ], + "column_types": [ + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "integer", + "text" + ], + "primary_keys": [ + 1, + 6, + 10, + 15 + ], + "foreign_keys": [] + }, + { + "db_id": "book_publishing_company", + "table_names_original": [ + "authors", + "jobs", + "publishers", + "employee", + "pub_info", + "stores", + "discounts", + "titles", + "roysched", + "sales", + "titleauthor" + ], + "table_names": [ + "authors", + "jobs", + "publishers", + "employee", + "pub_info", + "stores", + "discounts", + "titles", + "roysched", + "sales", + "titleauthor" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "au_id" + ], + [ + 0, + "au_lname" + ], + [ + 0, + "au_fname" + ], + [ + 0, + "phone" + ], + [ + 0, + "address" + ], + [ + 0, + "city" + ], + [ + 0, + "state" + ], + [ + 0, + "zip" + ], + [ + 0, + "contract" + ], + [ + 1, + "job_id" + ], + [ + 1, + "job_desc" + ], + [ + 1, + "min_lvl" + ], + [ + 1, + "max_lvl" + ], + [ + 2, + "pub_id" + ], + [ + 2, + "pub_name" + ], + [ + 2, + "city" + ], + [ + 2, + "state" + ], + [ + 2, + "country" + ], + [ + 3, + "emp_id" + ], + [ + 3, + "fname" + ], + [ + 3, + "minit" + ], + [ + 3, + "lname" + ], + [ + 3, + "job_id" + ], + [ + 3, + "job_lvl" + ], + [ + 3, + "pub_id" + ], + [ + 3, + "hire_date" + ], + [ + 4, + "pub_id" + ], + [ + 4, + "logo" + ], + [ + 4, + "pr_info" + ], + [ + 5, + "stor_id" + ], + [ + 5, + "stor_name" + ], + [ + 5, + "stor_address" + ], + [ + 5, + "city" + ], + [ + 5, + "state" + ], + [ + 5, + "zip" + ], + [ + 6, + "discounttype" + ], + [ + 6, + "stor_id" + ], + [ + 6, + "lowqty" + ], + [ + 6, + "highqty" + ], + [ + 6, + "discount" + ], + [ + 7, + "title_id" + ], + [ + 7, + "title" + ], + [ + 7, + "type" + ], + [ + 7, + "pub_id" + ], + [ + 7, + "price" + ], + [ + 7, + "advance" + ], + [ + 7, + "royalty" + ], + [ + 7, + "ytd_sales" + ], + [ + 7, + "notes" + ], + [ + 7, + "pubdate" + ], + [ + 8, + "title_id" + ], + [ + 8, + "lorange" + ], + [ + 8, + "hirange" + ], + [ + 8, + "royalty" + ], + [ + 9, + "stor_id" + ], + [ + 9, + "ord_num" + ], + [ + 9, + "ord_date" + ], + [ + 9, + "qty" + ], + [ + 9, + "payterms" + ], + [ + 9, + "title_id" + ], + [ + 10, + "au_id" + ], + [ + 10, + "title_id" + ], + [ + 10, + "au_ord" + ], + [ + 10, + "royaltyper" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "author id" + ], + [ + 0, + "author last name" + ], + [ + 0, + "author first name" + ], + [ + 0, + "phone" + ], + [ + 0, + "address" + ], + [ + 0, + "city" + ], + [ + 0, + "state" + ], + [ + 0, + "zip" + ], + [ + 0, + "contract" + ], + [ + 1, + "job id" + ], + [ + 1, + "job description" + ], + [ + 1, + "min level" + ], + [ + 1, + "max level" + ], + [ + 2, + "publisher id" + ], + [ + 2, + "publisher name" + ], + [ + 2, + "city" + ], + [ + 2, + "state" + ], + [ + 2, + "country" + ], + [ + 3, + "employee id" + ], + [ + 3, + "first name" + ], + [ + 3, + "minit" + ], + [ + 3, + "last name" + ], + [ + 3, + "job id" + ], + [ + 3, + "job level" + ], + [ + 3, + "publisher id" + ], + [ + 3, + "hire_date" + ], + [ + 4, + "publication id" + ], + [ + 4, + "logo" + ], + [ + 4, + "publisher's information" + ], + [ + 5, + "store id" + ], + [ + 5, + "store name" + ], + [ + 5, + "store address" + ], + [ + 5, + "city" + ], + [ + 5, + "state" + ], + [ + 5, + "zip" + ], + [ + 6, + "discount type" + ], + [ + 6, + "store id" + ], + [ + 6, + "low quantity" + ], + [ + 6, + "high quantity" + ], + [ + 6, + "discount" + ], + [ + 7, + "title id" + ], + [ + 7, + "title" + ], + [ + 7, + "type" + ], + [ + 7, + "publisher id" + ], + [ + 7, + "price" + ], + [ + 7, + "advance" + ], + [ + 7, + "royalty" + ], + [ + 7, + "year to date sales" + ], + [ + 7, + "notes" + ], + [ + 7, + "publication date" + ], + [ + 8, + "title_id" + ], + [ + 8, + "low range" + ], + [ + 8, + "high range" + ], + [ + 8, + "royalty" + ], + [ + 9, + "store id" + ], + [ + 9, + "order number" + ], + [ + 9, + "order date" + ], + [ + 9, + "quantity" + ], + [ + 9, + "payterms" + ], + [ + 9, + "title id" + ], + [ + 10, + "author id" + ], + [ + 10, + "title id" + ], + [ + 10, + "author ordering" + ], + [ + 10, + "royaltyper" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "text", + "datetime", + "text", + "blob", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "real", + "text", + "text", + "text", + "text", + "real", + "real", + "integer", + "integer", + "text", + "datetime", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "datetime", + "integer", + "text", + "text", + "text", + "text", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 10, + 14, + 19, + 27, + 30, + 41, + [ + 55, + 56, + 60 + ], + [ + 61, + 62 + ] + ], + "foreign_keys": [ + [ + 25, + 14 + ], + [ + 23, + 10 + ], + [ + 27, + 14 + ], + [ + 37, + 30 + ], + [ + 44, + 14 + ], + [ + 51, + 41 + ], + [ + 60, + 41 + ], + [ + 55, + 30 + ], + [ + 62, + 41 + ], + [ + 61, + 1 + ] + ] + }, + { + "db_id": "car_retails", + "table_names_original": [ + "offices", + "employees", + "customers", + "orders", + "payments", + "productlines", + "products", + "orderdetails" + ], + "table_names": [ + "offices", + "employees", + "customers", + "orders", + "payments", + "productlines", + "products", + "orderdetails" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "officeCode" + ], + [ + 0, + "city" + ], + [ + 0, + "phone" + ], + [ + 0, + "addressLine1" + ], + [ + 0, + "addressLine2" + ], + [ + 0, + "state" + ], + [ + 0, + "country" + ], + [ + 0, + "postalCode" + ], + [ + 0, + "territory" + ], + [ + 1, + "employeeNumber" + ], + [ + 1, + "lastName" + ], + [ + 1, + "firstName" + ], + [ + 1, + "extension" + ], + [ + 1, + "email" + ], + [ + 1, + "officeCode" + ], + [ + 1, + "reportsTo" + ], + [ + 1, + "jobTitle" + ], + [ + 2, + "customerNumber" + ], + [ + 2, + "customerName" + ], + [ + 2, + "contactLastName" + ], + [ + 2, + "contactFirstName" + ], + [ + 2, + "phone" + ], + [ + 2, + "addressLine1" + ], + [ + 2, + "addressLine2" + ], + [ + 2, + "city" + ], + [ + 2, + "state" + ], + [ + 2, + "postalCode" + ], + [ + 2, + "country" + ], + [ + 2, + "salesRepEmployeeNumber" + ], + [ + 2, + "creditLimit" + ], + [ + 3, + "orderNumber" + ], + [ + 3, + "orderDate" + ], + [ + 3, + "requiredDate" + ], + [ + 3, + "shippedDate" + ], + [ + 3, + "status" + ], + [ + 3, + "comments" + ], + [ + 3, + "customerNumber" + ], + [ + 4, + "customerNumber" + ], + [ + 4, + "checkNumber" + ], + [ + 4, + "paymentDate" + ], + [ + 4, + "amount" + ], + [ + 5, + "productLine" + ], + [ + 5, + "textDescription" + ], + [ + 5, + "htmlDescription" + ], + [ + 5, + "image" + ], + [ + 6, + "productCode" + ], + [ + 6, + "productName" + ], + [ + 6, + "productLine" + ], + [ + 6, + "productScale" + ], + [ + 6, + "productVendor" + ], + [ + 6, + "productDescription" + ], + [ + 6, + "quantityInStock" + ], + [ + 6, + "buyPrice" + ], + [ + 6, + "MSRP" + ], + [ + 7, + "orderNumber" + ], + [ + 7, + "productCode" + ], + [ + 7, + "quantityOrdered" + ], + [ + 7, + "priceEach" + ], + [ + 7, + "orderLineNumber" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "office code" + ], + [ + 0, + "city" + ], + [ + 0, + "phone" + ], + [ + 0, + "addressLine1" + ], + [ + 0, + "addressLine2" + ], + [ + 0, + "state" + ], + [ + 0, + "country" + ], + [ + 0, + "postalCode" + ], + [ + 0, + "territory" + ], + [ + 1, + "Employee Number" + ], + [ + 1, + "last name" + ], + [ + 1, + "first name" + ], + [ + 1, + "extension" + ], + [ + 1, + "email" + ], + [ + 1, + "office code" + ], + [ + 1, + "reports to" + ], + [ + 1, + "job title" + ], + [ + 2, + "customer number" + ], + [ + 2, + "customer name" + ], + [ + 2, + "contact last name" + ], + [ + 2, + "contact first name" + ], + [ + 2, + "phone" + ], + [ + 2, + "addressLine1" + ], + [ + 2, + "addressLine2" + ], + [ + 2, + "city" + ], + [ + 2, + "state" + ], + [ + 2, + "postalCode" + ], + [ + 2, + "country" + ], + [ + 2, + "sales representative employee number" + ], + [ + 2, + "credit limit" + ], + [ + 3, + "order number" + ], + [ + 3, + "order date" + ], + [ + 3, + "required Date" + ], + [ + 3, + "shipped date" + ], + [ + 3, + "status" + ], + [ + 3, + "comments" + ], + [ + 3, + "customer number" + ], + [ + 4, + "customer number" + ], + [ + 4, + "check Number" + ], + [ + 4, + "payment Date" + ], + [ + 4, + "amount" + ], + [ + 5, + "product line" + ], + [ + 5, + "text description" + ], + [ + 5, + "html description" + ], + [ + 5, + "image" + ], + [ + 6, + "product code" + ], + [ + 6, + "product name" + ], + [ + 6, + "product line" + ], + [ + 6, + "product scale" + ], + [ + 6, + "product vendor" + ], + [ + 6, + "product description" + ], + [ + 6, + "quantity in stock" + ], + [ + 6, + "buy price" + ], + [ + 6, + "Manufacturer Suggested Retail Price" + ], + [ + 7, + "order number" + ], + [ + 7, + "product code" + ], + [ + 7, + "quantity ordered" + ], + [ + 7, + "price for each" + ], + [ + 7, + "order Line Number" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "real", + "integer", + "date", + "date", + "date", + "text", + "text", + "integer", + "integer", + "text", + "date", + "real", + "text", + "text", + "text", + "blob", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "real", + "real", + "integer", + "text", + "integer", + "real", + "integer" + ], + "primary_keys": [ + 1, + 10, + 18, + 31, + [ + 38, + 39 + ], + 42, + 46, + [ + 55, + 56 + ] + ], + "foreign_keys": [ + [ + 16, + 10 + ], + [ + 15, + 1 + ], + [ + 29, + 10 + ], + [ + 37, + 18 + ], + [ + 38, + 18 + ], + [ + 48, + 42 + ] + ] + }, + { + "db_id": "mental_health_survey", + "table_names_original": [ + "Question", + "Survey", + "Answer" + ], + "table_names": [ + "Question", + "Survey", + "Answer" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "questiontext" + ], + [ + 0, + "questionid" + ], + [ + 1, + "SurveyID" + ], + [ + 1, + "Description" + ], + [ + 2, + "AnswerText" + ], + [ + 2, + "SurveyID" + ], + [ + 2, + "UserID" + ], + [ + 2, + "QuestionID" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "question text" + ], + [ + 0, + "question id" + ], + [ + 1, + "Survey ID" + ], + [ + 1, + "Description" + ], + [ + 2, + "Answer Text" + ], + [ + 2, + "Survey ID" + ], + [ + 2, + "User ID" + ], + [ + 2, + "Question ID" + ] + ], + "column_types": [ + "text", + "text", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "integer" + ], + "primary_keys": [ + 2, + 3, + [ + 7, + 8 + ] + ], + "foreign_keys": [] + }, + { + "db_id": "hockey", + "table_names_original": [ + "AwardsMisc", + "HOF", + "Teams", + "Coaches", + "AwardsCoaches", + "Master", + "AwardsPlayers", + "CombinedShutouts", + "Goalies", + "GoaliesSC", + "GoaliesShootout", + "Scoring", + "ScoringSC", + "ScoringShootout", + "ScoringSup", + "SeriesPost", + "TeamSplits", + "TeamVsTeam", + "TeamsHalf", + "TeamsPost", + "TeamsSC", + "abbrev" + ], + "table_names": [ + "AwardsMisc", + "HOF", + "Teams", + "Coaches", + "AwardsCoaches", + "Master", + "AwardsPlayers", + "CombinedShutouts", + "Goalies", + "GoaliesSC", + "GoaliesShootout", + "Scoring", + "ScoringSC", + "ScoringShootout", + "ScoringSup", + "SeriesPost", + "TeamSplits", + "TeamVsTeam", + "TeamsHalf", + "TeamsPost", + "TeamsSC", + "abbrev" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "name" + ], + [ + 0, + "ID" + ], + [ + 0, + "award" + ], + [ + 0, + "year" + ], + [ + 0, + "lgID" + ], + [ + 0, + "note" + ], + [ + 1, + "year" + ], + [ + 1, + "hofID" + ], + [ + 1, + "name" + ], + [ + 1, + "category" + ], + [ + 2, + "year" + ], + [ + 2, + "lgID" + ], + [ + 2, + "tmID" + ], + [ + 2, + "franchID" + ], + [ + 2, + "confID" + ], + [ + 2, + "divID" + ], + [ + 2, + "rank" + ], + [ + 2, + "playoff" + ], + [ + 2, + "G" + ], + [ + 2, + "W" + ], + [ + 2, + "L" + ], + [ + 2, + "T" + ], + [ + 2, + "OTL" + ], + [ + 2, + "Pts" + ], + [ + 2, + "SoW" + ], + [ + 2, + "SoL" + ], + [ + 2, + "GF" + ], + [ + 2, + "GA" + ], + [ + 2, + "name" + ], + [ + 2, + "PIM" + ], + [ + 2, + "BenchMinor" + ], + [ + 2, + "PPG" + ], + [ + 2, + "PPC" + ], + [ + 2, + "SHA" + ], + [ + 2, + "PKG" + ], + [ + 2, + "PKC" + ], + [ + 2, + "SHF" + ], + [ + 3, + "coachID" + ], + [ + 3, + "year" + ], + [ + 3, + "tmID" + ], + [ + 3, + "lgID" + ], + [ + 3, + "stint" + ], + [ + 3, + "notes" + ], + [ + 3, + "g" + ], + [ + 3, + "w" + ], + [ + 3, + "l" + ], + [ + 3, + "t" + ], + [ + 3, + "postg" + ], + [ + 3, + "postw" + ], + [ + 3, + "postl" + ], + [ + 3, + "postt" + ], + [ + 4, + "coachID" + ], + [ + 4, + "award" + ], + [ + 4, + "year" + ], + [ + 4, + "lgID" + ], + [ + 4, + "note" + ], + [ + 5, + "playerID" + ], + [ + 5, + "coachID" + ], + [ + 5, + "hofID" + ], + [ + 5, + "firstName" + ], + [ + 5, + "lastName" + ], + [ + 5, + "nameNote" + ], + [ + 5, + "nameGiven" + ], + [ + 5, + "nameNick" + ], + [ + 5, + "height" + ], + [ + 5, + "weight" + ], + [ + 5, + "shootCatch" + ], + [ + 5, + "legendsID" + ], + [ + 5, + "ihdbID" + ], + [ + 5, + "hrefID" + ], + [ + 5, + "firstNHL" + ], + [ + 5, + "lastNHL" + ], + [ + 5, + "firstWHA" + ], + [ + 5, + "lastWHA" + ], + [ + 5, + "pos" + ], + [ + 5, + "birthYear" + ], + [ + 5, + "birthMon" + ], + [ + 5, + "birthDay" + ], + [ + 5, + "birthCountry" + ], + [ + 5, + "birthState" + ], + [ + 5, + "birthCity" + ], + [ + 5, + "deathYear" + ], + [ + 5, + "deathMon" + ], + [ + 5, + "deathDay" + ], + [ + 5, + "deathCountry" + ], + [ + 5, + "deathState" + ], + [ + 5, + "deathCity" + ], + [ + 6, + "playerID" + ], + [ + 6, + "award" + ], + [ + 6, + "year" + ], + [ + 6, + "lgID" + ], + [ + 6, + "note" + ], + [ + 6, + "pos" + ], + [ + 7, + "year" + ], + [ + 7, + "month" + ], + [ + 7, + "date" + ], + [ + 7, + "tmID" + ], + [ + 7, + "oppID" + ], + [ + 7, + "R/P" + ], + [ + 7, + "IDgoalie1" + ], + [ + 7, + "IDgoalie2" + ], + [ + 8, + "playerID" + ], + [ + 8, + "year" + ], + [ + 8, + "stint" + ], + [ + 8, + "tmID" + ], + [ + 8, + "lgID" + ], + [ + 8, + "GP" + ], + [ + 8, + "Min" + ], + [ + 8, + "W" + ], + [ + 8, + "L" + ], + [ + 8, + "T/OL" + ], + [ + 8, + "ENG" + ], + [ + 8, + "SHO" + ], + [ + 8, + "GA" + ], + [ + 8, + "SA" + ], + [ + 8, + "PostGP" + ], + [ + 8, + "PostMin" + ], + [ + 8, + "PostW" + ], + [ + 8, + "PostL" + ], + [ + 8, + "PostT" + ], + [ + 8, + "PostENG" + ], + [ + 8, + "PostSHO" + ], + [ + 8, + "PostGA" + ], + [ + 8, + "PostSA" + ], + [ + 9, + "playerID" + ], + [ + 9, + "year" + ], + [ + 9, + "tmID" + ], + [ + 9, + "lgID" + ], + [ + 9, + "GP" + ], + [ + 9, + "Min" + ], + [ + 9, + "W" + ], + [ + 9, + "L" + ], + [ + 9, + "T" + ], + [ + 9, + "SHO" + ], + [ + 9, + "GA" + ], + [ + 10, + "playerID" + ], + [ + 10, + "year" + ], + [ + 10, + "stint" + ], + [ + 10, + "tmID" + ], + [ + 10, + "W" + ], + [ + 10, + "L" + ], + [ + 10, + "SA" + ], + [ + 10, + "GA" + ], + [ + 11, + "playerID" + ], + [ + 11, + "year" + ], + [ + 11, + "stint" + ], + [ + 11, + "tmID" + ], + [ + 11, + "lgID" + ], + [ + 11, + "pos" + ], + [ + 11, + "GP" + ], + [ + 11, + "G" + ], + [ + 11, + "A" + ], + [ + 11, + "Pts" + ], + [ + 11, + "PIM" + ], + [ + 11, + "+/-" + ], + [ + 11, + "PPG" + ], + [ + 11, + "PPA" + ], + [ + 11, + "SHG" + ], + [ + 11, + "SHA" + ], + [ + 11, + "GWG" + ], + [ + 11, + "GTG" + ], + [ + 11, + "SOG" + ], + [ + 11, + "PostGP" + ], + [ + 11, + "PostG" + ], + [ + 11, + "PostA" + ], + [ + 11, + "PostPts" + ], + [ + 11, + "PostPIM" + ], + [ + 11, + "Post+/-" + ], + [ + 11, + "PostPPG" + ], + [ + 11, + "PostPPA" + ], + [ + 11, + "PostSHG" + ], + [ + 11, + "PostSHA" + ], + [ + 11, + "PostGWG" + ], + [ + 11, + "PostSOG" + ], + [ + 12, + "playerID" + ], + [ + 12, + "year" + ], + [ + 12, + "tmID" + ], + [ + 12, + "lgID" + ], + [ + 12, + "pos" + ], + [ + 12, + "GP" + ], + [ + 12, + "G" + ], + [ + 12, + "A" + ], + [ + 12, + "Pts" + ], + [ + 12, + "PIM" + ], + [ + 13, + "playerID" + ], + [ + 13, + "year" + ], + [ + 13, + "stint" + ], + [ + 13, + "tmID" + ], + [ + 13, + "S" + ], + [ + 13, + "G" + ], + [ + 13, + "GDG" + ], + [ + 14, + "playerID" + ], + [ + 14, + "year" + ], + [ + 14, + "PPA" + ], + [ + 14, + "SHA" + ], + [ + 15, + "year" + ], + [ + 15, + "round" + ], + [ + 15, + "series" + ], + [ + 15, + "tmIDWinner" + ], + [ + 15, + "lgIDWinner" + ], + [ + 15, + "tmIDLoser" + ], + [ + 15, + "lgIDLoser" + ], + [ + 15, + "W" + ], + [ + 15, + "L" + ], + [ + 15, + "T" + ], + [ + 15, + "GoalsWinner" + ], + [ + 15, + "GoalsLoser" + ], + [ + 15, + "note" + ], + [ + 16, + "year" + ], + [ + 16, + "lgID" + ], + [ + 16, + "tmID" + ], + [ + 16, + "hW" + ], + [ + 16, + "hL" + ], + [ + 16, + "hT" + ], + [ + 16, + "hOTL" + ], + [ + 16, + "rW" + ], + [ + 16, + "rL" + ], + [ + 16, + "rT" + ], + [ + 16, + "rOTL" + ], + [ + 16, + "SepW" + ], + [ + 16, + "SepL" + ], + [ + 16, + "SepT" + ], + [ + 16, + "SepOL" + ], + [ + 16, + "OctW" + ], + [ + 16, + "OctL" + ], + [ + 16, + "OctT" + ], + [ + 16, + "OctOL" + ], + [ + 16, + "NovW" + ], + [ + 16, + "NovL" + ], + [ + 16, + "NovT" + ], + [ + 16, + "NovOL" + ], + [ + 16, + "DecW" + ], + [ + 16, + "DecL" + ], + [ + 16, + "DecT" + ], + [ + 16, + "DecOL" + ], + [ + 16, + "JanW" + ], + [ + 16, + "JanL" + ], + [ + 16, + "JanT" + ], + [ + 16, + "JanOL" + ], + [ + 16, + "FebW" + ], + [ + 16, + "FebL" + ], + [ + 16, + "FebT" + ], + [ + 16, + "FebOL" + ], + [ + 16, + "MarW" + ], + [ + 16, + "MarL" + ], + [ + 16, + "MarT" + ], + [ + 16, + "MarOL" + ], + [ + 16, + "AprW" + ], + [ + 16, + "AprL" + ], + [ + 16, + "AprT" + ], + [ + 16, + "AprOL" + ], + [ + 17, + "year" + ], + [ + 17, + "lgID" + ], + [ + 17, + "tmID" + ], + [ + 17, + "oppID" + ], + [ + 17, + "W" + ], + [ + 17, + "L" + ], + [ + 17, + "T" + ], + [ + 17, + "OTL" + ], + [ + 18, + "year" + ], + [ + 18, + "lgID" + ], + [ + 18, + "tmID" + ], + [ + 18, + "half" + ], + [ + 18, + "rank" + ], + [ + 18, + "G" + ], + [ + 18, + "W" + ], + [ + 18, + "L" + ], + [ + 18, + "T" + ], + [ + 18, + "GF" + ], + [ + 18, + "GA" + ], + [ + 19, + "year" + ], + [ + 19, + "lgID" + ], + [ + 19, + "tmID" + ], + [ + 19, + "G" + ], + [ + 19, + "W" + ], + [ + 19, + "L" + ], + [ + 19, + "T" + ], + [ + 19, + "GF" + ], + [ + 19, + "GA" + ], + [ + 19, + "PIM" + ], + [ + 19, + "BenchMinor" + ], + [ + 19, + "PPG" + ], + [ + 19, + "PPC" + ], + [ + 19, + "SHA" + ], + [ + 19, + "PKG" + ], + [ + 19, + "PKC" + ], + [ + 19, + "SHF" + ], + [ + 20, + "year" + ], + [ + 20, + "lgID" + ], + [ + 20, + "tmID" + ], + [ + 20, + "G" + ], + [ + 20, + "W" + ], + [ + 20, + "L" + ], + [ + 20, + "T" + ], + [ + 20, + "GF" + ], + [ + 20, + "GA" + ], + [ + 20, + "PIM" + ], + [ + 21, + "Type" + ], + [ + 21, + "Code" + ], + [ + 21, + "Fullname" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "name" + ], + [ + 0, + "ID" + ], + [ + 0, + "award" + ], + [ + 0, + "year" + ], + [ + 0, + "league ID" + ], + [ + 0, + "note" + ], + [ + 1, + "year" + ], + [ + 1, + "hall of fame id" + ], + [ + 1, + "name" + ], + [ + 1, + "category" + ], + [ + 2, + "year" + ], + [ + 2, + "league ID" + ], + [ + 2, + "team ID" + ], + [ + 2, + "Franchise ID" + ], + [ + 2, + "Conference ID" + ], + [ + 2, + "Division ID" + ], + [ + 2, + "rank" + ], + [ + 2, + "playoff" + ], + [ + 2, + "games" + ], + [ + 2, + "wins" + ], + [ + 2, + "loses" + ], + [ + 2, + "ties" + ], + [ + 2, + "Overtime losses" + ], + [ + 2, + "points" + ], + [ + 2, + "Shootout wins" + ], + [ + 2, + "Shootout loses" + ], + [ + 2, + "Goals for" + ], + [ + 2, + "Goals against" + ], + [ + 2, + "Full team name" + ], + [ + 2, + "Penalty minutes" + ], + [ + 2, + "Bench minors (minutes)" + ], + [ + 2, + "Power play goals" + ], + [ + 2, + "Power play chances" + ], + [ + 2, + "Shorthanded goals against" + ], + [ + 2, + "Power play goals against" + ], + [ + 2, + "Penalty kill chances" + ], + [ + 2, + "Shorthanded goals for" + ], + [ + 3, + "coach ID" + ], + [ + 3, + "year" + ], + [ + 3, + "team ID" + ], + [ + 3, + "league ID" + ], + [ + 3, + "stint" + ], + [ + 3, + "notes" + ], + [ + 3, + "games" + ], + [ + 3, + "wins" + ], + [ + 3, + "loses" + ], + [ + 3, + "ties" + ], + [ + 3, + "post-season games" + ], + [ + 3, + "post-season wins" + ], + [ + 3, + "post-season loses" + ], + [ + 3, + "post-season ties" + ], + [ + 4, + "coach ID" + ], + [ + 4, + "award" + ], + [ + 4, + "year" + ], + [ + 4, + "league ID" + ], + [ + 4, + "note" + ], + [ + 5, + "playerID" + ], + [ + 5, + "coach ID" + ], + [ + 5, + "hofID" + ], + [ + 5, + "first name" + ], + [ + 5, + "last name" + ], + [ + 5, + "name note" + ], + [ + 5, + "name given" + ], + [ + 5, + "Nickname" + ], + [ + 5, + "height" + ], + [ + 5, + "weight" + ], + [ + 5, + "shoot catch" + ], + [ + 5, + "legends ID" + ], + [ + 5, + "Internet Hockey Database ID" + ], + [ + 5, + "Hockey-Reference.com ID" + ], + [ + 5, + "First NHL season" + ], + [ + 5, + "Last NHL season" + ], + [ + 5, + "First WHA season" + ], + [ + 5, + "Last WHA season" + ], + [ + 5, + "position" + ], + [ + 5, + "birth Year" + ], + [ + 5, + "birth Month" + ], + [ + 5, + "birth Day" + ], + [ + 5, + "birth Country" + ], + [ + 5, + "birth State" + ], + [ + 5, + "birth city" + ], + [ + 5, + "death year" + ], + [ + 5, + "death month" + ], + [ + 5, + "death day" + ], + [ + 5, + "death country" + ], + [ + 5, + "death state" + ], + [ + 5, + "death city" + ], + [ + 6, + "player id" + ], + [ + 6, + "award" + ], + [ + 6, + "year" + ], + [ + 6, + "league ID" + ], + [ + 6, + "note" + ], + [ + 6, + "position" + ], + [ + 7, + "year" + ], + [ + 7, + "month" + ], + [ + 7, + "date" + ], + [ + 7, + "team ID" + ], + [ + 7, + "opposite team ID" + ], + [ + 7, + "regular / postseason" + ], + [ + 7, + "ID of goalie 1" + ], + [ + 7, + "ID of goalie 2" + ], + [ + 8, + "playerID" + ], + [ + 8, + "year" + ], + [ + 8, + "stint" + ], + [ + 8, + "team ID" + ], + [ + 8, + "league ID" + ], + [ + 8, + "Games played" + ], + [ + 8, + "Minutes" + ], + [ + 8, + "wins" + ], + [ + 8, + "loses" + ], + [ + 8, + "Ties / overtime losses" + ], + [ + 8, + "Empty net goals" + ], + [ + 8, + "Shutouts" + ], + [ + 8, + "Goals against" + ], + [ + 8, + "Shots against" + ], + [ + 8, + "Postseason games played" + ], + [ + 8, + "Postseason minutes" + ], + [ + 8, + "Postseason wins" + ], + [ + 8, + "Postseason loses" + ], + [ + 8, + "Postseason ties" + ], + [ + 8, + "Postseason empty net goals" + ], + [ + 8, + "Postseason Shutouts" + ], + [ + 8, + "Postseason Goals against" + ], + [ + 8, + "Postseason Shots against" + ], + [ + 9, + "playerID" + ], + [ + 9, + "year" + ], + [ + 9, + "team ID" + ], + [ + 9, + "league ID" + ], + [ + 9, + "Games played" + ], + [ + 9, + "Minutes" + ], + [ + 9, + "Wins" + ], + [ + 9, + "Loses" + ], + [ + 9, + "Ties" + ], + [ + 9, + "Shutouts" + ], + [ + 9, + "Goals against" + ], + [ + 10, + "playerID" + ], + [ + 10, + "year" + ], + [ + 10, + "stint" + ], + [ + 10, + "team ID" + ], + [ + 10, + "Wins" + ], + [ + 10, + "Loses" + ], + [ + 10, + "Shots against" + ], + [ + 10, + "Goals against" + ], + [ + 11, + "playerID" + ], + [ + 11, + "year" + ], + [ + 11, + "stint" + ], + [ + 11, + "team id" + ], + [ + 11, + "league id" + ], + [ + 11, + "position" + ], + [ + 11, + "game played" + ], + [ + 11, + "goals" + ], + [ + 11, + "assists" + ], + [ + 11, + "points" + ], + [ + 11, + "Penalty minutes" + ], + [ + 11, + "Plus / minus" + ], + [ + 11, + "Power play goals" + ], + [ + 11, + "Power play assists" + ], + [ + 11, + "Shorthanded goals" + ], + [ + 11, + "Shorthanded assists" + ], + [ + 11, + "Game-winning goals" + ], + [ + 11, + "Game-tying goals" + ], + [ + 11, + "Shots on goal" + ], + [ + 11, + "Postseason games played" + ], + [ + 11, + "Postseason goals" + ], + [ + 11, + "Postseason assists" + ], + [ + 11, + "Postseason points" + ], + [ + 11, + "Postseason penalty minutes" + ], + [ + 11, + "Postseason Plus / minus" + ], + [ + 11, + "Postseason power play goals" + ], + [ + 11, + "Postseason power play assists" + ], + [ + 11, + "Postseason Shorthanded goals" + ], + [ + 11, + "Postseason Shorthanded assists" + ], + [ + 11, + "Postseason game-winning goals" + ], + [ + 11, + "Postseason shots on goal" + ], + [ + 12, + "playerID" + ], + [ + 12, + "year" + ], + [ + 12, + "team ID" + ], + [ + 12, + "league ID" + ], + [ + 12, + "position" + ], + [ + 12, + "Games played" + ], + [ + 12, + "Goals" + ], + [ + 12, + "assists" + ], + [ + 12, + "points" + ], + [ + 12, + "Penalty minutes" + ], + [ + 13, + "player id" + ], + [ + 13, + "year" + ], + [ + 13, + "stint" + ], + [ + 13, + "team ID" + ], + [ + 13, + "shots" + ], + [ + 13, + "goals" + ], + [ + 13, + "game deciding goals" + ], + [ + 14, + "player id" + ], + [ + 14, + "year" + ], + [ + 14, + "Power play assists" + ], + [ + 14, + "Shorthanded assists" + ], + [ + 15, + "year" + ], + [ + 15, + "round" + ], + [ + 15, + "series" + ], + [ + 15, + "Team ID of winner" + ], + [ + 15, + "League ID of winner" + ], + [ + 15, + "Team ID of loser" + ], + [ + 15, + "league id of loser" + ], + [ + 15, + "wins" + ], + [ + 15, + "loses" + ], + [ + 15, + "ties" + ], + [ + 15, + "goals for winner" + ], + [ + 15, + "goals for loser" + ], + [ + 15, + "note" + ], + [ + 16, + "year" + ], + [ + 16, + "league ID" + ], + [ + 16, + "team ID" + ], + [ + 16, + "home wins" + ], + [ + 16, + "home loses" + ], + [ + 16, + "home ties" + ], + [ + 16, + "Home overtime losses" + ], + [ + 16, + "Road wins" + ], + [ + 16, + "Road loses" + ], + [ + 16, + "Road ties" + ], + [ + 16, + "road overtime loses" + ], + [ + 16, + "September wins" + ], + [ + 16, + "September loses" + ], + [ + 16, + "September ties" + ], + [ + 16, + "September overtime loses" + ], + [ + 16, + "October wins" + ], + [ + 16, + "October loses" + ], + [ + 16, + "October ties" + ], + [ + 16, + "October overtime loses" + ], + [ + 16, + "November wins" + ], + [ + 16, + "November loses" + ], + [ + 16, + "November ties" + ], + [ + 16, + "November overtime loses" + ], + [ + 16, + "December wins" + ], + [ + 16, + "December loses" + ], + [ + 16, + "December ties" + ], + [ + 16, + "December overtime loses" + ], + [ + 16, + "January wins" + ], + [ + 16, + "January loses" + ], + [ + 16, + "January ties" + ], + [ + 16, + "January overtime loses" + ], + [ + 16, + "February wins" + ], + [ + 16, + "February loses" + ], + [ + 16, + "February ties" + ], + [ + 16, + "February overtime loses" + ], + [ + 16, + "March wins" + ], + [ + 16, + "March loses" + ], + [ + 16, + "March ties" + ], + [ + 16, + "March overtime loses" + ], + [ + 16, + "April wins" + ], + [ + 16, + "April loses" + ], + [ + 16, + "April ties" + ], + [ + 16, + "April overtime loses" + ], + [ + 17, + "year" + ], + [ + 17, + "league ID" + ], + [ + 17, + "team ID" + ], + [ + 17, + "opponent ID" + ], + [ + 17, + "wins" + ], + [ + 17, + "loses" + ], + [ + 17, + "ties" + ], + [ + 17, + "overtime loses" + ], + [ + 18, + "year" + ], + [ + 18, + "league ID" + ], + [ + 18, + "team ID" + ], + [ + 18, + "half" + ], + [ + 18, + "rank" + ], + [ + 18, + "Games" + ], + [ + 18, + "wins" + ], + [ + 18, + "loses" + ], + [ + 18, + "ties" + ], + [ + 18, + "goals for" + ], + [ + 18, + "goals against" + ], + [ + 19, + "year" + ], + [ + 19, + "league ID" + ], + [ + 19, + "team ID" + ], + [ + 19, + "Games" + ], + [ + 19, + "wins" + ], + [ + 19, + "loses" + ], + [ + 19, + "ties" + ], + [ + 19, + "goals for" + ], + [ + 19, + "goals against" + ], + [ + 19, + "penalty minutes" + ], + [ + 19, + "Bench minors (minutes)" + ], + [ + 19, + "Power play goals" + ], + [ + 19, + "Power play chances" + ], + [ + 19, + "Shorthanded goals against" + ], + [ + 19, + "Power play goals against" + ], + [ + 19, + "Penalty kill chances" + ], + [ + 19, + "Shorthanded goals for" + ], + [ + 20, + "year" + ], + [ + 20, + "league ID" + ], + [ + 20, + "team ID" + ], + [ + 20, + "Games" + ], + [ + 20, + "wins" + ], + [ + 20, + "loses" + ], + [ + 20, + "ties" + ], + [ + 20, + "goals for" + ], + [ + 20, + "goals against" + ], + [ + 20, + "penalty minutes" + ], + [ + 21, + "Type" + ], + [ + 21, + "Code" + ], + [ + 21, + "Fullname" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "integer", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text" + ], + "primary_keys": [ + 1, + 8, + [ + 11, + 13 + ], + [ + 38, + 39, + 40, + 42 + ], + [ + 88, + 89, + 90 + ], + [ + 102, + 103, + 104 + ], + [ + 125, + 126 + ], + [ + 209, + 211 + ], + [ + 252, + 254, + 255 + ], + [ + 260, + 262, + 263 + ], + [ + 271, + 273 + ], + [ + 288, + 290 + ], + [ + 298, + 299 + ] + ], + "foreign_keys": [ + [ + 39, + 11 + ], + [ + 40, + 13 + ], + [ + 52, + 38 + ], + [ + 58, + 38 + ], + [ + 88, + 57 + ], + [ + 101, + 57 + ], + [ + 100, + 57 + ], + [ + 102, + 57 + ], + [ + 103, + 11 + ], + [ + 105, + 13 + ], + [ + 125, + 57 + ], + [ + 126, + 11 + ], + [ + 127, + 13 + ], + [ + 136, + 57 + ], + [ + 137, + 11 + ], + [ + 139, + 13 + ], + [ + 144, + 57 + ], + [ + 145, + 11 + ], + [ + 147, + 13 + ], + [ + 175, + 57 + ], + [ + 176, + 11 + ], + [ + 177, + 13 + ], + [ + 185, + 57 + ], + [ + 186, + 11 + ], + [ + 188, + 13 + ], + [ + 192, + 57 + ], + [ + 196, + 11 + ], + [ + 201, + 13 + ], + [ + 196, + 11 + ], + [ + 199, + 13 + ], + [ + 209, + 11 + ], + [ + 211, + 13 + ], + [ + 255, + 13 + ], + [ + 252, + 11 + ], + [ + 252, + 11 + ], + [ + 254, + 13 + ], + [ + 262, + 13 + ], + [ + 260, + 11 + ], + [ + 271, + 11 + ], + [ + 273, + 13 + ], + [ + 288, + 11 + ], + [ + 290, + 13 + ] + ] + }, + { + "db_id": "music_platform_2", + "table_names_original": [ + "runs", + "podcasts", + "reviews", + "categories" + ], + "table_names": [ + "runs", + "podcasts", + "reviews", + "categories" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "run_at" + ], + [ + 0, + "max_rowid" + ], + [ + 0, + "reviews_added" + ], + [ + 1, + "podcast_id" + ], + [ + 1, + "itunes_id" + ], + [ + 1, + "slug" + ], + [ + 1, + "itunes_url" + ], + [ + 1, + "title" + ], + [ + 2, + "podcast_id" + ], + [ + 2, + "title" + ], + [ + 2, + "content" + ], + [ + 2, + "rating" + ], + [ + 2, + "author_id" + ], + [ + 2, + "created_at" + ], + [ + 3, + "podcast_id" + ], + [ + 3, + "category" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "run at" + ], + [ + 0, + "max row id" + ], + [ + 0, + "reviews added" + ], + [ + 1, + "podcast id" + ], + [ + 1, + "itunes id" + ], + [ + 1, + "slug" + ], + [ + 1, + "itunes url" + ], + [ + 1, + "title" + ], + [ + 2, + "podcast id" + ], + [ + 2, + "title" + ], + [ + 2, + "content" + ], + [ + 2, + "rating" + ], + [ + 2, + "author id" + ], + [ + 2, + "created at" + ], + [ + 3, + "podcast id" + ], + [ + 3, + "category" + ] + ], + "column_types": [ + "text", + "text", + "integer", + "integer", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text" + ], + "primary_keys": [ + 4, + [ + 15, + 16 + ] + ], + "foreign_keys": [] + }, + { + "db_id": "address", + "table_names_original": [ + "CBSA", + "state", + "congress", + "zip_data", + "alias", + "area_code", + "avoid", + "country", + "zip_congress" + ], + "table_names": [ + "CBSA", + "state", + "congress", + "zip_data", + "alias", + "area_code", + "avoid", + "country", + "zip_congress" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "CBSA" + ], + [ + 0, + "CBSA_name" + ], + [ + 0, + "CBSA_type" + ], + [ + 1, + "abbreviation" + ], + [ + 1, + "name" + ], + [ + 2, + "cognress_rep_id" + ], + [ + 2, + "first_name" + ], + [ + 2, + "last_name" + ], + [ + 2, + "CID" + ], + [ + 2, + "party" + ], + [ + 2, + "state" + ], + [ + 2, + "abbreviation" + ], + [ + 2, + "House" + ], + [ + 2, + "District" + ], + [ + 2, + "land_area" + ], + [ + 3, + "zip_code" + ], + [ + 3, + "city" + ], + [ + 3, + "state" + ], + [ + 3, + "multi_county" + ], + [ + 3, + "type" + ], + [ + 3, + "organization" + ], + [ + 3, + "time_zone" + ], + [ + 3, + "daylight_savings" + ], + [ + 3, + "latitude" + ], + [ + 3, + "longitude" + ], + [ + 3, + "elevation" + ], + [ + 3, + "state_fips" + ], + [ + 3, + "county_fips" + ], + [ + 3, + "region" + ], + [ + 3, + "division" + ], + [ + 3, + "population_2020" + ], + [ + 3, + "population_2010" + ], + [ + 3, + "households" + ], + [ + 3, + "avg_house_value" + ], + [ + 3, + "avg_income_per_household" + ], + [ + 3, + "persons_per_household" + ], + [ + 3, + "white_population" + ], + [ + 3, + "black_population" + ], + [ + 3, + "hispanic_population" + ], + [ + 3, + "asian_population" + ], + [ + 3, + "american_indian_population" + ], + [ + 3, + "hawaiian_population" + ], + [ + 3, + "other_population" + ], + [ + 3, + "male_population" + ], + [ + 3, + "female_population" + ], + [ + 3, + "median_age" + ], + [ + 3, + "male_median_age" + ], + [ + 3, + "female_median_age" + ], + [ + 3, + "residential_mailboxes" + ], + [ + 3, + "business_mailboxes" + ], + [ + 3, + "total_delivery_receptacles" + ], + [ + 3, + "businesses" + ], + [ + 3, + "1st_quarter_payroll" + ], + [ + 3, + "annual_payroll" + ], + [ + 3, + "employees" + ], + [ + 3, + "water_area" + ], + [ + 3, + "land_area" + ], + [ + 3, + "single_family_delivery_units" + ], + [ + 3, + "multi_family_delivery_units" + ], + [ + 3, + "total_beneficiaries" + ], + [ + 3, + "retired_workers" + ], + [ + 3, + "disabled_workers" + ], + [ + 3, + "parents_and_widowed" + ], + [ + 3, + "spouses" + ], + [ + 3, + "children" + ], + [ + 3, + "over_65" + ], + [ + 3, + "monthly_benefits_all" + ], + [ + 3, + "monthly_benefits_retired_workers" + ], + [ + 3, + "monthly_benefits_widowed" + ], + [ + 3, + "CBSA" + ], + [ + 4, + "zip_code" + ], + [ + 4, + "alias" + ], + [ + 5, + "zip_code" + ], + [ + 5, + "area_code" + ], + [ + 6, + "zip_code" + ], + [ + 6, + "bad_alias" + ], + [ + 7, + "zip_code" + ], + [ + 7, + "county" + ], + [ + 7, + "state" + ], + [ + 8, + "zip_code" + ], + [ + 8, + "district" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "CBSA" + ], + [ + 0, + "cbsa name" + ], + [ + 0, + "cbsa type" + ], + [ + 1, + "abbreviation" + ], + [ + 1, + "name" + ], + [ + 2, + "congress representative id" + ], + [ + 2, + "first name" + ], + [ + 2, + "last name" + ], + [ + 2, + "CID" + ], + [ + 2, + "party" + ], + [ + 2, + "state" + ], + [ + 2, + "abbreviation" + ], + [ + 2, + "House" + ], + [ + 2, + "District" + ], + [ + 2, + "land area" + ], + [ + 3, + "zip code" + ], + [ + 3, + "city" + ], + [ + 3, + "state" + ], + [ + 3, + "multi country" + ], + [ + 3, + "type" + ], + [ + 3, + "organization" + ], + [ + 3, + "time zone" + ], + [ + 3, + "daylight savings" + ], + [ + 3, + "latitude" + ], + [ + 3, + "longitude" + ], + [ + 3, + "elevation" + ], + [ + 3, + "state fips" + ], + [ + 3, + "country fips" + ], + [ + 3, + "region" + ], + [ + 3, + "division" + ], + [ + 3, + "population 2020" + ], + [ + 3, + "population 2010" + ], + [ + 3, + "households" + ], + [ + 3, + "average house value" + ], + [ + 3, + "average income per household" + ], + [ + 3, + "persons per household" + ], + [ + 3, + "white population" + ], + [ + 3, + "black population" + ], + [ + 3, + "Hispanic population" + ], + [ + 3, + "Asian population" + ], + [ + 3, + "American Indian population" + ], + [ + 3, + "Hawaiian population" + ], + [ + 3, + "other population" + ], + [ + 3, + "male population" + ], + [ + 3, + "female population" + ], + [ + 3, + "median age" + ], + [ + 3, + "male median age" + ], + [ + 3, + "female median age" + ], + [ + 3, + "residential mailboxes" + ], + [ + 3, + "business mailboxes" + ], + [ + 3, + "total delivery receptacles" + ], + [ + 3, + "businesses" + ], + [ + 3, + "1st quarter payroll" + ], + [ + 3, + "annual payroll" + ], + [ + 3, + "employees" + ], + [ + 3, + "water area" + ], + [ + 3, + "land area" + ], + [ + 3, + "single-family delivery units" + ], + [ + 3, + "multi-family delivery units" + ], + [ + 3, + "total beneficiaries" + ], + [ + 3, + "retired workers" + ], + [ + 3, + "disable workers" + ], + [ + 3, + "parents and widowed" + ], + [ + 3, + "spouses" + ], + [ + 3, + "children" + ], + [ + 3, + "over 65" + ], + [ + 3, + "monthly benefits all" + ], + [ + 3, + "monthly benefits retired workers" + ], + [ + 3, + "monthly benefits widowed" + ], + [ + 3, + "CBSA" + ], + [ + 4, + "zip code" + ], + [ + 4, + "alias" + ], + [ + 5, + "zip code" + ], + [ + 5, + "area code" + ], + [ + 6, + "zip code" + ], + [ + 6, + "bad alias" + ], + [ + 7, + "zip code" + ], + [ + 7, + "country" + ], + [ + 7, + "state" + ], + [ + 8, + "zip code" + ], + [ + 8, + "district" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "real", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "real", + "real", + "integer", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "real", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "real", + "real", + "real", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "real", + "real", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "text" + ], + "primary_keys": [ + 1, + 4, + 6, + 16, + 71, + [ + 73, + 74 + ], + [ + 75, + 76 + ], + [ + 77, + 78 + ], + [ + 80, + 81 + ] + ], + "foreign_keys": [ + [ + 12, + 4 + ], + [ + 70, + 1 + ], + [ + 18, + 4 + ], + [ + 71, + 16 + ], + [ + 73, + 16 + ], + [ + 75, + 16 + ], + [ + 79, + 4 + ], + [ + 77, + 16 + ], + [ + 80, + 16 + ], + [ + 81, + 6 + ] + ] + }, + { + "db_id": "menu", + "table_names_original": [ + "Dish", + "Menu", + "MenuPage", + "MenuItem" + ], + "table_names": [ + "Dish", + "Menu", + "MenuPage", + "MenuItem" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "description" + ], + [ + 0, + "menus_appeared" + ], + [ + 0, + "times_appeared" + ], + [ + 0, + "first_appeared" + ], + [ + 0, + "last_appeared" + ], + [ + 0, + "lowest_price" + ], + [ + 0, + "highest_price" + ], + [ + 1, + "id" + ], + [ + 1, + "name" + ], + [ + 1, + "sponsor" + ], + [ + 1, + "event" + ], + [ + 1, + "venue" + ], + [ + 1, + "place" + ], + [ + 1, + "physical_description" + ], + [ + 1, + "occasion" + ], + [ + 1, + "notes" + ], + [ + 1, + "call_number" + ], + [ + 1, + "keywords" + ], + [ + 1, + "language" + ], + [ + 1, + "date" + ], + [ + 1, + "location" + ], + [ + 1, + "location_type" + ], + [ + 1, + "currency" + ], + [ + 1, + "currency_symbol" + ], + [ + 1, + "status" + ], + [ + 1, + "page_count" + ], + [ + 1, + "dish_count" + ], + [ + 2, + "id" + ], + [ + 2, + "menu_id" + ], + [ + 2, + "page_number" + ], + [ + 2, + "image_id" + ], + [ + 2, + "full_height" + ], + [ + 2, + "full_width" + ], + [ + 2, + "uuid" + ], + [ + 3, + "id" + ], + [ + 3, + "menu_page_id" + ], + [ + 3, + "price" + ], + [ + 3, + "high_price" + ], + [ + 3, + "dish_id" + ], + [ + 3, + "created_at" + ], + [ + 3, + "updated_at" + ], + [ + 3, + "xpos" + ], + [ + 3, + "ypos" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "description" + ], + [ + 0, + "menus appeared" + ], + [ + 0, + "times appeared" + ], + [ + 0, + "first appeared" + ], + [ + 0, + "last appeared" + ], + [ + 0, + "lowest price" + ], + [ + 0, + "highest price" + ], + [ + 1, + "id" + ], + [ + 1, + "name" + ], + [ + 1, + "sponsor" + ], + [ + 1, + "event" + ], + [ + 1, + "venue" + ], + [ + 1, + "place" + ], + [ + 1, + "physical description" + ], + [ + 1, + "occasion" + ], + [ + 1, + "notes" + ], + [ + 1, + "call_number" + ], + [ + 1, + "keywords" + ], + [ + 1, + "language" + ], + [ + 1, + "date" + ], + [ + 1, + "location" + ], + [ + 1, + "location_type" + ], + [ + 1, + "currency" + ], + [ + 1, + "currency_symbol" + ], + [ + 1, + "status" + ], + [ + 1, + "page count" + ], + [ + 1, + "dish count" + ], + [ + 2, + "id" + ], + [ + 2, + "menu id" + ], + [ + 2, + "page number" + ], + [ + 2, + "image id" + ], + [ + 2, + "full height" + ], + [ + 2, + "full width" + ], + [ + 2, + "uuid" + ], + [ + 3, + "id" + ], + [ + 3, + "menu_page_id" + ], + [ + 3, + "price" + ], + [ + 3, + "high price" + ], + [ + 3, + "dish_id" + ], + [ + 3, + "created at" + ], + [ + 3, + "updated at" + ], + [ + 3, + "x position" + ], + [ + 3, + "y position" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "real", + "real", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "date", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "real", + "integer", + "integer", + "text", + "integer", + "integer", + "real", + "real", + "integer", + "text", + "text", + "real", + "real" + ], + "primary_keys": [ + 1, + 10, + 30, + 37 + ], + "foreign_keys": [ + [ + 31, + 10 + ], + [ + 38, + 30 + ], + [ + 41, + 1 + ] + ] + }, + { + "db_id": "professional_basketball", + "table_names_original": [ + "awards_players", + "coaches", + "draft", + "player_allstar", + "players", + "teams", + "awards_coaches", + "players_teams", + "series_post" + ], + "table_names": [ + "awards_players", + "coaches", + "draft", + "player_allstar", + "players", + "teams", + "awards_coaches", + "players_teams", + "series_post" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "playerID" + ], + [ + 0, + "award" + ], + [ + 0, + "year" + ], + [ + 0, + "lgID" + ], + [ + 0, + "note" + ], + [ + 0, + "pos" + ], + [ + 1, + "coachID" + ], + [ + 1, + "year" + ], + [ + 1, + "tmID" + ], + [ + 1, + "lgID" + ], + [ + 1, + "stint" + ], + [ + 1, + "won" + ], + [ + 1, + "lost" + ], + [ + 1, + "post_wins" + ], + [ + 1, + "post_losses" + ], + [ + 2, + "id" + ], + [ + 2, + "draftYear" + ], + [ + 2, + "draftRound" + ], + [ + 2, + "draftSelection" + ], + [ + 2, + "draftOverall" + ], + [ + 2, + "tmID" + ], + [ + 2, + "firstName" + ], + [ + 2, + "lastName" + ], + [ + 2, + "suffixName" + ], + [ + 2, + "playerID" + ], + [ + 2, + "draftFrom" + ], + [ + 2, + "lgID" + ], + [ + 3, + "playerID" + ], + [ + 3, + "last_name" + ], + [ + 3, + "first_name" + ], + [ + 3, + "season_id" + ], + [ + 3, + "conference" + ], + [ + 3, + "league_id" + ], + [ + 3, + "games_played" + ], + [ + 3, + "minutes" + ], + [ + 3, + "points" + ], + [ + 3, + "o_rebounds" + ], + [ + 3, + "d_rebounds" + ], + [ + 3, + "rebounds" + ], + [ + 3, + "assists" + ], + [ + 3, + "steals" + ], + [ + 3, + "blocks" + ], + [ + 3, + "turnovers" + ], + [ + 3, + "personal_fouls" + ], + [ + 3, + "fg_attempted" + ], + [ + 3, + "fg_made" + ], + [ + 3, + "ft_attempted" + ], + [ + 3, + "ft_made" + ], + [ + 3, + "three_attempted" + ], + [ + 3, + "three_made" + ], + [ + 4, + "playerID" + ], + [ + 4, + "useFirst" + ], + [ + 4, + "firstName" + ], + [ + 4, + "middleName" + ], + [ + 4, + "lastName" + ], + [ + 4, + "nameGiven" + ], + [ + 4, + "fullGivenName" + ], + [ + 4, + "nameSuffix" + ], + [ + 4, + "nameNick" + ], + [ + 4, + "pos" + ], + [ + 4, + "firstseason" + ], + [ + 4, + "lastseason" + ], + [ + 4, + "height" + ], + [ + 4, + "weight" + ], + [ + 4, + "college" + ], + [ + 4, + "collegeOther" + ], + [ + 4, + "birthDate" + ], + [ + 4, + "birthCity" + ], + [ + 4, + "birthState" + ], + [ + 4, + "birthCountry" + ], + [ + 4, + "highSchool" + ], + [ + 4, + "hsCity" + ], + [ + 4, + "hsState" + ], + [ + 4, + "hsCountry" + ], + [ + 4, + "deathDate" + ], + [ + 4, + "race" + ], + [ + 5, + "year" + ], + [ + 5, + "lgID" + ], + [ + 5, + "tmID" + ], + [ + 5, + "franchID" + ], + [ + 5, + "confID" + ], + [ + 5, + "divID" + ], + [ + 5, + "rank" + ], + [ + 5, + "confRank" + ], + [ + 5, + "playoff" + ], + [ + 5, + "name" + ], + [ + 5, + "o_fgm" + ], + [ + 5, + "o_ftm" + ], + [ + 5, + "o_pts" + ], + [ + 5, + "d_pts" + ], + [ + 5, + "homeWon" + ], + [ + 5, + "homeLost" + ], + [ + 5, + "awayWon" + ], + [ + 5, + "awayLost" + ], + [ + 5, + "won" + ], + [ + 5, + "lost" + ], + [ + 5, + "games" + ], + [ + 5, + "arena" + ], + [ + 6, + "id" + ], + [ + 6, + "year" + ], + [ + 6, + "coachID" + ], + [ + 6, + "award" + ], + [ + 6, + "lgID" + ], + [ + 6, + "note" + ], + [ + 7, + "id" + ], + [ + 7, + "playerID" + ], + [ + 7, + "year" + ], + [ + 7, + "stint" + ], + [ + 7, + "tmID" + ], + [ + 7, + "lgID" + ], + [ + 7, + "GP" + ], + [ + 7, + "GS" + ], + [ + 7, + "minutes" + ], + [ + 7, + "points" + ], + [ + 7, + "oRebounds" + ], + [ + 7, + "dRebounds" + ], + [ + 7, + "rebounds" + ], + [ + 7, + "assists" + ], + [ + 7, + "steals" + ], + [ + 7, + "blocks" + ], + [ + 7, + "turnovers" + ], + [ + 7, + "PF" + ], + [ + 7, + "fgAttempted" + ], + [ + 7, + "fgMade" + ], + [ + 7, + "ftAttempted" + ], + [ + 7, + "ftMade" + ], + [ + 7, + "threeAttempted" + ], + [ + 7, + "threeMade" + ], + [ + 7, + "PostGP" + ], + [ + 7, + "PostGS" + ], + [ + 7, + "PostMinutes" + ], + [ + 7, + "PostPoints" + ], + [ + 7, + "PostoRebounds" + ], + [ + 7, + "PostdRebounds" + ], + [ + 7, + "PostRebounds" + ], + [ + 7, + "PostAssists" + ], + [ + 7, + "PostSteals" + ], + [ + 7, + "PostBlocks" + ], + [ + 7, + "PostTurnovers" + ], + [ + 7, + "PostPF" + ], + [ + 7, + "PostfgAttempted" + ], + [ + 7, + "PostfgMade" + ], + [ + 7, + "PostftAttempted" + ], + [ + 7, + "PostftMade" + ], + [ + 7, + "PostthreeAttempted" + ], + [ + 7, + "PostthreeMade" + ], + [ + 7, + "note" + ], + [ + 8, + "id" + ], + [ + 8, + "year" + ], + [ + 8, + "round" + ], + [ + 8, + "series" + ], + [ + 8, + "tmIDWinner" + ], + [ + 8, + "lgIDWinner" + ], + [ + 8, + "tmIDLoser" + ], + [ + 8, + "lgIDLoser" + ], + [ + 8, + "W" + ], + [ + 8, + "L" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "playerID" + ], + [ + 0, + "award" + ], + [ + 0, + "year" + ], + [ + 0, + "league ID" + ], + [ + 0, + "note" + ], + [ + 0, + "position" + ], + [ + 1, + "coachID" + ], + [ + 1, + "year" + ], + [ + 1, + "team ID" + ], + [ + 1, + "league ID" + ], + [ + 1, + "stint" + ], + [ + 1, + "won" + ], + [ + 1, + "lost" + ], + [ + 1, + "post season wins" + ], + [ + 1, + "post season losses" + ], + [ + 2, + "id" + ], + [ + 2, + "draftYear" + ], + [ + 2, + "draftRound" + ], + [ + 2, + "league ID" + ], + [ + 2, + "draft overall rank" + ], + [ + 2, + "team ID" + ], + [ + 2, + "firstName" + ], + [ + 2, + "lastName" + ], + [ + 2, + "suffixName" + ], + [ + 2, + "playerID" + ], + [ + 2, + "draftFrom" + ], + [ + 2, + "league ID" + ], + [ + 3, + "playerID" + ], + [ + 3, + "last_name" + ], + [ + 3, + "first_name" + ], + [ + 3, + "season_id" + ], + [ + 3, + "conference" + ], + [ + 3, + "league ID" + ], + [ + 3, + "games_played" + ], + [ + 3, + "minutes" + ], + [ + 3, + "points" + ], + [ + 3, + "offense rebounds" + ], + [ + 3, + "defense rebounds" + ], + [ + 3, + "rebounds" + ], + [ + 3, + "assistants" + ], + [ + 3, + "steals" + ], + [ + 3, + "blocks" + ], + [ + 3, + "turnovers" + ], + [ + 3, + "personal_fouls" + ], + [ + 3, + "field goal attempted" + ], + [ + 3, + "field goal made" + ], + [ + 3, + "free throw attempted" + ], + [ + 3, + "free throw made" + ], + [ + 3, + "three point attempted" + ], + [ + 3, + "three point made" + ], + [ + 4, + "playerID" + ], + [ + 4, + "use first name" + ], + [ + 4, + "firstName" + ], + [ + 4, + "middleName" + ], + [ + 4, + "lastName" + ], + [ + 4, + "nameGiven" + ], + [ + 4, + "fullGivenName" + ], + [ + 4, + "nameSuffix" + ], + [ + 4, + "nick name" + ], + [ + 4, + "position" + ], + [ + 4, + "firstseason" + ], + [ + 4, + "lastseason" + ], + [ + 4, + "height" + ], + [ + 4, + "weight" + ], + [ + 4, + "college" + ], + [ + 4, + "collegeOther" + ], + [ + 4, + "birthDate" + ], + [ + 4, + "birthCity" + ], + [ + 4, + "birthState" + ], + [ + 4, + "birthCountry" + ], + [ + 4, + "highSchool" + ], + [ + 4, + "high school city" + ], + [ + 4, + "high school state" + ], + [ + 4, + "high school country" + ], + [ + 4, + "deathDate" + ], + [ + 4, + "race" + ], + [ + 5, + "year" + ], + [ + 5, + "league ID" + ], + [ + 5, + "team ID" + ], + [ + 5, + "franchID" + ], + [ + 5, + "confID" + ], + [ + 5, + "division ID" + ], + [ + 5, + "rank" + ], + [ + 5, + "confRank" + ], + [ + 5, + "playoff" + ], + [ + 5, + "name" + ], + [ + 5, + "offense field goal made" + ], + [ + 5, + "offense free throw made" + ], + [ + 5, + "offense points" + ], + [ + 5, + "defense points" + ], + [ + 5, + "home wins" + ], + [ + 5, + "home loses" + ], + [ + 5, + "away wins" + ], + [ + 5, + "away loses" + ], + [ + 5, + "won" + ], + [ + 5, + "lost" + ], + [ + 5, + "games" + ], + [ + 5, + "arena" + ], + [ + 6, + "id" + ], + [ + 6, + "year" + ], + [ + 6, + "coachID" + ], + [ + 6, + "award" + ], + [ + 6, + "league ID" + ], + [ + 6, + "note" + ], + [ + 7, + "id" + ], + [ + 7, + "playerID" + ], + [ + 7, + "year" + ], + [ + 7, + "stint" + ], + [ + 7, + "team ID" + ], + [ + 7, + "lgID" + ], + [ + 7, + "game presentatons" + ], + [ + 7, + "game starting" + ], + [ + 7, + "minutes" + ], + [ + 7, + "points" + ], + [ + 7, + "offense rebounds" + ], + [ + 7, + "defense rebounds" + ], + [ + 7, + "rebounds" + ], + [ + 7, + "assistants" + ], + [ + 7, + "steals" + ], + [ + 7, + "blocks" + ], + [ + 7, + "turnovers" + ], + [ + 7, + "personal fouls" + ], + [ + 7, + "field goal attempted" + ], + [ + 7, + "field goal made" + ], + [ + 7, + "free throw attempted" + ], + [ + 7, + "free throw made" + ], + [ + 7, + "three point attempted" + ], + [ + 7, + "three point made" + ], + [ + 7, + "post season game presentations" + ], + [ + 7, + "post season game starting" + ], + [ + 7, + "post season minutes" + ], + [ + 7, + "post season points" + ], + [ + 7, + "post season offense rebounds" + ], + [ + 7, + "post season defense rebounds" + ], + [ + 7, + "post season defense rebounds" + ], + [ + 7, + "post season assistants" + ], + [ + 7, + "post season steals" + ], + [ + 7, + "post season blocks" + ], + [ + 7, + "post season turnovers" + ], + [ + 7, + "post season personal fouls" + ], + [ + 7, + "post season field goal attempted" + ], + [ + 7, + "post season field goal made" + ], + [ + 7, + "post season field free throw attempted" + ], + [ + 7, + "post season free throw made" + ], + [ + 7, + "post season three point attempted" + ], + [ + 7, + "post season three point made" + ], + [ + 7, + "note" + ], + [ + 8, + "id" + ], + [ + 8, + "year" + ], + [ + 8, + "round" + ], + [ + 8, + "series" + ], + [ + 8, + "team id winner" + ], + [ + 8, + "league id winner" + ], + [ + 8, + "team id loser" + ], + [ + 8, + "league id loser" + ], + [ + 8, + "wins" + ], + [ + 8, + "loses" + ] + ], + "column_types": [ + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "real", + "integer", + "text", + "text", + "date", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "date", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "integer", + "text", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer" + ], + "primary_keys": [ + [ + 1, + 2, + 3 + ], + [ + 7, + 8, + 9, + 11 + ], + 16, + [ + 28, + 31 + ], + 51, + [ + 77, + 79 + ], + 99, + 105, + 148 + ], + "foreign_keys": [ + [ + 1, + 51 + ], + [ + 9, + 79 + ], + [ + 8, + 77 + ], + [ + 21, + 79 + ], + [ + 17, + 77 + ], + [ + 28, + 51 + ], + [ + 101, + 7 + ], + [ + 100, + 8 + ], + [ + 109, + 79 + ], + [ + 107, + 77 + ], + [ + 154, + 79 + ], + [ + 149, + 77 + ], + [ + 152, + 79 + ], + [ + 149, + 77 + ] + ] + }, + { + "db_id": "cars", + "table_names_original": [ + "country", + "price", + "data", + "production" + ], + "table_names": [ + "country", + "price", + "data", + "production" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "origin" + ], + [ + 0, + "country" + ], + [ + 1, + "ID" + ], + [ + 1, + "price" + ], + [ + 2, + "ID" + ], + [ + 2, + "mpg" + ], + [ + 2, + "cylinders" + ], + [ + 2, + "displacement" + ], + [ + 2, + "horsepower" + ], + [ + 2, + "weight" + ], + [ + 2, + "acceleration" + ], + [ + 2, + "model" + ], + [ + 2, + "car_name" + ], + [ + 3, + "ID" + ], + [ + 3, + "model_year" + ], + [ + 3, + "country" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "origin" + ], + [ + 0, + "country" + ], + [ + 1, + "ID" + ], + [ + 1, + "price" + ], + [ + 2, + "ID" + ], + [ + 2, + "mileage per gallon" + ], + [ + 2, + "number of cylinders" + ], + [ + 2, + "displacement" + ], + [ + 2, + "horse power" + ], + [ + 2, + "weight" + ], + [ + 2, + "acceleration" + ], + [ + 2, + "model" + ], + [ + 2, + "car name" + ], + [ + 3, + "ID" + ], + [ + 3, + "model year" + ], + [ + 3, + "country" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "integer", + "real", + "integer", + "real", + "integer", + "real", + "integer", + "integer", + "real", + "integer", + "text", + "integer", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 3, + 5, + [ + 14, + 15 + ] + ], + "foreign_keys": [ + [ + 5, + 3 + ], + [ + 14, + 3 + ], + [ + 14, + 5 + ], + [ + 16, + 1 + ] + ] + }, + { + "db_id": "synthea", + "table_names_original": [ + "all_prevalences", + "patients", + "encounters", + "allergies", + "careplans", + "conditions", + "immunizations", + "medications", + "observations", + "procedures", + "claims" + ], + "table_names": [ + "all_prevalences", + "patients", + "encounters", + "allergies", + "careplans", + "conditions", + "immunizations", + "medications", + "observations", + "procedures", + "claims" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "ITEM" + ], + [ + 0, + "POPULATION TYPE" + ], + [ + 0, + "OCCURRENCES" + ], + [ + 0, + "POPULATION COUNT" + ], + [ + 0, + "PREVALENCE RATE" + ], + [ + 0, + "PREVALENCE PERCENTAGE" + ], + [ + 1, + "patient" + ], + [ + 1, + "birthdate" + ], + [ + 1, + "deathdate" + ], + [ + 1, + "ssn" + ], + [ + 1, + "drivers" + ], + [ + 1, + "passport" + ], + [ + 1, + "prefix" + ], + [ + 1, + "first" + ], + [ + 1, + "last" + ], + [ + 1, + "suffix" + ], + [ + 1, + "maiden" + ], + [ + 1, + "marital" + ], + [ + 1, + "race" + ], + [ + 1, + "ethnicity" + ], + [ + 1, + "gender" + ], + [ + 1, + "birthplace" + ], + [ + 1, + "address" + ], + [ + 2, + "ID" + ], + [ + 2, + "DATE" + ], + [ + 2, + "PATIENT" + ], + [ + 2, + "CODE" + ], + [ + 2, + "DESCRIPTION" + ], + [ + 2, + "REASONCODE" + ], + [ + 2, + "REASONDESCRIPTION" + ], + [ + 3, + "START" + ], + [ + 3, + "STOP" + ], + [ + 3, + "PATIENT" + ], + [ + 3, + "ENCOUNTER" + ], + [ + 3, + "CODE" + ], + [ + 3, + "DESCRIPTION" + ], + [ + 4, + "ID" + ], + [ + 4, + "START" + ], + [ + 4, + "STOP" + ], + [ + 4, + "PATIENT" + ], + [ + 4, + "ENCOUNTER" + ], + [ + 4, + "CODE" + ], + [ + 4, + "DESCRIPTION" + ], + [ + 4, + "REASONCODE" + ], + [ + 4, + "REASONDESCRIPTION" + ], + [ + 5, + "START" + ], + [ + 5, + "STOP" + ], + [ + 5, + "PATIENT" + ], + [ + 5, + "ENCOUNTER" + ], + [ + 5, + "CODE" + ], + [ + 5, + "DESCRIPTION" + ], + [ + 6, + "DATE" + ], + [ + 6, + "PATIENT" + ], + [ + 6, + "ENCOUNTER" + ], + [ + 6, + "CODE" + ], + [ + 6, + "DESCRIPTION" + ], + [ + 7, + "START" + ], + [ + 7, + "STOP" + ], + [ + 7, + "PATIENT" + ], + [ + 7, + "ENCOUNTER" + ], + [ + 7, + "CODE" + ], + [ + 7, + "DESCRIPTION" + ], + [ + 7, + "REASONCODE" + ], + [ + 7, + "REASONDESCRIPTION" + ], + [ + 8, + "DATE" + ], + [ + 8, + "PATIENT" + ], + [ + 8, + "ENCOUNTER" + ], + [ + 8, + "CODE" + ], + [ + 8, + "DESCRIPTION" + ], + [ + 8, + "VALUE" + ], + [ + 8, + "UNITS" + ], + [ + 9, + "DATE" + ], + [ + 9, + "PATIENT" + ], + [ + 9, + "ENCOUNTER" + ], + [ + 9, + "CODE" + ], + [ + 9, + "DESCRIPTION" + ], + [ + 9, + "REASONCODE" + ], + [ + 9, + "REASONDESCRIPTION" + ], + [ + 10, + "ID" + ], + [ + 10, + "PATIENT" + ], + [ + 10, + "BILLABLEPERIOD" + ], + [ + 10, + "ORGANIZATION" + ], + [ + 10, + "ENCOUNTER" + ], + [ + 10, + "DIAGNOSIS" + ], + [ + 10, + "TOTAL" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "ITEM" + ], + [ + 0, + "population type" + ], + [ + 0, + "OCCURRENCES" + ], + [ + 0, + "population count" + ], + [ + 0, + "prevalence rate" + ], + [ + 0, + "prevalence percentage" + ], + [ + 1, + "patient" + ], + [ + 1, + "birth date" + ], + [ + 1, + "death date" + ], + [ + 1, + "social security number" + ], + [ + 1, + "drivers" + ], + [ + 1, + "passport" + ], + [ + 1, + "prefix" + ], + [ + 1, + "first" + ], + [ + 1, + "last" + ], + [ + 1, + "suffix" + ], + [ + 1, + "maiden" + ], + [ + 1, + "marital" + ], + [ + 1, + "race" + ], + [ + 1, + "ethnicity" + ], + [ + 1, + "gender" + ], + [ + 1, + "birth place" + ], + [ + 1, + "address" + ], + [ + 2, + "ID" + ], + [ + 2, + "DATE" + ], + [ + 2, + "PATIENT" + ], + [ + 2, + "CODE" + ], + [ + 2, + "DESCRIPTION" + ], + [ + 2, + "REASONCODE" + ], + [ + 2, + "reason description" + ], + [ + 3, + "START" + ], + [ + 3, + "STOP" + ], + [ + 3, + "PATIENT" + ], + [ + 3, + "ENCOUNTER" + ], + [ + 3, + "CODE" + ], + [ + 3, + "DESCRIPTION" + ], + [ + 4, + "ID" + ], + [ + 4, + "START" + ], + [ + 4, + "STOP" + ], + [ + 4, + "PATIENT" + ], + [ + 4, + "ENCOUNTER" + ], + [ + 4, + "CODE" + ], + [ + 4, + "DESCRIPTION" + ], + [ + 4, + "REASONCODE" + ], + [ + 4, + "reason description" + ], + [ + 5, + "START" + ], + [ + 5, + "STOP" + ], + [ + 5, + "PATIENT" + ], + [ + 5, + "ENCOUNTER" + ], + [ + 5, + "CODE" + ], + [ + 5, + "DESCRIPTION" + ], + [ + 6, + "DATE" + ], + [ + 6, + "PATIENT" + ], + [ + 6, + "ENCOUNTER" + ], + [ + 6, + "CODE" + ], + [ + 6, + "DESCRIPTION" + ], + [ + 7, + "START" + ], + [ + 7, + "STOP" + ], + [ + 7, + "PATIENT" + ], + [ + 7, + "ENCOUNTER" + ], + [ + 7, + "CODE" + ], + [ + 7, + "DESCRIPTION" + ], + [ + 7, + "REASONCODE" + ], + [ + 7, + "reason description" + ], + [ + 8, + "DATE" + ], + [ + 8, + "PATIENT" + ], + [ + 8, + "ENCOUNTER" + ], + [ + 8, + "CODE" + ], + [ + 8, + "DESCRIPTION" + ], + [ + 8, + "VALUE" + ], + [ + 8, + "UNITS" + ], + [ + 9, + "DATE" + ], + [ + 9, + "PATIENT" + ], + [ + 9, + "ENCOUNTER" + ], + [ + 9, + "CODE" + ], + [ + 9, + "DESCRIPTION" + ], + [ + 9, + "reason code" + ], + [ + 9, + "reason description" + ], + [ + 10, + "ID" + ], + [ + 10, + "PATIENT" + ], + [ + 10, + "billable period" + ], + [ + 10, + "ORGANIZATION" + ], + [ + 10, + "ENCOUNTER" + ], + [ + 10, + "DIAGNOSIS" + ], + [ + 10, + "TOTAL" + ] + ], + "column_types": [ + "text", + "text", + "text", + "integer", + "integer", + "real", + "real", + "text", + "date", + "date", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "date", + "text", + "integer", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "date", + "date", + "text", + "text", + "real", + "text", + "integer", + "text", + "date", + "date", + "text", + "text", + "integer", + "text", + "date", + "text", + "text", + "integer", + "text", + "date", + "date", + "text", + "text", + "integer", + "text", + "integer", + "text", + "date", + "text", + "text", + "text", + "text", + "real", + "text", + "date", + "text", + "text", + "integer", + "text", + "integer", + "text", + "text", + "text", + "date", + "text", + "text", + "text", + "integer" + ], + "primary_keys": [ + 1, + 7, + 24, + [ + 33, + 34, + 35 + ], + [ + 52, + 53, + 54, + 55 + ], + [ + 57, + 59, + 60, + 61 + ], + 79 + ], + "foreign_keys": [ + [ + 26, + 7 + ], + [ + 33, + 7 + ], + [ + 34, + 24 + ], + [ + 40, + 7 + ], + [ + 41, + 24 + ], + [ + 51, + 1 + ], + [ + 48, + 7 + ], + [ + 49, + 24 + ], + [ + 53, + 7 + ], + [ + 54, + 24 + ], + [ + 59, + 7 + ], + [ + 60, + 24 + ], + [ + 66, + 7 + ], + [ + 67, + 24 + ], + [ + 73, + 7 + ], + [ + 74, + 24 + ] + ] + }, + { + "db_id": "genes", + "table_names_original": [ + "Classification", + "Genes", + "Interactions" + ], + "table_names": [ + "Classification", + "Genes", + "Interactions" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "GeneID" + ], + [ + 0, + "Localization" + ], + [ + 1, + "GeneID" + ], + [ + 1, + "Essential" + ], + [ + 1, + "Class" + ], + [ + 1, + "Complex" + ], + [ + 1, + "Phenotype" + ], + [ + 1, + "Motif" + ], + [ + 1, + "Chromosome" + ], + [ + 1, + "Function" + ], + [ + 1, + "Localization" + ], + [ + 2, + "GeneID1" + ], + [ + 2, + "GeneID2" + ], + [ + 2, + "Type" + ], + [ + 2, + "Expression_Corr" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "gene id" + ], + [ + 0, + "Localization" + ], + [ + 1, + "gene id" + ], + [ + 1, + "Essential" + ], + [ + 1, + "Class" + ], + [ + 1, + "Complex" + ], + [ + 1, + "Phenotype" + ], + [ + 1, + "Motif" + ], + [ + 1, + "Chromosome" + ], + [ + 1, + "Function" + ], + [ + 1, + "Localization" + ], + [ + 2, + "gene id 1" + ], + [ + 2, + "gene id 2" + ], + [ + 2, + "Type" + ], + [ + 2, + "Expression correlation score" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "real" + ], + "primary_keys": [ + 1, + [ + 12, + 13 + ] + ], + "foreign_keys": [ + [ + 3, + 1 + ], + [ + 13, + 1 + ], + [ + 12, + 1 + ] + ] + }, + { + "db_id": "retails", + "table_names_original": [ + "customer", + "lineitem", + "nation", + "orders", + "part", + "partsupp", + "region", + "supplier" + ], + "table_names": [ + "customer", + "lineitem", + "nation", + "orders", + "part", + "partsupp", + "region", + "supplier" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "c_custkey" + ], + [ + 0, + "c_mktsegment" + ], + [ + 0, + "c_nationkey" + ], + [ + 0, + "c_name" + ], + [ + 0, + "c_address" + ], + [ + 0, + "c_phone" + ], + [ + 0, + "c_acctbal" + ], + [ + 0, + "c_comment" + ], + [ + 1, + "l_shipdate" + ], + [ + 1, + "l_orderkey" + ], + [ + 1, + "l_discount" + ], + [ + 1, + "l_extendedprice" + ], + [ + 1, + "l_suppkey" + ], + [ + 1, + "l_quantity" + ], + [ + 1, + "l_returnflag" + ], + [ + 1, + "l_partkey" + ], + [ + 1, + "l_linestatus" + ], + [ + 1, + "l_tax" + ], + [ + 1, + "l_commitdate" + ], + [ + 1, + "l_receiptdate" + ], + [ + 1, + "l_shipmode" + ], + [ + 1, + "l_linenumber" + ], + [ + 1, + "l_shipinstruct" + ], + [ + 1, + "l_comment" + ], + [ + 2, + "n_nationkey" + ], + [ + 2, + "n_name" + ], + [ + 2, + "n_regionkey" + ], + [ + 2, + "n_comment" + ], + [ + 3, + "o_orderdate" + ], + [ + 3, + "o_orderkey" + ], + [ + 3, + "o_custkey" + ], + [ + 3, + "o_orderpriority" + ], + [ + 3, + "o_shippriority" + ], + [ + 3, + "o_clerk" + ], + [ + 3, + "o_orderstatus" + ], + [ + 3, + "o_totalprice" + ], + [ + 3, + "o_comment" + ], + [ + 4, + "p_partkey" + ], + [ + 4, + "p_type" + ], + [ + 4, + "p_size" + ], + [ + 4, + "p_brand" + ], + [ + 4, + "p_name" + ], + [ + 4, + "p_container" + ], + [ + 4, + "p_mfgr" + ], + [ + 4, + "p_retailprice" + ], + [ + 4, + "p_comment" + ], + [ + 5, + "ps_partkey" + ], + [ + 5, + "ps_suppkey" + ], + [ + 5, + "ps_supplycost" + ], + [ + 5, + "ps_availqty" + ], + [ + 5, + "ps_comment" + ], + [ + 6, + "r_regionkey" + ], + [ + 6, + "r_name" + ], + [ + 6, + "r_comment" + ], + [ + 7, + "s_suppkey" + ], + [ + 7, + "s_nationkey" + ], + [ + 7, + "s_comment" + ], + [ + 7, + "s_name" + ], + [ + 7, + "s_address" + ], + [ + 7, + "s_phone" + ], + [ + 7, + "s_acctbal" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "customer key" + ], + [ + 0, + "customer market segment" + ], + [ + 0, + "customer nation key" + ], + [ + 0, + "customer name" + ], + [ + 0, + "customer address" + ], + [ + 0, + "customer phone" + ], + [ + 0, + "customer account balance" + ], + [ + 0, + "customer comment" + ], + [ + 1, + "line item ship date" + ], + [ + 1, + "line item order key" + ], + [ + 1, + "line item discount" + ], + [ + 1, + "line item extended price" + ], + [ + 1, + "line item suppkey" + ], + [ + 1, + "line item quantity" + ], + [ + 1, + "line item return flag" + ], + [ + 1, + "line item part key" + ], + [ + 1, + "line item line status" + ], + [ + 1, + "line item tax" + ], + [ + 1, + "line item commit date" + ], + [ + 1, + "line item receipt date" + ], + [ + 1, + "line item ship mode" + ], + [ + 1, + "line item line number" + ], + [ + 1, + "line item ship instruct" + ], + [ + 1, + "line item comment" + ], + [ + 2, + "nation key" + ], + [ + 2, + "nation name" + ], + [ + 2, + "nation region key" + ], + [ + 2, + "nation comment" + ], + [ + 3, + "order date" + ], + [ + 3, + "order key" + ], + [ + 3, + "order customer key" + ], + [ + 3, + "order priority" + ], + [ + 3, + "order ship priority" + ], + [ + 3, + "order clerk" + ], + [ + 3, + "order status" + ], + [ + 3, + "order total price" + ], + [ + 3, + "order comment" + ], + [ + 4, + "part key" + ], + [ + 4, + "part type" + ], + [ + 4, + "part size" + ], + [ + 4, + "part brand" + ], + [ + 4, + "part name" + ], + [ + 4, + "part container" + ], + [ + 4, + "part manufacturer" + ], + [ + 4, + "part retail price" + ], + [ + 4, + "part comment" + ], + [ + 5, + "part supply part key" + ], + [ + 5, + "part supply supply key" + ], + [ + 5, + "part supply cost" + ], + [ + 5, + "part supply available quantity" + ], + [ + 5, + "part supply comment" + ], + [ + 6, + "region key" + ], + [ + 6, + "region name" + ], + [ + 6, + "region comment" + ], + [ + 7, + "supply key" + ], + [ + 7, + "supplier nation key" + ], + [ + 7, + "supplier comment" + ], + [ + 7, + "supplier name" + ], + [ + 7, + "supplier address" + ], + [ + 7, + "supplier phone" + ], + [ + 7, + "supplier account balance" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "integer", + "text", + "text", + "text", + "real", + "text", + "date", + "integer", + "real", + "real", + "integer", + "integer", + "text", + "integer", + "text", + "real", + "date", + "date", + "text", + "integer", + "text", + "text", + "integer", + "text", + "integer", + "text", + "date", + "integer", + "integer", + "text", + "integer", + "text", + "text", + "real", + "text", + "integer", + "text", + "integer", + "text", + "text", + "text", + "text", + "real", + "text", + "integer", + "integer", + "real", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "real" + ], + "primary_keys": [ + 1, + [ + 10, + 22 + ], + 25, + 30, + 38, + [ + 47, + 48 + ], + 52, + 55 + ], + "foreign_keys": [ + [ + 3, + 25 + ], + [ + 16, + 47 + ], + [ + 13, + 48 + ], + [ + 10, + 30 + ], + [ + 27, + 52 + ], + [ + 31, + 1 + ], + [ + 48, + 55 + ], + [ + 47, + 38 + ], + [ + 56, + 25 + ] + ] + }, + { + "db_id": "talkingdata", + "table_names_original": [ + "app_all", + "app_events", + "app_events_relevant", + "app_labels", + "events", + "events_relevant", + "gender_age", + "gender_age_test", + "gender_age_train", + "label_categories", + "phone_brand_device_model2", + "sample_submission" + ], + "table_names": [ + "app_all", + "app_events", + "app_events_relevant", + "app_labels", + "events", + "events_relevant", + "gender_age", + "gender_age_test", + "gender_age_train", + "label_categories", + "phone_brand_device_model2", + "sample_submission" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "app_id" + ], + [ + 1, + "event_id" + ], + [ + 1, + "app_id" + ], + [ + 1, + "is_installed" + ], + [ + 1, + "is_active" + ], + [ + 2, + "event_id" + ], + [ + 2, + "app_id" + ], + [ + 2, + "is_installed" + ], + [ + 2, + "is_active" + ], + [ + 3, + "app_id" + ], + [ + 3, + "label_id" + ], + [ + 4, + "event_id" + ], + [ + 4, + "device_id" + ], + [ + 4, + "timestamp" + ], + [ + 4, + "longitude" + ], + [ + 4, + "latitude" + ], + [ + 5, + "event_id" + ], + [ + 5, + "device_id" + ], + [ + 5, + "timestamp" + ], + [ + 5, + "longitude" + ], + [ + 5, + "latitude" + ], + [ + 6, + "device_id" + ], + [ + 6, + "gender" + ], + [ + 6, + "age" + ], + [ + 6, + "group" + ], + [ + 7, + "device_id" + ], + [ + 8, + "device_id" + ], + [ + 8, + "gender" + ], + [ + 8, + "age" + ], + [ + 8, + "group" + ], + [ + 9, + "label_id" + ], + [ + 9, + "category" + ], + [ + 10, + "device_id" + ], + [ + 10, + "phone_brand" + ], + [ + 10, + "device_model" + ], + [ + 11, + "device_id" + ], + [ + 11, + "F23-" + ], + [ + 11, + "F24-26" + ], + [ + 11, + "F27-28" + ], + [ + 11, + "F29-32" + ], + [ + 11, + "F33-42" + ], + [ + 11, + "F43+" + ], + [ + 11, + "M22-" + ], + [ + 11, + "M23-26" + ], + [ + 11, + "M27-28" + ], + [ + 11, + "M29-31" + ], + [ + 11, + "M32-38" + ], + [ + 11, + "M39+" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "app_id" + ], + [ + 1, + "event id" + ], + [ + 1, + "app id" + ], + [ + 1, + "is installed" + ], + [ + 1, + "is active" + ], + [ + 2, + "event_id" + ], + [ + 2, + "app_id" + ], + [ + 2, + "is_installed" + ], + [ + 2, + "is_active" + ], + [ + 3, + "app id" + ], + [ + 3, + "label id" + ], + [ + 4, + "event id" + ], + [ + 4, + "device id" + ], + [ + 4, + "timestamp" + ], + [ + 4, + "longitude" + ], + [ + 4, + "latitude" + ], + [ + 5, + "event_id" + ], + [ + 5, + "device_id" + ], + [ + 5, + "timestamp" + ], + [ + 5, + "longitude" + ], + [ + 5, + "latitude" + ], + [ + 6, + "device id" + ], + [ + 6, + "gender" + ], + [ + 6, + "age" + ], + [ + 6, + "group" + ], + [ + 7, + "device_id" + ], + [ + 8, + "device_id" + ], + [ + 8, + "gender" + ], + [ + 8, + "age" + ], + [ + 8, + "group" + ], + [ + 9, + "label id" + ], + [ + 9, + "category" + ], + [ + 10, + "device id" + ], + [ + 10, + "phone brand" + ], + [ + 10, + "device model" + ], + [ + 11, + "device_id" + ], + [ + 11, + "F23-" + ], + [ + 11, + "F24-26" + ], + [ + 11, + "F27-28" + ], + [ + 11, + "F29-32" + ], + [ + 11, + "F33-42" + ], + [ + 11, + "F43+" + ], + [ + 11, + "M22-" + ], + [ + 11, + "M23-26" + ], + [ + 11, + "M27-28" + ], + [ + 11, + "M29-31" + ], + [ + 11, + "M32-38" + ], + [ + 11, + "M39+" + ] + ], + "column_types": [ + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "datetime", + "real", + "real", + "integer", + "integer", + "datetime", + "real", + "real", + "integer", + "text", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "text", + "integer", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "real" + ], + "primary_keys": [ + 1, + [ + 2, + 3 + ], + [ + 6, + 7 + ], + 12, + 17, + 22, + 26, + 27, + 31, + [ + 33, + 34, + 35 + ], + 36 + ], + "foreign_keys": [ + [ + 2, + 12 + ], + [ + 7, + 1 + ], + [ + 6, + 17 + ], + [ + 10, + 1 + ], + [ + 11, + 31 + ], + [ + 18, + 22 + ], + [ + 22, + 33 + ] + ] + }, + { + "db_id": "beer_factory", + "table_names_original": [ + "customers", + "geolocation", + "location", + "rootbeerbrand", + "rootbeer", + "rootbeerreview", + "transaction" + ], + "table_names": [ + "customers", + "geolocation", + "location", + "rootbeerbrand", + "rootbeer", + "rootbeerreview", + "transaction" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "CustomerID" + ], + [ + 0, + "First" + ], + [ + 0, + "Last" + ], + [ + 0, + "StreetAddress" + ], + [ + 0, + "City" + ], + [ + 0, + "State" + ], + [ + 0, + "ZipCode" + ], + [ + 0, + "Email" + ], + [ + 0, + "PhoneNumber" + ], + [ + 0, + "FirstPurchaseDate" + ], + [ + 0, + "SubscribedToEmailList" + ], + [ + 0, + "Gender" + ], + [ + 1, + "LocationID" + ], + [ + 1, + "Latitude" + ], + [ + 1, + "Longitude" + ], + [ + 2, + "LocationID" + ], + [ + 2, + "LocationName" + ], + [ + 2, + "StreetAddress" + ], + [ + 2, + "City" + ], + [ + 2, + "State" + ], + [ + 2, + "ZipCode" + ], + [ + 3, + "BrandID" + ], + [ + 3, + "BrandName" + ], + [ + 3, + "FirstBrewedYear" + ], + [ + 3, + "BreweryName" + ], + [ + 3, + "City" + ], + [ + 3, + "State" + ], + [ + 3, + "Country" + ], + [ + 3, + "Description" + ], + [ + 3, + "CaneSugar" + ], + [ + 3, + "CornSyrup" + ], + [ + 3, + "Honey" + ], + [ + 3, + "ArtificialSweetener" + ], + [ + 3, + "Caffeinated" + ], + [ + 3, + "Alcoholic" + ], + [ + 3, + "AvailableInCans" + ], + [ + 3, + "AvailableInBottles" + ], + [ + 3, + "AvailableInKegs" + ], + [ + 3, + "Website" + ], + [ + 3, + "FacebookPage" + ], + [ + 3, + "Twitter" + ], + [ + 3, + "WholesaleCost" + ], + [ + 3, + "CurrentRetailPrice" + ], + [ + 4, + "RootBeerID" + ], + [ + 4, + "BrandID" + ], + [ + 4, + "ContainerType" + ], + [ + 4, + "LocationID" + ], + [ + 4, + "PurchaseDate" + ], + [ + 5, + "CustomerID" + ], + [ + 5, + "BrandID" + ], + [ + 5, + "StarRating" + ], + [ + 5, + "ReviewDate" + ], + [ + 5, + "Review" + ], + [ + 6, + "TransactionID" + ], + [ + 6, + "CreditCardNumber" + ], + [ + 6, + "CustomerID" + ], + [ + 6, + "TransactionDate" + ], + [ + 6, + "CreditCardType" + ], + [ + 6, + "LocationID" + ], + [ + 6, + "RootBeerID" + ], + [ + 6, + "PurchasePrice" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "customer id" + ], + [ + 0, + "first name" + ], + [ + 0, + "last name" + ], + [ + 0, + "street address" + ], + [ + 0, + "City" + ], + [ + 0, + "State" + ], + [ + 0, + "zip code" + ], + [ + 0, + "Email" + ], + [ + 0, + "phone number" + ], + [ + 0, + "first purchase date" + ], + [ + 0, + "subscribed to email list" + ], + [ + 0, + "Gender" + ], + [ + 1, + "location id" + ], + [ + 1, + "Latitude" + ], + [ + 1, + "Longitude" + ], + [ + 2, + "location id" + ], + [ + 2, + "location name" + ], + [ + 2, + "street address" + ], + [ + 2, + "City" + ], + [ + 2, + "State" + ], + [ + 2, + "zip code" + ], + [ + 3, + "brand id" + ], + [ + 3, + "brand name" + ], + [ + 3, + "first brewed year" + ], + [ + 3, + "brewery name" + ], + [ + 3, + "City" + ], + [ + 3, + "State" + ], + [ + 3, + "Country" + ], + [ + 3, + "Description" + ], + [ + 3, + "cane sugar" + ], + [ + 3, + "corn syrup" + ], + [ + 3, + "Honey" + ], + [ + 3, + "artificial sweetener" + ], + [ + 3, + "Caffeinated" + ], + [ + 3, + "Alcoholic" + ], + [ + 3, + "available in cans" + ], + [ + 3, + "available in bottles" + ], + [ + 3, + "available in kegs" + ], + [ + 3, + "Website" + ], + [ + 3, + "facebook page" + ], + [ + 3, + "Twitter" + ], + [ + 3, + "wholesale cost" + ], + [ + 3, + "current retail price" + ], + [ + 4, + "root beer id" + ], + [ + 4, + "brandid" + ], + [ + 4, + "container type" + ], + [ + 4, + "location id" + ], + [ + 4, + "purchase date" + ], + [ + 5, + "customer id" + ], + [ + 5, + "brand id" + ], + [ + 5, + "star rating" + ], + [ + 5, + "review date" + ], + [ + 5, + "Review" + ], + [ + 6, + "transaction id" + ], + [ + 6, + "credit card number" + ], + [ + 6, + "customer id" + ], + [ + 6, + "transaction date" + ], + [ + 6, + "credit card type" + ], + [ + 6, + "location id" + ], + [ + 6, + "root beer id" + ], + [ + 6, + "purchase price" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "date", + "text", + "text", + "integer", + "real", + "real", + "integer", + "text", + "text", + "text", + "text", + "integer", + "integer", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "real", + "real", + "integer", + "integer", + "text", + "integer", + "date", + "integer", + "integer", + "integer", + "date", + "text", + "integer", + "integer", + "integer", + "date", + "text", + "integer", + "integer", + "real" + ], + "primary_keys": [ + 1, + 13, + 16, + 22, + 44, + [ + 49, + 50 + ], + 54 + ], + "foreign_keys": [ + [ + 13, + 16 + ], + [ + 16, + 13 + ], + [ + 45, + 22 + ], + [ + 47, + 16 + ], + [ + 47, + 13 + ], + [ + 50, + 22 + ], + [ + 49, + 1 + ], + [ + 60, + 44 + ], + [ + 59, + 16 + ], + [ + 56, + 1 + ] + ] + }, + { + "db_id": "chicago_crime", + "table_names_original": [ + "Community_Area", + "District", + "FBI_Code", + "IUCR", + "Neighborhood", + "Ward", + "Crime" + ], + "table_names": [ + "Community_Area", + "District", + "FBI_Code", + "IUCR", + "Neighborhood", + "Ward", + "Crime" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "community_area_no" + ], + [ + 0, + "community_area_name" + ], + [ + 0, + "side" + ], + [ + 0, + "population" + ], + [ + 1, + "district_no" + ], + [ + 1, + "district_name" + ], + [ + 1, + "address" + ], + [ + 1, + "zip_code" + ], + [ + 1, + "commander" + ], + [ + 1, + "email" + ], + [ + 1, + "phone" + ], + [ + 1, + "fax" + ], + [ + 1, + "tty" + ], + [ + 1, + "twitter" + ], + [ + 2, + "fbi_code_no" + ], + [ + 2, + "title" + ], + [ + 2, + "description" + ], + [ + 2, + "crime_against" + ], + [ + 3, + "iucr_no" + ], + [ + 3, + "primary_description" + ], + [ + 3, + "secondary_description" + ], + [ + 3, + "index_code" + ], + [ + 4, + "neighborhood_name" + ], + [ + 4, + "community_area_no" + ], + [ + 5, + "ward_no" + ], + [ + 5, + "alderman_first_name" + ], + [ + 5, + "alderman_last_name" + ], + [ + 5, + "alderman_name_suffix" + ], + [ + 5, + "ward_office_address" + ], + [ + 5, + "ward_office_zip" + ], + [ + 5, + "ward_email" + ], + [ + 5, + "ward_office_phone" + ], + [ + 5, + "ward_office_fax" + ], + [ + 5, + "city_hall_office_room" + ], + [ + 5, + "city_hall_office_phone" + ], + [ + 5, + "city_hall_office_fax" + ], + [ + 5, + "Population" + ], + [ + 6, + "report_no" + ], + [ + 6, + "case_number" + ], + [ + 6, + "date" + ], + [ + 6, + "block" + ], + [ + 6, + "iucr_no" + ], + [ + 6, + "location_description" + ], + [ + 6, + "arrest" + ], + [ + 6, + "domestic" + ], + [ + 6, + "beat" + ], + [ + 6, + "district_no" + ], + [ + 6, + "ward_no" + ], + [ + 6, + "community_area_no" + ], + [ + 6, + "fbi_code_no" + ], + [ + 6, + "latitude" + ], + [ + 6, + "longitude" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "community area number" + ], + [ + 0, + "community area name" + ], + [ + 0, + "side" + ], + [ + 0, + "population" + ], + [ + 1, + "district number" + ], + [ + 1, + "district name" + ], + [ + 1, + "address" + ], + [ + 1, + "zip code" + ], + [ + 1, + "commander" + ], + [ + 1, + "email" + ], + [ + 1, + "phone" + ], + [ + 1, + "fax" + ], + [ + 1, + "tty" + ], + [ + 1, + "twitter" + ], + [ + 2, + "fbi code number" + ], + [ + 2, + "title" + ], + [ + 2, + "description" + ], + [ + 2, + "crime against" + ], + [ + 3, + "iucr number" + ], + [ + 3, + "primary description" + ], + [ + 3, + "secondary description" + ], + [ + 3, + "index code" + ], + [ + 4, + "neighborhood name" + ], + [ + 4, + "community area number" + ], + [ + 5, + "ward_no" + ], + [ + 5, + "alderman_first_name" + ], + [ + 5, + "alderman_last_name" + ], + [ + 5, + "alderman_name_suffix" + ], + [ + 5, + "ward_office_address" + ], + [ + 5, + "ward_office_zip" + ], + [ + 5, + "ward_email" + ], + [ + 5, + "ward_office_phone" + ], + [ + 5, + "ward_office_fax" + ], + [ + 5, + "city_hall_office_room" + ], + [ + 5, + "city_hall_office_phone" + ], + [ + 5, + "city_hall_office_fax" + ], + [ + 5, + "Population" + ], + [ + 6, + "report number" + ], + [ + 6, + "case number" + ], + [ + 6, + "date" + ], + [ + 6, + "block" + ], + [ + 6, + "Illinois Uniform Crime Reporting number" + ], + [ + 6, + "location description" + ], + [ + 6, + "arrest" + ], + [ + 6, + "domestic" + ], + [ + 6, + "beat" + ], + [ + 6, + "district number" + ], + [ + 6, + "ward number" + ], + [ + 6, + "community area number" + ], + [ + 6, + "fbi code number" + ], + [ + 6, + "latitude" + ], + [ + 6, + "longitude" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "integer", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "text" + ], + "primary_keys": [ + 1, + 5, + 15, + 19, + 23, + 25, + 38 + ], + "foreign_keys": [ + [ + 24, + 1 + ], + [ + 50, + 15 + ], + [ + 49, + 1 + ], + [ + 47, + 5 + ], + [ + 42, + 19 + ], + [ + 48, + 25 + ] + ] + }, + { + "db_id": "mondial_geo", + "table_names_original": [ + "borders", + "city", + "continent", + "country", + "desert", + "economy", + "encompasses", + "ethnicGroup", + "geo_desert", + "geo_estuary", + "geo_island", + "geo_lake", + "geo_mountain", + "geo_river", + "geo_sea", + "geo_source", + "island", + "islandIn", + "isMember", + "lake", + "language", + "located", + "locatedOn", + "mergesWith", + "mountain", + "mountainOnIsland", + "organization", + "politics", + "population", + "province", + "religion", + "river", + "sea", + "target" + ], + "table_names": [ + "borders", + "city", + "continent", + "country", + "desert", + "economy", + "encompasses", + "ethnicGroup", + "geo_desert", + "geo_estuary", + "geo_island", + "geo_lake", + "geo_mountain", + "geo_river", + "geo_sea", + "geo_source", + "island", + "islandIn", + "isMember", + "lake", + "language", + "located", + "locatedOn", + "mergeswith", + "mountain", + "mountainonisland", + "organization", + "politics", + "population", + "province", + "religion", + "river", + "sea", + "target" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Country1" + ], + [ + 0, + "Country2" + ], + [ + 0, + "Length" + ], + [ + 1, + "Name" + ], + [ + 1, + "Country" + ], + [ + 1, + "Province" + ], + [ + 1, + "Population" + ], + [ + 1, + "Longitude" + ], + [ + 1, + "Latitude" + ], + [ + 2, + "Name" + ], + [ + 2, + "Area" + ], + [ + 3, + "Name" + ], + [ + 3, + "Code" + ], + [ + 3, + "Capital" + ], + [ + 3, + "Province" + ], + [ + 3, + "Area" + ], + [ + 3, + "Population" + ], + [ + 4, + "Name" + ], + [ + 4, + "Area" + ], + [ + 4, + "Longitude" + ], + [ + 4, + "Latitude" + ], + [ + 5, + "Country" + ], + [ + 5, + "GDP" + ], + [ + 5, + "Agriculture" + ], + [ + 5, + "Service" + ], + [ + 5, + "Industry" + ], + [ + 5, + "Inflation" + ], + [ + 6, + "Country" + ], + [ + 6, + "Continent" + ], + [ + 6, + "Percentage" + ], + [ + 7, + "Country" + ], + [ + 7, + "Name" + ], + [ + 7, + "Percentage" + ], + [ + 8, + "Desert" + ], + [ + 8, + "Country" + ], + [ + 8, + "Province" + ], + [ + 9, + "River" + ], + [ + 9, + "Country" + ], + [ + 9, + "Province" + ], + [ + 10, + "Island" + ], + [ + 10, + "Country" + ], + [ + 10, + "Province" + ], + [ + 11, + "Lake" + ], + [ + 11, + "Country" + ], + [ + 11, + "Province" + ], + [ + 12, + "Mountain" + ], + [ + 12, + "Country" + ], + [ + 12, + "Province" + ], + [ + 13, + "River" + ], + [ + 13, + "Country" + ], + [ + 13, + "Province" + ], + [ + 14, + "Sea" + ], + [ + 14, + "Country" + ], + [ + 14, + "Province" + ], + [ + 15, + "River" + ], + [ + 15, + "Country" + ], + [ + 15, + "Province" + ], + [ + 16, + "Name" + ], + [ + 16, + "Islands" + ], + [ + 16, + "Area" + ], + [ + 16, + "Height" + ], + [ + 16, + "Type" + ], + [ + 16, + "Longitude" + ], + [ + 16, + "Latitude" + ], + [ + 17, + "Island" + ], + [ + 17, + "Sea" + ], + [ + 17, + "Lake" + ], + [ + 17, + "River" + ], + [ + 18, + "Country" + ], + [ + 18, + "Organization" + ], + [ + 18, + "Type" + ], + [ + 19, + "Name" + ], + [ + 19, + "Area" + ], + [ + 19, + "Depth" + ], + [ + 19, + "Altitude" + ], + [ + 19, + "Type" + ], + [ + 19, + "River" + ], + [ + 19, + "Longitude" + ], + [ + 19, + "Latitude" + ], + [ + 20, + "Country" + ], + [ + 20, + "Name" + ], + [ + 20, + "Percentage" + ], + [ + 21, + "City" + ], + [ + 21, + "Province" + ], + [ + 21, + "Country" + ], + [ + 21, + "River" + ], + [ + 21, + "Lake" + ], + [ + 21, + "Sea" + ], + [ + 22, + "City" + ], + [ + 22, + "Province" + ], + [ + 22, + "Country" + ], + [ + 22, + "Island" + ], + [ + 23, + "Sea1" + ], + [ + 23, + "Sea2" + ], + [ + 24, + "Name" + ], + [ + 24, + "Mountains" + ], + [ + 24, + "Height" + ], + [ + 24, + "Type" + ], + [ + 24, + "Longitude" + ], + [ + 24, + "Latitude" + ], + [ + 25, + "Mountain" + ], + [ + 25, + "Island" + ], + [ + 26, + "Abbreviation" + ], + [ + 26, + "Name" + ], + [ + 26, + "City" + ], + [ + 26, + "Country" + ], + [ + 26, + "Province" + ], + [ + 26, + "Established" + ], + [ + 27, + "Country" + ], + [ + 27, + "Independence" + ], + [ + 27, + "Dependent" + ], + [ + 27, + "Government" + ], + [ + 28, + "Country" + ], + [ + 28, + "Population_Growth" + ], + [ + 28, + "Infant_Mortality" + ], + [ + 29, + "Name" + ], + [ + 29, + "Country" + ], + [ + 29, + "Population" + ], + [ + 29, + "Area" + ], + [ + 29, + "Capital" + ], + [ + 29, + "CapProv" + ], + [ + 30, + "Country" + ], + [ + 30, + "Name" + ], + [ + 30, + "Percentage" + ], + [ + 31, + "Name" + ], + [ + 31, + "River" + ], + [ + 31, + "Lake" + ], + [ + 31, + "Sea" + ], + [ + 31, + "Length" + ], + [ + 31, + "SourceLongitude" + ], + [ + 31, + "SourceLatitude" + ], + [ + 31, + "Mountains" + ], + [ + 31, + "SourceAltitude" + ], + [ + 31, + "EstuaryLongitude" + ], + [ + 31, + "EstuaryLatitude" + ], + [ + 32, + "Name" + ], + [ + 32, + "Depth" + ], + [ + 33, + "Country" + ], + [ + 33, + "Target" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "Country1" + ], + [ + 0, + "Country2" + ], + [ + 0, + "Length" + ], + [ + 1, + "Name" + ], + [ + 1, + "Country" + ], + [ + 1, + "Province" + ], + [ + 1, + "Population" + ], + [ + 1, + "Longitude" + ], + [ + 1, + "Latitude" + ], + [ + 2, + "Name" + ], + [ + 2, + "Area" + ], + [ + 3, + "Name" + ], + [ + 3, + "Code" + ], + [ + 3, + "Capital" + ], + [ + 3, + "Province" + ], + [ + 3, + "Area" + ], + [ + 3, + "Population" + ], + [ + 4, + "Name" + ], + [ + 4, + "Area" + ], + [ + 4, + "Longitude" + ], + [ + 4, + "Latitude" + ], + [ + 5, + "Country" + ], + [ + 5, + "gross domestic product" + ], + [ + 5, + "Agriculture" + ], + [ + 5, + "Service" + ], + [ + 5, + "Industry" + ], + [ + 5, + "Inflation" + ], + [ + 6, + "Country" + ], + [ + 6, + "Continent" + ], + [ + 6, + "Percentage" + ], + [ + 7, + "Country" + ], + [ + 7, + "Name" + ], + [ + 7, + "Percentage" + ], + [ + 8, + "Desert" + ], + [ + 8, + "Country" + ], + [ + 8, + "Province" + ], + [ + 9, + "River" + ], + [ + 9, + "Country" + ], + [ + 9, + "Province" + ], + [ + 10, + "Island" + ], + [ + 10, + "Country" + ], + [ + 10, + "Province" + ], + [ + 11, + "Lake" + ], + [ + 11, + "Country" + ], + [ + 11, + "Province" + ], + [ + 12, + "Mountain" + ], + [ + 12, + "Country" + ], + [ + 12, + "Province" + ], + [ + 13, + "River" + ], + [ + 13, + "Country" + ], + [ + 13, + "Province" + ], + [ + 14, + "Sea" + ], + [ + 14, + "Country" + ], + [ + 14, + "Province" + ], + [ + 15, + "River" + ], + [ + 15, + "Country" + ], + [ + 15, + "Province" + ], + [ + 16, + "Name" + ], + [ + 16, + "Islands" + ], + [ + 16, + "Area" + ], + [ + 16, + "Height" + ], + [ + 16, + "Type" + ], + [ + 16, + "Longitude" + ], + [ + 16, + "Latitude" + ], + [ + 17, + "Island" + ], + [ + 17, + "Sea" + ], + [ + 17, + "Lake" + ], + [ + 17, + "River" + ], + [ + 18, + "Country" + ], + [ + 18, + "Organization" + ], + [ + 18, + "Type" + ], + [ + 19, + "Name" + ], + [ + 19, + "Area" + ], + [ + 19, + "Depth" + ], + [ + 19, + "Altitude" + ], + [ + 19, + "Type" + ], + [ + 19, + "River" + ], + [ + 19, + "Longitude" + ], + [ + 19, + "Latitude" + ], + [ + 20, + "Country" + ], + [ + 20, + "Name" + ], + [ + 20, + "Percentage" + ], + [ + 21, + "City" + ], + [ + 21, + "Province" + ], + [ + 21, + "Country" + ], + [ + 21, + "River" + ], + [ + 21, + "Lake" + ], + [ + 21, + "Sea" + ], + [ + 22, + "City" + ], + [ + 22, + "Province" + ], + [ + 22, + "Country" + ], + [ + 22, + "Island" + ], + [ + 23, + "Sea1" + ], + [ + 23, + "Sea2" + ], + [ + 24, + "Name" + ], + [ + 24, + "Mountains" + ], + [ + 24, + "Height" + ], + [ + 24, + "Type" + ], + [ + 24, + "Longitude" + ], + [ + 24, + "Latitude" + ], + [ + 25, + "Mountain" + ], + [ + 25, + "Island" + ], + [ + 26, + "Abbreviation" + ], + [ + 26, + "Name" + ], + [ + 26, + "City" + ], + [ + 26, + "Country" + ], + [ + 26, + "Province" + ], + [ + 26, + "Established" + ], + [ + 27, + "Country" + ], + [ + 27, + "Independence" + ], + [ + 27, + "Dependent" + ], + [ + 27, + "Government" + ], + [ + 28, + "Country" + ], + [ + 28, + "population growth" + ], + [ + 28, + "infant mortality" + ], + [ + 29, + "Name" + ], + [ + 29, + "Country" + ], + [ + 29, + "Population" + ], + [ + 29, + "Area" + ], + [ + 29, + "Capital" + ], + [ + 29, + "capital province" + ], + [ + 30, + "Country" + ], + [ + 30, + "Name" + ], + [ + 30, + "Percentage" + ], + [ + 31, + "Name" + ], + [ + 31, + "River" + ], + [ + 31, + "Lake" + ], + [ + 31, + "Sea" + ], + [ + 31, + "Length" + ], + [ + 31, + "SourceLongitude" + ], + [ + 31, + "SourceLatitude" + ], + [ + 31, + "Mountains" + ], + [ + 31, + "SourceAltitude" + ], + [ + 31, + "EstuaryLongitude" + ], + [ + 31, + "EstuaryLatitude" + ], + [ + 32, + "Name" + ], + [ + 32, + "Depth" + ], + [ + 33, + "Country" + ], + [ + 33, + "Target" + ] + ], + "column_types": [ + "text", + "text", + "text", + "real", + "text", + "text", + "text", + "integer", + "real", + "real", + "text", + "real", + "text", + "text", + "text", + "text", + "real", + "integer", + "text", + "real", + "real", + "real", + "text", + "real", + "real", + "real", + "real", + "real", + "text", + "text", + "real", + "text", + "text", + "real", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "real", + "real", + "text", + "real", + "real", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "real", + "real", + "real", + "text", + "text", + "real", + "real", + "text", + "text", + "real", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "real", + "text", + "real", + "real", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "date", + "text", + "date", + "text", + "text", + "text", + "real", + "real", + "text", + "text", + "integer", + "real", + "text", + "text", + "text", + "text", + "real", + "text", + "text", + "text", + "text", + "real", + "real", + "real", + "text", + "real", + "real", + "real", + "text", + "real", + "text", + "text" + ], + "primary_keys": [ + [ + 1, + 2 + ], + [ + 4, + 6 + ], + 10, + 13, + 18, + 22, + [ + 28, + 29 + ], + [ + 31, + 32 + ], + [ + 34, + 35, + 36 + ], + [ + 37, + 38, + 39 + ], + [ + 40, + 41, + 42 + ], + [ + 43, + 44, + 45 + ], + [ + 46, + 47, + 48 + ], + [ + 49, + 50, + 51 + ], + [ + 52, + 53, + 54 + ], + [ + 55, + 56, + 57 + ], + 58, + [ + 69, + 70 + ], + 72, + [ + 80, + 81 + ], + [ + 89, + 90, + 91, + 92 + ], + [ + 93, + 94 + ], + 95, + [ + 101, + 102 + ], + 103, + 109, + 113, + [ + 116, + 117 + ], + [ + 122, + 123 + ], + 125, + 136, + 138 + ], + "foreign_keys": [] + }, + { + "db_id": "student_loan", + "table_names_original": [ + "bool", + "person", + "disabled", + "enlist", + "filed_for_bankrupcy", + "longest_absense_from_school", + "male", + "no_payment_due", + "unemployed", + "enrolled" + ], + "table_names": [ + "bool", + "person", + "disabled", + "enlist", + "filed_for_bankruptcy", + "longest_absense_from_school", + "male", + "no_payment_due", + "unemployed", + "enrolled" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "name" + ], + [ + 1, + "name" + ], + [ + 2, + "name" + ], + [ + 3, + "name" + ], + [ + 3, + "organ" + ], + [ + 4, + "name" + ], + [ + 5, + "name" + ], + [ + 5, + "month" + ], + [ + 6, + "name" + ], + [ + 7, + "name" + ], + [ + 7, + "bool" + ], + [ + 8, + "name" + ], + [ + 9, + "name" + ], + [ + 9, + "school" + ], + [ + 9, + "month" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "name" + ], + [ + 1, + "name" + ], + [ + 2, + "name" + ], + [ + 3, + "name" + ], + [ + 3, + "organization" + ], + [ + 4, + "name" + ], + [ + 5, + "name" + ], + [ + 5, + "month" + ], + [ + 6, + "name" + ], + [ + 7, + "name" + ], + [ + 7, + "bool" + ], + [ + 8, + "name" + ], + [ + 9, + "name" + ], + [ + 9, + "school" + ], + [ + 9, + "month" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "integer" + ], + "primary_keys": [ + 1, + 2, + 3, + 6, + 7, + 9, + 10, + 12, + [ + 13, + 14 + ] + ], + "foreign_keys": [ + [ + 3, + 2 + ], + [ + 4, + 2 + ], + [ + 6, + 2 + ], + [ + 7, + 2 + ], + [ + 9, + 2 + ], + [ + 11, + 1 + ], + [ + 10, + 2 + ], + [ + 12, + 2 + ], + [ + 13, + 2 + ] + ] + }, + { + "db_id": "codebase_comments", + "table_names_original": [ + "Method", + "MethodParameter", + "Repo", + "Solution" + ], + "table_names": [ + "Method", + "MethodParameter", + "Repo", + "Solution" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Id" + ], + [ + 0, + "Name" + ], + [ + 0, + "FullComment" + ], + [ + 0, + "Summary" + ], + [ + 0, + "ApiCalls" + ], + [ + 0, + "CommentIsXml" + ], + [ + 0, + "SampledAt" + ], + [ + 0, + "SolutionId" + ], + [ + 0, + "Lang" + ], + [ + 0, + "NameTokenized" + ], + [ + 1, + "Id" + ], + [ + 1, + "MethodId" + ], + [ + 1, + "Type" + ], + [ + 1, + "Name" + ], + [ + 2, + "Id" + ], + [ + 2, + "Url" + ], + [ + 2, + "Stars" + ], + [ + 2, + "Forks" + ], + [ + 2, + "Watchers" + ], + [ + 2, + "ProcessedTime" + ], + [ + 3, + "Id" + ], + [ + 3, + "RepoId" + ], + [ + 3, + "Path" + ], + [ + 3, + "ProcessedTime" + ], + [ + 3, + "WasCompiled" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "Id" + ], + [ + 0, + "Name" + ], + [ + 0, + "Full Comment" + ], + [ + 0, + "Summary" + ], + [ + 0, + "Api Calls" + ], + [ + 0, + "CommentIs Xml" + ], + [ + 0, + "Sampled At" + ], + [ + 0, + "Solution Id" + ], + [ + 0, + "Language" + ], + [ + 0, + "Name Tokenized" + ], + [ + 1, + "Id" + ], + [ + 1, + "Method Id" + ], + [ + 1, + "Type" + ], + [ + 1, + "Name" + ], + [ + 2, + "Id" + ], + [ + 2, + "Url" + ], + [ + 2, + "Stars" + ], + [ + 2, + "Forks" + ], + [ + 2, + "Watchers" + ], + [ + 2, + "Processed Time" + ], + [ + 3, + "Id" + ], + [ + 3, + "Repository Id" + ], + [ + 3, + "Path" + ], + [ + 3, + "Processed Time" + ], + [ + 3, + "Was Compiled" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "integer", + "text", + "text", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 11, + 15, + 21 + ], + "foreign_keys": [] + }, + { + "db_id": "retail_world", + "table_names_original": [ + "Categories", + "Customers", + "Employees", + "Shippers", + "Suppliers", + "Products", + "Orders", + "OrderDetails" + ], + "table_names": [ + "Categories", + "Customers", + "Employees", + "Shippers", + "Suppliers", + "Products", + "Orders", + "OrderDetails" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "CategoryID" + ], + [ + 0, + "CategoryName" + ], + [ + 0, + "Description" + ], + [ + 1, + "CustomerID" + ], + [ + 1, + "CustomerName" + ], + [ + 1, + "ContactName" + ], + [ + 1, + "Address" + ], + [ + 1, + "City" + ], + [ + 1, + "PostalCode" + ], + [ + 1, + "Country" + ], + [ + 2, + "EmployeeID" + ], + [ + 2, + "LastName" + ], + [ + 2, + "FirstName" + ], + [ + 2, + "BirthDate" + ], + [ + 2, + "Photo" + ], + [ + 2, + "Notes" + ], + [ + 3, + "ShipperID" + ], + [ + 3, + "ShipperName" + ], + [ + 3, + "Phone" + ], + [ + 4, + "SupplierID" + ], + [ + 4, + "SupplierName" + ], + [ + 4, + "ContactName" + ], + [ + 4, + "Address" + ], + [ + 4, + "City" + ], + [ + 4, + "PostalCode" + ], + [ + 4, + "Country" + ], + [ + 4, + "Phone" + ], + [ + 5, + "ProductID" + ], + [ + 5, + "ProductName" + ], + [ + 5, + "SupplierID" + ], + [ + 5, + "CategoryID" + ], + [ + 5, + "Unit" + ], + [ + 5, + "Price" + ], + [ + 6, + "OrderID" + ], + [ + 6, + "CustomerID" + ], + [ + 6, + "EmployeeID" + ], + [ + 6, + "OrderDate" + ], + [ + 6, + "ShipperID" + ], + [ + 7, + "OrderDetailID" + ], + [ + 7, + "OrderID" + ], + [ + 7, + "ProductID" + ], + [ + 7, + "Quantity" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "Category ID" + ], + [ + 0, + "Category Name" + ], + [ + 0, + "Description" + ], + [ + 1, + "Customer ID" + ], + [ + 1, + "Customer Name" + ], + [ + 1, + "Contact Name" + ], + [ + 1, + "Address" + ], + [ + 1, + "City" + ], + [ + 1, + "Postal Code" + ], + [ + 1, + "Country" + ], + [ + 2, + "Employee ID" + ], + [ + 2, + "Last Name" + ], + [ + 2, + "First Name" + ], + [ + 2, + "Birth Date" + ], + [ + 2, + "Photo" + ], + [ + 2, + "Notes" + ], + [ + 3, + "Shipper ID" + ], + [ + 3, + "Shipper Name" + ], + [ + 3, + "Phone" + ], + [ + 4, + "Supplier ID" + ], + [ + 4, + "Supplier Name" + ], + [ + 4, + "Contact Name" + ], + [ + 4, + "Address" + ], + [ + 4, + "City" + ], + [ + 4, + "Postal Code" + ], + [ + 4, + "Country" + ], + [ + 4, + "Phone" + ], + [ + 5, + "Product ID" + ], + [ + 5, + "Product Name" + ], + [ + 5, + "Supplier ID" + ], + [ + 5, + "Category ID" + ], + [ + 5, + "Unit" + ], + [ + 5, + "Price" + ], + [ + 6, + "Order ID" + ], + [ + 6, + "Customer ID" + ], + [ + 6, + "Employee ID" + ], + [ + 6, + "Order Date" + ], + [ + 6, + "Shipper ID" + ], + [ + 7, + "order detail id" + ], + [ + 7, + "Order ID" + ], + [ + 7, + "Product ID" + ], + [ + 7, + "Quantity" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "date", + "text", + "text", + "integer", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "integer", + "integer", + "text", + "real", + "integer", + "integer", + "integer", + "datetime", + "integer", + "integer", + "integer", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 4, + 11, + 17, + 20, + 28, + 34, + 39 + ], + "foreign_keys": [ + [ + 30, + 20 + ], + [ + 31, + 1 + ], + [ + 38, + 17 + ], + [ + 35, + 4 + ], + [ + 36, + 11 + ], + [ + 41, + 28 + ], + [ + 40, + 34 + ] + ] + }, + { + "db_id": "music_tracker", + "table_names_original": [ + "torrents", + "tags" + ], + "table_names": [ + "torrents", + "tags" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "groupName" + ], + [ + 0, + "totalSnatched" + ], + [ + 0, + "artist" + ], + [ + 0, + "groupYear" + ], + [ + 0, + "releaseType" + ], + [ + 0, + "groupId" + ], + [ + 0, + "id" + ], + [ + 1, + "index" + ], + [ + 1, + "id" + ], + [ + 1, + "tag" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "groupName" + ], + [ + 0, + "totalSnatched" + ], + [ + 0, + "artist" + ], + [ + 0, + "groupYear" + ], + [ + 0, + "releaseType" + ], + [ + 0, + "groupId" + ], + [ + 0, + "id" + ], + [ + 1, + "index" + ], + [ + 1, + "id" + ], + [ + 1, + "tag" + ] + ], + "column_types": [ + "text", + "text", + "integer", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "text" + ], + "primary_keys": [ + 7, + 8 + ], + "foreign_keys": [] + }, + { + "db_id": "disney", + "table_names_original": [ + "characters", + "director", + "movies_total_gross", + "revenue", + "voice-actors" + ], + "table_names": [ + "characters", + "director", + "movies_total_gross", + "revenue", + "voice-actors" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "movie_title" + ], + [ + 0, + "release_date" + ], + [ + 0, + "hero" + ], + [ + 0, + "villian" + ], + [ + 0, + "song" + ], + [ + 1, + "name" + ], + [ + 1, + "director" + ], + [ + 2, + "movie_title" + ], + [ + 2, + "release_date" + ], + [ + 2, + "genre" + ], + [ + 2, + "MPAA_rating" + ], + [ + 2, + "total_gross" + ], + [ + 2, + "inflation_adjusted_gross" + ], + [ + 3, + "Year" + ], + [ + 3, + "Studio Entertainment[NI 1]" + ], + [ + 3, + "Disney Consumer Products[NI 2]" + ], + [ + 3, + "Disney Interactive[NI 3][Rev 1]" + ], + [ + 3, + "Walt Disney Parks and Resorts" + ], + [ + 3, + "Disney Media Networks" + ], + [ + 3, + "Total" + ], + [ + 4, + "character" + ], + [ + 4, + "voice-actor" + ], + [ + 4, + "movie" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "movie title" + ], + [ + 0, + "release date" + ], + [ + 0, + "hero" + ], + [ + 0, + "villian" + ], + [ + 0, + "song" + ], + [ + 1, + "name" + ], + [ + 1, + "director" + ], + [ + 2, + "movie title" + ], + [ + 2, + "release date" + ], + [ + 2, + "genre" + ], + [ + 2, + "Motion Picture Association of America rating" + ], + [ + 2, + "total gross" + ], + [ + 2, + "inflation adjusted gross" + ], + [ + 3, + "Year" + ], + [ + 3, + "Studio Entertainment[NI 1]" + ], + [ + 3, + "Disney Consumer Products[NI 2]" + ], + [ + 3, + "Disney Interactive[NI 3][Rev 1]" + ], + [ + 3, + "Walt Disney Parks and Resorts" + ], + [ + 3, + "Disney Media Networks" + ], + [ + 3, + "Total" + ], + [ + 4, + "character" + ], + [ + 4, + "voice-actor" + ], + [ + 4, + "movie" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "real", + "real", + "integer", + "real", + "text", + "integer", + "text", + "text", + "text" + ], + "primary_keys": [ + 1, + 6, + [ + 8, + 9 + ], + 14, + 21 + ], + "foreign_keys": [ + [ + 3, + 21 + ], + [ + 6, + 1 + ], + [ + 8, + 1 + ], + [ + 23, + 1 + ] + ] + }, + { + "db_id": "college_completion", + "table_names_original": [ + "institution_details", + "institution_grads", + "state_sector_grads", + "state_sector_details" + ], + "table_names": [ + "institution_details", + "institution_grads", + "state_sector_grads", + "state_sector_details" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "unitid" + ], + [ + 0, + "chronname" + ], + [ + 0, + "city" + ], + [ + 0, + "state" + ], + [ + 0, + "level" + ], + [ + 0, + "control" + ], + [ + 0, + "basic" + ], + [ + 0, + "hbcu" + ], + [ + 0, + "flagship" + ], + [ + 0, + "long_x" + ], + [ + 0, + "lat_y" + ], + [ + 0, + "site" + ], + [ + 0, + "student_count" + ], + [ + 0, + "awards_per_value" + ], + [ + 0, + "awards_per_state_value" + ], + [ + 0, + "awards_per_natl_value" + ], + [ + 0, + "exp_award_value" + ], + [ + 0, + "exp_award_state_value" + ], + [ + 0, + "exp_award_natl_value" + ], + [ + 0, + "exp_award_percentile" + ], + [ + 0, + "ft_pct" + ], + [ + 0, + "fte_value" + ], + [ + 0, + "fte_percentile" + ], + [ + 0, + "med_sat_value" + ], + [ + 0, + "med_sat_percentile" + ], + [ + 0, + "aid_value" + ], + [ + 0, + "aid_percentile" + ], + [ + 0, + "endow_value" + ], + [ + 0, + "endow_percentile" + ], + [ + 0, + "grad_100_value" + ], + [ + 0, + "grad_100_percentile" + ], + [ + 0, + "grad_150_value" + ], + [ + 0, + "grad_150_percentile" + ], + [ + 0, + "pell_value" + ], + [ + 0, + "pell_percentile" + ], + [ + 0, + "retain_value" + ], + [ + 0, + "retain_percentile" + ], + [ + 0, + "ft_fac_value" + ], + [ + 0, + "ft_fac_percentile" + ], + [ + 0, + "vsa_year" + ], + [ + 0, + "vsa_grad_after4_first" + ], + [ + 0, + "vsa_grad_elsewhere_after4_first" + ], + [ + 0, + "vsa_enroll_after4_first" + ], + [ + 0, + "vsa_enroll_elsewhere_after4_first" + ], + [ + 0, + "vsa_grad_after6_first" + ], + [ + 0, + "vsa_grad_elsewhere_after6_first" + ], + [ + 0, + "vsa_enroll_after6_first" + ], + [ + 0, + "vsa_enroll_elsewhere_after6_first" + ], + [ + 0, + "vsa_grad_after4_transfer" + ], + [ + 0, + "vsa_grad_elsewhere_after4_transfer" + ], + [ + 0, + "vsa_enroll_after4_transfer" + ], + [ + 0, + "vsa_enroll_elsewhere_after4_transfer" + ], + [ + 0, + "vsa_grad_after6_transfer" + ], + [ + 0, + "vsa_grad_elsewhere_after6_transfer" + ], + [ + 0, + "vsa_enroll_after6_transfer" + ], + [ + 0, + "vsa_enroll_elsewhere_after6_transfer" + ], + [ + 0, + "similar" + ], + [ + 0, + "state_sector_ct" + ], + [ + 0, + "carnegie_ct" + ], + [ + 0, + "counted_pct" + ], + [ + 0, + "nicknames" + ], + [ + 0, + "cohort_size" + ], + [ + 1, + "unitid" + ], + [ + 1, + "year" + ], + [ + 1, + "gender" + ], + [ + 1, + "race" + ], + [ + 1, + "cohort" + ], + [ + 1, + "grad_cohort" + ], + [ + 1, + "grad_100" + ], + [ + 1, + "grad_150" + ], + [ + 1, + "grad_100_rate" + ], + [ + 1, + "grad_150_rate" + ], + [ + 2, + "stateid" + ], + [ + 2, + "state" + ], + [ + 2, + "state_abbr" + ], + [ + 2, + "control" + ], + [ + 2, + "level" + ], + [ + 2, + "year" + ], + [ + 2, + "gender" + ], + [ + 2, + "race" + ], + [ + 2, + "cohort" + ], + [ + 2, + "grad_cohort" + ], + [ + 2, + "grad_100" + ], + [ + 2, + "grad_150" + ], + [ + 2, + "grad_100_rate" + ], + [ + 2, + "grad_150_rate" + ], + [ + 2, + "grad_cohort_ct" + ], + [ + 3, + "stateid" + ], + [ + 3, + "state" + ], + [ + 3, + "state_post" + ], + [ + 3, + "level" + ], + [ + 3, + "control" + ], + [ + 3, + "schools_count" + ], + [ + 3, + "counted_pct" + ], + [ + 3, + "awards_per_state_value" + ], + [ + 3, + "awards_per_natl_value" + ], + [ + 3, + "exp_award_state_value" + ], + [ + 3, + "exp_award_natl_value" + ], + [ + 3, + "state_appr_value" + ], + [ + 3, + "state_appr_rank" + ], + [ + 3, + "grad_rate_rank" + ], + [ + 3, + "awards_per_rank" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "Unit ID number" + ], + [ + 0, + "chronname" + ], + [ + 0, + "city" + ], + [ + 0, + "state" + ], + [ + 0, + "level" + ], + [ + 0, + "control" + ], + [ + 0, + "basic" + ], + [ + 0, + "Historically Black College and Universities" + ], + [ + 0, + "flagship" + ], + [ + 0, + "long_x" + ], + [ + 0, + "lat_y" + ], + [ + 0, + "site" + ], + [ + 0, + "student count" + ], + [ + 0, + "awards per value" + ], + [ + 0, + "awards per state value" + ], + [ + 0, + "awards per national value" + ], + [ + 0, + "expected award value" + ], + [ + 0, + "expected award state value" + ], + [ + 0, + "expected award national value" + ], + [ + 0, + "exp_award_percentile" + ], + [ + 0, + "Full-time percentage" + ], + [ + 0, + "Full-time percentage" + ], + [ + 0, + "fte_percentile" + ], + [ + 0, + "median SAT value" + ], + [ + 0, + "median SAT percentile" + ], + [ + 0, + "aid value" + ], + [ + 0, + "aid percentile" + ], + [ + 0, + "endow value" + ], + [ + 0, + "endow percentile" + ], + [ + 0, + "graduation 100 value" + ], + [ + 0, + "graduation 100 percentile" + ], + [ + 0, + "graduation 150 value" + ], + [ + 0, + "graduation 150 percentile" + ], + [ + 0, + "pell value" + ], + [ + 0, + "pell percentile" + ], + [ + 0, + "retain value" + ], + [ + 0, + "retain percentile" + ], + [ + 0, + "full time faculty value" + ], + [ + 0, + "full time faculty percentile" + ], + [ + 0, + "voluntary system of accountability year" + ], + [ + 0, + "voluntary system of accountability after 4 year first time" + ], + [ + 0, + "voluntary system of accountability graduation elsewhere after 4 year first time" + ], + [ + 0, + "voluntary system of accountability enrollment after 4 year first time" + ], + [ + 0, + "voluntary system of accountability enrollment elsewhere after 4 year first time" + ], + [ + 0, + "voluntary system of accountability graduation elsewhere after 6 year first time" + ], + [ + 0, + "voluntary system of accountability graduation elsewhere after 6 year first time" + ], + [ + 0, + "voluntary system of accountability enrollment after 6 year first time" + ], + [ + 0, + "voluntary system of accountability enrollment elsewhere after 6 year first time" + ], + [ + 0, + "voluntary system of accountability transfer after 6 year first time" + ], + [ + 0, + "voluntary system of accountability graduation elsewhere after 4 year" + ], + [ + 0, + "voluntary system of accountability enrollment after 4 years transfer" + ], + [ + 0, + "voluntary system of accountability enrollment elsewhere after 4 years transfer" + ], + [ + 0, + "voluntary system of accountability enrollment elsewhere after 6 years transfer" + ], + [ + 0, + "voluntary system of accountability graduation elsewhere after 6 years transfer" + ], + [ + 0, + "voluntary system of accountability enrollment after 6 years transfer" + ], + [ + 0, + "voluntary system of accountability enrollment elsewhere after 6 years transfer" + ], + [ + 0, + "similar" + ], + [ + 0, + "state_sector_ct" + ], + [ + 0, + "carnegie_ct" + ], + [ + 0, + "counted_pct" + ], + [ + 0, + "nicknames" + ], + [ + 0, + "cohort_size" + ], + [ + 1, + "unit id" + ], + [ + 1, + "year" + ], + [ + 1, + "gender" + ], + [ + 1, + "race" + ], + [ + 1, + "cohort" + ], + [ + 1, + "graduation cohort" + ], + [ + 1, + "graduation 100" + ], + [ + 1, + "graduation 150" + ], + [ + 1, + "grad_100_rate" + ], + [ + 1, + "grad_150_rate" + ], + [ + 2, + "state id" + ], + [ + 2, + "state name" + ], + [ + 2, + "state_abbr" + ], + [ + 2, + "control" + ], + [ + 2, + "level" + ], + [ + 2, + "year" + ], + [ + 2, + "gender" + ], + [ + 2, + "race" + ], + [ + 2, + "cohort" + ], + [ + 2, + "graduation cohort" + ], + [ + 2, + "graduation 100" + ], + [ + 2, + "graduation 150" + ], + [ + 2, + "grad_100_rate" + ], + [ + 2, + "grad_150_rate" + ], + [ + 2, + "graduation cohort count" + ], + [ + 3, + "state id" + ], + [ + 3, + "state name" + ], + [ + 3, + "state_post" + ], + [ + 3, + "level" + ], + [ + 3, + "control" + ], + [ + 3, + "schools_count" + ], + [ + 3, + "counted percentage" + ], + [ + 3, + "awards per state value" + ], + [ + 3, + "awards per national value" + ], + [ + 3, + "expected award state value" + ], + [ + 3, + "expected award national value" + ], + [ + 3, + "state appropriation value" + ], + [ + 3, + "state_appr_rank" + ], + [ + 3, + "grad_rate_rank" + ], + [ + 3, + "awards_per_rank" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "real", + "real", + "text", + "integer", + "real", + "real", + "real", + "integer", + "integer", + "integer", + "integer", + "real", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "text", + "text", + "real", + "integer", + "real", + "integer", + "real", + "integer", + "real", + "integer", + "real", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "real", + "text", + "integer", + "text", + "text", + "text", + "text" + ], + "primary_keys": [ + 1, + [ + 88, + 91, + 92 + ] + ], + "foreign_keys": [ + [ + 63, + 1 + ], + [ + 73, + 88 + ], + [ + 74, + 4 + ], + [ + 89, + 4 + ] + ] + }, + { + "db_id": "ice_hockey_draft", + "table_names_original": [ + "height_info", + "weight_info", + "PlayerInfo", + "SeasonStatus" + ], + "table_names": [ + "height_info", + "weight_info", + "PlayerInfo", + "SeasonStatus" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "height_id" + ], + [ + 0, + "height_in_cm" + ], + [ + 0, + "height_in_inch" + ], + [ + 1, + "weight_id" + ], + [ + 1, + "weight_in_kg" + ], + [ + 1, + "weight_in_lbs" + ], + [ + 2, + "ELITEID" + ], + [ + 2, + "PlayerName" + ], + [ + 2, + "birthdate" + ], + [ + 2, + "birthyear" + ], + [ + 2, + "birthmonth" + ], + [ + 2, + "birthday" + ], + [ + 2, + "birthplace" + ], + [ + 2, + "nation" + ], + [ + 2, + "height" + ], + [ + 2, + "weight" + ], + [ + 2, + "position_info" + ], + [ + 2, + "shoots" + ], + [ + 2, + "draftyear" + ], + [ + 2, + "draftround" + ], + [ + 2, + "overall" + ], + [ + 2, + "overallby" + ], + [ + 2, + "CSS_rank" + ], + [ + 2, + "sum_7yr_GP" + ], + [ + 2, + "sum_7yr_TOI" + ], + [ + 2, + "GP_greater_than_0" + ], + [ + 3, + "ELITEID" + ], + [ + 3, + "SEASON" + ], + [ + 3, + "TEAM" + ], + [ + 3, + "LEAGUE" + ], + [ + 3, + "GAMETYPE" + ], + [ + 3, + "GP" + ], + [ + 3, + "G" + ], + [ + 3, + "A" + ], + [ + 3, + "P" + ], + [ + 3, + "PIM" + ], + [ + 3, + "PLUSMINUS" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "height id" + ], + [ + 0, + "height in cm" + ], + [ + 0, + "height in inch" + ], + [ + 1, + "weight id" + ], + [ + 1, + "weight in kg" + ], + [ + 1, + "weight in lbs" + ], + [ + 2, + "ELITE ID" + ], + [ + 2, + "Player Name" + ], + [ + 2, + "birthdate" + ], + [ + 2, + "birthyear" + ], + [ + 2, + "birthmonth" + ], + [ + 2, + "birthday" + ], + [ + 2, + "birthplace" + ], + [ + 2, + "nation" + ], + [ + 2, + "height" + ], + [ + 2, + "weight" + ], + [ + 2, + "position information" + ], + [ + 2, + "shoots" + ], + [ + 2, + "draft year" + ], + [ + 2, + "draft round" + ], + [ + 2, + "overall" + ], + [ + 2, + "overallby" + ], + [ + 2, + "Central Scouting Service ranking" + ], + [ + 2, + "sum 7-year game plays" + ], + [ + 2, + "sum 7-year time on ice" + ], + [ + 2, + "game play greater than 0" + ], + [ + 3, + "ELITE ID" + ], + [ + 3, + "SEASON" + ], + [ + 3, + "TEAM" + ], + [ + 3, + "LEAGUE" + ], + [ + 3, + "GAME TYPE" + ], + [ + 3, + "Game Plays" + ], + [ + 3, + "G" + ], + [ + 3, + "A" + ], + [ + 3, + "P" + ], + [ + 3, + "Penalty Minutes" + ], + [ + 3, + "Plus Minutes" + ] + ], + "column_types": [ + "text", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "date", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "text", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 4, + 7 + ], + "foreign_keys": [ + [ + 16, + 4 + ], + [ + 15, + 1 + ], + [ + 27, + 7 + ] + ] + }, + { + "db_id": "world_development_indicators", + "table_names_original": [ + "Country", + "Series", + "CountryNotes", + "Footnotes", + "Indicators", + "SeriesNotes" + ], + "table_names": [ + "Country", + "Series", + "CountryNotes", + "FootNotes", + "Indicators", + "SeriesNotes" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "CountryCode" + ], + [ + 0, + "ShortName" + ], + [ + 0, + "TableName" + ], + [ + 0, + "LongName" + ], + [ + 0, + "Alpha2Code" + ], + [ + 0, + "CurrencyUnit" + ], + [ + 0, + "SpecialNotes" + ], + [ + 0, + "Region" + ], + [ + 0, + "IncomeGroup" + ], + [ + 0, + "Wb2Code" + ], + [ + 0, + "NationalAccountsBaseYear" + ], + [ + 0, + "NationalAccountsReferenceYear" + ], + [ + 0, + "SnaPriceValuation" + ], + [ + 0, + "LendingCategory" + ], + [ + 0, + "OtherGroups" + ], + [ + 0, + "SystemOfNationalAccounts" + ], + [ + 0, + "AlternativeConversionFactor" + ], + [ + 0, + "PppSurveyYear" + ], + [ + 0, + "BalanceOfPaymentsManualInUse" + ], + [ + 0, + "ExternalDebtReportingStatus" + ], + [ + 0, + "SystemOfTrade" + ], + [ + 0, + "GovernmentAccountingConcept" + ], + [ + 0, + "ImfDataDisseminationStandard" + ], + [ + 0, + "LatestPopulationCensus" + ], + [ + 0, + "LatestHouseholdSurvey" + ], + [ + 0, + "SourceOfMostRecentIncomeAndExpenditureData" + ], + [ + 0, + "VitalRegistrationComplete" + ], + [ + 0, + "LatestAgriculturalCensus" + ], + [ + 0, + "LatestIndustrialData" + ], + [ + 0, + "LatestTradeData" + ], + [ + 0, + "LatestWaterWithdrawalData" + ], + [ + 1, + "SeriesCode" + ], + [ + 1, + "Topic" + ], + [ + 1, + "IndicatorName" + ], + [ + 1, + "ShortDefinition" + ], + [ + 1, + "LongDefinition" + ], + [ + 1, + "UnitOfMeasure" + ], + [ + 1, + "Periodicity" + ], + [ + 1, + "BasePeriod" + ], + [ + 1, + "OtherNotes" + ], + [ + 1, + "AggregationMethod" + ], + [ + 1, + "LimitationsAndExceptions" + ], + [ + 1, + "NotesFromOriginalSource" + ], + [ + 1, + "GeneralComments" + ], + [ + 1, + "Source" + ], + [ + 1, + "StatisticalConceptAndMethodology" + ], + [ + 1, + "DevelopmentRelevance" + ], + [ + 1, + "RelatedSourceLinks" + ], + [ + 1, + "OtherWebLinks" + ], + [ + 1, + "RelatedIndicators" + ], + [ + 1, + "LicenseType" + ], + [ + 2, + "Countrycode" + ], + [ + 2, + "Seriescode" + ], + [ + 2, + "Description" + ], + [ + 3, + "Countrycode" + ], + [ + 3, + "Seriescode" + ], + [ + 3, + "Year" + ], + [ + 3, + "Description" + ], + [ + 4, + "CountryName" + ], + [ + 4, + "CountryCode" + ], + [ + 4, + "IndicatorName" + ], + [ + 4, + "IndicatorCode" + ], + [ + 4, + "Year" + ], + [ + 4, + "Value" + ], + [ + 5, + "Seriescode" + ], + [ + 5, + "Year" + ], + [ + 5, + "Description" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "Country Code" + ], + [ + 0, + "Short Name" + ], + [ + 0, + "Table Name" + ], + [ + 0, + "Long Name" + ], + [ + 0, + "Alpha to Code" + ], + [ + 0, + "Currency Unit" + ], + [ + 0, + "Special Notes" + ], + [ + 0, + "Region" + ], + [ + 0, + "Income Group" + ], + [ + 0, + "world bank to code" + ], + [ + 0, + "National Accounts Base Year" + ], + [ + 0, + "National Accounts Reference Year" + ], + [ + 0, + "SNA Price Valuation" + ], + [ + 0, + "Lending Category" + ], + [ + 0, + "Other groups" + ], + [ + 0, + "System Of National Accounts" + ], + [ + 0, + "Alternative Conversion Factor" + ], + [ + 0, + "purchasing power parity survey year" + ], + [ + 0, + "Balance Of Payments Manual In Use" + ], + [ + 0, + "External Debt Reporting Status" + ], + [ + 0, + "System Of Trade" + ], + [ + 0, + "Government Accounting Concept" + ], + [ + 0, + "International Monetory Fund Data Dissemination Standard" + ], + [ + 0, + "Latest Population Census" + ], + [ + 0, + "Latest Household Survey" + ], + [ + 0, + "Source Of Most Recent Income And Expenditure Data" + ], + [ + 0, + "Vital Registration Complete" + ], + [ + 0, + "Latest Agricultural Census" + ], + [ + 0, + "Latest Industrial Data" + ], + [ + 0, + "Latest Trade Data" + ], + [ + 0, + "Latest Water Withdrawal Data" + ], + [ + 1, + "Series Code" + ], + [ + 1, + "Topic" + ], + [ + 1, + "Indicator Name" + ], + [ + 1, + "Short Definition" + ], + [ + 1, + "Long Definition" + ], + [ + 1, + "Unit Of Measure" + ], + [ + 1, + "Periodicity" + ], + [ + 1, + "Base Period" + ], + [ + 1, + "Other Notes" + ], + [ + 1, + "Aggregation Method" + ], + [ + 1, + "Limitations And Exceptions" + ], + [ + 1, + "Notes From Original Source" + ], + [ + 1, + "General Comments" + ], + [ + 1, + "Source" + ], + [ + 1, + "Statistical Concept And Methodology" + ], + [ + 1, + "Development Relevance" + ], + [ + 1, + "Related Source Links" + ], + [ + 1, + "Other Web Links" + ], + [ + 1, + "Related Indicators" + ], + [ + 1, + "License Type" + ], + [ + 2, + "Country code" + ], + [ + 2, + "Series code" + ], + [ + 2, + "Description" + ], + [ + 3, + "Country code" + ], + [ + 3, + "Series code" + ], + [ + 3, + "Year" + ], + [ + 3, + "Description" + ], + [ + 4, + "Country code" + ], + [ + 4, + "Series code" + ], + [ + 4, + "Indicator Name" + ], + [ + 4, + "Indicator Code" + ], + [ + 4, + "Year" + ], + [ + 4, + "Value" + ], + [ + 5, + "Series code" + ], + [ + 5, + "Year" + ], + [ + 5, + "Description" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "text", + "text", + "text" + ], + "primary_keys": [ + 1, + 32, + [ + 52, + 53 + ], + [ + 55, + 56, + 57 + ], + [ + 60, + 62, + 63 + ], + [ + 65, + 66 + ] + ], + "foreign_keys": [ + [ + 52, + 1 + ], + [ + 53, + 32 + ], + [ + 55, + 1 + ], + [ + 56, + 32 + ], + [ + 60, + 1 + ], + [ + 65, + 32 + ] + ] + }, + { + "db_id": "airline", + "table_names_original": [ + "Air Carriers", + "Airports", + "Airlines" + ], + "table_names": [ + "Air Carriers", + "Airports", + "Airlines" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Code" + ], + [ + 0, + "Description" + ], + [ + 1, + "Code" + ], + [ + 1, + "Description" + ], + [ + 2, + "FL_DATE" + ], + [ + 2, + "OP_CARRIER_AIRLINE_ID" + ], + [ + 2, + "TAIL_NUM" + ], + [ + 2, + "OP_CARRIER_FL_NUM" + ], + [ + 2, + "ORIGIN_AIRPORT_ID" + ], + [ + 2, + "ORIGIN_AIRPORT_SEQ_ID" + ], + [ + 2, + "ORIGIN_CITY_MARKET_ID" + ], + [ + 2, + "ORIGIN" + ], + [ + 2, + "DEST_AIRPORT_ID" + ], + [ + 2, + "DEST_AIRPORT_SEQ_ID" + ], + [ + 2, + "DEST_CITY_MARKET_ID" + ], + [ + 2, + "DEST" + ], + [ + 2, + "CRS_DEP_TIME" + ], + [ + 2, + "DEP_TIME" + ], + [ + 2, + "DEP_DELAY" + ], + [ + 2, + "DEP_DELAY_NEW" + ], + [ + 2, + "ARR_TIME" + ], + [ + 2, + "ARR_DELAY" + ], + [ + 2, + "ARR_DELAY_NEW" + ], + [ + 2, + "CANCELLED" + ], + [ + 2, + "CANCELLATION_CODE" + ], + [ + 2, + "CRS_ELAPSED_TIME" + ], + [ + 2, + "ACTUAL_ELAPSED_TIME" + ], + [ + 2, + "CARRIER_DELAY" + ], + [ + 2, + "WEATHER_DELAY" + ], + [ + 2, + "NAS_DELAY" + ], + [ + 2, + "SECURITY_DELAY" + ], + [ + 2, + "LATE_AIRCRAFT_DELAY" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "Code" + ], + [ + 0, + "Description" + ], + [ + 1, + "Code" + ], + [ + 1, + "Description" + ], + [ + 2, + "flight date" + ], + [ + 2, + "operator carrier airline id" + ], + [ + 2, + "tail number" + ], + [ + 2, + "operator carrier flight number" + ], + [ + 2, + "origin airport id" + ], + [ + 2, + "origin airport sequence id" + ], + [ + 2, + "origin city market id" + ], + [ + 2, + "ORIGIN" + ], + [ + 2, + "destination airport id" + ], + [ + 2, + "destination airport sequence id" + ], + [ + 2, + "destination city market id" + ], + [ + 2, + "destination" + ], + [ + 2, + "scheduled local departure time" + ], + [ + 2, + "departure time" + ], + [ + 2, + "Departure delay" + ], + [ + 2, + "departure delay new" + ], + [ + 2, + "arrival time" + ], + [ + 2, + "arrival delay" + ], + [ + 2, + "arrival delay new" + ], + [ + 2, + "CANCELLED" + ], + [ + 2, + "cancellation code" + ], + [ + 2, + "scheduled elapsed time" + ], + [ + 2, + "actual elapsed time" + ], + [ + 2, + "carrier delay" + ], + [ + 2, + "weather delay" + ], + [ + 2, + "National Aviavtion System delay" + ], + [ + 2, + "security delay" + ], + [ + 2, + "late aircraft delay" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer" + ], + "primary_keys": [ + 1, + 3 + ], + "foreign_keys": [ + [ + 6, + 1 + ], + [ + 16, + 3 + ], + [ + 12, + 3 + ] + ] + }, + { + "db_id": "retail_complains", + "table_names_original": [ + "state", + "callcenterlogs", + "client", + "district", + "events", + "reviews" + ], + "table_names": [ + "state", + "callcenterlogs", + "client", + "district", + "events", + "reviews" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "StateCode" + ], + [ + 0, + "State" + ], + [ + 0, + "Region" + ], + [ + 1, + "Date received" + ], + [ + 1, + "Complaint ID" + ], + [ + 1, + "rand client" + ], + [ + 1, + "phonefinal" + ], + [ + 1, + "vru+line" + ], + [ + 1, + "call_id" + ], + [ + 1, + "priority" + ], + [ + 1, + "type" + ], + [ + 1, + "outcome" + ], + [ + 1, + "server" + ], + [ + 1, + "ser_start" + ], + [ + 1, + "ser_exit" + ], + [ + 1, + "ser_time" + ], + [ + 2, + "client_id" + ], + [ + 2, + "sex" + ], + [ + 2, + "day" + ], + [ + 2, + "month" + ], + [ + 2, + "year" + ], + [ + 2, + "age" + ], + [ + 2, + "social" + ], + [ + 2, + "first" + ], + [ + 2, + "middle" + ], + [ + 2, + "last" + ], + [ + 2, + "phone" + ], + [ + 2, + "email" + ], + [ + 2, + "address_1" + ], + [ + 2, + "address_2" + ], + [ + 2, + "city" + ], + [ + 2, + "state" + ], + [ + 2, + "zipcode" + ], + [ + 2, + "district_id" + ], + [ + 3, + "district_id" + ], + [ + 3, + "city" + ], + [ + 3, + "state_abbrev" + ], + [ + 3, + "division" + ], + [ + 4, + "Date received" + ], + [ + 4, + "Product" + ], + [ + 4, + "Sub-product" + ], + [ + 4, + "Issue" + ], + [ + 4, + "Sub-issue" + ], + [ + 4, + "Consumer complaint narrative" + ], + [ + 4, + "Tags" + ], + [ + 4, + "Consumer consent provided?" + ], + [ + 4, + "Submitted via" + ], + [ + 4, + "Date sent to company" + ], + [ + 4, + "Company response to consumer" + ], + [ + 4, + "Timely response?" + ], + [ + 4, + "Consumer disputed?" + ], + [ + 4, + "Complaint ID" + ], + [ + 4, + "Client_ID" + ], + [ + 5, + "Date" + ], + [ + 5, + "Stars" + ], + [ + 5, + "Reviews" + ], + [ + 5, + "Product" + ], + [ + 5, + "district_id" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "StateCode" + ], + [ + 0, + "State" + ], + [ + 0, + "Region" + ], + [ + 1, + "Date received" + ], + [ + 1, + "Complaint ID" + ], + [ + 1, + "rand client" + ], + [ + 1, + "phone final" + ], + [ + 1, + "voice response unit line" + ], + [ + 1, + "call id" + ], + [ + 1, + "priority" + ], + [ + 1, + "type" + ], + [ + 1, + "outcome" + ], + [ + 1, + "server" + ], + [ + 1, + "server start" + ], + [ + 1, + "server exit" + ], + [ + 1, + "server time" + ], + [ + 2, + "client id" + ], + [ + 2, + "sex" + ], + [ + 2, + "day" + ], + [ + 2, + "month" + ], + [ + 2, + "year" + ], + [ + 2, + "age" + ], + [ + 2, + "social" + ], + [ + 2, + "first" + ], + [ + 2, + "middle" + ], + [ + 2, + "last" + ], + [ + 2, + "phone" + ], + [ + 2, + "email" + ], + [ + 2, + "address_1" + ], + [ + 2, + "address_2" + ], + [ + 2, + "city" + ], + [ + 2, + "state" + ], + [ + 2, + "zipcode" + ], + [ + 2, + "district id" + ], + [ + 3, + "district id" + ], + [ + 3, + "city" + ], + [ + 3, + "state_abbrev" + ], + [ + 3, + "division" + ], + [ + 4, + "Date received" + ], + [ + 4, + "Product" + ], + [ + 4, + "Sub-product" + ], + [ + 4, + "Issue" + ], + [ + 4, + "Sub-issue" + ], + [ + 4, + "Consumer complaint narrative" + ], + [ + 4, + "Tags" + ], + [ + 4, + "Tags Consumer consent provided?" + ], + [ + 4, + "Submitted via" + ], + [ + 4, + "Date sent to company" + ], + [ + 4, + "Company response to consumer" + ], + [ + 4, + "Timely response?" + ], + [ + 4, + "Consumer disputed?" + ], + [ + 4, + "Complaint ID" + ], + [ + 4, + "Client ID" + ], + [ + 5, + "Date" + ], + [ + 5, + "Stars" + ], + [ + 5, + "Reviews" + ], + [ + 5, + "Product" + ], + [ + 5, + "district_id" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "date", + "text", + "text", + "text", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "date", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "date", + "integer", + "text", + "text", + "integer" + ], + "primary_keys": [ + 1, + 5, + 17, + 35, + [ + 52, + 53 + ], + 54 + ], + "foreign_keys": [ + [ + 6, + 17 + ], + [ + 34, + 35 + ], + [ + 37, + 1 + ], + [ + 53, + 17 + ], + [ + 52, + 5 + ], + [ + 58, + 35 + ] + ] + }, + { + "db_id": "trains", + "table_names_original": [ + "cars", + "trains" + ], + "table_names": [ + "cars", + "trains" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "train_id" + ], + [ + 0, + "position" + ], + [ + 0, + "shape" + ], + [ + 0, + "len" + ], + [ + 0, + "sides" + ], + [ + 0, + "roof" + ], + [ + 0, + "wheels" + ], + [ + 0, + "load_shape" + ], + [ + 0, + "load_num" + ], + [ + 1, + "id" + ], + [ + 1, + "direction" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "train id" + ], + [ + 0, + "position" + ], + [ + 0, + "shape" + ], + [ + 0, + "length" + ], + [ + 0, + "sides" + ], + [ + 0, + "roof" + ], + [ + 0, + "wheels" + ], + [ + 0, + "load_shape" + ], + [ + 0, + "load number" + ], + [ + 1, + "id" + ], + [ + 1, + "direction" + ] + ], + "column_types": [ + "text", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "integer", + "text", + "integer", + "integer", + "text" + ], + "primary_keys": [ + 1, + 11 + ], + "foreign_keys": [ + [ + 2, + 11 + ] + ] + }, + { + "db_id": "public_review_platform", + "table_names_original": [ + "Attributes", + "Categories", + "Compliments", + "Days", + "Years", + "Business_Attributes", + "Business_Categories", + "Business_Hours", + "Checkins", + "Elite", + "Reviews", + "Tips", + "Users_Compliments", + "Business", + "Users" + ], + "table_names": [ + "Attributes", + "Categories", + "Compliments", + "Days", + "Years", + "Business_Attributes", + "Business_Categories", + "Business_Hours", + "Checkins", + "Elite", + "Reviews", + "Tips", + "Users_Compliments", + "Business", + "Users" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "attribute_id" + ], + [ + 0, + "attribute_name" + ], + [ + 1, + "category_id" + ], + [ + 1, + "category_name" + ], + [ + 2, + "compliment_id" + ], + [ + 2, + "compliment_type" + ], + [ + 3, + "day_id" + ], + [ + 3, + "day_of_week" + ], + [ + 4, + "year_id" + ], + [ + 4, + "actual_year" + ], + [ + 5, + "attribute_id" + ], + [ + 5, + "business_id" + ], + [ + 5, + "attribute_value" + ], + [ + 6, + "business_id" + ], + [ + 6, + "category_id" + ], + [ + 7, + "business_id" + ], + [ + 7, + "day_id" + ], + [ + 7, + "opening_time" + ], + [ + 7, + "closing_time" + ], + [ + 8, + "business_id" + ], + [ + 8, + "day_id" + ], + [ + 8, + "label_time_0" + ], + [ + 8, + "label_time_1" + ], + [ + 8, + "label_time_2" + ], + [ + 8, + "label_time_3" + ], + [ + 8, + "label_time_4" + ], + [ + 8, + "label_time_5" + ], + [ + 8, + "label_time_6" + ], + [ + 8, + "label_time_7" + ], + [ + 8, + "label_time_8" + ], + [ + 8, + "label_time_9" + ], + [ + 8, + "label_time_10" + ], + [ + 8, + "label_time_11" + ], + [ + 8, + "label_time_12" + ], + [ + 8, + "label_time_13" + ], + [ + 8, + "label_time_14" + ], + [ + 8, + "label_time_15" + ], + [ + 8, + "label_time_16" + ], + [ + 8, + "label_time_17" + ], + [ + 8, + "label_time_18" + ], + [ + 8, + "label_time_19" + ], + [ + 8, + "label_time_20" + ], + [ + 8, + "label_time_21" + ], + [ + 8, + "label_time_22" + ], + [ + 8, + "label_time_23" + ], + [ + 9, + "user_id" + ], + [ + 9, + "year_id" + ], + [ + 10, + "business_id" + ], + [ + 10, + "user_id" + ], + [ + 10, + "review_stars" + ], + [ + 10, + "review_votes_funny" + ], + [ + 10, + "review_votes_useful" + ], + [ + 10, + "review_votes_cool" + ], + [ + 10, + "review_length" + ], + [ + 11, + "business_id" + ], + [ + 11, + "user_id" + ], + [ + 11, + "likes" + ], + [ + 11, + "tip_length" + ], + [ + 12, + "compliment_id" + ], + [ + 12, + "user_id" + ], + [ + 12, + "number_of_compliments" + ], + [ + 13, + "business_id" + ], + [ + 13, + "active" + ], + [ + 13, + "city" + ], + [ + 13, + "state" + ], + [ + 13, + "stars" + ], + [ + 13, + "review_count" + ], + [ + 14, + "user_id" + ], + [ + 14, + "user_yelping_since_year" + ], + [ + 14, + "user_average_stars" + ], + [ + 14, + "user_votes_funny" + ], + [ + 14, + "user_votes_useful" + ], + [ + 14, + "user_votes_cool" + ], + [ + 14, + "user_review_count" + ], + [ + 14, + "user_fans" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "attribute id" + ], + [ + 0, + "attribute name" + ], + [ + 1, + "category id" + ], + [ + 1, + "category name" + ], + [ + 2, + "compliment id" + ], + [ + 2, + "compliment type" + ], + [ + 3, + "day id" + ], + [ + 3, + "day of week" + ], + [ + 4, + "year id" + ], + [ + 4, + "actual year" + ], + [ + 5, + "attribute id" + ], + [ + 5, + "business id" + ], + [ + 5, + "attribute value" + ], + [ + 6, + "business id" + ], + [ + 6, + "category id" + ], + [ + 7, + "business id" + ], + [ + 7, + "day id" + ], + [ + 7, + "opening time" + ], + [ + 7, + "closing time" + ], + [ + 8, + "business id" + ], + [ + 8, + "day id" + ], + [ + 8, + "label_time_0" + ], + [ + 8, + "label_time_1" + ], + [ + 8, + "label_time_2" + ], + [ + 8, + "label_time_3" + ], + [ + 8, + "label_time_4" + ], + [ + 8, + "label_time_5" + ], + [ + 8, + "label_time_6" + ], + [ + 8, + "label_time_7" + ], + [ + 8, + "label_time_8" + ], + [ + 8, + "label_time_9" + ], + [ + 8, + "label_time_10" + ], + [ + 8, + "label_time_11" + ], + [ + 8, + "label_time_12" + ], + [ + 8, + "label_time_13" + ], + [ + 8, + "label_time_14" + ], + [ + 8, + "label_time_15" + ], + [ + 8, + "label_time_16" + ], + [ + 8, + "label_time_17" + ], + [ + 8, + "label_time_18" + ], + [ + 8, + "label_time_19" + ], + [ + 8, + "label_time_20" + ], + [ + 8, + "label_time_21" + ], + [ + 8, + "label_time_22" + ], + [ + 8, + "label_time_23" + ], + [ + 9, + "user id" + ], + [ + 9, + "year id" + ], + [ + 10, + "business id" + ], + [ + 10, + "user id" + ], + [ + 10, + "review stars" + ], + [ + 10, + "review votes funny" + ], + [ + 10, + "review votes useful" + ], + [ + 10, + "review votes cool" + ], + [ + 10, + "review length" + ], + [ + 11, + "business id" + ], + [ + 11, + "user id" + ], + [ + 11, + "Likes" + ], + [ + 11, + "tip length" + ], + [ + 12, + "compliment id" + ], + [ + 12, + "user id" + ], + [ + 12, + "number of compliments" + ], + [ + 13, + "business id" + ], + [ + 13, + "active" + ], + [ + 13, + "city" + ], + [ + 13, + "state" + ], + [ + 13, + "stars" + ], + [ + 13, + "review count" + ], + [ + 14, + "user id" + ], + [ + 14, + "user yelping since year" + ], + [ + 14, + "user average stars" + ], + [ + 14, + "user votes funny" + ], + [ + 14, + "user votes useful" + ], + [ + 14, + "user votes cool" + ], + [ + 14, + "user review count" + ], + [ + 14, + "user fans" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "text", + "integer", + "text", + "text", + "text", + "real", + "text", + "integer", + "integer", + "text", + "text", + "text", + "text", + "text", + "text" + ], + "primary_keys": [ + 1, + 3, + 5, + 7, + 9, + [ + 11, + 12 + ], + [ + 14, + 15 + ], + [ + 16, + 17 + ], + [ + 20, + 21 + ], + [ + 46, + 47 + ], + [ + 48, + 49 + ], + [ + 55, + 56 + ], + [ + 59, + 60 + ], + 62, + 68 + ], + "foreign_keys": [] + }, + { + "db_id": "donor", + "table_names_original": [ + "essays", + "projects", + "donations", + "resources" + ], + "table_names": [ + "essays", + "projects", + "donations", + "resources" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "projectid" + ], + [ + 0, + "teacher_acctid" + ], + [ + 0, + "title" + ], + [ + 0, + "short_description" + ], + [ + 0, + "need_statement" + ], + [ + 0, + "essay" + ], + [ + 1, + "projectid" + ], + [ + 1, + "teacher_acctid" + ], + [ + 1, + "schoolid" + ], + [ + 1, + "school_ncesid" + ], + [ + 1, + "school_latitude" + ], + [ + 1, + "school_longitude" + ], + [ + 1, + "school_city" + ], + [ + 1, + "school_state" + ], + [ + 1, + "school_zip" + ], + [ + 1, + "school_metro" + ], + [ + 1, + "school_district" + ], + [ + 1, + "school_county" + ], + [ + 1, + "school_charter" + ], + [ + 1, + "school_magnet" + ], + [ + 1, + "school_year_round" + ], + [ + 1, + "school_nlns" + ], + [ + 1, + "school_kipp" + ], + [ + 1, + "school_charter_ready_promise" + ], + [ + 1, + "teacher_prefix" + ], + [ + 1, + "teacher_teach_for_america" + ], + [ + 1, + "teacher_ny_teaching_fellow" + ], + [ + 1, + "primary_focus_subject" + ], + [ + 1, + "primary_focus_area" + ], + [ + 1, + "secondary_focus_subject" + ], + [ + 1, + "secondary_focus_area" + ], + [ + 1, + "resource_type" + ], + [ + 1, + "poverty_level" + ], + [ + 1, + "grade_level" + ], + [ + 1, + "fulfillment_labor_materials" + ], + [ + 1, + "total_price_excluding_optional_support" + ], + [ + 1, + "total_price_including_optional_support" + ], + [ + 1, + "students_reached" + ], + [ + 1, + "eligible_double_your_impact_match" + ], + [ + 1, + "eligible_almost_home_match" + ], + [ + 1, + "date_posted" + ], + [ + 2, + "donationid" + ], + [ + 2, + "projectid" + ], + [ + 2, + "donor_acctid" + ], + [ + 2, + "donor_city" + ], + [ + 2, + "donor_state" + ], + [ + 2, + "donor_zip" + ], + [ + 2, + "is_teacher_acct" + ], + [ + 2, + "donation_timestamp" + ], + [ + 2, + "donation_to_project" + ], + [ + 2, + "donation_optional_support" + ], + [ + 2, + "donation_total" + ], + [ + 2, + "dollar_amount" + ], + [ + 2, + "donation_included_optional_support" + ], + [ + 2, + "payment_method" + ], + [ + 2, + "payment_included_acct_credit" + ], + [ + 2, + "payment_included_campaign_gift_card" + ], + [ + 2, + "payment_included_web_purchased_gift_card" + ], + [ + 2, + "payment_was_promo_matched" + ], + [ + 2, + "via_giving_page" + ], + [ + 2, + "for_honoree" + ], + [ + 2, + "donation_message" + ], + [ + 3, + "resourceid" + ], + [ + 3, + "projectid" + ], + [ + 3, + "vendorid" + ], + [ + 3, + "vendor_name" + ], + [ + 3, + "project_resource_type" + ], + [ + 3, + "item_name" + ], + [ + 3, + "item_number" + ], + [ + 3, + "item_unit_price" + ], + [ + 3, + "item_quantity" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "project id" + ], + [ + 0, + "teacher acctid" + ], + [ + 0, + "title" + ], + [ + 0, + "short description" + ], + [ + 0, + "need statement" + ], + [ + 0, + "essay" + ], + [ + 1, + "project id" + ], + [ + 1, + "teacher_acctid" + ], + [ + 1, + "schoolid" + ], + [ + 1, + "school national center for education statistics id" + ], + [ + 1, + "school latitude" + ], + [ + 1, + "school longitude" + ], + [ + 1, + "school city" + ], + [ + 1, + "school state" + ], + [ + 1, + "school zip" + ], + [ + 1, + "school metro" + ], + [ + 1, + "school district" + ], + [ + 1, + "school county" + ], + [ + 1, + "school charter" + ], + [ + 1, + "school magnet" + ], + [ + 1, + "school year round" + ], + [ + 1, + "school Nonleafy Normal Stature" + ], + [ + 1, + "school Knowledge Is Power Program" + ], + [ + 1, + "school charter ready promise" + ], + [ + 1, + "teacher prefix" + ], + [ + 1, + "teachers teach for america" + ], + [ + 1, + "teacher_new_york_teaching_fellow" + ], + [ + 1, + "primary focus subject" + ], + [ + 1, + "primary focus area" + ], + [ + 1, + "secondary focus subject" + ], + [ + 1, + "secondary focus area" + ], + [ + 1, + "resource type" + ], + [ + 1, + "poverty level" + ], + [ + 1, + "grade level" + ], + [ + 1, + "fulfillment labor materials" + ], + [ + 1, + "total price excluding optional support" + ], + [ + 1, + "total price including optional support" + ], + [ + 1, + "students reached" + ], + [ + 1, + "eligible double your impact match" + ], + [ + 1, + "eligible almost home match" + ], + [ + 1, + "date posted" + ], + [ + 2, + "donation id" + ], + [ + 2, + "project id" + ], + [ + 2, + "donor accid" + ], + [ + 2, + "donor city" + ], + [ + 2, + "donor state" + ], + [ + 2, + "donor zip" + ], + [ + 2, + "is teacher acct" + ], + [ + 2, + "donation timestamp" + ], + [ + 2, + "donation to project" + ], + [ + 2, + "donation optional support" + ], + [ + 2, + "donation total" + ], + [ + 2, + "dollar amount" + ], + [ + 2, + "donation included optional support" + ], + [ + 2, + "payment method" + ], + [ + 2, + "payment included acct credit" + ], + [ + 2, + "payment included campaign gift card" + ], + [ + 2, + "payment included web purchased gift card" + ], + [ + 2, + "payment was promo matched" + ], + [ + 2, + "via giving page" + ], + [ + 2, + "for honoree" + ], + [ + 2, + "donation message" + ], + [ + 3, + "resource id" + ], + [ + 3, + "project id" + ], + [ + 3, + "vendor id" + ], + [ + 3, + "vendor name" + ], + [ + 3, + "project resource type" + ], + [ + 3, + "item name" + ], + [ + 3, + "item number" + ], + [ + 3, + "item unit price" + ], + [ + 3, + "item quantity" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "real", + "real", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "real", + "real", + "real", + "integer", + "text", + "text", + "date", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "datetime", + "real", + "real", + "real", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "real", + "integer" + ], + "primary_keys": [ + 7, + 42, + 63 + ], + "foreign_keys": [ + [ + 43, + 7 + ], + [ + 64, + 7 + ] + ] + }, + { + "db_id": "coinmarketcap", + "table_names_original": [ + "coins", + "historical" + ], + "table_names": [ + "Coins", + "Historical" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "slug" + ], + [ + 0, + "symbol" + ], + [ + 0, + "status" + ], + [ + 0, + "category" + ], + [ + 0, + "description" + ], + [ + 0, + "subreddit" + ], + [ + 0, + "notice" + ], + [ + 0, + "tags" + ], + [ + 0, + "tag_names" + ], + [ + 0, + "website" + ], + [ + 0, + "platform_id" + ], + [ + 0, + "date_added" + ], + [ + 0, + "date_launched" + ], + [ + 1, + "date" + ], + [ + 1, + "coin_id" + ], + [ + 1, + "cmc_rank" + ], + [ + 1, + "market_cap" + ], + [ + 1, + "price" + ], + [ + 1, + "open" + ], + [ + 1, + "high" + ], + [ + 1, + "low" + ], + [ + 1, + "close" + ], + [ + 1, + "time_high" + ], + [ + 1, + "time_low" + ], + [ + 1, + "volume_24h" + ], + [ + 1, + "percent_change_1h" + ], + [ + 1, + "percent_change_24h" + ], + [ + 1, + "percent_change_7d" + ], + [ + 1, + "circulating_supply" + ], + [ + 1, + "total_supply" + ], + [ + 1, + "max_supply" + ], + [ + 1, + "num_market_pairs" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "slug" + ], + [ + 0, + "symbol" + ], + [ + 0, + "status" + ], + [ + 0, + "category" + ], + [ + 0, + "description" + ], + [ + 0, + "subreddit" + ], + [ + 0, + "notice" + ], + [ + 0, + "tags" + ], + [ + 0, + "tag_names" + ], + [ + 0, + "website" + ], + [ + 0, + "platform id" + ], + [ + 0, + "date added" + ], + [ + 0, + "date lanched" + ], + [ + 1, + "date" + ], + [ + 1, + "coin_id" + ], + [ + 1, + "coinmarketcap rank" + ], + [ + 1, + "Market capitalization" + ], + [ + 1, + "price" + ], + [ + 1, + "open" + ], + [ + 1, + "high" + ], + [ + 1, + "low" + ], + [ + 1, + "close" + ], + [ + 1, + "time_high" + ], + [ + 1, + "time_low" + ], + [ + 1, + "volume_24h" + ], + [ + 1, + "percent change 1h" + ], + [ + 1, + "percent change 24h" + ], + [ + 1, + "percent change 7d" + ], + [ + 1, + "circulating supply" + ], + [ + 1, + "total supply" + ], + [ + 1, + "max supply" + ], + [ + 1, + "number market pairs" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "date", + "integer", + "integer", + "real", + "real", + "real", + "real", + "real", + "real", + "text", + "text", + "real", + "real", + "real", + "real", + "real", + "real", + "real", + "integer" + ], + "primary_keys": [ + 1 + ], + "foreign_keys": [] + }, + { + "db_id": "simpson_episodes", + "table_names_original": [ + "Episode", + "Person", + "Award", + "Character_Award", + "Credit", + "Keyword", + "Vote" + ], + "table_names": [ + "Episode", + "Person", + "Award", + "Character_Award", + "Credit", + "Keyword", + "Vote" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "episode_id" + ], + [ + 0, + "season" + ], + [ + 0, + "episode" + ], + [ + 0, + "number_in_series" + ], + [ + 0, + "title" + ], + [ + 0, + "summary" + ], + [ + 0, + "air_date" + ], + [ + 0, + "episode_image" + ], + [ + 0, + "rating" + ], + [ + 0, + "votes" + ], + [ + 1, + "name" + ], + [ + 1, + "birthdate" + ], + [ + 1, + "birth_name" + ], + [ + 1, + "birth_place" + ], + [ + 1, + "birth_region" + ], + [ + 1, + "birth_country" + ], + [ + 1, + "height_meters" + ], + [ + 1, + "nickname" + ], + [ + 2, + "award_id" + ], + [ + 2, + "organization" + ], + [ + 2, + "year" + ], + [ + 2, + "award_category" + ], + [ + 2, + "award" + ], + [ + 2, + "person" + ], + [ + 2, + "role" + ], + [ + 2, + "episode_id" + ], + [ + 2, + "season" + ], + [ + 2, + "song" + ], + [ + 2, + "result" + ], + [ + 3, + "award_id" + ], + [ + 3, + "character" + ], + [ + 4, + "episode_id" + ], + [ + 4, + "category" + ], + [ + 4, + "person" + ], + [ + 4, + "role" + ], + [ + 4, + "credited" + ], + [ + 5, + "episode_id" + ], + [ + 5, + "keyword" + ], + [ + 6, + "episode_id" + ], + [ + 6, + "stars" + ], + [ + 6, + "votes" + ], + [ + 6, + "percent" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "episode id" + ], + [ + 0, + "season" + ], + [ + 0, + "episode" + ], + [ + 0, + "number in series" + ], + [ + 0, + "title" + ], + [ + 0, + "summary" + ], + [ + 0, + "air date" + ], + [ + 0, + "episode image" + ], + [ + 0, + "rating" + ], + [ + 0, + "votes" + ], + [ + 1, + "name" + ], + [ + 1, + "birth date" + ], + [ + 1, + "birth name" + ], + [ + 1, + "birth place" + ], + [ + 1, + "birth region" + ], + [ + 1, + "birth country" + ], + [ + 1, + "height meters" + ], + [ + 1, + "nickname" + ], + [ + 2, + "award id" + ], + [ + 2, + "organization" + ], + [ + 2, + "year" + ], + [ + 2, + "award_category" + ], + [ + 2, + "award" + ], + [ + 2, + "person" + ], + [ + 2, + "role" + ], + [ + 2, + "episode id" + ], + [ + 2, + "season" + ], + [ + 2, + "song" + ], + [ + 2, + "result" + ], + [ + 3, + "award id" + ], + [ + 3, + "character" + ], + [ + 4, + "episode id" + ], + [ + 4, + "category" + ], + [ + 4, + "person" + ], + [ + 4, + "role" + ], + [ + 4, + "credited" + ], + [ + 5, + "episode id" + ], + [ + 5, + "keyword" + ], + [ + 6, + "episode id" + ], + [ + 6, + "stars" + ], + [ + 6, + "votes" + ], + [ + 6, + "percent" + ] + ], + "column_types": [ + "text", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "text", + "text", + "real", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "real", + "text", + "integer", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "integer", + "real" + ], + "primary_keys": [ + 1, + 11, + 19, + [ + 37, + 38 + ] + ], + "foreign_keys": [ + [ + 26, + 1 + ], + [ + 24, + 11 + ], + [ + 30, + 19 + ], + [ + 34, + 11 + ], + [ + 32, + 1 + ], + [ + 37, + 1 + ], + [ + 39, + 1 + ] + ] + }, + { + "db_id": "movie_3", + "table_names_original": [ + "film_text", + "actor", + "address", + "category", + "city", + "country", + "customer", + "film", + "film_actor", + "film_category", + "inventory", + "language", + "payment", + "rental", + "staff", + "store" + ], + "table_names": [ + "film_text", + "actor", + "address", + "category", + "city", + "country", + "customer", + "film", + "film_actor", + "film_category", + "inventory", + "language", + "payment", + "rental", + "staff", + "store" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "film_id" + ], + [ + 0, + "title" + ], + [ + 0, + "description" + ], + [ + 1, + "actor_id" + ], + [ + 1, + "first_name" + ], + [ + 1, + "last_name" + ], + [ + 1, + "last_update" + ], + [ + 2, + "address_id" + ], + [ + 2, + "address" + ], + [ + 2, + "address2" + ], + [ + 2, + "district" + ], + [ + 2, + "city_id" + ], + [ + 2, + "postal_code" + ], + [ + 2, + "phone" + ], + [ + 2, + "last_update" + ], + [ + 3, + "category_id" + ], + [ + 3, + "name" + ], + [ + 3, + "last_update" + ], + [ + 4, + "city_id" + ], + [ + 4, + "city" + ], + [ + 4, + "country_id" + ], + [ + 4, + "last_update" + ], + [ + 5, + "country_id" + ], + [ + 5, + "country" + ], + [ + 5, + "last_update" + ], + [ + 6, + "customer_id" + ], + [ + 6, + "store_id" + ], + [ + 6, + "first_name" + ], + [ + 6, + "last_name" + ], + [ + 6, + "email" + ], + [ + 6, + "address_id" + ], + [ + 6, + "active" + ], + [ + 6, + "create_date" + ], + [ + 6, + "last_update" + ], + [ + 7, + "film_id" + ], + [ + 7, + "title" + ], + [ + 7, + "description" + ], + [ + 7, + "release_year" + ], + [ + 7, + "language_id" + ], + [ + 7, + "original_language_id" + ], + [ + 7, + "rental_duration" + ], + [ + 7, + "rental_rate" + ], + [ + 7, + "length" + ], + [ + 7, + "replacement_cost" + ], + [ + 7, + "rating" + ], + [ + 7, + "special_features" + ], + [ + 7, + "last_update" + ], + [ + 8, + "actor_id" + ], + [ + 8, + "film_id" + ], + [ + 8, + "last_update" + ], + [ + 9, + "film_id" + ], + [ + 9, + "category_id" + ], + [ + 9, + "last_update" + ], + [ + 10, + "inventory_id" + ], + [ + 10, + "film_id" + ], + [ + 10, + "store_id" + ], + [ + 10, + "last_update" + ], + [ + 11, + "language_id" + ], + [ + 11, + "name" + ], + [ + 11, + "last_update" + ], + [ + 12, + "payment_id" + ], + [ + 12, + "customer_id" + ], + [ + 12, + "staff_id" + ], + [ + 12, + "rental_id" + ], + [ + 12, + "amount" + ], + [ + 12, + "payment_date" + ], + [ + 12, + "last_update" + ], + [ + 13, + "rental_id" + ], + [ + 13, + "rental_date" + ], + [ + 13, + "inventory_id" + ], + [ + 13, + "customer_id" + ], + [ + 13, + "return_date" + ], + [ + 13, + "staff_id" + ], + [ + 13, + "last_update" + ], + [ + 14, + "staff_id" + ], + [ + 14, + "first_name" + ], + [ + 14, + "last_name" + ], + [ + 14, + "address_id" + ], + [ + 14, + "picture" + ], + [ + 14, + "email" + ], + [ + 14, + "store_id" + ], + [ + 14, + "active" + ], + [ + 14, + "username" + ], + [ + 14, + "password" + ], + [ + 14, + "last_update" + ], + [ + 15, + "store_id" + ], + [ + 15, + "manager_staff_id" + ], + [ + 15, + "address_id" + ], + [ + 15, + "last_update" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "film id" + ], + [ + 0, + "title" + ], + [ + 0, + "description" + ], + [ + 1, + "actor id" + ], + [ + 1, + "first name" + ], + [ + 1, + "last name" + ], + [ + 1, + "last update" + ], + [ + 2, + "address id" + ], + [ + 2, + "address" + ], + [ + 2, + "address 2" + ], + [ + 2, + "district" + ], + [ + 2, + "city_id" + ], + [ + 2, + "postal code" + ], + [ + 2, + "phone" + ], + [ + 2, + "last update" + ], + [ + 3, + "category id" + ], + [ + 3, + "name" + ], + [ + 3, + "last update" + ], + [ + 4, + "city id" + ], + [ + 4, + "city" + ], + [ + 4, + "country id" + ], + [ + 4, + "last update" + ], + [ + 5, + "country id" + ], + [ + 5, + "the name of the country" + ], + [ + 5, + "last update" + ], + [ + 6, + "country id" + ], + [ + 6, + "store id" + ], + [ + 6, + "first name" + ], + [ + 6, + "last name" + ], + [ + 6, + "email" + ], + [ + 6, + "address id" + ], + [ + 6, + "active" + ], + [ + 6, + "create date" + ], + [ + 6, + "last update" + ], + [ + 7, + "film id" + ], + [ + 7, + "title" + ], + [ + 7, + "description" + ], + [ + 7, + "release year" + ], + [ + 7, + "language id" + ], + [ + 7, + "original language id" + ], + [ + 7, + "rental duration" + ], + [ + 7, + "rental rate" + ], + [ + 7, + "length" + ], + [ + 7, + "replacement cost" + ], + [ + 7, + "rating" + ], + [ + 7, + "special features" + ], + [ + 7, + "last update" + ], + [ + 8, + "actor id" + ], + [ + 8, + "film id" + ], + [ + 8, + "last update" + ], + [ + 9, + "film id" + ], + [ + 9, + "category id" + ], + [ + 9, + "last update" + ], + [ + 10, + "inventory id" + ], + [ + 10, + "film id" + ], + [ + 10, + "store id" + ], + [ + 10, + "last update" + ], + [ + 11, + "language id" + ], + [ + 11, + "name" + ], + [ + 11, + "last update" + ], + [ + 12, + "payment id" + ], + [ + 12, + "customer id" + ], + [ + 12, + "staff id" + ], + [ + 12, + "rental id" + ], + [ + 12, + "amount" + ], + [ + 12, + "payment date" + ], + [ + 12, + "last update" + ], + [ + 13, + "rental id" + ], + [ + 13, + "rental date" + ], + [ + 13, + "inventory id" + ], + [ + 13, + "customer id" + ], + [ + 13, + "return date" + ], + [ + 13, + "staff id" + ], + [ + 13, + "last update" + ], + [ + 14, + "staff id" + ], + [ + 14, + "first name" + ], + [ + 14, + "last name" + ], + [ + 14, + "address id" + ], + [ + 14, + "picture of the staff" + ], + [ + 14, + "email of the staff" + ], + [ + 14, + "store id" + ], + [ + 14, + "active" + ], + [ + 14, + "username" + ], + [ + 14, + "password" + ], + [ + 14, + "last update" + ], + [ + 15, + "store id" + ], + [ + 15, + "manager staff id" + ], + [ + 15, + "address id" + ], + [ + 15, + "last update" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "integer", + "text", + "text", + "datetime", + "integer", + "text", + "text", + "text", + "integer", + "text", + "text", + "datetime", + "integer", + "text", + "datetime", + "integer", + "text", + "integer", + "datetime", + "integer", + "text", + "datetime", + "integer", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "datetime", + "datetime", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "real", + "integer", + "real", + "text", + "text", + "datetime", + "integer", + "integer", + "datetime", + "integer", + "integer", + "datetime", + "integer", + "integer", + "integer", + "datetime", + "integer", + "text", + "datetime", + "integer", + "integer", + "integer", + "integer", + "real", + "datetime", + "datetime", + "integer", + "datetime", + "integer", + "integer", + "datetime", + "integer", + "datetime", + "integer", + "text", + "text", + "integer", + "blob", + "text", + "integer", + "integer", + "text", + "text", + "datetime", + "integer", + "integer", + "integer", + "datetime" + ], + "primary_keys": [ + 1, + 4, + 8, + 16, + 19, + 23, + 26, + 35, + [ + 48, + 49 + ], + [ + 51, + 52 + ], + 54, + 58, + 61, + 68, + 75, + 86 + ], + "foreign_keys": [] + }, + { + "db_id": "shooting", + "table_names_original": [ + "incidents", + "officers", + "subjects" + ], + "table_names": [ + "Incidents", + "officers", + "subjects" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "case_number" + ], + [ + 0, + "date" + ], + [ + 0, + "location" + ], + [ + 0, + "subject_statuses" + ], + [ + 0, + "subject_weapon" + ], + [ + 0, + "subjects" + ], + [ + 0, + "subject_count" + ], + [ + 0, + "officers" + ], + [ + 1, + "case_number" + ], + [ + 1, + "race" + ], + [ + 1, + "gender" + ], + [ + 1, + "last_name" + ], + [ + 1, + "first_name" + ], + [ + 1, + "full_name" + ], + [ + 2, + "case_number" + ], + [ + 2, + "race" + ], + [ + 2, + "gender" + ], + [ + 2, + "last_name" + ], + [ + 2, + "first_name" + ], + [ + 2, + "full_name" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "case number" + ], + [ + 0, + "date" + ], + [ + 0, + "location" + ], + [ + 0, + "subject statuses" + ], + [ + 0, + "subject weapon" + ], + [ + 0, + "subjects" + ], + [ + 0, + "subject_count" + ], + [ + 0, + "officers" + ], + [ + 1, + "case number" + ], + [ + 1, + "race" + ], + [ + 1, + "gender" + ], + [ + 1, + "last name" + ], + [ + 1, + "first name" + ], + [ + 1, + "full name" + ], + [ + 2, + "case number" + ], + [ + 2, + "race" + ], + [ + 2, + "gender" + ], + [ + 2, + "last name" + ], + [ + 2, + "first name" + ], + [ + 2, + "full name" + ] + ], + "column_types": [ + "text", + "text", + "date", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text" + ], + "primary_keys": [ + 1 + ], + "foreign_keys": [ + [ + 9, + 1 + ], + [ + 15, + 1 + ] + ] + }, + { + "db_id": "superstore", + "table_names_original": [ + "people", + "product", + "central_superstore", + "east_superstore", + "south_superstore", + "west_superstore" + ], + "table_names": [ + "people", + "product", + "central_superstore", + "east_superstore", + "south_superstore", + "west_superstore" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Customer ID" + ], + [ + 0, + "Customer Name" + ], + [ + 0, + "Segment" + ], + [ + 0, + "Country" + ], + [ + 0, + "City" + ], + [ + 0, + "State" + ], + [ + 0, + "Postal Code" + ], + [ + 0, + "Region" + ], + [ + 1, + "Product ID" + ], + [ + 1, + "Product Name" + ], + [ + 1, + "Category" + ], + [ + 1, + "Sub-Category" + ], + [ + 1, + "Region" + ], + [ + 2, + "Row ID" + ], + [ + 2, + "Order ID" + ], + [ + 2, + "Order Date" + ], + [ + 2, + "Ship Date" + ], + [ + 2, + "Ship Mode" + ], + [ + 2, + "Customer ID" + ], + [ + 2, + "Region" + ], + [ + 2, + "Product ID" + ], + [ + 2, + "Sales" + ], + [ + 2, + "Quantity" + ], + [ + 2, + "Discount" + ], + [ + 2, + "Profit" + ], + [ + 3, + "Row ID" + ], + [ + 3, + "Order ID" + ], + [ + 3, + "Order Date" + ], + [ + 3, + "Ship Date" + ], + [ + 3, + "Ship Mode" + ], + [ + 3, + "Customer ID" + ], + [ + 3, + "Region" + ], + [ + 3, + "Product ID" + ], + [ + 3, + "Sales" + ], + [ + 3, + "Quantity" + ], + [ + 3, + "Discount" + ], + [ + 3, + "Profit" + ], + [ + 4, + "Row ID" + ], + [ + 4, + "Order ID" + ], + [ + 4, + "Order Date" + ], + [ + 4, + "Ship Date" + ], + [ + 4, + "Ship Mode" + ], + [ + 4, + "Customer ID" + ], + [ + 4, + "Region" + ], + [ + 4, + "Product ID" + ], + [ + 4, + "Sales" + ], + [ + 4, + "Quantity" + ], + [ + 4, + "Discount" + ], + [ + 4, + "Profit" + ], + [ + 5, + "Row ID" + ], + [ + 5, + "Order ID" + ], + [ + 5, + "Order Date" + ], + [ + 5, + "Ship Date" + ], + [ + 5, + "Ship Mode" + ], + [ + 5, + "Customer ID" + ], + [ + 5, + "Region" + ], + [ + 5, + "Product ID" + ], + [ + 5, + "Sales" + ], + [ + 5, + "Quantity" + ], + [ + 5, + "Discount" + ], + [ + 5, + "Profit" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "Customer ID" + ], + [ + 0, + "Customer Name" + ], + [ + 0, + "Segment" + ], + [ + 0, + "Country" + ], + [ + 0, + "City" + ], + [ + 0, + "State" + ], + [ + 0, + "Postal Code" + ], + [ + 0, + "Region" + ], + [ + 1, + "Product ID" + ], + [ + 1, + "Product Name" + ], + [ + 1, + "Category" + ], + [ + 1, + "Sub-Category" + ], + [ + 1, + "Region" + ], + [ + 2, + "row id" + ], + [ + 2, + "order id" + ], + [ + 2, + "order date" + ], + [ + 2, + "ship date" + ], + [ + 2, + "ship mode" + ], + [ + 2, + "customer id" + ], + [ + 2, + "Region" + ], + [ + 2, + "product id" + ], + [ + 2, + "Sales" + ], + [ + 2, + "Quantity" + ], + [ + 2, + "Discount" + ], + [ + 2, + "Profit" + ], + [ + 3, + "row id" + ], + [ + 3, + "order id" + ], + [ + 3, + "order date" + ], + [ + 3, + "ship date" + ], + [ + 3, + "ship mode" + ], + [ + 3, + "customer id" + ], + [ + 3, + "Region" + ], + [ + 3, + "product id" + ], + [ + 3, + "Sales" + ], + [ + 3, + "Quantity" + ], + [ + 3, + "Discount" + ], + [ + 3, + "Profit" + ], + [ + 4, + "row id" + ], + [ + 4, + "order id" + ], + [ + 4, + "order date" + ], + [ + 4, + "ship date" + ], + [ + 4, + "ship mode" + ], + [ + 4, + "customer id" + ], + [ + 4, + "Region" + ], + [ + 4, + "product id" + ], + [ + 4, + "Sales" + ], + [ + 4, + "Quantity" + ], + [ + 4, + "Discount" + ], + [ + 4, + "Profit" + ], + [ + 5, + "row id" + ], + [ + 5, + "order id" + ], + [ + 5, + "order date" + ], + [ + 5, + "ship date" + ], + [ + 5, + "ship mode" + ], + [ + 5, + "customer id" + ], + [ + 5, + "Region" + ], + [ + 5, + "product id" + ], + [ + 5, + "Sales" + ], + [ + 5, + "Quantity" + ], + [ + 5, + "Discount" + ], + [ + 5, + "Profit" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "text", + "text", + "text", + "text", + "text", + "integer", + "text", + "date", + "date", + "text", + "text", + "text", + "text", + "real", + "integer", + "real", + "real", + "integer", + "text", + "date", + "date", + "text", + "text", + "text", + "text", + "real", + "integer", + "real", + "real", + "integer", + "text", + "date", + "date", + "text", + "text", + "text", + "text", + "real", + "integer", + "real", + "real", + "integer", + "text", + "date", + "date", + "text", + "text", + "text", + "text", + "real", + "integer", + "real", + "real" + ], + "primary_keys": [ + [ + 1, + 8 + ], + [ + 9, + 13 + ], + 14, + 26, + 38, + 50 + ], + "foreign_keys": [ + [ + 21, + 9 + ], + [ + 20, + 13 + ], + [ + 19, + 1 + ], + [ + 20, + 8 + ], + [ + 33, + 9 + ], + [ + 32, + 13 + ], + [ + 31, + 1 + ], + [ + 32, + 8 + ], + [ + 45, + 9 + ], + [ + 44, + 13 + ], + [ + 43, + 1 + ], + [ + 44, + 8 + ], + [ + 57, + 9 + ], + [ + 56, + 13 + ], + [ + 55, + 1 + ], + [ + 56, + 8 + ] + ] + }, + { + "db_id": "movielens", + "table_names_original": [ + "users", + "directors", + "actors", + "movies", + "movies2actors", + "movies2directors", + "u2base" + ], + "table_names": [ + "users", + "directors", + "actors", + "movies", + "movies2actors", + "movies2directors", + "u2base" + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "userid" + ], + [ + 0, + "age" + ], + [ + 0, + "u_gender" + ], + [ + 0, + "occupation" + ], + [ + 1, + "directorid" + ], + [ + 1, + "d_quality" + ], + [ + 1, + "avg_revenue" + ], + [ + 2, + "actorid" + ], + [ + 2, + "a_gender" + ], + [ + 2, + "a_quality" + ], + [ + 3, + "movieid" + ], + [ + 3, + "year" + ], + [ + 3, + "isEnglish" + ], + [ + 3, + "country" + ], + [ + 3, + "runningtime" + ], + [ + 4, + "movieid" + ], + [ + 4, + "actorid" + ], + [ + 4, + "cast_num" + ], + [ + 5, + "movieid" + ], + [ + 5, + "directorid" + ], + [ + 5, + "genre" + ], + [ + 6, + "userid" + ], + [ + 6, + "movieid" + ], + [ + 6, + "rating" + ] + ], + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "user id" + ], + [ + 0, + "age" + ], + [ + 0, + "user gender" + ], + [ + 0, + "occupation" + ], + [ + 1, + "director id" + ], + [ + 1, + "director quality" + ], + [ + 1, + "average revenue" + ], + [ + 2, + "actor id" + ], + [ + 2, + "actor gender" + ], + [ + 2, + "actor quality" + ], + [ + 3, + "movie id" + ], + [ + 3, + "year" + ], + [ + 3, + "is English" + ], + [ + 3, + "country" + ], + [ + 3, + "runningtime" + ], + [ + 4, + "movie id" + ], + [ + 4, + "actor id" + ], + [ + 4, + "cast number" + ], + [ + 5, + "movie id" + ], + [ + 5, + "director id" + ], + [ + 5, + "genre" + ], + [ + 6, + "user id" + ], + [ + 6, + "movie id" + ], + [ + 6, + "rating" + ] + ], + "column_types": [ + "text", + "integer", + "text", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "integer", + "text", + "text", + "integer", + "integer", + "integer", + "integer", + "integer", + "integer", + "text", + "integer", + "integer", + "text" + ], + "primary_keys": [ + 1, + 5, + 8, + 11, + [ + 16, + 17 + ], + [ + 19, + 20 + ], + [ + 22, + 23 + ] + ], + "foreign_keys": [] + } +] \ No newline at end of file