conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_13762472_3 (high_points VARCHAR, game VARCHAR)" }, { "from": "human", "value": "How many players scored the most points on game 4?" }, { "from": "gpt", "value": "SELECT COUNT(high_points) FROM table_13762472_3 WHERE game = 4" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13762472_3 (game INTEGER, record VARCHAR)" }, { "from": "human", "value": "What was the last game where the record was 6-3?" }, { "from": "gpt", "value": "SELECT MAX(game) FROM table_13762472_3 WHERE record = \"6-3\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13779832_1 (country_region VARCHAR, seasons_and_winners VARCHAR)" }, { "from": "human", "value": "what's the country/region with seasons and winners being season 1, 2012: demetra malalan" }, { "from": "gpt", "value": "SELECT country_re...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13779832_1 (local_title VARCHAR, television_network VARCHAR)" }, { "from": "human", "value": " how many local title with televbeingion network being tv nova website" }, { "from": "gpt", "value": "SELECT COUNT(local_title) FROM table_13...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13779832_1 (judges VARCHAR, seasons_and_winners VARCHAR)" }, { "from": "human", "value": "who is the the judges with seasons and winners being season 1, 2013–2014: upcoming season" }, { "from": "gpt", "value": "SELECT judges FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13779832_1 (judges VARCHAR, local_title VARCHAR, presenters VARCHAR)" }, { "from": "human", "value": "who is the the judges with local title being x factor and presenters being heikki paasonen jukka rossi (xtra factor)" }, { "from": "gpt",...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13779832_1 (local_title VARCHAR, seasons_and_winners VARCHAR)" }, { "from": "human", "value": "what's the local title with seasons and winners being series 1, 2006: lucy benjamin" }, { "from": "gpt", "value": "SELECT local_title FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13779832_1 (country_region VARCHAR, presenters VARCHAR)" }, { "from": "human", "value": "what's the country/region with presenters being heikki paasonen jukka rossi (xtra factor)" }, { "from": "gpt", "value": "SELECT country_region FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1376890_2 (chroma_format VARCHAR, name VARCHAR)" }, { "from": "human", "value": " how many chroma format with name being high profile" }, { "from": "gpt", "value": "SELECT COUNT(chroma_format) FROM table_1376890_2 WHERE name = \"High p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1376890_2 (chroma_format VARCHAR, scalable_modes VARCHAR, intra_dc_precision VARCHAR)" }, { "from": "human", "value": "what's the chroma format with scalable modes being snr- or spatial-scalable and intra dc precbeingion being 8, 9, 10" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1376890_2 (chroma_format VARCHAR, name VARCHAR)" }, { "from": "human", "value": "what's the chroma format with name being high profile" }, { "from": "gpt", "value": "SELECT chroma_format FROM table_1376890_2 WHERE name = \"High profile...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13789248_2 (points VARCHAR, artist VARCHAR)" }, { "from": "human", "value": "what's the points with artbeingt being dave appell" }, { "from": "gpt", "value": "SELECT points FROM table_13789248_2 WHERE artist = \"Dave Appell\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13789248_2 (artist VARCHAR, position VARCHAR)" }, { "from": "human", "value": "who is the the artbeingt with position being 32" }, { "from": "gpt", "value": "SELECT artist FROM table_13789248_2 WHERE position = 32" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13789248_2 (song_title VARCHAR, artist VARCHAR)" }, { "from": "human", "value": " how many song title with artbeingt being chubby checker" }, { "from": "gpt", "value": "SELECT COUNT(song_title) FROM table_13789248_2 WHERE artist = \"Ch...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13789248_2 (points INTEGER, highest_position VARCHAR)" }, { "from": "human", "value": "what is the minimum points with highest position being 1" }, { "from": "gpt", "value": "SELECT MIN(points) FROM table_13789248_2 WHERE highest_posit...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_7 (transit_passengers INTEGER, international_passengers VARCHAR)" }, { "from": "human", "value": "What is the maximum number of trnsit passeners when the total number of international passengers is 4870184?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_7 (freight___metric_tonnes__ INTEGER, airport VARCHAR)" }, { "from": "human", "value": "What is Edinburgh's airport's freight in metric tonnes?" }, { "from": "gpt", "value": "SELECT MAX(freight___metric_tonnes__) FROM table_13...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_7 (transit_passengers VARCHAR, airport VARCHAR)" }, { "from": "human", "value": "How many different total number of transit passengers are there in London Luton?" }, { "from": "gpt", "value": "SELECT COUNT(transit_passengers) ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_7 (freight___metric_tonnes__ VARCHAR, transit_passengers VARCHAR)" }, { "from": "human", "value": "What are the total freights in metric tonnes when the total transit passengers is 147791?" }, { "from": "gpt", "value": "SELECT...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_7 (international_passengers VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "What is the total number of passengers of the airport ranked 15?" }, { "from": "gpt", "value": "SELECT international_passengers FROM table_138...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13834298_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)" }, { "from": "human", "value": "Whatis the original title for lion's den?" }, { "from": "gpt", "value": "SELECT original_title FROM table_13834298_1 WHERE film...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_6 (_percentage_change_2008_2009 VARCHAR, airport VARCHAR)" }, { "from": "human", "value": "What is the percent change from 08/09 for belfast international?" }, { "from": "gpt", "value": "SELECT _percentage_change_2008_2009 FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_6 (transit_passengers VARCHAR, airport VARCHAR)" }, { "from": "human", "value": "How many transit passengers at london gatwick?" }, { "from": "gpt", "value": "SELECT transit_passengers FROM table_13836704_6 WHERE airport = \"L...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_6 (rank VARCHAR, freight___metric_tonnes__ VARCHAR)" }, { "from": "human", "value": "What is the rank of the airport with freight ( metric tonnes ) of 255121?" }, { "from": "gpt", "value": "SELECT rank FROM table_13836704_6 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_6 (rank VARCHAR, freight___metric_tonnes__ VARCHAR)" }, { "from": "human", "value": "What is the rank of the airport with a freight ( metric tonnes ) of 23791?" }, { "from": "gpt", "value": "SELECT rank FROM table_13836704_6 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_4 (airport VARCHAR, total_passengers_2009 VARCHAR)" }, { "from": "human", "value": "what's the airport with total passengers 2009 being 157933" }, { "from": "gpt", "value": "SELECT airport FROM table_13836704_4 WHERE total_pas...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_4 (total_passengers_2008 INTEGER, change_2008_09 VARCHAR)" }, { "from": "human", "value": "what being the maximum total passengers 2008 with change 2008/09 being 6.5%" }, { "from": "gpt", "value": "SELECT MAX(total_passengers_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_4 (airport VARCHAR, aircraft_movements_2009 VARCHAR, change_2008_09 VARCHAR)" }, { "from": "human", "value": "what's the airport with aircraft movements 2009 being smaller than 238223.1659471435 and change 2008/09 being 0.5%" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_4 (aircraft_movements_2009 INTEGER, change_2008_09 VARCHAR)" }, { "from": "human", "value": "what is the maximum aircraft movements 2009 with change 2008/09 being 18.2%" }, { "from": "gpt", "value": "SELECT MAX(aircraft_moveme...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_4 (total_passengers_2008 VARCHAR, change_2008_09 VARCHAR)" }, { "from": "human", "value": "what's the total passengers 2008 with change 2008/09 being 6.5%" }, { "from": "gpt", "value": "SELECT total_passengers_2008 FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_8 (rank INTEGER, airport VARCHAR)" }, { "from": "human", "value": "Name the rank of birmingham airport" }, { "from": "gpt", "value": "SELECT MAX(rank) FROM table_13836704_8 WHERE airport = \"Birmingham airport\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_8 (transit_passengers INTEGER, freight__metric_tonnes_ VARCHAR)" }, { "from": "human", "value": "Name the transit passengers for 171078" }, { "from": "gpt", "value": "SELECT MAX(transit_passengers) FROM table_13836704_8 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13857501_1 (year INTEGER, womens_singles VARCHAR)" }, { "from": "human", "value": "Beata syta is the minimum year for womens singles." }, { "from": "gpt", "value": "SELECT MIN(year) FROM table_13857501_1 WHERE womens_singles = \"Beata ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_9 (aircraft_movements INTEGER, international_passengers VARCHAR)" }, { "from": "human", "value": "what is the maximum aircraft movements with international passengers being 21002260" }, { "from": "gpt", "value": "SELECT MAX(ai...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_9 (freight__metric_tonnes_ INTEGER, airport VARCHAR)" }, { "from": "human", "value": "what is the maximum freight (metric tonnes) with airport being liverpool" }, { "from": "gpt", "value": "SELECT MAX(freight__metric_tonnes_) ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_9 (airport VARCHAR, _percentage_change_2005_2006 VARCHAR)" }, { "from": "human", "value": "what's the airport with % change 2005/2006 being 13.0%" }, { "from": "gpt", "value": "SELECT airport FROM table_13836704_9 WHERE _perce...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_9 (aircraft_movements INTEGER, airport VARCHAR)" }, { "from": "human", "value": "what is the maximum aircraft movements with airport being liverpool" }, { "from": "gpt", "value": "SELECT MAX(aircraft_movements) FROM table_1383...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_9 (total_passengers VARCHAR, freight__metric_tonnes_ VARCHAR)" }, { "from": "human", "value": "what's the total passengers with freight (metric tonnes) being 827" }, { "from": "gpt", "value": "SELECT total_passengers FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13836704_9 (airport VARCHAR, rank VARCHAR)" }, { "from": "human", "value": " how many airport with rank being 4" }, { "from": "gpt", "value": "SELECT COUNT(airport) FROM table_13836704_9 WHERE rank = 4" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13857700_1 (mens_singles VARCHAR, mens_doubles VARCHAR)" }, { "from": "human", "value": " how many mens singles with mens doubles being pontus jantti lasse lindelöf" }, { "from": "gpt", "value": "SELECT COUNT(mens_singles) FROM table_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13857700_1 (mens_doubles VARCHAR, mixed_doubles VARCHAR)" }, { "from": "human", "value": "who is the the mens doubles with mixed doubles being jimm aalto nina sarnesto" }, { "from": "gpt", "value": "SELECT mens_doubles FROM table_13857...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13857700_1 (mixed_doubles VARCHAR, year VARCHAR)" }, { "from": "human", "value": "who is the the mixed doubles with year being 1972" }, { "from": "gpt", "value": "SELECT mixed_doubles FROM table_13857700_1 WHERE year = 1972" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13857700_1 (mens_doubles VARCHAR, year VARCHAR)" }, { "from": "human", "value": "who is the the mens doubles with year being 1978" }, { "from": "gpt", "value": "SELECT mens_doubles FROM table_13857700_1 WHERE year = 1978" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13857700_1 (mens_singles VARCHAR, mens_doubles VARCHAR)" }, { "from": "human", "value": "who is the the mens singles with mens doubles being kaj lindfors kaj osterberg" }, { "from": "gpt", "value": "SELECT mens_singles FROM table_13857...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13897690_1 (area__sqmi_ VARCHAR, area__km_2__ VARCHAR)" }, { "from": "human", "value": "How big (in sq mi) is the island that's 4065 km2?" }, { "from": "gpt", "value": "SELECT area__sqmi_ FROM table_13897690_1 WHERE area__km_2__ = 406...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13897690_1 (rank INTEGER)" }, { "from": "human", "value": "What is the smallest rank number of those used to rank the islands? " }, { "from": "gpt", "value": "SELECT MIN(rank) FROM table_13897690_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13897690_1 (islands_name VARCHAR, population__2000_ VARCHAR)" }, { "from": "human", "value": "What's the name is the island with a population of just 64?" }, { "from": "gpt", "value": "SELECT islands_name FROM table_13897690_1 WHERE po...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13940275_5 (tries_against VARCHAR, try_bonus VARCHAR)" }, { "from": "human", "value": "what's the tries against with try bonus being 10" }, { "from": "gpt", "value": "SELECT tries_against FROM table_13940275_5 WHERE try_bonus = \"10\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13940275_5 (points VARCHAR, played VARCHAR, points_against VARCHAR)" }, { "from": "human", "value": "what's the points with played being 22 and points against being 319" }, { "from": "gpt", "value": "SELECT points FROM table_13940275_5...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13940275_5 (losing_bonus VARCHAR, played VARCHAR, tries_against VARCHAR)" }, { "from": "human", "value": "what's the losing bonus with played being 22 and tries against being 38" }, { "from": "gpt", "value": "SELECT losing_bonus FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13940275_5 (try_bonus VARCHAR, club VARCHAR)" }, { "from": "human", "value": "what's the try bonus with club being abercwmboi rfc" }, { "from": "gpt", "value": "SELECT try_bonus FROM table_13940275_5 WHERE club = \"Abercwmboi RFC\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13940275_5 (points_for VARCHAR, points_against VARCHAR)" }, { "from": "human", "value": "what's the points for with points against being 556" }, { "from": "gpt", "value": "SELECT points_for FROM table_13940275_5 WHERE points_against = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13940275_5 (won VARCHAR, points_against VARCHAR)" }, { "from": "human", "value": "what's the won with points against being 304" }, { "from": "gpt", "value": "SELECT won FROM table_13940275_5 WHERE points_against = \"304\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13943239_1 (location VARCHAR, episode VARCHAR)" }, { "from": "human", "value": "Where was held the ceremony for the 12th Pride of Britain Awards?" }, { "from": "gpt", "value": "SELECT location FROM table_13943239_1 WHERE episode = \"12...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13943239_1 (episode VARCHAR, viewers__millions_ VARCHAR)" }, { "from": "human", "value": "What episode of the Pride of Britain Awards had an audience of 6.06 million viewers?" }, { "from": "gpt", "value": "SELECT episode FROM table_139...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13943239_1 (viewers__millions_ VARCHAR, episode VARCHAR)" }, { "from": "human", "value": "How much audience did the 7th Pride of Britain Awards ceremony have?" }, { "from": "gpt", "value": "SELECT COUNT(viewers__millions_) FROM table_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13981938_1 (vineyard_surface__2010_ VARCHAR, grand_cru VARCHAR)" }, { "from": "human", "value": "what's the vineyard surface (2010) with grand cru being bienvenues-bâtard-montrachet" }, { "from": "gpt", "value": "SELECT vineyard_surfac...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13981938_1 (village VARCHAR, wine_style VARCHAR, vineyard_surface__2010_ VARCHAR)" }, { "from": "human", "value": "what's the village with wine style being red wine and vineyard surface (2010) being hectares (acres)" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13981938_1 (wine_style VARCHAR, grand_cru VARCHAR)" }, { "from": "human", "value": "what's the wine style with grand cru being romanée-conti" }, { "from": "gpt", "value": "SELECT wine_style FROM table_13981938_1 WHERE grand_cru = \"Rom...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13981938_1 (wine_style VARCHAR, village VARCHAR)" }, { "from": "human", "value": "what's the wine style with village being puligny-montrachet [d ]" }, { "from": "gpt", "value": "SELECT wine_style FROM table_13981938_1 WHERE village = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13967239_2 (senior__4th_year_ VARCHAR, junior__3rd_year_ VARCHAR)" }, { "from": "human", "value": "How many classes between senior and junior year for world history" }, { "from": "gpt", "value": "SELECT COUNT(senior__4th_year_) FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13967239_2 (senior__4th_year_ VARCHAR, sophomore__grade_8_ VARCHAR)" }, { "from": "human", "value": "What is after intermediate algebra" }, { "from": "gpt", "value": "SELECT senior__4th_year_ FROM table_13967239_2 WHERE sophomore__grad...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13956521_2 (_number INTEGER, original_airdate VARCHAR)" }, { "from": "human", "value": "what is the maximum # with original airdate being march 14, 2001" }, { "from": "gpt", "value": "SELECT MAX(_number) FROM table_13956521_2 WHERE ori...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13956521_2 (original_airdate VARCHAR, writer_s_ VARCHAR, director VARCHAR)" }, { "from": "human", "value": " how many original airdate with writer(s) being becky hartman edwards and director being adam nimoy" }, { "from": "gpt", "value...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13956521_2 (writer_s_ VARCHAR, original_airdate VARCHAR)" }, { "from": "human", "value": "who is the the writer(s) with original airdate being february 7, 2001" }, { "from": "gpt", "value": "SELECT writer_s_ FROM table_13956521_2 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13998897_1 (frequency_mhz VARCHAR, city_of_license VARCHAR)" }, { "from": "human", "value": "what's the frequency mhz with city of license being chattanooga, tennessee" }, { "from": "gpt", "value": "SELECT frequency_mhz FROM table_1399...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13998897_1 (height_m___ft__ VARCHAR, frequency_mhz VARCHAR)" }, { "from": "human", "value": " how many height m ( ft ) with frequency mhz being 100.1" }, { "from": "gpt", "value": "SELECT COUNT(height_m___ft__) FROM table_13998897_1 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13998897_1 (fcc_info VARCHAR, call_sign VARCHAR)" }, { "from": "human", "value": "what's the fcc info with call sign being w221aw" }, { "from": "gpt", "value": "SELECT fcc_info FROM table_13998897_1 WHERE call_sign = \"W221AW\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13998897_1 (height_m___ft__ VARCHAR, notes VARCHAR)" }, { "from": "human", "value": " how many height m ( ft ) with notes being via wccv; formerly w236aj" }, { "from": "gpt", "value": "SELECT COUNT(height_m___ft__) FROM table_13998897_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_13998897_1 (fcc_info VARCHAR, call_sign VARCHAR)" }, { "from": "human", "value": "what's the fcc info with call sign being w265av" }, { "from": "gpt", "value": "SELECT fcc_info FROM table_13998897_1 WHERE call_sign = \"W265AV\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14003108_1 (capacity VARCHAR, team VARCHAR)" }, { "from": "human", "value": "what's the capacity with team being berwick rangers" }, { "from": "gpt", "value": "SELECT capacity FROM table_14003108_1 WHERE team = \"Berwick Rangers\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14003108_1 (team VARCHAR, stadium VARCHAR)" }, { "from": "human", "value": "what's the team with stadium being borough briggs" }, { "from": "gpt", "value": "SELECT team FROM table_14003108_1 WHERE stadium = \"Borough Briggs\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14003108_1 (lowest INTEGER, average VARCHAR)" }, { "from": "human", "value": "what is the maximum lowest with average being 734" }, { "from": "gpt", "value": "SELECT MAX(lowest) FROM table_14003108_1 WHERE average = 734" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14003108_1 (highest VARCHAR, team VARCHAR)" }, { "from": "human", "value": " how many highest with team being forfar athletic" }, { "from": "gpt", "value": "SELECT COUNT(highest) FROM table_14003108_1 WHERE team = \"Forfar Athletic\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14006_1 (bleeding_time VARCHAR, condition VARCHAR)" }, { "from": "human", "value": "what's the bleeding time with condition being factor v deficiency" }, { "from": "gpt", "value": "SELECT bleeding_time FROM table_14006_1 WHERE conditio...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14006_1 (bleeding_time VARCHAR, condition VARCHAR)" }, { "from": "human", "value": "what's the bleeding time with condition being liver failure, end-stage" }, { "from": "gpt", "value": "SELECT bleeding_time FROM table_14006_1 WHERE con...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14006_1 (bleeding_time VARCHAR, platelet_count VARCHAR)" }, { "from": "human", "value": "what's the bleeding time with platelet count being decreased or unaffected" }, { "from": "gpt", "value": "SELECT bleeding_time FROM table_14006_1 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14006_1 (condition VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)" }, { "from": "human", "value": "what's the condition with bleeding time being unaffected and prothrombin time being prolonged" }, { "from": "gpt", "value": "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14006_1 (bleeding_time VARCHAR, platelet_count VARCHAR, prothrombin_time VARCHAR)" }, { "from": "human", "value": "what's the bleeding time with platelet count being decreased and prothrombin time being prolonged" }, { "from": "gpt", "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14006_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, condition VARCHAR)" }, { "from": "human", "value": "what's the bleeding time with partial thromboplastin time being unaffected and condition being liver failure , early" }, {...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14009909_1 (first_elected VARCHAR, committee VARCHAR)" }, { "from": "human", "value": "How many of the elected officials are on the Economic Matters committee?" }, { "from": "gpt", "value": "SELECT COUNT(first_elected) FROM table_14009...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14009909_1 (delegate VARCHAR, first_elected VARCHAR)" }, { "from": "human", "value": "Name the delegate first elected in 2003?" }, { "from": "gpt", "value": "SELECT delegate FROM table_14009909_1 WHERE first_elected = 2003" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14009909_1 (counties_represented VARCHAR, district VARCHAR)" }, { "from": "human", "value": "What are the counties represented in District 12.1 12a?" }, { "from": "gpt", "value": "SELECT counties_represented FROM table_14009909_1 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14009909_1 (counties_represented VARCHAR, first_elected VARCHAR)" }, { "from": "human", "value": "Which country has a delegate who was first elected in 2006?" }, { "from": "gpt", "value": "SELECT counties_represented FROM table_1400990...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14015965_1 (foreign_players__max_2_ VARCHAR, town VARCHAR)" }, { "from": "human", "value": "Who are the foreign players representing Ekaterinburg?" }, { "from": "gpt", "value": "SELECT foreign_players__max_2_ FROM table_14015965_1 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14015965_1 (town VARCHAR, arena__capacity_ VARCHAR)" }, { "from": "human", "value": "What town is Volleyball Sportiv Complex (3 500) located in?" }, { "from": "gpt", "value": "SELECT town FROM table_14015965_1 WHERE arena__capacity_ = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14015965_1 (arena__capacity_ VARCHAR, previous_season VARCHAR)" }, { "from": "human", "value": "What arena was season 6 played at?" }, { "from": "gpt", "value": "SELECT arena__capacity_ FROM table_14015965_1 WHERE previous_season = \"6...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14015965_1 (head_coach VARCHAR, previous_season VARCHAR)" }, { "from": "human", "value": "Who was the head coach in season 2?" }, { "from": "gpt", "value": "SELECT head_coach FROM table_14015965_1 WHERE previous_season = \"2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14016079_1 (circuit VARCHAR, race_title VARCHAR)" }, { "from": "human", "value": "On what circuit was the City of Ipswich 400 race held?" }, { "from": "gpt", "value": "SELECT circuit FROM table_14016079_1 WHERE race_title = \"City of ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14016079_1 (winner VARCHAR, circuit VARCHAR)" }, { "from": "human", "value": "Who was the winner on the Symmons Plains Raceway?" }, { "from": "gpt", "value": "SELECT winner FROM table_14016079_1 WHERE circuit = \"Symmons Plains Raceway...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14016079_1 (date VARCHAR, rd VARCHAR)" }, { "from": "human", "value": "What were the dates for Round 8?" }, { "from": "gpt", "value": "SELECT date FROM table_14016079_1 WHERE rd = 8" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14016079_1 (rd VARCHAR, circuit VARCHAR)" }, { "from": "human", "value": "What was the number of rounds on the Hidden Valley Raceway?" }, { "from": "gpt", "value": "SELECT COUNT(rd) FROM table_14016079_1 WHERE circuit = \"Hidden Valley...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_14016079_1 (rd VARCHAR, circuit VARCHAR)" }, { "from": "human", "value": "What round was held at the Queensland Raceway?" }, { "from": "gpt", "value": "SELECT rd FROM table_14016079_1 WHERE circuit = \"Queensland Raceway\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1402270_1 (team_defense_rank INTEGER, nfl_team VARCHAR)" }, { "from": "human", "value": "what the highest number for the opposite of offense for the green bay packers" }, { "from": "gpt", "value": "SELECT MAX(team_defense_rank) FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1404414_2 (code VARCHAR, area__km_2__ VARCHAR)" }, { "from": "human", "value": "How many counties have an area of 1,205.4 km2?" }, { "from": "gpt", "value": "SELECT COUNT(code) FROM table_1404414_2 WHERE area__km_2__ = \"1,205.4\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1404414_2 (capital VARCHAR, population_census_2009 VARCHAR)" }, { "from": "human", "value": "What capital has a population of 596268?" }, { "from": "gpt", "value": "SELECT capital FROM table_1404414_2 WHERE population_census_2009 = 596...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1404456_1 (capital VARCHAR, area__km_2__ VARCHAR)" }, { "from": "human", "value": "what's the capital with area (km 2 ) being 12,245.9" }, { "from": "gpt", "value": "SELECT capital FROM table_1404456_1 WHERE area__km_2__ = \"12,245.9\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1404456_1 (former_province VARCHAR, area__km_2__ VARCHAR)" }, { "from": "human", "value": "what's the former province with area (km 2 ) being 12,245.9" }, { "from": "gpt", "value": "SELECT former_province FROM table_1404456_1 WHERE are...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1404456_1 (capital VARCHAR, population_census_2009 VARCHAR)" }, { "from": "human", "value": " how many capital with population census 2009 being 284657" }, { "from": "gpt", "value": "SELECT COUNT(capital) FROM table_1404456_1 WHERE pop...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1404456_1 (area__km_2__ VARCHAR, population_census_2009 VARCHAR)" }, { "from": "human", "value": "what's the area (km 2 ) with population census 2009 being 939370" }, { "from": "gpt", "value": "SELECT area__km_2__ FROM table_1404456_1 ...
know_sql
chosen