training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_85 (production_num INTEGER, series VARCHAR, title VARCHAR)
###human: What is the smallest production number for the LT series with the Dumb Patrol title?
###assistant: SELECT MIN(production_num) FROM table_name_85 WHERE series = "lt" AND title = "dumb patrol" |
###context:CREATE TABLE table_name_72 (capacity INTEGER, home_team_s_ VARCHAR)
###human: What was the average capacity for vélez sársfield?
###assistant: SELECT AVG(capacity) FROM table_name_72 WHERE home_team_s_ = "vélez sársfield" |
###context:CREATE TABLE table_name_5 (city VARCHAR, home_team_s_ VARCHAR)
###human: What city was the home team Tigre?
###assistant: SELECT city FROM table_name_5 WHERE home_team_s_ = "tigre" |
###context:CREATE TABLE table_name_72 (province VARCHAR, city VARCHAR, stadium VARCHAR)
###human: What province is in Mendoza with a stadium feliciano gambarte?
###assistant: SELECT province FROM table_name_72 WHERE city = "mendoza" AND stadium = "feliciano gambarte" |
###context:CREATE TABLE table_name_58 (date VARCHAR, week VARCHAR, tv_time VARCHAR)
###human: On what date was there a tv time of ABC 8:00pm and after week 9?
###assistant: SELECT date FROM table_name_58 WHERE week > 9 AND tv_time = "abc 8:00pm" |
###context:CREATE TABLE table_name_50 (year INTEGER, genre VARCHAR)
###human: What is total number of years that has genre of first-person shooter?
###assistant: SELECT SUM(year) FROM table_name_50 WHERE genre = "first-person shooter" |
###context:CREATE TABLE table_name_36 (year INTEGER, genre VARCHAR)
###human: Which year is the lowest for genre of action-adventure?
###assistant: SELECT MIN(year) FROM table_name_36 WHERE genre = "action-adventure" |
###context:CREATE TABLE table_name_9 (roman_equivalent VARCHAR)
###human: what is the "normalized" transliteration for Roman i
###assistant: SELECT "normalised" AS _transliteration FROM table_name_9 WHERE roman_equivalent = "i" |
###context:CREATE TABLE table_name_86 (normal_environment_of_occurrence__in_native_words_ VARCHAR, proto_germanic_origin VARCHAR)
###human: what is the normal environment of occurrence that has a Proto-Germanic origin /ai/
###assistant: SELECT normal_environment_of_occurrence__in_native_words_ FROM table_name_86 WHERE proto_germanic_origin = "/ai/" |
###context:CREATE TABLE table_name_66 (against INTEGER, status VARCHAR, venue VARCHAR)
###human: Which the lowest Against has a Status of tour match, and a Venue of ravenhill , belfast?
###assistant: SELECT MIN(against) FROM table_name_66 WHERE status = "tour match" AND venue = "ravenhill , belfast" |
###context:CREATE TABLE table_name_73 (against INTEGER, venue VARCHAR, date VARCHAR)
###human: Name the average Against that has a Venue of twickenham , london on 25 november 1978?
###assistant: SELECT AVG(against) FROM table_name_73 WHERE venue = "twickenham , london" AND date = "25 november 1978" |
###context:CREATE TABLE table_name_30 (against INTEGER, date VARCHAR)
###human: Name the highest Against on 21 november 1978?
###assistant: SELECT MAX(against) FROM table_name_30 WHERE date = "21 november 1978" |
###context:CREATE TABLE table_name_31 (against VARCHAR, venue VARCHAR)
###human: Name the Against of Venue of brewery field , bridgend?
###assistant: SELECT against FROM table_name_31 WHERE venue = "brewery field , bridgend" |
###context:CREATE TABLE table_name_98 (status VARCHAR, against INTEGER)
###human: Name the Status with an Against larger than 15?
###assistant: SELECT status FROM table_name_98 WHERE against > 15 |
###context:CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR)
###human: Who is the home team when the away team is newcastle united?
###assistant: SELECT home_team FROM table_name_16 WHERE away_team = "newcastle united" |
###context:CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)
###human: who is the home team when the away team is wolverhampton wanderers?
###assistant: SELECT home_team FROM table_name_20 WHERE away_team = "wolverhampton wanderers" |
###context:CREATE TABLE table_name_46 (date VARCHAR, tie_no VARCHAR)
###human: what is the date when the tie no is 9?
###assistant: SELECT date FROM table_name_46 WHERE tie_no = "9" |
###context:CREATE TABLE table_name_7 (away_team VARCHAR, tie_no VARCHAR)
###human: who is the away team when the tie no is 7?
###assistant: SELECT away_team FROM table_name_7 WHERE tie_no = "7" |
###context:CREATE TABLE table_name_91 (score VARCHAR, home_team VARCHAR)
###human: what is the score when the home team is sunderland?
###assistant: SELECT score FROM table_name_91 WHERE home_team = "sunderland" |
###context:CREATE TABLE table_name_81 (title VARCHAR, director VARCHAR, production_number VARCHAR)
###human: What is the name of the title that was directed by Friz Freleng and has a production number of 443?
###assistant: SELECT title FROM table_name_81 WHERE director = "friz freleng" AND production_number = "443" |
###context:CREATE TABLE table_name_21 (title VARCHAR, production_number VARCHAR)
###human: Which title has a production number of 627?
###assistant: SELECT title FROM table_name_21 WHERE production_number = "627" |
###context:CREATE TABLE table_name_21 (film VARCHAR, year VARCHAR, category VARCHAR)
###human: what is the film when the year is earlier than 2002 and the category is outstanding actress?
###assistant: SELECT film FROM table_name_21 WHERE year < 2002 AND category = "outstanding actress" |
###context:CREATE TABLE table_name_45 (latitude VARCHAR, ansi_code VARCHAR, township VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR)
###human: What is the total latitude of the greenland township with more than 34.846 sqmi of land, a geo id less than 3805529660, and an ANSI code greater than 1036405?
###assistant: SELECT COUNT(latitude) FROM table_name_45 WHERE land___sqmi__ > 34.846 AND geo_id < 3805529660 AND township = "greenland" AND ansi_code > 1036405 |
###context:CREATE TABLE table_name_36 (land___sqmi__ INTEGER, water__sqmi_ VARCHAR, longitude VARCHAR, ansi_code VARCHAR, pop__2010_ VARCHAR)
###human: What is the sum of the land in sq mi with an ansi code less than 1036538, a 2010 population less than 42, a longitude greater than -99.442872, and more than 0.882 sq mi of water?
###assistant: SELECT SUM(land___sqmi__) FROM table_name_36 WHERE ansi_code < 1036538 AND pop__2010_ < 42 AND longitude > -99.442872 AND water__sqmi_ > 0.882 |
###context:CREATE TABLE table_name_91 (water__sqmi_ INTEGER, latitude VARCHAR, land___sqmi__ VARCHAR, township VARCHAR)
###human: What is the highest water (sq mi) of the township glenila, which has more than 33.576 sq mi of land and a latitude greater than 48.832189?
###assistant: SELECT MAX(water__sqmi_) FROM table_name_91 WHERE land___sqmi__ > 33.576 AND township = "glenila" AND latitude > 48.832189 |
###context:CREATE TABLE table_name_64 (pop__2010_ INTEGER, land___sqmi__ VARCHAR, latitude VARCHAR, longitude VARCHAR)
###human: What is the sum of the 2010 population with a latitude greater than 47.710905, a longitude of -101.79876, and less than 35.695 sq mi of land?
###assistant: SELECT SUM(pop__2010_) FROM table_name_64 WHERE latitude > 47.710905 AND longitude = -101.79876 AND land___sqmi__ < 35.695 |
###context:CREATE TABLE table_name_27 (land___sqmi__ INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR)
###human: What is the lowest land in sq mi with a longitude of -99.172785 and less than 0.973 sq mi of water?
###assistant: SELECT MIN(land___sqmi__) FROM table_name_27 WHERE longitude = -99.172785 AND water__sqmi_ < 0.973 |
###context:CREATE TABLE table_name_19 (name VARCHAR, position VARCHAR)
###human: Who was the head coach?
###assistant: SELECT name FROM table_name_19 WHERE position = "head coach" |
###context:CREATE TABLE table_name_49 (name VARCHAR, year_at_cu VARCHAR, alma_mater VARCHAR)
###human: Who has the alma mater of Dayton ('07), and was in their 1st year at CU?
###assistant: SELECT name FROM table_name_49 WHERE year_at_cu = "1st" AND alma_mater = "dayton ('07)" |
###context:CREATE TABLE table_name_8 (year_at_cu VARCHAR, experience VARCHAR, position VARCHAR)
###human: What year at CU is the person in video services with an experience less than 1?
###assistant: SELECT year_at_cu FROM table_name_8 WHERE experience < 1 AND position = "video services" |
###context:CREATE TABLE table_name_29 (experience VARCHAR, year_at_cu VARCHAR, position VARCHAR)
###human: The graduate assistant who was in the 1st year at CU has what experience?
###assistant: SELECT experience FROM table_name_29 WHERE year_at_cu = "1st" AND position = "graduate assistant" |
###context:CREATE TABLE table_name_86 (name VARCHAR, experience VARCHAR, alma_mater VARCHAR)
###human: What person has the alma mater of Eastern Nazarene ('74), and greater than 19 experience?
###assistant: SELECT name FROM table_name_86 WHERE experience > 19 AND alma_mater = "eastern nazarene ('74)" |
###context:CREATE TABLE table_name_50 (engine_capacity VARCHAR, model VARCHAR, mpg_us_extra_urban VARCHAR, transmission VARCHAR, mpg_us_urban VARCHAR)
###human: What is the total engine capacity of the a4 transmission, which has an urban mpg-US greater than 19, an mpg-us extra-urban greater than 38.6, and an aveo model?
###assistant: SELECT COUNT(engine_capacity) FROM table_name_50 WHERE transmission = "a4" AND mpg_us_urban > 19 AND mpg_us_extra_urban > 38.6 AND model = "aveo" |
###context:CREATE TABLE table_name_25 (engine_capacity INTEGER, mpg_us_urban VARCHAR, co_2_g_km VARCHAR, manufacturer VARCHAR, mpg_uk_extra_urban VARCHAR)
###human: What is the highest engine capacity with a bmw manufacturer, an mpg-UK extra-urban of 52.3, a 176 CO 2 g/km, and an mpg-us urban greater than 27.3?
###assistant: SELECT MAX(engine_capacity) FROM table_name_25 WHERE manufacturer = "bmw" AND mpg_uk_extra_urban = 52.3 AND co_2_g_km = 176 AND mpg_us_urban > 27.3 |
###context:CREATE TABLE table_name_89 (mpg_uk_combined VARCHAR, engine_capacity VARCHAR, fuel_type VARCHAR, mpg_uk_urban__cold_ VARCHAR, transmission VARCHAR)
###human: What is the mpg-uk combined with an mpg-uk urban (cold) greater than 26.6, a m5 transmission, a diesel fuel type, and an engine capacity less than 1560?
###assistant: SELECT mpg_uk_combined FROM table_name_89 WHERE mpg_uk_urban__cold_ > 26.6 AND transmission = "m5" AND fuel_type = "diesel" AND engine_capacity < 1560 |
###context:CREATE TABLE table_name_24 (l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, mpg_uk_extra_urban VARCHAR, co_2_g_km VARCHAR, mpg_us_urban VARCHAR)
###human: What is the l/100km urban (cold) with a CO 2 g/km less than 222, an mpg-us urban greater than 17.8, an mpg-uk extra-urban of 55.4, and an engine capacity greater than 1560?
###assistant: SELECT l_100km_urban__cold_ FROM table_name_24 WHERE co_2_g_km < 222 AND mpg_us_urban > 17.8 AND mpg_uk_extra_urban = 55.4 AND engine_capacity > 1560 |
###context:CREATE TABLE table_name_6 (model VARCHAR, mpg_uk_combined VARCHAR, l_100km_urban__cold_ VARCHAR, green_rating VARCHAR, manufacturer VARCHAR)
###human: What model has a g green rating, has chrysler jeep as a manufacturer, has an l/100km urban (cold) less than 18, and has an mpg-uk combined of 27.7?
###assistant: SELECT model FROM table_name_6 WHERE green_rating = "g" AND manufacturer = "chrysler jeep" AND l_100km_urban__cold_ < 18 AND mpg_uk_combined = 27.7 |
###context:CREATE TABLE table_name_54 (league_cup_apps VARCHAR, total_goals VARCHAR, total_apps VARCHAR)
###human: what is the league cup apps when the total goals is less than 2 and the total apps is 12?
###assistant: SELECT league_cup_apps FROM table_name_54 WHERE total_goals < 2 AND total_apps = "12" |
###context:CREATE TABLE table_name_96 (fa_cup_goals INTEGER, league_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_apps VARCHAR)
###human: what is the average ga cup goals when the league cup apps is 2, the fa cup apps is 3 and the league goals is 3?
###assistant: SELECT AVG(fa_cup_goals) FROM table_name_96 WHERE league_cup_apps = "2" AND fa_cup_apps = "3" AND league_goals = 3 |
###context:CREATE TABLE table_name_96 (fa_cup_goals INTEGER, flt_goals INTEGER)
###human: what is the highest fa cup goals when flt goals is more than 0?
###assistant: SELECT MAX(fa_cup_goals) FROM table_name_96 WHERE flt_goals > 0 |
###context:CREATE TABLE table_name_80 (total_apps VARCHAR, league_apps VARCHAR)
###human: what is the total apps when the league apps is 4 (2)?
###assistant: SELECT total_apps FROM table_name_80 WHERE league_apps = "4 (2)" |
###context:CREATE TABLE table_name_44 (silver VARCHAR, total VARCHAR, gold VARCHAR)
###human: How much Silver has a Total larger than 9, and a Gold of 14?
###assistant: SELECT COUNT(silver) FROM table_name_44 WHERE total > 9 AND gold = 14 |
###context:CREATE TABLE table_name_24 (rank VARCHAR, total VARCHAR, gold VARCHAR)
###human: Which Rank has a Total larger than 9, and a Gold larger than 6?
###assistant: SELECT rank FROM table_name_24 WHERE total > 9 AND gold > 6 |
###context:CREATE TABLE table_name_36 (silver VARCHAR, rank VARCHAR, bronze VARCHAR)
###human: How much Silver has a Rank of 4, and a Bronze smaller than 12?
###assistant: SELECT COUNT(silver) FROM table_name_36 WHERE rank = "4" AND bronze < 12 |
###context:CREATE TABLE table_name_68 (bronze INTEGER, total VARCHAR)
###human: How many bronzes have a Total of 9?
###assistant: SELECT SUM(bronze) FROM table_name_68 WHERE total = 9 |
###context:CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR)
###human: How much Gold has a Nation of mongolia, and a Total larger than 18?
###assistant: SELECT SUM(gold) FROM table_name_37 WHERE nation = "mongolia" AND total > 18 |
###context:CREATE TABLE table_name_13 (lok_sabha VARCHAR, party_affiliation VARCHAR, duration VARCHAR)
###human: What is the Lok Sabha for Dravida Munnetra Kazhagam, in 1999-04?
###assistant: SELECT lok_sabha FROM table_name_13 WHERE party_affiliation = "dravida munnetra kazhagam" AND duration = "1999-04" |
###context:CREATE TABLE table_name_86 (duration VARCHAR, lok_sabha VARCHAR)
###human: What is the duration when Lok Sabha shows fifth?
###assistant: SELECT duration FROM table_name_86 WHERE lok_sabha = "fifth" |
###context:CREATE TABLE table_name_50 (result VARCHAR, date VARCHAR)
###human: What was the result for the game played on December 20, 1970?
###assistant: SELECT result FROM table_name_50 WHERE date = "december 20, 1970" |
###context:CREATE TABLE table_name_50 (result VARCHAR, week VARCHAR)
###human: What was the result for week 2?
###assistant: SELECT result FROM table_name_50 WHERE week = 2 |
###context:CREATE TABLE table_name_36 (rank INTEGER, notes VARCHAR, time VARCHAR)
###human: What is the rank of the athletes that have Notes of fb, and a Time of 6:47.30?
###assistant: SELECT SUM(rank) FROM table_name_36 WHERE notes = "fb" AND time = "6:47.30" |
###context:CREATE TABLE table_name_80 (rank INTEGER, time VARCHAR)
###human: What is the least rank for athletes with a time of 6:36.65?
###assistant: SELECT MIN(rank) FROM table_name_80 WHERE time = "6:36.65" |
###context:CREATE TABLE table_name_36 (react INTEGER, rank INTEGER)
###human: What is the average react for a rank more than 8?
###assistant: SELECT AVG(react) FROM table_name_36 WHERE rank > 8 |
###context:CREATE TABLE table_name_4 (rank INTEGER, react VARCHAR, time VARCHAR)
###human: What is the highest rank for the react of 0.198, and the time more than 20.42?
###assistant: SELECT MAX(rank) FROM table_name_4 WHERE react = 0.198 AND time > 20.42 |
###context:CREATE TABLE table_name_70 (time INTEGER, react VARCHAR, lane VARCHAR, nationality VARCHAR)
###human: What is the sum of time with a lane larger than 6, a nationality of canada, and the react smaller than 0.151?
###assistant: SELECT SUM(time) FROM table_name_70 WHERE lane > 6 AND nationality = "canada" AND react < 0.151 |
###context:CREATE TABLE table_name_41 (human_gene__protein_ VARCHAR, yeast_ortholog VARCHAR)
###human: What human gene has a yeast ortholog of RAD26?
###assistant: SELECT human_gene__protein_ FROM table_name_41 WHERE yeast_ortholog = "rad26" |
###context:CREATE TABLE table_name_27 (human_gene__protein_ VARCHAR, mouse_ortholog VARCHAR)
###human: What is the human gene that has a mouse ortholog of LIG1?
###assistant: SELECT human_gene__protein_ FROM table_name_27 WHERE mouse_ortholog = "lig1" |
###context:CREATE TABLE table_name_19 (yeast_ortholog VARCHAR, subpathway VARCHAR, genecards_entry VARCHAR)
###human: What is the yeast ortholog that has a subpathway of GGR and GeneCards entry CETN2?
###assistant: SELECT yeast_ortholog FROM table_name_19 WHERE subpathway = "ggr" AND genecards_entry = "cetn2" |
###context:CREATE TABLE table_name_18 (yeast_ortholog VARCHAR, mouse_ortholog VARCHAR)
###human: What is the yeast ortholog of mouse ortholog MMS19?
###assistant: SELECT yeast_ortholog FROM table_name_18 WHERE mouse_ortholog = "mms19" |
###context:CREATE TABLE table_name_67 (tournament VARCHAR, opponent VARCHAR)
###human: What is the Tournament against Vladimir Zednik?
###assistant: SELECT tournament FROM table_name_67 WHERE opponent = "vladimir zednik" |
###context:CREATE TABLE table_name_95 (tournament VARCHAR, score VARCHAR)
###human: What Tournament had a Score of 4–6, 6–7, 3–6?
###assistant: SELECT tournament FROM table_name_95 WHERE score = "4–6, 6–7, 3–6" |
###context:CREATE TABLE table_name_68 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)
###human: What is the Score of the of the Tournament against Tim Gullikson with Outcome of runner-up?
###assistant: SELECT score FROM table_name_68 WHERE outcome = "runner-up" AND opponent = "tim gullikson" |
###context:CREATE TABLE table_name_17 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR)
###human: What is the Doha, Qatar when the snatch is total?
###assistant: SELECT doha_, _qatar FROM table_name_17 WHERE snatch = "total" |
###context:CREATE TABLE table_name_93 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR)
###human: What is the Doha, Qatar when the snatch is clean & jerk?
###assistant: SELECT doha_, _qatar FROM table_name_93 WHERE snatch = "clean & jerk" |
###context:CREATE TABLE table_name_3 (points INTEGER, name VARCHAR, tries VARCHAR)
###human: How many Points have a Name of stephen myler, and Tries smaller than 0?
###assistant: SELECT SUM(points) FROM table_name_3 WHERE name = "stephen myler" AND tries < 0 |
###context:CREATE TABLE table_name_34 (pick INTEGER, college VARCHAR)
###human: What is the pick number for New Mexico?
###assistant: SELECT AVG(pick) FROM table_name_34 WHERE college = "new mexico" |
###context:CREATE TABLE table_name_43 (player VARCHAR, team VARCHAR)
###human: What player is from the Denver Broncos?
###assistant: SELECT player FROM table_name_43 WHERE team = "denver broncos" |
###context:CREATE TABLE table_name_38 (college VARCHAR, team VARCHAR)
###human: Which college has their team as the New York Jets?
###assistant: SELECT college FROM table_name_38 WHERE team = "new york jets" |
###context:CREATE TABLE table_name_73 (constituency_number VARCHAR, name VARCHAR)
###human: What is the Constituency Number of Total:?
###assistant: SELECT constituency_number FROM table_name_73 WHERE name = "total:" |
###context:CREATE TABLE table_name_43 (district VARCHAR, constituency_number VARCHAR)
###human: Which District is Constituency number 22?
###assistant: SELECT district FROM table_name_43 WHERE constituency_number = "22" |
###context:CREATE TABLE table_name_85 (number_of_electorates__2003_ INTEGER, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
###human: What is the lowest number of Electorates (2003) in District bhind, Reserved for none, and Constituency Number 11?
###assistant: SELECT MIN(number_of_electorates__2003_) FROM table_name_85 WHERE district = "bhind" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "11" |
###context:CREATE TABLE table_name_31 (school_club_team VARCHAR, pick VARCHAR)
###human: What school/club had pick 33?
###assistant: SELECT school_club_team FROM table_name_31 WHERE pick = 33 |
###context:CREATE TABLE table_name_81 (attendance VARCHAR, date VARCHAR)
###human: What attendance has October 16, 2005 as the date?
###assistant: SELECT attendance FROM table_name_81 WHERE date = "october 16, 2005" |
###context:CREATE TABLE table_name_25 (result VARCHAR, week VARCHAR, date VARCHAR)
###human: What result has a week less than 16, and October 31, 2005 as the date?
###assistant: SELECT result FROM table_name_25 WHERE week < 16 AND date = "october 31, 2005" |
###context:CREATE TABLE table_name_37 (year INTEGER, manager VARCHAR, playoffs VARCHAR)
###human: Which Year has a Manager of bobby dews, and Playoffs of lost in 1st round?
###assistant: SELECT MIN(year) FROM table_name_37 WHERE manager = "bobby dews" AND playoffs = "lost in 1st round" |
###context:CREATE TABLE table_name_74 (year VARCHAR, record VARCHAR)
###human: How many years have a Record of 73-65?
###assistant: SELECT COUNT(year) FROM table_name_74 WHERE record = "73-65" |
###context:CREATE TABLE table_name_33 (record VARCHAR, year VARCHAR, finish VARCHAR)
###human: Which Record has a Year larger than 1974, and a Finish of 3rd?
###assistant: SELECT record FROM table_name_33 WHERE year > 1974 AND finish = "3rd" |
###context:CREATE TABLE table_name_14 (song VARCHAR, year VARCHAR, uk_chart VARCHAR)
###human: Which Song of the Year was 42 on the UK charts prior to 1994?
###assistant: SELECT song FROM table_name_14 WHERE year < 1994 AND uk_chart = "42" |
###context:CREATE TABLE table_name_84 (uk_chart VARCHAR, artist VARCHAR)
###human: Where did Scott Fitzgerald rank on the UK charts?
###assistant: SELECT uk_chart FROM table_name_84 WHERE artist = "scott fitzgerald" |
###context:CREATE TABLE table_name_33 (uk_chart VARCHAR, artist VARCHAR, year VARCHAR, at_eurovision VARCHAR)
###human: Where did the song by Michael Ball, which placed 2nd in Eurovision prior to 1961, place on the UK charts?
###assistant: SELECT uk_chart FROM table_name_33 WHERE year > 1961 AND at_eurovision = "2nd" AND artist = "michael ball" |
###context:CREATE TABLE table_name_65 (year VARCHAR, finish_position VARCHAR)
###human: What is the 3rd day result for years under 2012 and a finish position of 33rd?
###assistant: SELECT 3 AS rd_day FROM table_name_65 WHERE year < 2012 AND finish_position = "33rd" |
###context:CREATE TABLE table_name_57 (origin VARCHAR, in_service VARCHAR)
###human: For the vessel with a listed In service of 1, what is the origin given?
###assistant: SELECT origin FROM table_name_57 WHERE in_service = 1 |
###context:CREATE TABLE table_name_71 (in_service INTEGER, vessel VARCHAR)
###human: What is the lowest listed In service for a vessel of xavery czernicki class?
###assistant: SELECT MIN(in_service) FROM table_name_71 WHERE vessel = "xavery czernicki class" |
###context:CREATE TABLE table_name_72 (vessel VARCHAR, type VARCHAR)
###human: Which vessel has a type of logistic support?
###assistant: SELECT vessel FROM table_name_72 WHERE type = "logistic support" |
###context:CREATE TABLE table_name_77 (type VARCHAR, vessel VARCHAR)
###human: What is the type for a vessel of lublin class?
###assistant: SELECT type FROM table_name_77 WHERE vessel = "lublin class" |
###context:CREATE TABLE table_name_37 (in_service INTEGER, unit VARCHAR)
###human: What is the highest In service for a vessel with a listed Unit of 12th minesweeper squadron?
###assistant: SELECT MAX(in_service) FROM table_name_37 WHERE unit = "12th minesweeper squadron" |
###context:CREATE TABLE table_name_49 (type VARCHAR, unit VARCHAR)
###human: What is the type for a vessel with a listed unit of naval base swinoujscie (auxiliary squadron)?
###assistant: SELECT type FROM table_name_49 WHERE unit = "naval base swinoujscie (auxiliary squadron)" |
###context:CREATE TABLE table_name_44 (rider VARCHAR, team VARCHAR)
###human: Which rider was on the 600cc Yamaha team?
###assistant: SELECT rider FROM table_name_44 WHERE team = "600cc yamaha" |
###context:CREATE TABLE table_name_55 (speed VARCHAR, rider VARCHAR)
###human: What was John Hildreth's speed?
###assistant: SELECT speed FROM table_name_55 WHERE rider = "john hildreth" |
###context:CREATE TABLE table_name_29 (draw INTEGER, time VARCHAR)
###human: What is the average draw number of an entrant with a time of 22:29?
###assistant: SELECT AVG(draw) FROM table_name_29 WHERE time = "22:29" |
###context:CREATE TABLE table_name_28 (brand VARCHAR, entrant VARCHAR)
###human: What is Mark Henry's brand?
###assistant: SELECT brand FROM table_name_28 WHERE entrant = "mark henry" |
###context:CREATE TABLE table_name_86 (author___editor___source VARCHAR, world_ranking__1_ VARCHAR, countries_sampled VARCHAR)
###human: Who is the Author/Editor/Source for more than 100 countries sampled and has a 35 world ranking?
###assistant: SELECT author___editor___source FROM table_name_86 WHERE world_ranking__1_ = "35" AND countries_sampled > 100 |
###context:CREATE TABLE table_name_71 (countries_sampled INTEGER, ranking_in_latin_america__2_ VARCHAR, year_of_publication VARCHAR, world_ranking__1_ VARCHAR)
###human: How many countries sampled has a world ranking of 33 in 2010 and less than 3 ranking in Latin America?
###assistant: SELECT SUM(countries_sampled) FROM table_name_71 WHERE year_of_publication = "2010" AND world_ranking__1_ = "33" AND ranking_in_latin_america__2_ < 3 |
###context:CREATE TABLE table_name_87 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR)
###human: What's the world ranking in 2011 having more than 142 countries sampled, and more than a 3 for ranking in Latin America?
###assistant: SELECT world_ranking__1_ FROM table_name_87 WHERE year_of_publication = "2011" AND ranking_in_latin_america__2_ > 3 AND countries_sampled > 142 |
###context:CREATE TABLE table_name_44 (home_team VARCHAR, tie_no VARCHAR)
###human: What home team has a tie no of 20?
###assistant: SELECT home_team FROM table_name_44 WHERE tie_no = "20" |
###context:CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR, away_team VARCHAR)
###human: What date was the score 3–3, and away team was Barnet?
###assistant: SELECT date FROM table_name_96 WHERE score = "3–3" AND away_team = "barnet" |
###context:CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR)
###human: What is the Tie no when Wimbledon is the home team?
###assistant: SELECT tie_no FROM table_name_12 WHERE home_team = "wimbledon" |
###context:CREATE TABLE table_name_43 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR)
###human: What is the score when the Tie no is replay, and the away team is York City?
###assistant: SELECT score FROM table_name_43 WHERE tie_no = "replay" AND away_team = "york city" |
###context:CREATE TABLE table_name_83 (tie_no VARCHAR, away_team VARCHAR)
###human: What is the Tie no when Chester is the away team?
###assistant: SELECT tie_no FROM table_name_83 WHERE away_team = "chester" |
###context:CREATE TABLE table_name_39 (broadcast_date VARCHAR, viewership__millions_ VARCHAR)
###human: What is the broadcast date of the episode with 9.65 million viewers?
###assistant: SELECT broadcast_date FROM table_name_39 WHERE viewership__millions_ = 9.65 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.