question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Which country has a place smaller than 8 and points smaller than 5? | CREATE TABLE table_name_63 (country VARCHAR, place VARCHAR, points VARCHAR) | SELECT country FROM table_name_63 WHERE place < 8 AND points < 5 |
What is the census ranking for the parish with an area larger than 243.31 square km? | CREATE TABLE table_name_79 (census_ranking VARCHAR, area_km_2 INTEGER) | SELECT census_ranking FROM table_name_79 WHERE area_km_2 > 243.31 |
Which Foundation has an Enterprise of 2? | CREATE TABLE table_name_17 (foundation VARCHAR, enterprise VARCHAR) | SELECT foundation FROM table_name_17 WHERE enterprise = "2" |
How many Episodes have a Romaji Title of dragon zakura? | CREATE TABLE table_name_90 (episodes VARCHAR, romaji_title VARCHAR) | SELECT COUNT(episodes) FROM table_name_90 WHERE romaji_title = "dragon zakura" |
WHAT TRIES HAVE TRIES AGAINST AT 140? | CREATE TABLE table_name_14 (tries_for VARCHAR, tries_against VARCHAR) | SELECT tries_for FROM table_name_14 WHERE tries_against = "140" |
What's the resolution of the model with a PPD of 69? | CREATE TABLE table_27653752_1 (resolution VARCHAR, pixels_per_degree__ppd_ VARCHAR) | SELECT resolution FROM table_27653752_1 WHERE pixels_per_degree__ppd_ = 69 |
What the listed in round when the hawthorn score is 17.7.109? | CREATE TABLE table_28211103_1 (round INTEGER, hawthorn_score VARCHAR) | SELECT MAX(round) FROM table_28211103_1 WHERE hawthorn_score = "17.7.109" |
What is the Base Fare in the senior/disabled category? | CREATE TABLE table_name_18 (base_fares VARCHAR, fare_categories VARCHAR) | SELECT base_fares FROM table_name_18 WHERE fare_categories = "senior/disabled" |
Which Mac OSX had no haiku and a client that was dc++? | CREATE TABLE table_name_98 (mac_os_x VARCHAR, haiku VARCHAR, client VARCHAR) | SELECT mac_os_x FROM table_name_98 WHERE haiku = "no" AND client = "dc++" |
What is the interview number in Louisiana, and the swimsuit number is more than 9.1? | CREATE TABLE table_name_19 (interview VARCHAR, country VARCHAR, swimsuit VARCHAR) | SELECT COUNT(interview) FROM table_name_19 WHERE country = "louisiana" AND swimsuit > 9.1 |
Who was the opponent at the game attended by 70,012? | CREATE TABLE table_name_81 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_81 WHERE attendance = "70,012" |
When Nelson Philippe drove with a grid larger than 16, what was the timre/retired? | CREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_2 WHERE grid > 16 AND driver = "nelson philippe" |
How many seats were up for election during the vote where the election result was 9 and the new council 27? | CREATE TABLE table_name_10 (seats_up_for_election INTEGER, election_result VARCHAR, new_council VARCHAR) | SELECT SUM(seats_up_for_election) FROM table_name_10 WHERE election_result = 9 AND new_council > 27 |
What is the Lost when the points were dissolved? | CREATE TABLE table_name_61 (lost VARCHAR, points VARCHAR) | SELECT lost FROM table_name_61 WHERE points = "dissolved" |
Name the total number of male rank for fiji | CREATE TABLE table_2701625_1 (male_rank VARCHAR, country VARCHAR) | SELECT COUNT(male_rank) FROM table_2701625_1 WHERE country = "Fiji" |
Which runs had james bryant graeme welch as Batsmen? | CREATE TABLE table_name_28 (runs VARCHAR, batsmen VARCHAR) | SELECT runs FROM table_name_28 WHERE batsmen = "james bryant graeme welch" |
Who wrote the episode with series number 56? | CREATE TABLE table_25800134_1 (writer_s_ VARCHAR, series__number VARCHAR) | SELECT writer_s_ FROM table_25800134_1 WHERE series__number = 56 |
When within the walls is larger than 56174.0 what is the lowest amount without the walls? | CREATE TABLE table_16677738_1 (without_the_walls INTEGER, within_the_walls INTEGER) | SELECT MIN(without_the_walls) FROM table_16677738_1 WHERE within_the_walls > 56174.0 |
Where is the club "Hopkins Student Enterprises" located? | CREATE TABLE club (clublocation VARCHAR, clubname VARCHAR) | SELECT clublocation FROM club WHERE clubname = "Hopkins Student Enterprises" |
What is the Lead in the 2004-05 Season? | CREATE TABLE table_name_19 (lead VARCHAR, season VARCHAR) | SELECT lead FROM table_name_19 WHERE season = "2004-05" |
What position did pick 14 play? | CREATE TABLE table_name_72 (position VARCHAR, pick VARCHAR) | SELECT position FROM table_name_72 WHERE pick = 14 |
What team or teams with 18 in the top 10? | CREATE TABLE table_2012187_3 (team_s_ VARCHAR, top_10 VARCHAR) | SELECT team_s_ FROM table_2012187_3 WHERE top_10 = 18 |
who is the buena vista edidtion where special edition is koichi sakaguchi? | CREATE TABLE table_25173505_13 (buena_vista_edition VARCHAR, special_edition VARCHAR) | SELECT buena_vista_edition FROM table_25173505_13 WHERE special_edition = "Koichi Sakaguchi" |
Which Goals For has a Team of congleton town, and a Lost larger than 11? | CREATE TABLE table_name_27 (goals_for INTEGER, team VARCHAR, lost VARCHAR) | SELECT MAX(goals_for) FROM table_name_27 WHERE team = "congleton town" AND lost > 11 |
What was the crowd size for the game at Footscray? | CREATE TABLE table_name_2 (crowd VARCHAR, away_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_2 WHERE away_team = "footscray" |
How many appelations are in Napa Country? | CREATE TABLE APPELLATIONS (County VARCHAR) | SELECT COUNT(*) FROM APPELLATIONS WHERE County = "Napa" |
Who is the home captain that played at Edgbaston? | CREATE TABLE table_name_22 (home_captain VARCHAR, venue VARCHAR) | SELECT home_captain FROM table_name_22 WHERE venue = "edgbaston" |
What is the lowest crowd size at MCG? | CREATE TABLE table_name_91 (crowd INTEGER, venue VARCHAR) | SELECT MIN(crowd) FROM table_name_91 WHERE venue = "mcg" |
Find the names of all instructors in the Art department who have taught some course and the course_id. | CREATE TABLE instructor (ID VARCHAR, dept_name VARCHAR); CREATE TABLE teaches (ID VARCHAR) | SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID WHERE T1.dept_name = 'Art' |
List the smallest possible spoilt vote with the sør-trøndelag constituency. | CREATE TABLE table_1289762_1 (s_spoilt_vote INTEGER, constituency VARCHAR) | SELECT MIN(s_spoilt_vote) FROM table_1289762_1 WHERE constituency = "Sør-Trøndelag" |
What is the opponent on May 25, 2007? | CREATE TABLE table_name_98 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_98 WHERE date = "may 25, 2007" |
If the start (utc) is November 18, 2008 18:09, what is the name of the spacecraft? | CREATE TABLE table_22385461_9 (spacecraft VARCHAR, start___utc__ VARCHAR) | SELECT spacecraft FROM table_22385461_9 WHERE start___utc__ = "November 18, 2008 18:09" |
What is Score, when Place is "T9", and when Player is "Jeff Sluman"? | CREATE TABLE table_name_39 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_39 WHERE place = "t9" AND player = "jeff sluman" |
In what Year is the Works No. 2040-2049? | CREATE TABLE table_name_80 (year VARCHAR, works_no VARCHAR) | SELECT year FROM table_name_80 WHERE works_no = "2040-2049" |
What's the Score with a Home of Scotland and Date of 24 February? | CREATE TABLE table_name_12 (score VARCHAR, home VARCHAR, date VARCHAR) | SELECT score FROM table_name_12 WHERE home = "scotland" AND date = "24 february" |
what is the latitude for the berlin township with a geo id less than 3801706260 | CREATE TABLE table_name_62 (latitude VARCHAR, township VARCHAR, geo_id VARCHAR) | SELECT COUNT(latitude) FROM table_name_62 WHERE township = "berlin" AND geo_id < 3801706260 |
What is the score of the match with deportes savio as the away team? | CREATE TABLE table_name_57 (score VARCHAR, away VARCHAR) | SELECT score FROM table_name_57 WHERE away = "deportes savio" |
What was the title of the episode written by Bob Rosenfarb and directed by Richard Correll? | CREATE TABLE table_2468961_3 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR) | SELECT title FROM table_2468961_3 WHERE written_by = "Bob Rosenfarb" AND directed_by = "Richard Correll" |
What place did the player from England come in? | CREATE TABLE table_name_50 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_50 WHERE country = "england" |
What is the enrollment ratio in preschool in the region where the enrollment ratio in primary is 93.10? | CREATE TABLE table_25042332_22 (preschool__0_5_years_ VARCHAR, primary__6_13_years_ VARCHAR) | SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE primary__6_13_years_ = "93.10" |
What state had less than 8.874 for swimsuit, less than 9.257 for evening gown, and less than 9.121 for interview? | CREATE TABLE table_name_26 (state VARCHAR, interview VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR) | SELECT state FROM table_name_26 WHERE swimsuit < 8.874 AND evening_gown < 9.257 AND interview < 9.121 |
What was the attendance on May 26? | CREATE TABLE table_name_90 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_90 WHERE date = "may 26" |
Who is the edition/publisher for Xavier Herbert? | CREATE TABLE table_name_9 (edition_publisher VARCHAR, author VARCHAR) | SELECT edition_publisher FROM table_name_9 WHERE author = "xavier herbert" |
What is Nation, when Bronze is 1, when Gold is greater than 0, and when Rank is 2? | CREATE TABLE table_name_11 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT nation FROM table_name_11 WHERE bronze = 1 AND gold > 0 AND rank = "2" |
Which Opponent is on October of 29? | CREATE TABLE table_name_66 (opponent VARCHAR, october VARCHAR) | SELECT opponent FROM table_name_66 WHERE october = 29 |
Who is the kitmaker for TPS? | CREATE TABLE table_25129482_1 (kitmaker VARCHAR, club VARCHAR) | SELECT kitmaker FROM table_25129482_1 WHERE club = "TPS" |
What is the smallest rank number of those used to rank the islands? | CREATE TABLE table_13897690_1 (rank INTEGER) | SELECT MIN(rank) FROM table_13897690_1 |
Name the smoke point for monosaturated fat of 30g | CREATE TABLE table_name_25 (smoke_point VARCHAR, monounsaturated_fat VARCHAR) | SELECT smoke_point FROM table_name_25 WHERE monounsaturated_fat = "30g" |
What is the label on the United States? | CREATE TABLE table_name_88 (label VARCHAR, country VARCHAR) | SELECT label FROM table_name_88 WHERE country = "united states" |
Who was the opponent of the New Orleans Saints? | CREATE TABLE table_name_79 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_79 WHERE opponent = "new orleans saints" |
What was part 2 when part 4 was *haldanaz? | CREATE TABLE table_name_69 (part_2 VARCHAR, part_4 VARCHAR) | SELECT part_2 FROM table_name_69 WHERE part_4 = "*haldanaz" |
Which commander received complement larger than 240 , guns of 66 and ship of revolutie? | CREATE TABLE table_name_62 (commander VARCHAR, ship VARCHAR, complement VARCHAR, guns VARCHAR) | SELECT commander FROM table_name_62 WHERE complement > 240 AND guns = "66" AND ship = "revolutie" |
What is the surface of eckental tournament with a w/o score? | CREATE TABLE table_name_94 (surface VARCHAR, tournament VARCHAR, score VARCHAR) | SELECT surface FROM table_name_94 WHERE tournament = "eckental" AND score = "w/o" |
when 69 is the episode number what is the air date? | CREATE TABLE table_28967275_3 (original_air_date VARCHAR, episode__number VARCHAR) | SELECT original_air_date FROM table_28967275_3 WHERE episode__number = 69 |
In which tournament was the 2012 result 1r and the 2013 result 3r? | CREATE TABLE table_name_31 (tournament VARCHAR) | SELECT tournament FROM table_name_31 WHERE 2012 = "1r" AND 2013 = "3r" |
What was the total of the player from Spain? | CREATE TABLE table_name_24 (total VARCHAR, country VARCHAR) | SELECT total FROM table_name_24 WHERE country = "spain" |
In which championship did the winner have a score of −9 (66-69-73-71=279)? | CREATE TABLE table_name_83 (championship VARCHAR, winning_score VARCHAR) | SELECT championship FROM table_name_83 WHERE winning_score = −9(66 - 69 - 73 - 71 = 279) |
Name the player for 1 touchdowns | CREATE TABLE table_25730460_2 (player VARCHAR, touchdowns VARCHAR) | SELECT player FROM table_25730460_2 WHERE touchdowns = 1 |
What position does Martin Rucker play? | CREATE TABLE table_name_78 (position VARCHAR, name VARCHAR) | SELECT position FROM table_name_78 WHERE name = "martin rucker" |
What is the number of March that has 25-10-9 record and a Game more than 44? | CREATE TABLE table_name_94 (march VARCHAR, record VARCHAR, game VARCHAR) | SELECT COUNT(march) FROM table_name_94 WHERE record = "25-10-9" AND game > 44 |
what is the year where the qualifying score was 15.150? | CREATE TABLE table_13114949_3 (year VARCHAR, qualifying_score VARCHAR) | SELECT year FROM table_13114949_3 WHERE qualifying_score = "15.150" |
What club has 693 points for? | CREATE TABLE table_1676073_13 (club VARCHAR, points_for VARCHAR) | SELECT club FROM table_1676073_13 WHERE points_for = "693" |
When was Alianza's first season in first division with a promotion after 1959? | CREATE TABLE table_name_63 (first_season_in_first_division VARCHAR, first_season_after_most_recent_promotion VARCHAR, name VARCHAR) | SELECT first_season_in_first_division FROM table_name_63 WHERE first_season_after_most_recent_promotion = "1959" AND name = "alianza" |
Who is the incumbent that has been in office since before 1996 and was again re-elected? | CREATE TABLE table_name_90 (incumbent VARCHAR, results VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_name_90 WHERE results = "re-elected" AND first_elected < 1996 |
Which Round has an Event of nle - capital city carnage? | CREATE TABLE table_name_36 (round VARCHAR, event VARCHAR) | SELECT round FROM table_name_36 WHERE event = "nle - capital city carnage" |
Name the district for matthew clay | CREATE TABLE table_2668387_18 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_2668387_18 WHERE incumbent = "Matthew Clay" |
What is the name of the player with more than 0 assists, a position of forward, 19 goals, and more than 84 apps? | CREATE TABLE table_name_22 (name VARCHAR, goals VARCHAR, apps VARCHAR, assists VARCHAR, position VARCHAR) | SELECT name FROM table_name_22 WHERE assists > 0 AND position = "forward" AND apps > 84 AND goals = 19 |
What is the total number of episodes for クロサギ? | CREATE TABLE table_name_13 (episodes VARCHAR, japanese_title VARCHAR) | SELECT COUNT(episodes) FROM table_name_13 WHERE japanese_title = "クロサギ" |
How many total itv viewers were there for the episode with official itv ratings of 10.24 million? | CREATE TABLE table_27319183_7 (total_itv_viewers__millions_ VARCHAR, official_itv_rating__millions_ VARCHAR) | SELECT total_itv_viewers__millions_ FROM table_27319183_7 WHERE official_itv_rating__millions_ = "10.24" |
Name the points against for cwmllynfell rfc | CREATE TABLE table_name_27 (points_against VARCHAR, club VARCHAR) | SELECT points_against FROM table_name_27 WHERE club = "cwmllynfell rfc" |
What was the new WNBA team of the player selected with a pick over 7? | CREATE TABLE table_name_52 (new_wnba_team VARCHAR, pick INTEGER) | SELECT new_wnba_team FROM table_name_52 WHERE pick > 7 |
What is the total for the team with more than 2 golds and more than 0 bronze? | CREATE TABLE table_name_37 (total INTEGER, gold VARCHAR, bronze VARCHAR) | SELECT SUM(total) FROM table_name_37 WHERE gold > 2 AND bronze > 0 |
WHo is Winner/2nd that has c. symons? | CREATE TABLE table_name_84 (winner_2nd VARCHAR, jockey VARCHAR) | SELECT winner_2nd FROM table_name_84 WHERE jockey = "c. symons" |
What is the agg when team 1 is Milan? | CREATE TABLE table_name_70 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_70 WHERE team_1 = "milan" |
What is Set 2, when Score is 3-0, when Date is May 11, and when Set 1 is 25-20? | CREATE TABLE table_name_73 (set_2 VARCHAR, set_1 VARCHAR, score VARCHAR, date VARCHAR) | SELECT set_2 FROM table_name_73 WHERE score = "3-0" AND date = "may 11" AND set_1 = "25-20" |
What is the Score on 27 Jan 1990 with an Away Team of Queens Park Rangers? | CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_71 WHERE date = "27 jan 1990" AND away_team = "queens park rangers" |
Name the date with record of 3-1 | CREATE TABLE table_name_33 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_33 WHERE record = "3-1" |
What is the province for Jamao Afuera? | CREATE TABLE table_name_13 (province VARCHAR, _community VARCHAR, hometown VARCHAR) | SELECT province, _community FROM table_name_13 WHERE hometown = "jamao afuera" |
What is the purpose of Long Shot? | CREATE TABLE table_name_91 (purpose VARCHAR, name VARCHAR) | SELECT purpose FROM table_name_91 WHERE name = "long shot" |
Which Nationality has a Date of 8 may 1942? | CREATE TABLE table_name_39 (nationality VARCHAR, date VARCHAR) | SELECT nationality FROM table_name_39 WHERE date = "8 may 1942" |
What number is shown for january 15-16 when november 3 is 133? | CREATE TABLE table_25252080_3 (january_15_16 VARCHAR, november_3 VARCHAR) | SELECT january_15_16 FROM table_25252080_3 WHERE november_3 = "133" |
What date was the series 0-2? | CREATE TABLE table_23286112_12 (date VARCHAR, series VARCHAR) | SELECT date FROM table_23286112_12 WHERE series = "0-2" |
What is Jerry Barber's To par? | CREATE TABLE table_name_74 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_74 WHERE player = "jerry barber" |
What was the circuit in round 2? | CREATE TABLE table_24852622_1 (circuit VARCHAR, round VARCHAR) | SELECT circuit FROM table_24852622_1 WHERE round = "2" |
how many title and source with pal -295- being yes and jp -210- being yes | CREATE TABLE table_13663434_1 (title_and_source VARCHAR, pal__295_ VARCHAR, jp__210_ VARCHAR) | SELECT COUNT(title_and_source) FROM table_13663434_1 WHERE pal__295_ = "Yes" AND jp__210_ = "Yes" |
What draw has a lost less than 6 with 28 as the points? | CREATE TABLE table_name_23 (draw VARCHAR, lost VARCHAR, points VARCHAR) | SELECT draw FROM table_name_23 WHERE lost < 6 AND points = 28 |
WHAT IS THE LOCATION ATTENDANCE FOR GAME 4? | CREATE TABLE table_name_7 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_name_7 WHERE game = 4 |
What is the date of the performance by Jatin Shah and co-contestant is Shalini Chandran? | CREATE TABLE table_name_89 (date_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT date_performed FROM table_name_89 WHERE main_contestant = "jatin shah" AND co_contestant__yaar_vs_pyaar_ = "shalini chandran" |
For an aggregate of 1-3, what was the 2nd leg? | CREATE TABLE table_name_74 (agg VARCHAR) | SELECT 2 AS nd_leg FROM table_name_74 WHERE agg = "1-3" |
What is the Winnipeg Jets record? | CREATE TABLE table_name_51 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_51 WHERE opponent = "winnipeg jets" |
How many picks included Kenny Evans? | CREATE TABLE table_name_52 (pick VARCHAR, player VARCHAR) | SELECT COUNT(pick) FROM table_name_52 WHERE player = "kenny evans" |
What is the Result of the AFG Arena, St. Gallen Competition with a Score of 1–0? | CREATE TABLE table_name_92 (result VARCHAR, venue VARCHAR, score VARCHAR) | SELECT result FROM table_name_92 WHERE venue = "afg arena, st. gallen" AND score = "1–0" |
What event has european championships as the tournament, with 2006 as the year? | CREATE TABLE table_name_61 (event VARCHAR, tournament VARCHAR, year VARCHAR) | SELECT event FROM table_name_61 WHERE tournament = "european championships" AND year = 2006 |
What was the Tyre for 19 January? | CREATE TABLE table_name_95 (tyre VARCHAR, date VARCHAR) | SELECT tyre FROM table_name_95 WHERE date = "19 january" |
Name the population for kolut | CREATE TABLE table_2562572_22 (population__2011_ VARCHAR, settlement VARCHAR) | SELECT COUNT(population__2011_) FROM table_2562572_22 WHERE settlement = "Kolut" |
What is the socket of the model atom e680t? | CREATE TABLE table_name_55 (socket VARCHAR, model_number VARCHAR) | SELECT socket FROM table_name_55 WHERE model_number = "atom e680t" |
Name the authority for roll of 54 | CREATE TABLE table_name_22 (authority VARCHAR, roll VARCHAR) | SELECT authority FROM table_name_22 WHERE roll = 54 |
What is the most common major among female (sex is F) students? | CREATE TABLE STUDENT (Major VARCHAR, major VARCHAR, Sex VARCHAR) | SELECT Major FROM STUDENT WHERE Sex = "F" GROUP BY major ORDER BY COUNT(*) DESC LIMIT 1 |
What club team is Per Gustafsson play for? | CREATE TABLE table_1013129_11 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_1013129_11 WHERE player = "Per Gustafsson" |
What is the train name that has a destination of Tuticorin? | CREATE TABLE table_21716139_1 (train_name VARCHAR, destination VARCHAR) | SELECT train_name FROM table_21716139_1 WHERE destination = "Tuticorin" |
Subsets and Splits