training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_87 (td_int VARCHAR, effic INTEGER)
###human: Which TD-INT has an Effic larger than 111.4?
###assistant: SELECT td_int FROM table_name_87 WHERE effic > 111.4 |
###context:CREATE TABLE table_name_94 (losses VARCHAR, wins VARCHAR, draws VARCHAR)
###human: What is the total number of losses with less than 6 wins and less than 0 draws?
###assistant: SELECT COUNT(losses) FROM table_name_94 WHERE wins < 6 AND draws < 0 |
###context:CREATE TABLE table_name_74 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR)
###human: What is the average number of against with less than 10 losses, more than 0 draws, and more than 7 wins?
###assistant: SELECT AVG(against) FROM table_name_74 WHERE losses < 10 AND draws > 0 AND wins > 7 |
###context:CREATE TABLE table_name_31 (byes VARCHAR, losses VARCHAR, against VARCHAR)
###human: What is the total number of byes with more than 0 losses and 1526 against?
###assistant: SELECT COUNT(byes) FROM table_name_31 WHERE losses > 0 AND against = 1526 |
###context:CREATE TABLE table_name_81 (draws INTEGER, byes INTEGER)
###human: What is the lowest number of draws with more than 2 byes?
###assistant: SELECT MIN(draws) FROM table_name_81 WHERE byes > 2 |
###context:CREATE TABLE table_name_33 (against INTEGER, wins VARCHAR, wimmera_fl VARCHAR)
###human: What is the lowest against of the wimmera fl warrack eagles, which have less than 16 wins?
###assistant: SELECT MIN(against) FROM table_name_33 WHERE wins < 16 AND wimmera_fl = "warrack eagles" |
###context:CREATE TABLE table_name_94 (races_ridden VARCHAR, nationality VARCHAR, races_won VARCHAR)
###human: How many races did the German racer that won less than 10 races ride?
###assistant: SELECT COUNT(races_ridden) FROM table_name_94 WHERE nationality = "german" AND races_won < 10 |
###context:CREATE TABLE table_name_50 (win_average INTEGER, races_ridden VARCHAR, nationality VARCHAR, name VARCHAR)
###human: What is the average win as a percentage of German racer Rudi Altig, who has ridden in over 79 races?
###assistant: SELECT AVG(win_average) FROM table_name_50 WHERE nationality = "german" AND name = "rudi altig" AND races_ridden > 79 |
###context:CREATE TABLE table_name_40 (top_5 INTEGER, cuts_made INTEGER)
###human: what is the highest top-5 when cuts made is more than 39?
###assistant: SELECT MAX(top_5) FROM table_name_40 WHERE cuts_made > 39 |
###context:CREATE TABLE table_name_64 (events INTEGER, wins VARCHAR, cuts_made VARCHAR)
###human: what is the highest events when wins is more than 0 and cuts made is more than 14?
###assistant: SELECT MAX(events) FROM table_name_64 WHERE wins > 0 AND cuts_made > 14 |
###context:CREATE TABLE table_name_97 (top_5 INTEGER, wins INTEGER)
###human: what is the highest top-5 when wins is more than 1?
###assistant: SELECT MAX(top_5) FROM table_name_97 WHERE wins > 1 |
###context:CREATE TABLE table_name_6 (top_5 VARCHAR, tournament VARCHAR, top_10 VARCHAR)
###human: How many times is the tournament the masters tournament and the top-10 is less than 2?
###assistant: SELECT COUNT(top_5) FROM table_name_6 WHERE tournament = "masters tournament" AND top_10 < 2 |
###context:CREATE TABLE table_name_40 (rank VARCHAR, rider VARCHAR)
###human: What ran has noel patterson as the rider?
###assistant: SELECT rank FROM table_name_40 WHERE rider = "noel patterson" |
###context:CREATE TABLE table_name_15 (time VARCHAR, rider VARCHAR)
###human: What time has jules croft as the rider?
###assistant: SELECT time FROM table_name_15 WHERE rider = "jules croft" |
###context:CREATE TABLE table_name_79 (team VARCHAR, rider VARCHAR)
###human: What team has adam barclay as the rider?
###assistant: SELECT team FROM table_name_79 WHERE rider = "adam barclay" |
###context:CREATE TABLE table_name_26 (round VARCHAR, h___a VARCHAR)
###human: What Round has h/a hurst
###assistant: SELECT round FROM table_name_26 WHERE h___a = "hurst" |
###context:CREATE TABLE table_name_63 (result_f___a VARCHAR, round VARCHAR)
###human: what game ended f-a with a round of round 1 replay
###assistant: SELECT result_f___a FROM table_name_63 WHERE round = "round 1 replay" |
###context:CREATE TABLE table_name_34 (h___a VARCHAR, round VARCHAR)
###human: what is the h/a round of round 2
###assistant: SELECT h___a FROM table_name_34 WHERE round = "round 2" |
###context:CREATE TABLE table_name_21 (role_episode VARCHAR, year VARCHAR, recipients_and_nominees VARCHAR)
###human: What was the Role/Episode after 2006 with Ellen Burstyn as a recipient and nominee?
###assistant: SELECT role_episode FROM table_name_21 WHERE year > 2006 AND recipients_and_nominees = "ellen burstyn" |
###context:CREATE TABLE table_name_71 (category VARCHAR, recipients_and_nominees VARCHAR)
###human: For which Category was Outstanding Main Title Design a Recipient and nominee?
###assistant: SELECT category FROM table_name_71 WHERE recipients_and_nominees = "outstanding main title design" |
###context:CREATE TABLE table_name_60 (category VARCHAR, year VARCHAR, role_episode VARCHAR)
###human: Which Category was from before 2009 with a Role/Episode of Libby Goldstein and Junie Lowry-Johnson?
###assistant: SELECT category FROM table_name_60 WHERE year < 2009 AND role_episode = "libby goldstein and junie lowry-johnson" |
###context:CREATE TABLE table_name_50 (category VARCHAR, recipients_and_nominees VARCHAR)
###human: Which Category were Libby Goldstein and Junie Lowry-Johnson recipients and nominees for?
###assistant: SELECT category FROM table_name_50 WHERE recipients_and_nominees = "libby goldstein and junie lowry-johnson" |
###context:CREATE TABLE table_name_68 (runners INTEGER, jockey VARCHAR, placing VARCHAR)
###human: what is the highest runners when the jockey is frankie dettori and the placing is higher than 1?
###assistant: SELECT MAX(runners) FROM table_name_68 WHERE jockey = "frankie dettori" AND placing > 1 |
###context:CREATE TABLE table_name_48 (race VARCHAR, course VARCHAR, jockey VARCHAR, margin VARCHAR)
###human: what is the race when the jockey is frankie dettori, the margin is more than 3 and the course is yarmouth?
###assistant: SELECT race FROM table_name_48 WHERE jockey = "frankie dettori" AND margin > 3 AND course = "yarmouth" |
###context:CREATE TABLE table_name_52 (partnering VARCHAR, score VARCHAR)
###human: Who is the Partner in the match with a Score of 6-4, 2-6, 7-6?
###assistant: SELECT partnering FROM table_name_52 WHERE score = "6-4, 2-6, 7-6" |
###context:CREATE TABLE table_name_87 (competition VARCHAR, result VARCHAR, date VARCHAR)
###human: what is the competition when the result is won and the date is september 13, 1996?
###assistant: SELECT competition FROM table_name_87 WHERE result = "won" AND date = "september 13, 1996" |
###context:CREATE TABLE table_name_60 (date VARCHAR, competition VARCHAR, result VARCHAR)
###human: what is the date when the competition is 1996 tiger cup and the result is drew?
###assistant: SELECT date FROM table_name_60 WHERE competition = "1996 tiger cup" AND result = "drew" |
###context:CREATE TABLE table_name_1 (score VARCHAR, competition VARCHAR)
###human: what is the score when the competition is 1995 southeast asian games?
###assistant: SELECT score FROM table_name_1 WHERE competition = "1995 southeast asian games" |
###context:CREATE TABLE table_name_37 (result VARCHAR, venue VARCHAR, date VARCHAR)
###human: what is the result when the venue is singapore on september 8, 1996?
###assistant: SELECT result FROM table_name_37 WHERE venue = "singapore" AND date = "september 8, 1996" |
###context:CREATE TABLE table_name_11 (competition VARCHAR, result VARCHAR, score VARCHAR)
###human: what is the competition when the result is won and the score is 8-0?
###assistant: SELECT competition FROM table_name_11 WHERE result = "won" AND score = "8-0" |
###context:CREATE TABLE table_name_87 (laps VARCHAR, grid VARCHAR, points VARCHAR, team VARCHAR)
###human: Waht laps have points smaller than 1, and a team of dale coyne racing, and the grid larger than 13?
###assistant: SELECT laps FROM table_name_87 WHERE points < 1 AND team = "dale coyne racing" AND grid > 13 |
###context:CREATE TABLE table_name_12 (laps VARCHAR, points VARCHAR, team VARCHAR, grid VARCHAR)
###human: What is the total number of laps for a team of team player's, and has a grid of 9, and points larger than 10?
###assistant: SELECT COUNT(laps) FROM table_name_12 WHERE team = "team player's" AND grid = 9 AND points > 10 |
###context:CREATE TABLE table_name_70 (points INTEGER, time_retired VARCHAR, laps VARCHAR)
###human: What is the lowest points for a time/retired of +30.7 secs, and laps smaller than 165?
###assistant: SELECT MIN(points) FROM table_name_70 WHERE time_retired = "+30.7 secs" AND laps < 165 |
###context:CREATE TABLE table_name_88 (team__number2 VARCHAR, team__number1 VARCHAR)
###human: Who was the team 2 in the game with a team 1 of Liege Basket?
###assistant: SELECT team__number2 FROM table_name_88 WHERE team__number1 = "liege basket" |
###context:CREATE TABLE table_name_77 (team__number2 VARCHAR)
###human: What was the 2nd leg score in the matchup with a team 2 of KK Borac?
###assistant: SELECT 2 AS nd_leg FROM table_name_77 WHERE team__number2 = "kk borac" |
###context:CREATE TABLE table_name_28 (serial_numbers VARCHAR, class VARCHAR)
###human: What are the serial numbers for the locomotives of Class 4-8-4 β oooooooo β northern?
###assistant: SELECT serial_numbers FROM table_name_28 WHERE class = "4-8-4 β oooooooo β northern" |
###context:CREATE TABLE table_name_27 (fleet_number_s_ VARCHAR, serial_numbers VARCHAR)
###human: What is the fleet number for the model with Serial number 68056?
###assistant: SELECT fleet_number_s_ FROM table_name_27 WHERE serial_numbers = "68056" |
###context:CREATE TABLE table_name_82 (serial_numbers VARCHAR, year_made VARCHAR)
###human: What is the serial number of the model made in 1930?
###assistant: SELECT serial_numbers FROM table_name_82 WHERE year_made = "1930" |
###context:CREATE TABLE table_name_75 (wheel_arrangement VARCHAR, year_s__retired VARCHAR)
###human: What is the wheel arrangement for the model that was retired in 1955?
###assistant: SELECT wheel_arrangement FROM table_name_75 WHERE year_s__retired = "1955" |
###context:CREATE TABLE table_name_99 (matches INTEGER, clubs VARCHAR)
###human: What is the lowest number of matches that has a Clubs of 46 β 32?
###assistant: SELECT MIN(matches) FROM table_name_99 WHERE clubs = "46 β 32" |
###context:CREATE TABLE table_name_22 (matches INTEGER, round VARCHAR)
###human: What is the highest number of matches that has a round of Third Round?
###assistant: SELECT MAX(matches) FROM table_name_22 WHERE round = "third round" |
###context:CREATE TABLE table_name_58 (prize_money VARCHAR, round VARCHAR)
###human: What is the prize money for the final round?
###assistant: SELECT prize_money FROM table_name_58 WHERE round = "final" |
###context:CREATE TABLE table_name_71 (date VARCHAR, new_entries_this_round VARCHAR)
###human: What is the date for the row with a new entries this round of 44?
###assistant: SELECT date FROM table_name_71 WHERE new_entries_this_round = "44" |
###context:CREATE TABLE table_name_97 (against INTEGER, wins VARCHAR, losses VARCHAR)
###human: Which Against has Wins of 11, and Losses smaller than 7?
###assistant: SELECT AVG(against) FROM table_name_97 WHERE wins = 11 AND losses < 7 |
###context:CREATE TABLE table_name_18 (draws VARCHAR, losses VARCHAR, hampden_fl VARCHAR)
###human: Which Draws have Losses larger than 8, and a Hampden FL of terang-mortlake?
###assistant: SELECT draws FROM table_name_18 WHERE losses > 8 AND hampden_fl = "terang-mortlake" |
###context:CREATE TABLE table_name_38 (byes INTEGER, losses INTEGER)
###human: Which Byes have Losses smaller than 4?
###assistant: SELECT AVG(byes) FROM table_name_38 WHERE losses < 4 |
###context:CREATE TABLE table_name_39 (draws VARCHAR, byes VARCHAR, losses VARCHAR, wins VARCHAR)
###human: What's the total draws when the losses are less than 10, less than 2 byes, and 13 wins?
###assistant: SELECT COUNT(draws) FROM table_name_39 WHERE losses < 10 AND wins = 13 AND byes < 2 |
###context:CREATE TABLE table_name_97 (draws INTEGER, wimmera_fl VARCHAR, byes VARCHAR)
###human: What's the total draws for Ararat when the byes are less than 2?
###assistant: SELECT SUM(draws) FROM table_name_97 WHERE wimmera_fl = "ararat" AND byes < 2 |
###context:CREATE TABLE table_name_91 (losses INTEGER, wins VARCHAR, byes VARCHAR)
###human: What's the total losses when there are 8 wins and less than 2 byes?
###assistant: SELECT SUM(losses) FROM table_name_91 WHERE wins = 8 AND byes < 2 |
###context:CREATE TABLE table_name_24 (losses INTEGER, wins VARCHAR, against VARCHAR, wimmera_fl VARCHAR)
###human: What's the least losses for Horsham Saints with more than 13 wins and less than 1211 against?
###assistant: SELECT MIN(losses) FROM table_name_24 WHERE against < 1211 AND wimmera_fl = "horsham saints" AND wins > 13 |
###context:CREATE TABLE table_name_30 (draws INTEGER, losses INTEGER)
###human: What are the draws when the losses are less than 1?
###assistant: SELECT SUM(draws) FROM table_name_30 WHERE losses < 1 |
###context:CREATE TABLE table_name_82 (wins INTEGER, against VARCHAR, draws VARCHAR)
###human: What are the amount of wins when the draws are less than 0 and the against is 1348?
###assistant: SELECT MIN(wins) FROM table_name_82 WHERE against = 1348 AND draws < 0 |
###context:CREATE TABLE table_name_1 (city_area_km_2__ VARCHAR, headquartered_city VARCHAR, serial_no VARCHAR)
###human: What was the total city area for vehari city with a serial number bigger than 36?
###assistant: SELECT COUNT(city_area_km_2__) FROM table_name_1 WHERE headquartered_city = "vehari city" AND serial_no > 36 |
###context:CREATE TABLE table_name_15 (city_population__2009_ INTEGER, serial_no VARCHAR, city_area_km_2__ VARCHAR, district VARCHAR)
###human: What was the lowest city population for the district of rajanpur district with a area of 6 km squared and a serial number less than 29?
###assistant: SELECT MIN(city_population__2009_) FROM table_name_15 WHERE city_area_km_2__ = 6 AND district = "rajanpur district" AND serial_no < 29 |
###context:CREATE TABLE table_name_22 (serial_no INTEGER, headquartered_city VARCHAR)
###human: What is the sum of the serial numbers for narowal city?
###assistant: SELECT SUM(serial_no) FROM table_name_22 WHERE headquartered_city = "narowal city" |
###context:CREATE TABLE table_name_32 (city_area_km_2__ INTEGER, district VARCHAR, city_population__2009_ VARCHAR)
###human: What is the sum of the area for the bahawalnagar district with a population more than 134,936?
###assistant: SELECT SUM(city_area_km_2__) FROM table_name_32 WHERE district = "bahawalnagar district" AND city_population__2009_ > 134 OFFSET 936 |
###context:CREATE TABLE table_name_9 (district VARCHAR, city_area_km_2__ VARCHAR, serial_no VARCHAR)
###human: What district was the city with an area smaller than 12 square kilometers and a serial number of 35?
###assistant: SELECT district FROM table_name_9 WHERE city_area_km_2__ < 12 AND serial_no = 35 |
###context:CREATE TABLE table_name_20 (round INTEGER, school VARCHAR, pick VARCHAR)
###human: After pick number 158, what is the next round a USC player was picked?
###assistant: SELECT MIN(round) FROM table_name_20 WHERE school = "usc" AND pick > 158 |
###context:CREATE TABLE table_name_88 (position VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR)
###human: Jim Obradovich, picked after round 2, but before pick 183, plays what position?
###assistant: SELECT position FROM table_name_88 WHERE round > 2 AND pick < 183 AND player = "jim obradovich" |
###context:CREATE TABLE table_name_95 (time VARCHAR, notes VARCHAR, country VARCHAR)
###human: What time has q as the notes, and Australia as the country?
###assistant: SELECT time FROM table_name_95 WHERE notes = "q" AND country = "australia" |
###context:CREATE TABLE table_name_64 (notes VARCHAR, rank VARCHAR, country VARCHAR)
###human: What notes have a rank greater than 2, with mexico as the country?
###assistant: SELECT notes FROM table_name_64 WHERE rank > 2 AND country = "mexico" |
###context:CREATE TABLE table_name_22 (bronze INTEGER, silver VARCHAR, total VARCHAR)
###human: What is the sum of bronzes for teams with more than 0 silver and a total under 1?
###assistant: SELECT SUM(bronze) FROM table_name_22 WHERE silver > 0 AND total < 1 |
###context:CREATE TABLE table_name_55 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)
###human: What is the average number of golds for teams with 1 bronze, less than 3 silver, and a total over 2?
###assistant: SELECT AVG(gold) FROM table_name_55 WHERE bronze = 1 AND total > 2 AND silver < 3 |
###context:CREATE TABLE table_name_94 (yacht VARCHAR, loa__metres_ VARCHAR)
###human: What type of yacht has a LOA of 15.15 metres?
###assistant: SELECT yacht AS Type FROM table_name_94 WHERE loa__metres_ = 15.15 |
###context:CREATE TABLE table_name_81 (soap_opera VARCHAR, character VARCHAR)
###human: What Soap Opera with the character Teemu Luotola?
###assistant: SELECT soap_opera FROM table_name_81 WHERE character = "teemu luotola" |
###context:CREATE TABLE table_name_67 (beer VARCHAR, recorded VARCHAR)
###human: What beer has a record of 4.08?
###assistant: SELECT beer FROM table_name_67 WHERE recorded = 4.08 |
###context:CREATE TABLE table_name_64 (round VARCHAR, opposing_team VARCHAR)
###human: Which round has an Opposing Team of manchester united?
###assistant: SELECT round FROM table_name_64 WHERE opposing_team = "manchester united" |
###context:CREATE TABLE table_name_28 (date VARCHAR, against INTEGER)
###human: Which Date has an Against larger than 0?
###assistant: SELECT date FROM table_name_28 WHERE against > 0 |
###context:CREATE TABLE table_name_69 (against INTEGER, round VARCHAR)
###human: Which Against has a Round of fourth round?
###assistant: SELECT MIN(against) FROM table_name_69 WHERE round = "fourth round" |
###context:CREATE TABLE table_name_1 (venue VARCHAR, date VARCHAR)
###human: What was the venue on 17/02/2008?
###assistant: SELECT venue FROM table_name_1 WHERE date = "17/02/2008" |
###context:CREATE TABLE table_name_87 (quantity INTEGER, year_s__of_manufacture VARCHAR, seats VARCHAR)
###human: What is the average quantity for coaches manufactured in 1921/23, and had 40 seats?
###assistant: SELECT AVG(quantity) FROM table_name_87 WHERE year_s__of_manufacture = "1921/23" AND seats = "40" |
###context:CREATE TABLE table_name_21 (class_to_1928 VARCHAR, year_s__of_manufacture VARCHAR, class_from_1928 VARCHAR)
###human: Which class to 1928 value had years of manufacture of 1921/23 and class from 1928 of BCi-21?
###assistant: SELECT class_to_1928 FROM table_name_21 WHERE year_s__of_manufacture = "1921/23" AND class_from_1928 = "bci-21" |
###context:CREATE TABLE table_name_79 (quantity INTEGER, class_to_1928 VARCHAR)
###human: What is the smallest quantity having a Class to 1928 of BDi-21?
###assistant: SELECT MIN(quantity) FROM table_name_79 WHERE class_to_1928 = "bdi-21" |
###context:CREATE TABLE table_name_88 (class_from_1928 VARCHAR, class_to_1928 VARCHAR)
###human: Which class from 1928 had a class to 1928 of BDi-21?
###assistant: SELECT class_from_1928 FROM table_name_88 WHERE class_to_1928 = "bdi-21" |
###context:CREATE TABLE table_name_99 (remarks VARCHAR, class_from_1928 VARCHAR)
###human: What were the remarks for the coach having a class from 1928 of Cid-21B?
###assistant: SELECT remarks FROM table_name_99 WHERE class_from_1928 = "cid-21b" |
###context:CREATE TABLE table_name_2 (b_score INTEGER, total VARCHAR, a_score VARCHAR)
###human: Which B Score has a Total larger than 15.325, and an A Score smaller than 6.4?
###assistant: SELECT SUM(b_score) FROM table_name_2 WHERE total > 15.325 AND a_score < 6.4 |
###context:CREATE TABLE table_name_79 (total INTEGER, a_score VARCHAR, position VARCHAR)
###human: Which Total has an A Score of 6.5, and a Position larger than 5?
###assistant: SELECT MIN(total) FROM table_name_79 WHERE a_score = 6.5 AND position > 5 |
###context:CREATE TABLE table_name_20 (date VARCHAR, week VARCHAR)
###human: What is the date of week 11?
###assistant: SELECT date FROM table_name_20 WHERE week = 11 |
###context:CREATE TABLE table_name_27 (week INTEGER, opponent VARCHAR)
###human: What is the latest week when the chicago bears are the opponent?
###assistant: SELECT MAX(week) FROM table_name_27 WHERE opponent = "chicago bears" |
###context:CREATE TABLE table_name_41 (song VARCHAR, place INTEGER)
###human: What song placed higher than#4?
###assistant: SELECT song FROM table_name_41 WHERE place > 4 |
###context:CREATE TABLE table_name_33 (artist VARCHAR, draw INTEGER)
###human: Who is the artist that drew higher than 4?
###assistant: SELECT artist FROM table_name_33 WHERE draw > 4 |
###context:CREATE TABLE table_name_47 (starts VARCHAR, driver VARCHAR, points VARCHAR)
###human: What's the total starts with more points than 1 and the driver is Nasser Al-Attiyah?
###assistant: SELECT COUNT(starts) FROM table_name_47 WHERE driver = "nasser al-attiyah" AND points > 1 |
###context:CREATE TABLE table_name_82 (podiums INTEGER, finishes VARCHAR, starts VARCHAR)
###human: What's the smallest number of podiums having more than 6 starts and 5 finishes?
###assistant: SELECT MIN(podiums) FROM table_name_82 WHERE finishes = 5 AND starts > 6 |
###context:CREATE TABLE table_name_41 (stage_wins VARCHAR, starts VARCHAR, driver VARCHAR, finishes VARCHAR, podiums VARCHAR)
###human: What's the number of stage wins for Federico Villagra having more than 1 finish, less than 8 starts and less than 1 podium?
###assistant: SELECT COUNT(stage_wins) FROM table_name_41 WHERE finishes > 1 AND podiums < 1 AND driver = "federico villagra" AND starts < 8 |
###context:CREATE TABLE table_name_57 (finishes INTEGER, driver VARCHAR, podiums VARCHAR, stage_wins VARCHAR)
###human: What's the finishes for Lambros Athanassoulas having 0 podiums and 0 stage wins?
###assistant: SELECT SUM(finishes) FROM table_name_57 WHERE podiums = 0 AND stage_wins = 0 AND driver = "lambros athanassoulas" |
###context:CREATE TABLE table_name_80 (number_of_electorates__2003_ INTEGER, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
###human: What is the average number of electorates (2003) reserved for sc with a constituency number of 50?
###assistant: SELECT AVG(number_of_electorates__2003_) FROM table_name_80 WHERE reserved_for___sc___st__none_ = "sc" AND constituency_number = "50" |
###context:CREATE TABLE table_name_52 (finals INTEGER, pre_season INTEGER)
###human: Which Finals have a Pre-Season larger than 0?
###assistant: SELECT MIN(finals) FROM table_name_52 WHERE pre_season > 0 |
###context:CREATE TABLE table_name_85 (a_league VARCHAR, pre_season INTEGER)
###human: How much A-League has a Pre-Season larger than 0?
###assistant: SELECT COUNT(a_league) FROM table_name_85 WHERE pre_season > 0 |
###context:CREATE TABLE table_name_49 (last_issue VARCHAR, title VARCHAR)
###human: What is the last issue entry for Aron's Absurd Armada?
###assistant: SELECT last_issue FROM table_name_49 WHERE title = "aron's absurd armada" |
###context:CREATE TABLE table_name_39 (title VARCHAR, first_issue VARCHAR)
###human: What is the title that was first published in August 2010?
###assistant: SELECT title FROM table_name_39 WHERE first_issue = "august 2010" |
###context:CREATE TABLE table_name_44 (title VARCHAR, last_issue VARCHAR, first_issue VARCHAR)
###human: What is the title that was first published in February 2009 and is still ongoing?
###assistant: SELECT title FROM table_name_44 WHERE last_issue = "ongoing" AND first_issue = "february 2009" |
###context:CREATE TABLE table_name_55 (last_issue VARCHAR, title VARCHAR)
###human: What is the last issue entry of Time and Again?
###assistant: SELECT last_issue FROM table_name_55 WHERE title = "time and again" |
###context:CREATE TABLE table_name_44 (rank VARCHAR, react VARCHAR, nationality VARCHAR)
###human: What the rank of the Virgin Islands athlete with react under 0.168?
###assistant: SELECT rank FROM table_name_44 WHERE react < 0.168 AND nationality = "virgin islands" |
###context:CREATE TABLE table_name_44 (rank INTEGER, athlete VARCHAR, react VARCHAR)
###human: What is the lowest rank for Chris Brown with react greater than 0.244?
###assistant: SELECT MIN(rank) FROM table_name_44 WHERE athlete = "chris brown" AND react > 0.244 |
###context:CREATE TABLE table_name_38 (rank INTEGER, nationality VARCHAR, react VARCHAR)
###human: What is the highest rank of an athlete from Belgium with react greater than 0.162?
###assistant: SELECT MAX(rank) FROM table_name_38 WHERE nationality = "belgium" AND react > 0.162 |
###context:CREATE TABLE table_name_35 (Id VARCHAR)
###human: What's the 2008 that has 3.4 in 2009 and more than 2.9 in 2005?
###assistant: SELECT MAX(2008) FROM table_name_35 WHERE 2009 = 3.4 AND 2005 > 2.9 |
###context:CREATE TABLE table_name_46 (Id VARCHAR)
###human: What's the 2006 if there's less than 6.7 in 2007 and less than 3.4 in 2009?
###assistant: SELECT SUM(2006) FROM table_name_46 WHERE 2007 < 6.7 AND 2009 < 3.4 |
###context:CREATE TABLE table_name_1 (Id VARCHAR)
###human: What's the total in 2005 if there's more than 10.2 in 2006, less than 29.5 in 2007, more than 4.9 in 2009 and less than 43.8 in 2010?
###assistant: SELECT COUNT(2005) FROM table_name_1 WHERE 2010 < 43.8 AND 2007 < 29.5 AND 2009 > 4.9 AND 2006 > 10.2 |
###context:CREATE TABLE table_name_45 (Id VARCHAR)
###human: What is the 2009 when there's 11.8 in 2005 and less than 12.6 in 2006?
###assistant: SELECT MIN(2009) FROM table_name_45 WHERE 2005 = 11.8 AND 2006 < 12.6 |
###context:CREATE TABLE table_name_36 (tv_station__operator_ VARCHAR)
###human: What's the 2005 of TV3 when there is less than 42 in 2007 and less than 29.5 in 2010?
###assistant: SELECT MAX(2005) FROM table_name_36 WHERE 2007 < 42 AND tv_station__operator_ = "tv3" AND 2010 < 29.5 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.