training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_11 (pick INTEGER, year VARCHAR, round VARCHAR)
###human: What is the highest pick for a year after 2010, and a round smaller than 1?
###assistant: SELECT MAX(pick) FROM table_name_11 WHERE year > 2010 AND round < 1 |
###context:CREATE TABLE table_name_41 (pick INTEGER, year VARCHAR, round VARCHAR)
###human: What is the highest pick for a year after 2010 and a round larger than 1?
###assistant: SELECT MAX(pick) FROM table_name_41 WHERE year > 2010 AND round > 1 |
###context:CREATE TABLE table_name_95 (pick INTEGER, nba_club VARCHAR, year VARCHAR, round VARCHAR)
###human: What is the sum for the pick of the year 2009, and a round smaller than 2 and an NBA Club Denver Nuggets?
###assistant: SELECT SUM(pick) FROM table_name_95 WHERE year = 2009 AND round < 2 AND nba_club = "denver nuggets" |
###context:CREATE TABLE table_name_23 (total VARCHAR, first_round VARCHAR, finals VARCHAR)
###human: Can you tell me the total number of Total that has the First round of 0, and the Finals smaller than 5?
###assistant: SELECT COUNT(total) FROM table_name_23 WHERE first_round = "0" AND finals < 5 |
###context:CREATE TABLE table_name_32 (conference_finals INTEGER, finals INTEGER)
###human: Can you tell me the average Conference Finals that has Finals smaller than 5?
###assistant: SELECT AVG(conference_finals) FROM table_name_32 WHERE finals < 5 |
###context:CREATE TABLE table_name_80 (finals VARCHAR, total VARCHAR, conference_finals VARCHAR, semifinals VARCHAR)
###human: Can you tell me the Finals that has the Conference Finals smaller than 12, and the Semifinals of 0, and the Total of 3?
###assistant: SELECT finals FROM table_name_80 WHERE conference_finals < 12 AND semifinals = 0 AND total = 3 |
###context:CREATE TABLE table_name_60 (more_than_$80 VARCHAR, percent_of_total VARCHAR)
###human: Which have more than $80k and a total percent of 2.2%?
###assistant: SELECT more_than_$80, 000 FROM table_name_60 WHERE percent_of_total = "2.2%" |
###context:CREATE TABLE table_name_53 (label VARCHAR, country VARCHAR, format VARCHAR)
###human: Which Label has a Country of canada, and a Format of cd/digital download?
###assistant: SELECT label FROM table_name_53 WHERE country = "canada" AND format = "cd/digital download" |
###context:CREATE TABLE table_name_40 (format VARCHAR, date VARCHAR, label VARCHAR)
###human: Which Format has a Date of 14 october 2008, and a Label of eagle eye media?
###assistant: SELECT format FROM table_name_40 WHERE date = "14 october 2008" AND label = "eagle eye media" |
###context:CREATE TABLE table_name_61 (label VARCHAR, catalogue_number_s_ VARCHAR, country VARCHAR, date VARCHAR)
###human: Which Label has a Country of united kingdom, a Date of 22 september 2008, and a Catalogue number(s) of eredv711?
###assistant: SELECT label FROM table_name_61 WHERE country = "united kingdom" AND date = "22 september 2008" AND catalogue_number_s_ = "eredv711" |
###context:CREATE TABLE table_name_94 (country VARCHAR, catalogue_number_s_ VARCHAR)
###human: Which Country has a Catalogue number(s) of eredv711?
###assistant: SELECT country FROM table_name_94 WHERE catalogue_number_s_ = "eredv711" |
###context:CREATE TABLE table_name_33 (format VARCHAR, country VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR)
###human: Which Format has a Label of eagle eye media, a Catalogue number(s) of —, and a Country of united states?
###assistant: SELECT format FROM table_name_33 WHERE label = "eagle eye media" AND catalogue_number_s_ = "—" AND country = "united states" |
###context:CREATE TABLE table_name_23 (format VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR)
###human: Which Format has a Label of eagle records, and a Catalogue number(s) of edgcd391?
###assistant: SELECT format FROM table_name_23 WHERE label = "eagle records" AND catalogue_number_s_ = "edgcd391" |
###context:CREATE TABLE table_name_58 (height VARCHAR, date_of_birth VARCHAR)
###human: What is the Height of the Player with a Date of Birth of 1978-02-16?
###assistant: SELECT height FROM table_name_58 WHERE date_of_birth = "1978-02-16" |
###context:CREATE TABLE table_name_46 (name VARCHAR, pos VARCHAR, date_of_birth VARCHAR)
###human: What is the Name of the D Player born on 1983-07-19?
###assistant: SELECT name FROM table_name_46 WHERE pos = "d" AND date_of_birth = "1983-07-19" |
###context:CREATE TABLE table_name_64 (pos VARCHAR, name VARCHAR)
###human: What is Eftychia Karagianni Pos.?
###assistant: SELECT pos FROM table_name_64 WHERE name = "eftychia karagianni" |
###context:CREATE TABLE table_name_28 (track VARCHAR, artist VARCHAR)
###human: What is the track that from lcd soundsystem?
###assistant: SELECT track FROM table_name_28 WHERE artist = "lcd soundsystem" |
###context:CREATE TABLE table_name_44 (uefa_cup VARCHAR, total INTEGER)
###human: What is the total number of UEFA Cup(s), when Total is greater than 3?
###assistant: SELECT COUNT(uefa_cup) FROM table_name_44 WHERE total > 3 |
###context:CREATE TABLE table_name_47 (polish_cup INTEGER, ekstraklasa VARCHAR, position VARCHAR, player VARCHAR)
###human: What is the lowest Polish Cup, when Position is "Midfielder", when Player is "Miroslav Radović", and when Ekstraklasa is less than 1?
###assistant: SELECT MIN(polish_cup) FROM table_name_47 WHERE position = "midfielder" AND player = "miroslav radović" AND ekstraklasa < 1 |
###context:CREATE TABLE table_name_34 (polish_cup INTEGER, player VARCHAR, ekstraklasa VARCHAR)
###human: What is the sum of Polish Cup, when Player is "Maciej Iwański", and when Ekstraklasa is less than 1?
###assistant: SELECT SUM(polish_cup) FROM table_name_34 WHERE player = "maciej iwański" AND ekstraklasa < 1 |
###context:CREATE TABLE table_name_53 (election VARCHAR)
###human: What 2nd Party has an Election of 1885?
###assistant: SELECT 2 AS nd_party FROM table_name_53 WHERE election = "1885" |
###context:CREATE TABLE table_name_11 (election VARCHAR)
###human: What 2nd Party has an Election of 1834?
###assistant: SELECT 2 AS nd_party FROM table_name_11 WHERE election = "1834" |
###context:CREATE TABLE table_name_43 (election VARCHAR)
###human: What 2nd Member has an Election of 1833 by-election?
###assistant: SELECT 2 AS nd_member FROM table_name_43 WHERE election = "1833 by-election" |
###context:CREATE TABLE table_name_66 (to_par VARCHAR, player VARCHAR)
###human: Golfer Steve Pate has what To par?
###assistant: SELECT to_par FROM table_name_66 WHERE player = "steve pate" |
###context:CREATE TABLE table_name_91 (result VARCHAR, opponent VARCHAR)
###human: What was the score when they played the Boston Patriots?
###assistant: SELECT result FROM table_name_91 WHERE opponent = "boston patriots" |
###context:CREATE TABLE table_name_7 (apps INTEGER, rank VARCHAR, season VARCHAR)
###human: How many apps for the rank of 8 in the 2012/13 season?
###assistant: SELECT MAX(apps) FROM table_name_7 WHERE rank = 8 AND season = "2012/13" |
###context:CREATE TABLE table_name_13 (score VARCHAR, runner_up VARCHAR, champion VARCHAR, venue VARCHAR)
###human: What was the score when Nacional was the champion, River Plate was the runner-up, and the venue was Centenario?
###assistant: SELECT score FROM table_name_13 WHERE champion = "nacional" AND venue = "centenario" AND runner_up = "river plate" |
###context:CREATE TABLE table_name_57 (champion VARCHAR, runner_up VARCHAR)
###human: Who was the champion when atlético wanderers was the runner-up?
###assistant: SELECT champion FROM table_name_57 WHERE runner_up = "atlético wanderers" |
###context:CREATE TABLE table_name_55 (city VARCHAR, venue VARCHAR)
###human: In which city is the San Lorenzo Centenario venue located?
###assistant: SELECT city FROM table_name_55 WHERE venue = "san lorenzo centenario" |
###context:CREATE TABLE table_name_98 (surface VARCHAR, date VARCHAR)
###human: The game played 31 May 2010 was played on what surface?
###assistant: SELECT surface FROM table_name_98 WHERE date = "31 may 2010" |
###context:CREATE TABLE table_name_63 (tournament VARCHAR, date VARCHAR)
###human: What tournament was played 16 September 2012?
###assistant: SELECT tournament FROM table_name_63 WHERE date = "16 september 2012" |
###context:CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR)
###human: What is the score of the game played 26 July 2010?
###assistant: SELECT score FROM table_name_22 WHERE date = "26 july 2010" |
###context:CREATE TABLE table_name_92 (outcome VARCHAR, opponent VARCHAR)
###human: The match against Paul-Henri Mathieu had what outcome?
###assistant: SELECT outcome FROM table_name_92 WHERE opponent = "paul-henri mathieu" |
###context:CREATE TABLE table_name_35 (to_par VARCHAR, country VARCHAR)
###human: What is South Africa's to par?
###assistant: SELECT to_par FROM table_name_35 WHERE country = "south africa" |
###context:CREATE TABLE table_name_20 (player VARCHAR, finish VARCHAR)
###human: Who had a finish of t20?
###assistant: SELECT player FROM table_name_20 WHERE finish = "t20" |
###context:CREATE TABLE table_name_10 (pujehun INTEGER, measure VARCHAR)
###human: What is the average pjehun measured by female enrollment?
###assistant: SELECT AVG(pujehun) FROM table_name_10 WHERE measure = "female enrollment" |
###context:CREATE TABLE table_name_9 (pujehun INTEGER, tonkolili VARCHAR, kenema VARCHAR, kambia VARCHAR)
###human: What is the highest pjuehun with a kenema greater than 559, a kambia of 45,653, and a tonkolili greater than 113,926?
###assistant: SELECT MAX(pujehun) FROM table_name_9 WHERE kenema > 559 AND kambia = "45,653" AND tonkolili > 113 OFFSET 926 |
###context:CREATE TABLE table_name_38 (kono INTEGER, bonthe INTEGER)
###human: What is the sum of the kono with a bonthe greater than 21,238?
###assistant: SELECT SUM(kono) FROM table_name_38 WHERE bonthe > 21 OFFSET 238 |
###context:CREATE TABLE table_name_50 (party VARCHAR, results VARCHAR, first_elected VARCHAR)
###human: What party is the person who was first elected in 2000 and was re-elected?
###assistant: SELECT party FROM table_name_50 WHERE results = "re-elected" AND first_elected = 2000 |
###context:CREATE TABLE table_name_93 (report VARCHAR, set_3 VARCHAR)
###human: Which report has a Set 3 value of 21–25?
###assistant: SELECT report FROM table_name_93 WHERE set_3 = "21–25" |
###context:CREATE TABLE table_name_70 (time VARCHAR, set_3 VARCHAR)
###human: What was the Time when Set 3 was 25–14?
###assistant: SELECT time FROM table_name_70 WHERE set_3 = "25–14" |
###context:CREATE TABLE table_name_92 (date VARCHAR, time VARCHAR, set_1 VARCHAR)
###human: When was there a Time of 18:00, and a Set 1 of 22–25?
###assistant: SELECT date FROM table_name_92 WHERE time = "18:00" AND set_1 = "22–25" |
###context:CREATE TABLE table_name_64 (total VARCHAR, concacaf VARCHAR, mls_cup VARCHAR)
###human: How many Totals have a CONCACAF of 0, and an MLS Cup smaller than 6?
###assistant: SELECT COUNT(total) FROM table_name_64 WHERE concacaf = 0 AND mls_cup < 6 |
###context:CREATE TABLE table_name_43 (mls_cup INTEGER, other VARCHAR, total VARCHAR)
###human: Which MLS Cup has another larger than 9, and a Total smaller than 72?
###assistant: SELECT AVG(mls_cup) FROM table_name_43 WHERE other > 9 AND total < 72 |
###context:CREATE TABLE table_name_62 (year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR)
###human: What year has a not nominated result and a nomination title of "the color of fame"?
###assistant: SELECT year__ceremony_ FROM table_name_62 WHERE result = "not nominated" AND film_title_used_in_nomination = "the color of fame" |
###context:CREATE TABLE table_name_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
###human: What's the original title of the nomination title, "brecha en el silencio"?
###assistant: SELECT original_title FROM table_name_1 WHERE film_title_used_in_nomination = "brecha en el silencio" |
###context:CREATE TABLE table_name_84 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR)
###human: What year has a nomination title of "sangrador"?
###assistant: SELECT year__ceremony_ FROM table_name_84 WHERE film_title_used_in_nomination = "sangrador" |
###context:CREATE TABLE table_name_81 (year__ceremony_ VARCHAR, original_title VARCHAR)
###human: What year has a original title of "el tinte de la fama"?
###assistant: SELECT year__ceremony_ FROM table_name_81 WHERE original_title = "el tinte de la fama" |
###context:CREATE TABLE table_name_25 (result VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR)
###human: What's the result for director elia schneider's punto y raya?
###assistant: SELECT result FROM table_name_25 WHERE director = "elia schneider" AND film_title_used_in_nomination = "punto y raya" |
###context:CREATE TABLE table_name_4 (score_points VARCHAR, total VARCHAR)
###human: What is the score points when the total is 20?
###assistant: SELECT score_points FROM table_name_4 WHERE total = "20" |
###context:CREATE TABLE table_name_99 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR)
###human: What is the score points in WC Kerrville, when rank was points of 8?
###assistant: SELECT score_points FROM table_name_99 WHERE event = "wc kerrville" AND rank_points = "8" |
###context:CREATE TABLE table_name_35 (score_points VARCHAR, total VARCHAR)
###human: What is the score points when the total is 16?
###assistant: SELECT score_points FROM table_name_35 WHERE total = "16" |
###context:CREATE TABLE table_name_53 (score_points VARCHAR, rank_points VARCHAR)
###human: What is the score points when the rank points is 3?
###assistant: SELECT score_points FROM table_name_53 WHERE rank_points = "3" |
###context:CREATE TABLE table_name_50 (total VARCHAR, score_points VARCHAR)
###human: What is the total when the score points show Olympic bronze medalist?
###assistant: SELECT total FROM table_name_50 WHERE score_points = "olympic bronze medalist" |
###context:CREATE TABLE table_name_82 (winning_constructor VARCHAR, circuit VARCHAR)
###human: What Winning constructor has a Circuit of lasarte?
###assistant: SELECT winning_constructor FROM table_name_82 WHERE circuit = "lasarte" |
###context:CREATE TABLE table_name_61 (date VARCHAR, winning_driver VARCHAR)
###human: What Date has a Winning driver of ugo sivocci?
###assistant: SELECT date FROM table_name_61 WHERE winning_driver = "ugo sivocci" |
###context:CREATE TABLE table_name_72 (report VARCHAR, winning_driver VARCHAR)
###human: What Report has a Winning driver of mario razzauti?
###assistant: SELECT report FROM table_name_72 WHERE winning_driver = "mario razzauti" |
###context:CREATE TABLE table_name_36 (date VARCHAR, circuit VARCHAR)
###human: What Date has a Circuit of cremona?
###assistant: SELECT date FROM table_name_36 WHERE circuit = "cremona" |
###context:CREATE TABLE table_name_56 (name VARCHAR, winning_constructor VARCHAR)
###human: What Name has a Winning constructor of ansaldo?
###assistant: SELECT name FROM table_name_56 WHERE winning_constructor = "ansaldo" |
###context:CREATE TABLE table_name_43 (winning_driver VARCHAR, winning_constructor VARCHAR)
###human: What Winning driver has a Winning constructor of sunbeam?
###assistant: SELECT winning_driver FROM table_name_43 WHERE winning_constructor = "sunbeam" |
###context:CREATE TABLE table_name_98 (total INTEGER, bronze INTEGER)
###human: What is the average total for 0 bronze?
###assistant: SELECT AVG(total) FROM table_name_98 WHERE bronze < 0 |
###context:CREATE TABLE table_name_17 (title VARCHAR, lyricist_s_ VARCHAR, arranger_s_ VARCHAR)
###human: What is the title of the track with lyricist ROZ and arranger Yongmin Lee?
###assistant: SELECT title FROM table_name_17 WHERE lyricist_s_ = "roz" AND arranger_s_ = "yongmin lee" |
###context:CREATE TABLE table_name_36 (lyricist_s_ VARCHAR, composer_s_ VARCHAR)
###human: Who was the lyricist for composer Haewon Park?
###assistant: SELECT lyricist_s_ FROM table_name_36 WHERE composer_s_ = "haewon park" |
###context:CREATE TABLE table_name_79 (time VARCHAR, arranger_s_ VARCHAR)
###human: What are the lengths of the tracks arranged by ROZ?
###assistant: SELECT time FROM table_name_79 WHERE arranger_s_ = "roz" |
###context:CREATE TABLE table_name_19 (year INTEGER, winner VARCHAR)
###human: How many years did caroline lubrez win?
###assistant: SELECT SUM(year) FROM table_name_19 WHERE winner = "caroline lubrez" |
###context:CREATE TABLE table_name_46 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)
###human: Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817?
###assistant: SELECT MAX(area_km_2) FROM table_name_46 WHERE official_name = "stanley" AND population > 1 OFFSET 817 |
###context:CREATE TABLE table_name_61 (area_km_2 VARCHAR, population VARCHAR)
###human: How much Area km 2 have a Population of 1,215?
###assistant: SELECT COUNT(area_km_2) FROM table_name_61 WHERE population = 1 OFFSET 215 |
###context:CREATE TABLE table_name_36 (census_ranking VARCHAR, population VARCHAR, area_km_2 VARCHAR)
###human: Which Census Ranking has a Population smaller than 879, and an Area km 2 larger than 537.62?
###assistant: SELECT census_ranking FROM table_name_36 WHERE population < 879 AND area_km_2 > 537.62 |
###context:CREATE TABLE table_name_94 (census_ranking VARCHAR, area_km_2 VARCHAR, official_name VARCHAR)
###human: Which Census Ranking has an Area km 2 larger than 753.06, and an Official Name of stanley?
###assistant: SELECT census_ranking FROM table_name_94 WHERE area_km_2 > 753.06 AND official_name = "stanley" |
###context:CREATE TABLE table_name_61 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)
###human: Which Area km 2 has an Official Name of southampton, and a Population larger than 1,601?
###assistant: SELECT MIN(area_km_2) FROM table_name_61 WHERE official_name = "southampton" AND population > 1 OFFSET 601 |
###context:CREATE TABLE table_name_72 (lost INTEGER, team VARCHAR, goals_for VARCHAR)
###human: What is Kirkby Town's lowest lost with more than 83 goals?
###assistant: SELECT MIN(lost) FROM table_name_72 WHERE team = "kirkby town" AND goals_for > 83 |
###context:CREATE TABLE table_name_74 (position INTEGER, points_1 VARCHAR, drawn VARCHAR)
###human: What is the lowest position with points 1 of 27 2 and fewer than 9 drawn?
###assistant: SELECT MIN(position) FROM table_name_74 WHERE points_1 = "27 2" AND drawn < 9 |
###context:CREATE TABLE table_name_35 (goal_difference VARCHAR, position VARCHAR)
###human: What is the goal difference number with a position of 15?
###assistant: SELECT goal_difference FROM table_name_35 WHERE position = 15 |
###context:CREATE TABLE table_name_23 (english_translation VARCHAR, lyricist_s_ VARCHAR, original_album VARCHAR)
###human: What is English Translation, when Lyricist(s) is "Giorgos Moukidis", and when Original Album is "Ena (New Edition)"
###assistant: SELECT english_translation FROM table_name_23 WHERE lyricist_s_ = "giorgos moukidis" AND original_album = "ena (new edition)" |
###context:CREATE TABLE table_name_23 (original_album VARCHAR, time VARCHAR)
###human: What is Original Album, when Time is "3:39"?
###assistant: SELECT original_album FROM table_name_23 WHERE time = "3:39" |
###context:CREATE TABLE table_name_32 (time VARCHAR, composer_s_ VARCHAR)
###human: What is Time, when Composer(s) is "Kyriakos Papadopoulos"?
###assistant: SELECT time FROM table_name_32 WHERE composer_s_ = "kyriakos papadopoulos" |
###context:CREATE TABLE table_name_9 (visitor VARCHAR, date VARCHAR)
###human: Who was the visitor on March 27?
###assistant: SELECT visitor FROM table_name_9 WHERE date = "march 27" |
###context:CREATE TABLE table_name_34 (score VARCHAR, date VARCHAR)
###human: What was the score of the game on February 8?
###assistant: SELECT score FROM table_name_34 WHERE date = "february 8" |
###context:CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR)
###human: What was their record on December 4?
###assistant: SELECT record FROM table_name_1 WHERE date = "december 4" |
###context:CREATE TABLE table_name_6 (score VARCHAR, home VARCHAR, date VARCHAR)
###human: What was the score on February 21 when the home team was the Pittsburgh Penguins?
###assistant: SELECT score FROM table_name_6 WHERE home = "pittsburgh penguins" AND date = "february 21" |
###context:CREATE TABLE table_name_1 (money___ INTEGER, to_par INTEGER)
###human: WHAT IS THE LOWEST MONEY WITH TO PAR LARGER THAN 26?
###assistant: SELECT MIN(money___) AS $__ FROM table_name_1 WHERE to_par > 26 |
###context:CREATE TABLE table_name_96 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)
###human: WHAT IS THE SCORE WITH $85 FOR CLARENCE HACKNEY?
###assistant: SELECT score FROM table_name_96 WHERE money___$__ = 85 AND player = "clarence hackney" |
###context:CREATE TABLE table_name_2 (money___ INTEGER, score VARCHAR)
###human: WHAT IS THE LOWEST MONEY WITH 74-74-76-74=298 SCORE?
###assistant: SELECT MIN(money___) AS $__ FROM table_name_2 WHERE score = 74 - 74 - 76 - 74 = 298 |
###context:CREATE TABLE table_name_96 (week INTEGER, date VARCHAR)
###human: What is the week number for the date of September 14, 1980?
###assistant: SELECT MAX(week) FROM table_name_96 WHERE date = "september 14, 1980" |
###context:CREATE TABLE table_name_48 (week VARCHAR, result VARCHAR)
###human: What week was the result l 14–9?
###assistant: SELECT week FROM table_name_48 WHERE result = "l 14–9" |
###context:CREATE TABLE table_name_2 (week VARCHAR, attendance VARCHAR)
###human: What is the week number with attendance of 44,132?
###assistant: SELECT COUNT(week) FROM table_name_2 WHERE attendance = 44 OFFSET 132 |
###context:CREATE TABLE table_name_42 (winner VARCHAR, circuit VARCHAR)
###human: Who was the winner for the circuit Eastern Creek Raceway?
###assistant: SELECT winner FROM table_name_42 WHERE circuit = "eastern creek raceway" |
###context:CREATE TABLE table_name_45 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR)
###human: What was the city for the winner Darren Hossack at the circuit of phillip island grand prix circuit?
###assistant: SELECT city___state FROM table_name_45 WHERE winner = "darren hossack" AND circuit = "phillip island grand prix circuit" |
###context:CREATE TABLE table_name_48 (city___state VARCHAR, circuit VARCHAR)
###human: What city was the circuit of mallala motor sport park?
###assistant: SELECT city___state FROM table_name_48 WHERE circuit = "mallala motor sport park" |
###context:CREATE TABLE table_name_85 (to_par VARCHAR, place VARCHAR, country VARCHAR)
###human: Which To par has a Place of t1, and a Country of india?
###assistant: SELECT to_par FROM table_name_85 WHERE place = "t1" AND country = "india" |
###context:CREATE TABLE table_name_77 (place VARCHAR, player VARCHAR)
###human: What is Brian Gay's place?
###assistant: SELECT place FROM table_name_77 WHERE player = "brian gay" |
###context:CREATE TABLE table_name_4 (country VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR)
###human: Which Country has a Score smaller than 70, and a Place of t3, and a Player of andrés romero?
###assistant: SELECT country FROM table_name_4 WHERE score < 70 AND place = "t3" AND player = "andrés romero" |
###context:CREATE TABLE table_name_86 (order_year VARCHAR, length__ft_ VARCHAR, model VARCHAR)
###human: What order year has a 30 Length (ft.) and 05.505 model?
###assistant: SELECT order_year FROM table_name_86 WHERE length__ft_ = "30" AND model = "05.505" |
###context:CREATE TABLE table_name_93 (builder VARCHAR, order_year VARCHAR)
###human: What builder has a 2001-02 order year?
###assistant: SELECT builder FROM table_name_93 WHERE order_year = "2001-02" |
###context:CREATE TABLE table_name_89 (order_year VARCHAR, model VARCHAR, builder VARCHAR, length__ft_ VARCHAR)
###human: What is the order year of obi builder and 05.505 model that is 30 feet long?
###assistant: SELECT order_year FROM table_name_89 WHERE builder = "obi" AND length__ft_ = "30" AND model = "05.505" |
###context:CREATE TABLE table_name_23 (career VARCHAR, pct VARCHAR, player VARCHAR)
###human: What is the career of player serhiy konovalov, who has less than 1 pct.?
###assistant: SELECT career FROM table_name_23 WHERE pct < 1 AND player = "serhiy konovalov" |
###context:CREATE TABLE table_name_38 (career VARCHAR, player VARCHAR)
###human: What is the career of player andriy husyn?
###assistant: SELECT career FROM table_name_38 WHERE player = "andriy husyn" |
###context:CREATE TABLE table_name_97 (year INTEGER, working_horses VARCHAR, cows VARCHAR)
###human: What is the earliest year that has fewer than 3852.1 cows and 3900.1 working horses?
###assistant: SELECT MIN(year) FROM table_name_97 WHERE working_horses = "3900.1" AND cows < 3852.1 |
###context:CREATE TABLE table_name_58 (bulls VARCHAR, total_horses VARCHAR, cows VARCHAR, oxen VARCHAR, sheep_and_goats VARCHAR)
###human: What is the number of bulls that has oxen larger than 113.8, and a sheep and goats larger than 4533.4, and a cows smaller than 3987, and a total horses larger than 5056.5?
###assistant: SELECT bulls FROM table_name_58 WHERE oxen > 113.8 AND sheep_and_goats > 4533.4 AND cows < 3987 AND total_horses > 5056.5 |
###context:CREATE TABLE table_name_81 (year VARCHAR, pigs INTEGER)
###human: How many years had fewer than 2089.2 pigs?
###assistant: SELECT COUNT(year) FROM table_name_81 WHERE pigs < 2089.2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.