question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What location is previous to 1994? | CREATE TABLE "team" (
"year" real,
"location" text,
"gold" text,
"silver" text,
"bronze" text
); | SELECT "location" FROM "team" WHERE "year"<1994; | 2-14662246-5 |
Who won the men's doubles before 1979 when carol silman prina ben shushan won the women's doubles? | CREATE TABLE "past_winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "men_s_doubles" FROM "past_winners" WHERE "year"<1979 AND "women_s_doubles"='carol silman prina ben shushan'; | 2-14904046-1 |
What college(s) did the player(s) picked in round 4 with a pick number less than 98 play for? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"round" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "nfl_draft" WHERE "pick_num"<98 AND "round"='round 4'; | 2-14655615-1 |
What is the pick number for the player(s) drafted in round 8? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"round" text,
"player" text,
"position" text,
"college" text
); | SELECT "pick_num" FROM "nfl_draft" WHERE "round"='round 8'; | 2-14655615-1 |
What position(s) did the player(s) with a pick number of 125 play? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"round" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "nfl_draft" WHERE "pick_num"=125; | 2-14655615-1 |
What mean number of extra points was there when James Lawrence was a player and the touchdown number was less than 1? | CREATE TABLE "michigan_48_case_6" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT AVG("extra_points") FROM "michigan_48_case_6" WHERE "player"='james lawrence' AND "touchdowns"<1; | 2-14342367-3 |
What is the smallest amount of touchdowns when there is a total player and a number of field goals of more than 0? | CREATE TABLE "michigan_48_case_6" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT MIN("touchdowns") FROM "michigan_48_case_6" WHERE "player"='total' AND "field_goals">0; | 2-14342367-3 |
On what Date were the Results¹ 4:0? | CREATE TABLE "1969" (
"date" text,
"city" text,
"opponent" text,
"results" text,
"type_of_game" text
); | SELECT "date" FROM "1969" WHERE "results"='4:0'; | 2-14305653-47 |
On what Date were the Results¹ 5:1? | CREATE TABLE "1969" (
"date" text,
"city" text,
"opponent" text,
"results" text,
"type_of_game" text
); | SELECT "date" FROM "1969" WHERE "results"='5:1'; | 2-14305653-47 |
On what Date were the Results¹ 4:0? | CREATE TABLE "1969" (
"date" text,
"city" text,
"opponent" text,
"results" text,
"type_of_game" text
); | SELECT "date" FROM "1969" WHERE "results"='4:0'; | 2-14305653-47 |
What is the pseudoknot prediction of the software named tfold? | CREATE TABLE "comparative_methods" (
"name" text,
"number_of_sequences_number_of_sequences" text,
"alignment_alignment_predicts_an_alignment" text,
"structure_structure_predicts_structure" text,
"knots_knots_pseudoknot_prediction" text,
"link" text
); | SELECT "knots_knots_pseudoknot_prediction" FROM "comparative_methods" WHERE "name"='tfold'; | 2-15308316-3 |
What Chilean word is used for the Castilian word ordenador? | CREATE TABLE "selected_vocabulary_differences" (
"rioplatense" text,
"castilian" text,
"andalusian" text,
"mexican" text,
"chilean" text,
"english_us_uk" text,
"italian" text
); | SELECT "chilean" FROM "selected_vocabulary_differences" WHERE "castilian"='ordenador'; | 2-1437724-1 |
What is the Italian word for the Mexican word frijol? | CREATE TABLE "selected_vocabulary_differences" (
"rioplatense" text,
"castilian" text,
"andalusian" text,
"mexican" text,
"chilean" text,
"english_us_uk" text,
"italian" text
); | SELECT "italian" FROM "selected_vocabulary_differences" WHERE "mexican"='frijol'; | 2-1437724-1 |
What word would a Castilian speaker use for the Italian word auto(mobile)? | CREATE TABLE "selected_vocabulary_differences" (
"rioplatense" text,
"castilian" text,
"andalusian" text,
"mexican" text,
"chilean" text,
"english_us_uk" text,
"italian" text
); | SELECT "castilian" FROM "selected_vocabulary_differences" WHERE "italian"='auto(mobile)'; | 2-1437724-1 |
What word would a Castilian speaker use for the Italian word auto(mobile)? | CREATE TABLE "selected_vocabulary_differences" (
"rioplatense" text,
"castilian" text,
"andalusian" text,
"mexican" text,
"chilean" text,
"english_us_uk" text,
"italian" text
); | SELECT "castilian" FROM "selected_vocabulary_differences" WHERE "italian"='auto(mobile)'; | 2-1437724-1 |
How would an Italian say the Andalusian word coche? | CREATE TABLE "selected_vocabulary_differences" (
"rioplatense" text,
"castilian" text,
"andalusian" text,
"mexican" text,
"chilean" text,
"english_us_uk" text,
"italian" text
); | SELECT "italian" FROM "selected_vocabulary_differences" WHERE "andalusian"='coche'; | 2-1437724-1 |
Which Home has a Visitor of ny rangers, and a Series of flyers win 4–3? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"series" text
); | SELECT "home" FROM "playoffs" WHERE "visitor"='ny rangers' AND "series"='flyers win 4–3'; | 2-13908182-10 |
Which Score has a Series of flyers lead 3–2? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"series" text
); | SELECT "score" FROM "playoffs" WHERE "series"='flyers lead 3–2'; | 2-13908182-10 |
Which Decision has a Date of april 25? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"series" text
); | SELECT "decision" FROM "playoffs" WHERE "date"='april 25'; | 2-13908182-10 |
Which Decision has a Date of april 30? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"series" text
); | SELECT "decision" FROM "playoffs" WHERE "date"='april 30'; | 2-13908182-10 |
Which Home has a Series of series tied 3–3? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"series" text
); | SELECT "home" FROM "playoffs" WHERE "series"='series tied 3–3'; | 2-13908182-10 |
Events of 22, and a Rank smaller than 4 involved which of the lowest earnings ($)? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT MIN("earnings") FROM "leaders" WHERE "events"=22 AND "rank"<4; | 2-14611590-3 |
Player of corey pavin, and a Rank larger than 4 involved which highest earnings ($)? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT MAX("earnings") FROM "leaders" WHERE "player"='corey pavin' AND "rank">4; | 2-14611590-3 |
Events larger than 22, and a Earnings ( $ ) of 1,543,192, and a Rank smaller than 2 has the lowest wins? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT MIN("wins") FROM "leaders" WHERE "events">22 AND "earnings"='1,543,192' AND "rank"<2; | 2-14611590-3 |
Country of united states, and a Events of 22, and a Earnings ( $ ) larger than 1,340,079 has the highest rank? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT MAX("rank") FROM "leaders" WHERE "country"='united states' AND "events"=22 AND "earnings">'1,340,079'; | 2-14611590-3 |
What is the mascot with an enrollment (2010) less than 980, and heritage as the school? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment_2010" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT "mascot" FROM "indiana_high_school_athletics_conference" WHERE "enrollment_2010"<980 AND "school"='heritage'; | 2-13986492-1 |
What is the class of the player with a weight of 242 pounds? | CREATE TABLE "arkansas" (
"position" text,
"number" real,
"name" text,
"height" text,
"weight" real,
"class" text,
"hometown" text,
"games" real
); | SELECT "class" FROM "arkansas" WHERE "weight"=242; | 2-14624447-38 |
How many games were played by the player at FB? | CREATE TABLE "arkansas" (
"position" text,
"number" real,
"name" text,
"height" text,
"weight" real,
"class" text,
"hometown" text,
"games" real
); | SELECT COUNT("games") FROM "arkansas" WHERE "position"='fb'; | 2-14624447-38 |
Which Name has a Round smaller than 5, and a Pick # larger than 13? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "name" FROM "jacksonville_jaguars_draft_history" WHERE "round"<5 AND "pick_num">13; | 2-15100419-7 |
Which Pick # has a Round smaller than 6, and an Overall larger than 13, and a College of penn state? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "pick_num" FROM "jacksonville_jaguars_draft_history" WHERE "round"<6 AND "overall">13 AND "college"='penn state'; | 2-15100419-7 |
Which Name has an Overall of 235? | CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "name" FROM "jacksonville_jaguars_draft_history" WHERE "overall"=235; | 2-15100419-7 |
How many cosponsors have a Date introduced of may 22, 2008? | CREATE TABLE "legislative_activity" (
"congress" text,
"bill_number_s" text,
"date_introduced" text,
"sponsor_s" text,
"num_of_cosponsors" real
); | SELECT COUNT("num_of_cosponsors") FROM "legislative_activity" WHERE "date_introduced"='may 22, 2008'; | 2-144896-1 |
Which Congress has a # of cosponsors of 19? | CREATE TABLE "legislative_activity" (
"congress" text,
"bill_number_s" text,
"date_introduced" text,
"sponsor_s" text,
"num_of_cosponsors" real
); | SELECT "congress" FROM "legislative_activity" WHERE "num_of_cosponsors"=19; | 2-144896-1 |
On what date was a friendly match held at Auckland? | CREATE TABLE "full_international_caps_and_goals" (
"date" text,
"venue" text,
"result" text,
"goals" real,
"competition" text
); | SELECT "date" FROM "full_international_caps_and_goals" WHERE "competition"='friendly match' AND "venue"='auckland'; | 2-15278411-1 |
What were the goals at Sydney? | CREATE TABLE "full_international_caps_and_goals" (
"date" text,
"venue" text,
"result" text,
"goals" real,
"competition" text
); | SELECT "goals" FROM "full_international_caps_and_goals" WHERE "venue"='sydney'; | 2-15278411-1 |
How many sets lost have a sets won less than 0? | CREATE TABLE "statistics" (
"player" text,
"played" real,
"sets_won" real,
"sets_lost" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" real
); | SELECT COUNT("sets_lost") FROM "statistics" WHERE "sets_won"<0; | 2-13535824-1 |
What shows for IATA for the City of sapporo? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "iata" FROM "destinations" WHERE "city"='sapporo'; | 2-14449593-1 |
What is the ICAO when the IATA shows cts? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "icao" FROM "destinations" WHERE "iata"='cts'; | 2-14449593-1 |
What is the Country when the IATA shows cju? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "country" FROM "destinations" WHERE "iata"='cju'; | 2-14449593-1 |
What is the ICAO when the IATA shows mfm? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "icao" FROM "destinations" WHERE "iata"='mfm'; | 2-14449593-1 |
What is the ICAO for Hong Kong? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "icao" FROM "destinations" WHERE "country"='hong kong'; | 2-14449593-1 |
What is the Airport when the ICAO shows rpvm? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "destinations" WHERE "icao"='rpvm'; | 2-14449593-1 |
What is the lowest goals for value with fewer than 5 draws and under 70 points? | CREATE TABLE "club_records" (
"season" real,
"belonging_league" text,
"matches" real,
"points" real,
"draw" real,
"lose" real,
"goal_difference" real,
"goals_for" real,
"goals_against" real,
"position" real
); | SELECT MIN("goals_for") FROM "club_records" WHERE "draw"<5 AND "points"<70; | 2-15020729-1 |
What is the lowest goals against value for a team with 83 points and a difference over 50? | CREATE TABLE "club_records" (
"season" real,
"belonging_league" text,
"matches" real,
"points" real,
"draw" real,
"lose" real,
"goal_difference" real,
"goals_for" real,
"goals_against" real,
"position" real
); | SELECT MIN("goals_against") FROM "club_records" WHERE "points"=83 AND "goal_difference">50; | 2-15020729-1 |
What is the earliest season that has a position over 12? | CREATE TABLE "club_records" (
"season" real,
"belonging_league" text,
"matches" real,
"points" real,
"draw" real,
"lose" real,
"goal_difference" real,
"goals_for" real,
"goals_against" real,
"position" real
); | SELECT MIN("season") FROM "club_records" WHERE "position">12; | 2-15020729-1 |
What is the average goals for with a position under 12, draws over 1, and goals against under 28? | CREATE TABLE "club_records" (
"season" real,
"belonging_league" text,
"matches" real,
"points" real,
"draw" real,
"lose" real,
"goal_difference" real,
"goals_for" real,
"goals_against" real,
"position" real
); | SELECT AVG("goals_for") FROM "club_records" WHERE "position"<12 AND "draw">1 AND "goals_against"<28; | 2-15020729-1 |
Who was the Opponent with a Result of l 17–24? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "result"='l 17–24'; | 2-14958620-1 |
What Date has a Result of l 21–34? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "result"='l 21–34'; | 2-14958620-1 |
What Game Site has a Week smaller than 11, and a Date of october 21, 1973? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "game_site" FROM "schedule" WHERE "week"<11 AND "date"='october 21, 1973'; | 2-14958620-1 |
What is the value of the lowest Week with a Record of 2–9? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT MIN("week") FROM "schedule" WHERE "record"='2–9'; | 2-14958620-1 |
Who is the opponent for the game that occurred after week 13? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "week">13; | 2-15093587-2 |
What day did the play on week 6? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week"=6; | 2-14610267-2 |
Which tournament had a 2009 result of 1R? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2009"='1r'; | 2-13978560-7 |
Which tournament had a 2010 result of QF and a 2012 result of SF? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2012"='sf' AND "2010"='qf'; | 2-13978560-7 |
Which tournament had a result in 2010 and 2012 of a? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2012"='a' AND "2010"='a'; | 2-13978560-7 |
Who was third during round 6 in Rybinsk? | CREATE TABLE "individual_events" (
"round" text,
"venue" text,
"discipline" text,
"date" text,
"winner" text,
"second" text,
"third" text
); | SELECT "third" FROM "individual_events" WHERE "venue"='rybinsk' AND "round"='6'; | 2-13955259-3 |
Who was third in round 14? | CREATE TABLE "individual_events" (
"round" text,
"venue" text,
"discipline" text,
"date" text,
"winner" text,
"second" text,
"third" text
); | SELECT "third" FROM "individual_events" WHERE "round"='14'; | 2-13955259-3 |
What was the venue with a 3.3km c prologue discipline? | CREATE TABLE "individual_events" (
"round" text,
"venue" text,
"discipline" text,
"date" text,
"winner" text,
"second" text,
"third" text
); | SELECT "venue" FROM "individual_events" WHERE "discipline"='3.3km c prologue'; | 2-13955259-3 |
Who was the winner on 28 December 2007? | CREATE TABLE "individual_events" (
"round" text,
"venue" text,
"discipline" text,
"date" text,
"winner" text,
"second" text,
"third" text
); | SELECT "winner" FROM "individual_events" WHERE "date"='28 december 2007'; | 2-13955259-3 |
Who was third at the 0.8km f sprint discipline? | CREATE TABLE "individual_events" (
"round" text,
"venue" text,
"discipline" text,
"date" text,
"winner" text,
"second" text,
"third" text
); | SELECT "third" FROM "individual_events" WHERE "discipline"='0.8km f sprint'; | 2-13955259-3 |
What is the highest total cargo of an airport ranked larger than 19 with a code of BKK/VTBS? | CREATE TABLE "2007_final_statistics" (
"rank" real,
"airport" text,
"code_iata_icao" text,
"total_cargo_metric_tonnes" real,
"pct_change" text
); | SELECT MAX("total_cargo_metric_tonnes") FROM "2007_final_statistics" WHERE "code_iata_icao"='bkk/vtbs' AND "rank">19; | 2-1451581-6 |
What is the rank of the airport with the BKK/VTBS code? | CREATE TABLE "2007_final_statistics" (
"rank" real,
"airport" text,
"code_iata_icao" text,
"total_cargo_metric_tonnes" real,
"pct_change" text
); | SELECT "rank" FROM "2007_final_statistics" WHERE "code_iata_icao"='bkk/vtbs'; | 2-1451581-6 |
Which Matches has champion Rank of 5? | CREATE TABLE "rankings_table" (
"rank" real,
"matches_as_champion" real,
"reigns_as_champion" real,
"title_matches_won" real,
"title_last_held" text
); | SELECT MAX("matches_as_champion") FROM "rankings_table" WHERE "rank"=5; | 2-1359609-1 |
Which Matches is on 24 march 1963 with a Rank larger than 44? | CREATE TABLE "rankings_table" (
"rank" real,
"matches_as_champion" real,
"reigns_as_champion" real,
"title_matches_won" real,
"title_last_held" text
); | SELECT MAX("matches_as_champion") FROM "rankings_table" WHERE "title_last_held"='24 march 1963' AND "rank">44; | 2-1359609-1 |
what game was on may 24 | CREATE TABLE "nba_finals" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
); | SELECT "game" FROM "nba_finals" WHERE "date"='may 24'; | 2-13813282-3 |
what game was on may 29 | CREATE TABLE "nba_finals" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
); | SELECT "result" FROM "nba_finals" WHERE "date"='may 29'; | 2-13813282-3 |
what team played on may 20 on the home side | CREATE TABLE "nba_finals" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
); | SELECT "home_team" FROM "nba_finals" WHERE "date"='may 20'; | 2-13813282-3 |
what team played in game 2 | CREATE TABLE "nba_finals" (
"game" text,
"date" text,
"home_team" text,
"result" text,
"road_team" text
); | SELECT "road_team" FROM "nba_finals" WHERE "game"='game 2'; | 2-13813282-3 |
Which Raison Blue has the highest nicotine? | CREATE TABLE "lineup" (
"name" text,
"size" text,
"price" text,
"quantity" real,
"released" text,
"nicotine" real
); | SELECT MAX("nicotine") FROM "lineup" WHERE "name"='raison blue'; | 2-13537182-1 |
For Raison Blue with a nicotine larger than 0.30000000000000004, what's the lowest quantity? | CREATE TABLE "lineup" (
"name" text,
"size" text,
"price" text,
"quantity" real,
"released" text,
"nicotine" real
); | SELECT MIN("quantity") FROM "lineup" WHERE "name"='raison blue' AND "nicotine">0.30000000000000004; | 2-13537182-1 |
What was the result for the fil Paljas? | CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title" text,
"language_s" text,
"director" text,
"result" text
); | SELECT "result" FROM "submissions" WHERE "film_title"='paljas'; | 2-13700749-1 |
In what year was the rank less than 6 for Damac Heights? | CREATE TABLE "under_construction" (
"rank" real,
"name" text,
"height_m_ft" text,
"floors" real,
"year" real
); | SELECT "year" FROM "under_construction" WHERE "rank"<6 AND "name"='damac heights'; | 2-13538796-2 |
What is the height for rank greater than 10 in Tameer Tower? | CREATE TABLE "under_construction" (
"rank" real,
"name" text,
"height_m_ft" text,
"floors" real,
"year" real
); | SELECT "height_m_ft" FROM "under_construction" WHERE "rank">10 AND "name"='tameer tower'; | 2-13538796-2 |
What was the earliest year with rank 20 and less than 60 floors? | CREATE TABLE "under_construction" (
"rank" real,
"name" text,
"height_m_ft" text,
"floors" real,
"year" real
); | SELECT MIN("year") FROM "under_construction" WHERE "rank"=20 AND "floors"<60; | 2-13538796-2 |
What is the highest floors with rank greater than 1 in Conrad Dubai? | CREATE TABLE "under_construction" (
"rank" real,
"name" text,
"height_m_ft" text,
"floors" real,
"year" real
); | SELECT MAX("floors") FROM "under_construction" WHERE "rank">1 AND "name"='conrad dubai'; | 2-13538796-2 |
How many Laps have a Driver of satrio hermanto? | CREATE TABLE "main_race" (
"team" text,
"driver" text,
"laps" real,
"time" text,
"grid" real
); | SELECT SUM("laps") FROM "main_race" WHERE "driver"='satrio hermanto'; | 2-14557188-4 |
Which Time has a Grid of 19? | CREATE TABLE "main_race" (
"team" text,
"driver" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "time" FROM "main_race" WHERE "grid"=19; | 2-14557188-4 |
Which Grid is the lowest one that has a Team of germany, and Laps smaller than 45? | CREATE TABLE "main_race" (
"team" text,
"driver" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MIN("grid") FROM "main_race" WHERE "team"='germany' AND "laps"<45; | 2-14557188-4 |
WHich team draft the player who went to college in Washington? | CREATE TABLE "nfl_draft" (
"round_num_overall" text,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "nfl_team" FROM "nfl_draft" WHERE "college"='washington'; | 2-14876891-1 |
What position did the palyer drafted out of Washington play? | CREATE TABLE "nfl_draft" (
"round_num_overall" text,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "nfl_draft" WHERE "college"='washington'; | 2-14876891-1 |
What is the average number of Gold medals when there are 5 bronze medals? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("gold") FROM "medal_table" WHERE "bronze"=5; | 2-14417813-3 |
What is the highest amount of bronze medals when the rank was larger than 9? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("bronze") FROM "medal_table" WHERE "rank">9; | 2-14417813-3 |
What is the leowest number of Bronze medals for Jamaica who ranked less than 4 and had more than 0 silver medals and a total of less than 22 medals? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("bronze") FROM "medal_table" WHERE "silver">0 AND "rank"<4 AND "nation"='jamaica' AND "total"<22; | 2-14417813-3 |
Nation of bulgaria, and a Place larger than 1 had what highest 3 Balls, 2 Ribbons? | CREATE TABLE "groups_all_around" (
"place" real,
"nation" text,
"5_hoops" real,
"3_balls_2_ribbons" real,
"total" real
); | SELECT MAX("3_balls_2_ribbons") FROM "groups_all_around" WHERE "nation"='bulgaria' AND "place">1; | 2-14916417-7 |
5 Hoops that has a Place larger than 7, and a Total larger than 38.525 had what sum? | CREATE TABLE "groups_all_around" (
"place" real,
"nation" text,
"5_hoops" real,
"3_balls_2_ribbons" real,
"total" real
); | SELECT SUM("5_hoops") FROM "groups_all_around" WHERE "place">7 AND "total">38.525; | 2-14916417-7 |
5 Hoops larger than 19.325, and a Total of 39.4, and a Place larger than 2 had what total number of 3 balls and 2 ribbons? | CREATE TABLE "groups_all_around" (
"place" real,
"nation" text,
"5_hoops" real,
"3_balls_2_ribbons" real,
"total" real
); | SELECT COUNT("3_balls_2_ribbons") FROM "groups_all_around" WHERE "5_hoops">19.325 AND "total"=39.4 AND "place">2; | 2-14916417-7 |
Total of 38.55, and a 3 Balls, 2 Ribbons smaller than 19.4 had what lowest place? | CREATE TABLE "groups_all_around" (
"place" real,
"nation" text,
"5_hoops" real,
"3_balls_2_ribbons" real,
"total" real
); | SELECT MIN("place") FROM "groups_all_around" WHERE "total"=38.55 AND "3_balls_2_ribbons"<19.4; | 2-14916417-7 |
what voice acter played tien | CREATE TABLE "cast" (
"character_name" text,
"voice_actor_japanese" text,
"voice_actor_english_1997_saban" text,
"voice_actor_english_1998_pioneer" text,
"voice_actor_english_2006_fu_nimation" text
); | SELECT "voice_actor_japanese" FROM "cast" WHERE "character_name"='tien'; | 2-1410384-1 |
what character did Laara sadiq play | CREATE TABLE "cast" (
"character_name" text,
"voice_actor_japanese" text,
"voice_actor_english_1997_saban" text,
"voice_actor_english_1998_pioneer" text,
"voice_actor_english_2006_fu_nimation" text
); | SELECT "character_name" FROM "cast" WHERE "voice_actor_english_1998_pioneer"='laara sadiq'; | 2-1410384-1 |
what character did Masaharu satou play | CREATE TABLE "cast" (
"character_name" text,
"voice_actor_japanese" text,
"voice_actor_english_1997_saban" text,
"voice_actor_english_1998_pioneer" text,
"voice_actor_english_2006_fu_nimation" text
); | SELECT "character_name" FROM "cast" WHERE "voice_actor_japanese"='masaharu satou'; | 2-1410384-1 |
what character did dave ward play | CREATE TABLE "cast" (
"character_name" text,
"voice_actor_japanese" text,
"voice_actor_english_1997_saban" text,
"voice_actor_english_1998_pioneer" text,
"voice_actor_english_2006_fu_nimation" text
); | SELECT "voice_actor_english_1998_pioneer" FROM "cast" WHERE "voice_actor_english_1997_saban"='dave ward'; | 2-1410384-1 |
what character did naoko watanabe play | CREATE TABLE "cast" (
"character_name" text,
"voice_actor_japanese" text,
"voice_actor_english_1997_saban" text,
"voice_actor_english_1998_pioneer" text,
"voice_actor_english_2006_fu_nimation" text
); | SELECT "character_name" FROM "cast" WHERE "voice_actor_japanese"='naoko watanabe'; | 2-1410384-1 |
At what Location was Miss World 2009? | CREATE TABLE "titleholders" (
"year" real,
"country_territory" text,
"miss_world" text,
"national_title" text,
"location" text
); | SELECT "location" FROM "titleholders" WHERE "year"=2009; | 2-150343-1 |
What is the score of the 1996 Emarate cup on March 25, 1996? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "competition"='1996 emarate cup' AND "date"='march 25, 1996'; | 2-14904203-1 |
Which competition was on August 11, 1996? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "date"='august 11, 1996'; | 2-14904203-1 |
Which competition was in Dubai? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "venue"='dubai'; | 2-14904203-1 |
What is the result of the match in Bangkok? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "venue"='bangkok'; | 2-14904203-1 |
What is the date of the match with a result of 4-0? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "result"='4-0'; | 2-14904203-1 |
What is the score of the match with a 4-0 result? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "result"='4-0'; | 2-14904203-1 |
Which name has an overall number of more than 164, when the pick number is more than 2, the position is running back, and the round is 16? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "name" FROM "atlanta_falcons_draft_history" WHERE "overall">164 AND "pick_num">2 AND "position"='running back' AND "round"=16; | 2-15198842-4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.