training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_46 (series VARCHAR, director VARCHAR, title VARCHAR)
###human: What series has dan povenmire as the director, with museum scream as the title?
###assistant: SELECT series FROM table_name_46 WHERE director = "dan povenmire" AND title = "museum scream" |
###context:CREATE TABLE table_name_86 (number_of_electorates__2009_ INTEGER, district VARCHAR, constituency_number VARCHAR)
###human: What was the highest number of 2009 electorates for Raisen when the consituency number was 142?
###assistant: SELECT MAX(number_of_electorates__2009_) FROM table_name_86 WHERE district = "raisen" AND constituency_number = "142" |
###context:CREATE TABLE table_name_98 (population_density__per_km²_ VARCHAR, name VARCHAR, population__2006_ VARCHAR)
###human: How much Population density (per km²) has a Name of total northern villages, and a Population (2006) larger than 11414?
###assistant: SELECT COUNT(population_density__per_km²_) FROM table_name_98 WHERE name = "total northern villages" AND population__2006_ > 11414 |
###context:CREATE TABLE table_name_90 (population_density__per_km²_ INTEGER, population__2011_ VARCHAR, change___percentage_ VARCHAR, land_area__km²_ VARCHAR)
###human: Which Population density (per km²) has a Change (%) larger than 4.9, and a Land area (km²) smaller than 15.59, and a Population (2011) larger than 790?
###assistant: SELECT MAX(population_density__per_km²_) FROM table_name_90 WHERE change___percentage_ > 4.9 AND land_area__km²_ < 15.59 AND population__2011_ > 790 |
###context:CREATE TABLE table_name_28 (population__2011_ INTEGER, land_area__km²_ VARCHAR, population_density__per_km²_ VARCHAR)
###human: How much Population (2011) has a Land area (km²) larger than 15.69, and a Population density (per km²) larger than 57.3?
###assistant: SELECT SUM(population__2011_) FROM table_name_28 WHERE land_area__km²_ > 15.69 AND population_density__per_km²_ > 57.3 |
###context:CREATE TABLE table_name_12 (land_area__km²_ INTEGER, name VARCHAR, population_density__per_km²_ VARCHAR, population__2006_ VARCHAR)
###human: Which Land area (km²) has a Population density (per km²) larger than 112.6, and a Population (2006) larger than 785, and a Name of pinehouse?
###assistant: SELECT MAX(land_area__km²_) FROM table_name_12 WHERE population_density__per_km²_ > 112.6 AND population__2006_ > 785 AND name = "pinehouse" |
###context:CREATE TABLE table_name_18 (withdrawn INTEGER, number VARCHAR, converted VARCHAR)
###human: With a converted less than 1966 and a number of 32 (2nd), what is the largest number listed for withdrawn?
###assistant: SELECT MAX(withdrawn) FROM table_name_18 WHERE number = "32 (2nd)" AND converted < 1966 |
###context:CREATE TABLE table_name_47 (average VARCHAR, matches VARCHAR)
###human: What is the average when the matches are 11?
###assistant: SELECT average FROM table_name_47 WHERE matches = "11" |
###context:CREATE TABLE table_name_88 (overs VARCHAR, matches VARCHAR)
###human: What is the overs when the matches are 10?
###assistant: SELECT overs FROM table_name_88 WHERE matches = "10" |
###context:CREATE TABLE table_name_39 (car__number INTEGER, driver VARCHAR, pos VARCHAR)
###human: Which Car # has a Driver of ryan newman, and a Position larger than 10?
###assistant: SELECT MIN(car__number) FROM table_name_39 WHERE driver = "ryan newman" AND pos > 10 |
###context:CREATE TABLE table_name_95 (car__number INTEGER, pos VARCHAR, team VARCHAR, driver VARCHAR)
###human: Which Car # has a Team of hendrick motorsports, and a Driver of mark martin, and a Position larger than 4?
###assistant: SELECT AVG(car__number) FROM table_name_95 WHERE team = "hendrick motorsports" AND driver = "mark martin" AND pos > 4 |
###context:CREATE TABLE table_name_24 (time VARCHAR, news_freq VARCHAR, local_networked VARCHAR, ad_freq VARCHAR)
###human: Which time has a local/networked value of Local, ad frequency of every 20 minutes, and news frequency of n/a after 7PM news?
###assistant: SELECT time FROM table_name_24 WHERE local_networked = "local" AND ad_freq = "20 minutes" AND news_freq = "n/a after 7pm news" |
###context:CREATE TABLE table_name_84 (time VARCHAR, news_freq VARCHAR, show_name VARCHAR)
###human: Which time has a news frequency of 1 hour and show name of Best Mix Overnight?
###assistant: SELECT time FROM table_name_84 WHERE news_freq = "1 hour" AND show_name = "best mix overnight" |
###context:CREATE TABLE table_name_58 (ad_freq VARCHAR, show_name VARCHAR)
###human: What is the ad frequency for the show named Health Matters?
###assistant: SELECT ad_freq FROM table_name_58 WHERE show_name = "health matters" |
###context:CREATE TABLE table_name_73 (news_freq VARCHAR, show_name VARCHAR)
###human: What is the news frequency for the show Locker Room?
###assistant: SELECT news_freq FROM table_name_73 WHERE show_name = "locker room" |
###context:CREATE TABLE table_name_38 (local_networked VARCHAR, ad_freq VARCHAR)
###human: What is the local/networked value for the show with an ad frequency of N/A?
###assistant: SELECT local_networked FROM table_name_38 WHERE ad_freq = "n/a" |
###context:CREATE TABLE table_name_94 (time VARCHAR, rank VARCHAR, country VARCHAR)
###human: When france had a rank larger than 2, what was their time?
###assistant: SELECT time FROM table_name_94 WHERE rank > 2 AND country = "france" |
###context:CREATE TABLE table_name_13 (time VARCHAR, country VARCHAR)
###human: What was the time for the country of kazakhstan?
###assistant: SELECT time FROM table_name_13 WHERE country = "kazakhstan" |
###context:CREATE TABLE table_name_82 (athletes VARCHAR, country VARCHAR)
###human: What athletes represented the country of germany?
###assistant: SELECT athletes FROM table_name_82 WHERE country = "germany" |
###context:CREATE TABLE table_name_38 (rank INTEGER, time VARCHAR)
###human: What was the rank for the finish time of 1:42.054?
###assistant: SELECT AVG(rank) FROM table_name_38 WHERE time = "1:42.054" |
###context:CREATE TABLE table_name_81 (country VARCHAR, rank VARCHAR, time VARCHAR)
###human: Which country had a rank smaller than 7 and a time of 1:43.189?
###assistant: SELECT country FROM table_name_81 WHERE rank < 7 AND time = "1:43.189" |
###context:CREATE TABLE table_name_35 (club VARCHAR, runners_up VARCHAR, last_final_won VARCHAR)
###human: what is the club when the runners-up is 1 and the last final won is 1999?
###assistant: SELECT club FROM table_name_35 WHERE runners_up = 1 AND last_final_won = "1999" |
###context:CREATE TABLE table_name_13 (last_final_won VARCHAR, runners_up VARCHAR, club VARCHAR)
###human: what is the last final won when runners-up is 1 and club is rijeka?
###assistant: SELECT last_final_won FROM table_name_13 WHERE runners_up = 1 AND club = "rijeka" |
###context:CREATE TABLE table_name_11 (winners VARCHAR, runners_up INTEGER)
###human: How many times is runners-up less than 0?
###assistant: SELECT COUNT(winners) FROM table_name_11 WHERE runners_up < 0 |
###context:CREATE TABLE table_name_29 (game VARCHAR, result VARCHAR, attendance VARCHAR)
###human: How many games have a Result of 4–0, and an Attendance larger than 12,256?
###assistant: SELECT COUNT(game) FROM table_name_29 WHERE result = "4–0" AND attendance > 12 OFFSET 256 |
###context:CREATE TABLE table_name_22 (result VARCHAR, opponent VARCHAR, venue VARCHAR, game VARCHAR)
###human: Which Result has a Venue of away, and a Game smaller than 43, and an Opponent of bournemouth?
###assistant: SELECT result FROM table_name_22 WHERE venue = "away" AND game < 43 AND opponent = "bournemouth" |
###context:CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, date VARCHAR)
###human: Which Result has a Venue of home, and a Date of 3 october 1987?
###assistant: SELECT result FROM table_name_54 WHERE venue = "home" AND date = "3 october 1987" |
###context:CREATE TABLE table_name_91 (score VARCHAR, year VARCHAR)
###human: What is the score of 1993?
###assistant: SELECT score FROM table_name_91 WHERE year = "1993" |
###context:CREATE TABLE table_name_77 (name VARCHAR, runner_up VARCHAR)
###human: What is the Name when the runner-up was Sania Mirza Elena Vesnina?
###assistant: SELECT name FROM table_name_77 WHERE runner_up = "sania mirza elena vesnina" |
###context:CREATE TABLE table_name_97 (name VARCHAR, score VARCHAR)
###human: What is the name with a Score of 6–3, 6–3?
###assistant: SELECT name FROM table_name_97 WHERE score = "6–3, 6–3" |
###context:CREATE TABLE table_name_50 (location VARCHAR, year VARCHAR)
###human: What was the location in 2009?
###assistant: SELECT location FROM table_name_50 WHERE year = "2009" |
###context:CREATE TABLE table_name_28 (railway_number_s_ VARCHAR, class VARCHAR)
###human: What's the railway number of a D(rebuild) class?
###assistant: SELECT railway_number_s_ FROM table_name_28 WHERE class = "d(rebuild)" |
###context:CREATE TABLE table_name_50 (quantity_rebuilt INTEGER, class VARCHAR)
###human: What the least quantity having a T2A class?
###assistant: SELECT MIN(quantity_rebuilt) FROM table_name_50 WHERE class = "t2a" |
###context:CREATE TABLE table_name_15 (lane INTEGER, react VARCHAR, time VARCHAR)
###human: Which lane did the swimmer who had a Reaction time of 0.185 and a time of 20.9 swim in?
###assistant: SELECT SUM(lane) FROM table_name_15 WHERE react = 0.185 AND time < 20.9 |
###context:CREATE TABLE table_name_15 (time VARCHAR, nationality VARCHAR, lane VARCHAR)
###human: What was the 200-metre time for the swimmer from Slovenia in lane 9?
###assistant: SELECT COUNT(time) FROM table_name_15 WHERE nationality = "slovenia" AND lane < 9 |
###context:CREATE TABLE table_name_49 (athlete VARCHAR, nationality VARCHAR, time VARCHAR, lane VARCHAR)
###human: Who was the swimmer from Dominica who had a time of 21.2 and swam in lane 7?
###assistant: SELECT athlete FROM table_name_49 WHERE time < 21.2 AND lane < 7 AND nationality = "dominica" |
###context:CREATE TABLE table_name_35 (player VARCHAR, pick VARCHAR, position VARCHAR)
###human: What player had a pick higher than 53, and a position of defensive tackle?
###assistant: SELECT player FROM table_name_35 WHERE pick > 53 AND position = "defensive tackle" |
###context:CREATE TABLE table_name_95 (team VARCHAR, player VARCHAR)
###human: What team is Jim Garcia category:Articles with Hcards on?
###assistant: SELECT team FROM table_name_95 WHERE player = "jim garcia category:articles with hcards" |
###context:CREATE TABLE table_name_90 (pick VARCHAR, college VARCHAR)
###human: Who is the pick from the Purdue College?
###assistant: SELECT pick FROM table_name_90 WHERE college = "purdue" |
###context:CREATE TABLE table_name_76 (marcin_dołęga___pol__ VARCHAR, world_record VARCHAR, snatch VARCHAR)
###human: What shows for Marcin Dołęga ( POL )when the world record shows olympic record, and a Snatch of total?
###assistant: SELECT marcin_dołęga___pol__ FROM table_name_76 WHERE world_record = "olympic record" AND snatch = "total" |
###context:CREATE TABLE table_name_1 (snatch VARCHAR, marcin_dołęga___pol__ VARCHAR)
###human: What is the snatch when Marcin Dołęga ( POL ) was 430kg?
###assistant: SELECT snatch FROM table_name_1 WHERE marcin_dołęga___pol__ = "430kg" |
###context:CREATE TABLE table_name_85 (władysławowo_ VARCHAR, _poland VARCHAR, world_record VARCHAR)
###human: What shows for Władysławowo, Poland when the world record was clean & jerk?
###assistant: SELECT władysławowo_, _poland FROM table_name_85 WHERE world_record = "clean & jerk" |
###context:CREATE TABLE table_name_83 (władysławowo_ VARCHAR, _poland VARCHAR, snatch VARCHAR, world_record VARCHAR, marcin_dołęga___pol__ VARCHAR)
###human: What shows for Władysławowo, Poland when the world record shows olympic record, a Marcin Dołęga (POL) is olympic standard, and Snatch is clean & jerk?
###assistant: SELECT władysławowo_, _poland FROM table_name_83 WHERE world_record = "olympic record" AND marcin_dołęga___pol__ = "olympic standard" AND snatch = "clean & jerk" |
###context:CREATE TABLE table_name_88 (date VARCHAR, catalog VARCHAR)
###human: What date has 0-6700-30838-2-9 for a catalog?
###assistant: SELECT date FROM table_name_88 WHERE catalog = "0-6700-30838-2-9" |
###context:CREATE TABLE table_name_3 (date VARCHAR, catalog VARCHAR, region VARCHAR)
###human: What's the date in the United Kingdom having a catalog of reveal50cd/lp?
###assistant: SELECT date FROM table_name_3 WHERE catalog = "reveal50cd/lp" AND region = "united kingdom" |
###context:CREATE TABLE table_name_49 (date VARCHAR, competition VARCHAR)
###human: What day was king's cup 1996?
###assistant: SELECT date FROM table_name_49 WHERE competition = "king's cup 1996" |
###context:CREATE TABLE table_name_50 (score VARCHAR, competition VARCHAR)
###human: What was the score for king's cup 1996?
###assistant: SELECT score FROM table_name_50 WHERE competition = "king's cup 1996" |
###context:CREATE TABLE table_name_61 (result VARCHAR, score VARCHAR)
###human: What was the result when the score was 5-1?
###assistant: SELECT result FROM table_name_61 WHERE score = "5-1" |
###context:CREATE TABLE table_name_4 (tournament VARCHAR)
###human: What tournament had an A in 2012 and Q2 in 2010?
###assistant: SELECT tournament FROM table_name_4 WHERE 2012 = "a" AND 2010 = "q2" |
###context:CREATE TABLE table_name_10 (Id VARCHAR)
###human: What's the 2010 when they had a Q2 in 2009?
###assistant: SELECT 2010 FROM table_name_10 WHERE 2009 = "q2" |
###context:CREATE TABLE table_name_83 (tournament VARCHAR)
###human: What's the 2012 during Wimbledon and had a Q3 in 2008?
###assistant: SELECT 2012 FROM table_name_83 WHERE 2008 = "q3" AND tournament = "wimbledon" |
###context:CREATE TABLE table_name_74 (tournament VARCHAR)
###human: What's the tournament name when they had an A in 2011 & 2012?
###assistant: SELECT tournament FROM table_name_74 WHERE 2012 = "a" AND 2011 = "a" |
###context:CREATE TABLE table_name_22 (Id VARCHAR)
###human: What's the 2012 when 2009 was 205?
###assistant: SELECT 2012 FROM table_name_22 WHERE 2009 = "205" |
###context:CREATE TABLE table_name_15 (col__m_ VARCHAR, prominence__m_ VARCHAR)
###human: How much Col (m) has a Prominence (m) of 2,344?
###assistant: SELECT COUNT(col__m_) FROM table_name_15 WHERE prominence__m_ = 2 OFFSET 344 |
###context:CREATE TABLE table_name_21 (prominence__m_ INTEGER, col__m_ VARCHAR)
###human: Which Prominence (m) has a Col (m) of 350?
###assistant: SELECT AVG(prominence__m_) FROM table_name_21 WHERE col__m_ = 350 |
###context:CREATE TABLE table_name_87 (athlete VARCHAR, country VARCHAR)
###human: Who was the athlete from Lithuania?
###assistant: SELECT athlete FROM table_name_87 WHERE country = "lithuania" |
###context:CREATE TABLE table_name_90 (votes VARCHAR, opponent VARCHAR, year VARCHAR)
###human: How many votes did Jeannemarie Devolites Davis get in 1995-Special?
###assistant: SELECT votes FROM table_name_90 WHERE opponent = "jeannemarie devolites davis" AND year = "1995-special" |
###context:CREATE TABLE table_name_35 (subject VARCHAR, year VARCHAR)
###human: Who was the subject for the year of 2007?
###assistant: SELECT subject FROM table_name_35 WHERE year = "2007" |
###context:CREATE TABLE table_name_51 (party VARCHAR, votes INTEGER)
###human: Which party has a voting total greater than 4,478?
###assistant: SELECT party FROM table_name_51 WHERE votes > 4 OFFSET 478 |
###context:CREATE TABLE table_name_58 (type VARCHAR, nat VARCHAR)
###human: Which Type has a Nat of geo?
###assistant: SELECT type FROM table_name_58 WHERE nat = "geo" |
###context:CREATE TABLE table_name_26 (moving_from VARCHAR, nat VARCHAR)
###human: Which Moving from has a Nat of ned?
###assistant: SELECT moving_from FROM table_name_26 WHERE nat = "ned" |
###context:CREATE TABLE table_name_41 (ends INTEGER, name VARCHAR)
###human: Which Ends have a Name of zambrano?
###assistant: SELECT MAX(ends) FROM table_name_41 WHERE name = "zambrano" |
###context:CREATE TABLE table_name_10 (transfer_fee VARCHAR, moving_from VARCHAR, nat VARCHAR)
###human: Which Transfer fee has a Moving from of youth system, and a Nat of mar?
###assistant: SELECT transfer_fee FROM table_name_10 WHERE moving_from = "youth system" AND nat = "mar" |
###context:CREATE TABLE table_name_27 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR)
###human: Which Transfer fee has Ends larger than 2011, and a Moving from of psv?
###assistant: SELECT transfer_fee FROM table_name_27 WHERE ends > 2011 AND moving_from = "psv" |
###context:CREATE TABLE table_name_60 (result VARCHAR, horse VARCHAR, event VARCHAR)
###human: What is the result for the Toscane Horse in the freestyle test?
###assistant: SELECT result FROM table_name_60 WHERE horse = "toscane" AND event = "freestyle test" |
###context:CREATE TABLE table_name_69 (horse VARCHAR, result VARCHAR)
###human: What horse has a 66.452 result?
###assistant: SELECT horse FROM table_name_69 WHERE result = "66.452" |
###context:CREATE TABLE table_name_57 (event VARCHAR, athlete VARCHAR, result VARCHAR)
###human: What event did Sjerstin Vermeulen receive a 66.452 result?
###assistant: SELECT event FROM table_name_57 WHERE athlete = "sjerstin vermeulen" AND result = "66.452" |
###context:CREATE TABLE table_name_66 (class VARCHAR, event VARCHAR, result VARCHAR)
###human: What class had a Championship Test event with a 62.516 result?
###assistant: SELECT class FROM table_name_66 WHERE event = "championship test" AND result = "62.516" |
###context:CREATE TABLE table_name_18 (horse VARCHAR, result VARCHAR)
###human: What horse has a 65.863 result?
###assistant: SELECT horse FROM table_name_18 WHERE result = "65.863" |
###context:CREATE TABLE table_name_88 (displacement VARCHAR, model VARCHAR)
###human: What is the displacement for the model 1400?
###assistant: SELECT displacement FROM table_name_88 WHERE model = "1400" |
###context:CREATE TABLE table_name_20 (displacement VARCHAR, model VARCHAR, fuel_system VARCHAR, power VARCHAR)
###human: What is the displacement when the fuel system is carburettor, and a power of ps (kw; hp), and also has a model of 2000?
###assistant: SELECT displacement FROM table_name_20 WHERE fuel_system = "carburettor" AND power = "ps (kw; hp)" AND model = "2000" |
###context:CREATE TABLE table_name_29 (engine VARCHAR, model VARCHAR, years VARCHAR)
###human: What engine with the years of 1975-84 has a model of 1600?
###assistant: SELECT engine FROM table_name_29 WHERE model = "1600" AND years = "1975-84" |
###context:CREATE TABLE table_name_78 (displacement VARCHAR, model VARCHAR)
###human: What displacement has a model of 2000?
###assistant: SELECT displacement FROM table_name_78 WHERE model = "2000" |
###context:CREATE TABLE table_name_9 (engine VARCHAR, years VARCHAR, displacement VARCHAR)
###human: What engine with years of 1975-84 has a displacement of 1585cc?
###assistant: SELECT engine FROM table_name_9 WHERE years = "1975-84" AND displacement = "1585cc" |
###context:CREATE TABLE table_name_40 (power VARCHAR, years VARCHAR)
###human: What is the power for the years 1975-84?
###assistant: SELECT power FROM table_name_40 WHERE years = "1975-84" |
###context:CREATE TABLE table_name_92 (team_2 VARCHAR)
###human: What is the 2nd leg in match with team 2 of Teram?
###assistant: SELECT 2 AS nd_leg FROM table_name_92 WHERE team_2 = "teram" |
###context:CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR)
###human: What was the result of the December 15, 2002 game?
###assistant: SELECT result FROM table_name_66 WHERE date = "december 15, 2002" |
###context:CREATE TABLE table_name_52 (date VARCHAR, attendance VARCHAR)
###human: What date was the game that was attended by 69,024?
###assistant: SELECT date FROM table_name_52 WHERE attendance = "69,024" |
###context:CREATE TABLE table_name_37 (date VARCHAR, week VARCHAR)
###human: On what date was the week 17 game?
###assistant: SELECT date FROM table_name_37 WHERE week = 17 |
###context:CREATE TABLE table_name_85 (model VARCHAR, seats VARCHAR, built VARCHAR)
###human: What is the Model of the Engine with 29 Seats Built in 1941–1942?
###assistant: SELECT model FROM table_name_85 WHERE seats = 29 AND built = "1941–1942" |
###context:CREATE TABLE table_name_65 (quantity VARCHAR, model VARCHAR)
###human: What is the Quantity of the engine Model PG-2901?
###assistant: SELECT quantity FROM table_name_65 WHERE model = "pg-2901" |
###context:CREATE TABLE table_name_69 (reason_of_departure VARCHAR, date_outgoing VARCHAR)
###human: Why did the manager who departed on August 1, 2008 leave?
###assistant: SELECT reason_of_departure FROM table_name_69 WHERE date_outgoing = "august 1, 2008" |
###context:CREATE TABLE table_name_54 (date_of_replacement VARCHAR, reason_of_departure VARCHAR, team VARCHAR)
###human: On what date did the manager for PSIS Semarang take over for the manager that was sacked?
###assistant: SELECT date_of_replacement FROM table_name_54 WHERE reason_of_departure = "sacked" AND team = "psis semarang" |
###context:CREATE TABLE table_name_84 (reason_of_departure VARCHAR, date_outgoing VARCHAR)
###human: Why did the manager who departed on August 1, 2008 leave?
###assistant: SELECT reason_of_departure FROM table_name_84 WHERE date_outgoing = "august 1, 2008" |
###context:CREATE TABLE table_name_12 (date_outgoing VARCHAR, outgoing_manager VARCHAR)
###human: When did Peter Butler leave his team?
###assistant: SELECT date_outgoing FROM table_name_12 WHERE outgoing_manager = "peter butler" |
###context:CREATE TABLE table_name_98 (date_of_replacement VARCHAR, date_outgoing VARCHAR)
###human: When did the manager take over for the manager that left on August 20, 2008?
###assistant: SELECT date_of_replacement FROM table_name_98 WHERE date_outgoing = "august 20, 2008" |
###context:CREATE TABLE table_name_99 (competition VARCHAR, notes VARCHAR)
###human: In which competition(s) did Iljuštšenko jump 1.90 m?
###assistant: SELECT competition FROM table_name_99 WHERE notes = "1.90 m" |
###context:CREATE TABLE table_name_48 (position VARCHAR, year VARCHAR, competition VARCHAR)
###human: In which position did Iljuštšenko finish in the European Championships held prior to 2008?
###assistant: SELECT position FROM table_name_48 WHERE year < 2008 AND competition = "european championships" |
###context:CREATE TABLE table_name_70 (year VARCHAR, venue VARCHAR)
###human: In what year did Iljuštšenko compete in Barcelona, Spain?
###assistant: SELECT year FROM table_name_70 WHERE venue = "barcelona, spain" |
###context:CREATE TABLE table_name_56 (number_of_electorates__2009_ INTEGER, constituency_number VARCHAR)
###human: What's the number of electorates for constituency number 56?
###assistant: SELECT SUM(number_of_electorates__2009_) FROM table_name_56 WHERE constituency_number = "56" |
###context:CREATE TABLE table_name_57 (tour_apps VARCHAR, career_caps VARCHAR)
###human: What is the tour Apps when the career caps show 15?
###assistant: SELECT tour_apps FROM table_name_57 WHERE career_caps = 15 |
###context:CREATE TABLE table_name_78 (career_caps VARCHAR, position VARCHAR, tour_apps VARCHAR)
###human: What is the number of career caps for a full back, when tour Apps is smaller than 29?
###assistant: SELECT COUNT(career_caps) FROM table_name_78 WHERE position = "full back" AND tour_apps < 29 |
###context:CREATE TABLE table_name_73 (career_caps VARCHAR, position VARCHAR, tests VARCHAR)
###human: What is the career caps for half-back, when tests is more than 3?
###assistant: SELECT career_caps FROM table_name_73 WHERE position = "half-back" AND tests > 3 |
###context:CREATE TABLE table_name_22 (name VARCHAR, career_caps VARCHAR, tour_apps VARCHAR, tests VARCHAR)
###human: What name has tour Apps larger than 7, tests larger than 4, and a Career caps of 20?
###assistant: SELECT name FROM table_name_22 WHERE tour_apps > 7 AND tests > 4 AND career_caps = 20 |
###context:CREATE TABLE table_name_64 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
###human: What constructor has a grid less than 21, and time/retired of engine?
###assistant: SELECT constructor FROM table_name_64 WHERE grid < 21 AND time_retired = "engine" |
###context:CREATE TABLE table_name_11 (driver VARCHAR, entrant VARCHAR)
###human: When the entrant is fred saunders what is the driver?
###assistant: SELECT driver FROM table_name_11 WHERE entrant = "fred saunders" |
###context:CREATE TABLE table_name_47 (grid INTEGER, entrant VARCHAR)
###human: What's the lowest grid with and entrant of fred saunders?
###assistant: SELECT MIN(grid) FROM table_name_47 WHERE entrant = "fred saunders" |
###context:CREATE TABLE table_name_55 (time_retired VARCHAR, driver VARCHAR)
###human: What is the time/retired for the driver emerson fittipaldi?
###assistant: SELECT time_retired FROM table_name_55 WHERE driver = "emerson fittipaldi" |
###context:CREATE TABLE table_name_86 (artist VARCHAR, label VARCHAR, standard_number VARCHAR)
###human: Which Artist has the Label of Columbia and the Standard number of COCC-72073?
###assistant: SELECT artist FROM table_name_86 WHERE label = "columbia" AND standard_number = "cocc-72073" |
###context:CREATE TABLE table_name_42 (type VARCHAR, artist VARCHAR)
###human: What Type has the Artist of Hiroyuki Takami?
###assistant: SELECT type FROM table_name_42 WHERE artist = "hiroyuki takami" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.