question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What is the score of the game where Wrexham is the home team and the date is Blackpool? | CREATE TABLE table_name_1 (score VARCHAR, home_team VARCHAR, date VARCHAR) | SELECT score FROM table_name_1 WHERE home_team = "wrexham" AND date = "blackpool" |
Which dates of polls occur in the Mizoram state? | CREATE TABLE table_15329030_1 (date_of_polls VARCHAR, state VARCHAR) | SELECT date_of_polls FROM table_15329030_1 WHERE state = "Mizoram" |
Which Top-25 has a Top-5 larger than 9, and Wins smaller than 11? | CREATE TABLE table_name_71 (top_25 INTEGER, top_5 VARCHAR, wins VARCHAR) | SELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 9 AND wins < 11 |
Which category earlier than 2006 has Bart Brentjens as rider 2? | CREATE TABLE table_name_33 (category VARCHAR, date VARCHAR, rider_2 VARCHAR) | SELECT category FROM table_name_33 WHERE date < 2006 AND rider_2 = "bart brentjens" |
Where was the fight located that lasted a time of 2:33? | CREATE TABLE table_name_7 (location VARCHAR, time VARCHAR) | SELECT location FROM table_name_7 WHERE time = "2:33" |
What is the average quantities ordered with payment method code "MasterCard" on invoices? | CREATE TABLE Invoices (Order_Quantity INTEGER, payment_method_code VARCHAR) | SELECT AVG(Order_Quantity) FROM Invoices WHERE payment_method_code = "MasterCard" |
What is the highest Extras with an E.R. of 4.59, and more than 101 Runs Conceded? | CREATE TABLE table_name_9 (extras INTEGER, er VARCHAR, runs_conceded VARCHAR) | SELECT MAX(extras) FROM table_name_9 WHERE er = 4.59 AND runs_conceded > 101 |
What was the No. 10 team that has No. 8 of Diana? | CREATE TABLE table_name_10 (no10 VARCHAR, no8 VARCHAR) | SELECT no10 FROM table_name_10 WHERE no8 = "diana" |
What is the average incorporataed year of the Air India Charters company? | CREATE TABLE table_name_25 (incorporated INTEGER, company VARCHAR) | SELECT AVG(incorporated) FROM table_name_25 WHERE company = "air india charters" |
What is the shirt no with a position of setter, a nationality of Italy, and height larger than 172? | CREATE TABLE table_name_11 (shirt_no INTEGER, height VARCHAR, position VARCHAR, nationality VARCHAR) | SELECT SUM(shirt_no) FROM table_name_11 WHERE position = "setter" AND nationality = "italy" AND height > 172 |
What is the point low with 2 grids? | CREATE TABLE table_name_88 (points INTEGER, grid VARCHAR) | SELECT MIN(points) FROM table_name_88 WHERE grid = "2" |
What unit of length is being used for the route with "replaced by us 81" in their remarks section? | CREATE TABLE table_11336756_6 (length VARCHAR, remarks VARCHAR) | SELECT length FROM table_11336756_6 WHERE remarks = "Replaced by US 81" |
What are the assets for company who's headquarters are located in Brazil? | CREATE TABLE table_1682026_2 (assets__billion_$_ VARCHAR, headquarters VARCHAR) | SELECT assets__billion_$_ FROM table_1682026_2 WHERE headquarters = "Brazil" |
What is the segment B of episode 242? | CREATE TABLE table_15187735_19 (segment_b VARCHAR, episode VARCHAR) | SELECT segment_b FROM table_15187735_19 WHERE episode = 242 |
What is the draw for the artist Ketil Stokkan which has less than 44 points? | CREATE TABLE table_name_89 (draw INTEGER, artist VARCHAR, points VARCHAR) | SELECT MIN(draw) FROM table_name_89 WHERE artist = "ketil stokkan" AND points < 44 |
What is the date when the city is San Antonio, Texas? | CREATE TABLE table_20996923_20 (date VARCHAR, city VARCHAR) | SELECT date FROM table_20996923_20 WHERE city = "San Antonio, Texas" |
What is the average number of games associated with 6 points and under 2 losses? | CREATE TABLE table_name_80 (games INTEGER, points VARCHAR, lost VARCHAR) | SELECT AVG(games) FROM table_name_80 WHERE points = 6 AND lost < 2 |
Who were the winner and nominees in 2001? | CREATE TABLE table_name_27 (winner_nominee_s_ VARCHAR, year VARCHAR) | SELECT winner_nominee_s_ FROM table_name_27 WHERE year = 2001 |
What bit depth has 4:1:1 as the color sampling? | CREATE TABLE table_name_38 (bit_depth INTEGER, color_sampling VARCHAR) | SELECT SUM(bit_depth) FROM table_name_38 WHERE color_sampling = "4:1:1" |
Tell me the total number of pick for university of virginia | CREATE TABLE table_name_78 (pick__number VARCHAR, affiliation VARCHAR) | SELECT COUNT(pick__number) FROM table_name_78 WHERE affiliation = "university of virginia" |
What is the number of goals Dave Taylor, who has more than 1 tries, has? | CREATE TABLE table_name_65 (goals INTEGER, player VARCHAR, tries VARCHAR) | SELECT SUM(goals) FROM table_name_65 WHERE player = "dave taylor" AND tries > 1 |
What player had numbers of 20 | CREATE TABLE table_name_67 (player VARCHAR, no_s_ VARCHAR) | SELECT player FROM table_name_67 WHERE no_s_ = "20" |
What is Gene Sauers' to par? | CREATE TABLE table_name_28 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_28 WHERE player = "gene sauers" |
What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees? | CREATE TABLE table_16439764_1 (m_v_ft_s VARCHAR, time_to_ft__m__at_25°__seconds_ VARCHAR) | SELECT m_v_ft_s FROM table_16439764_1 WHERE time_to_ft__m__at_25°__seconds_ = "9.2" |
What is the total number of Total(s), when Finish is "T21", and when To Par is greater than 23? | CREATE TABLE table_name_11 (total VARCHAR, finish VARCHAR, to_par VARCHAR) | SELECT COUNT(total) FROM table_name_11 WHERE finish = "t21" AND to_par > 23 |
Who was the Away Captain when the Home Captain was Joe Darling at Melbourne Cricket Ground? | CREATE TABLE table_name_21 (away_captain VARCHAR, venue VARCHAR, home_captain VARCHAR) | SELECT away_captain FROM table_name_21 WHERE venue = "melbourne cricket ground" AND home_captain = "joe darling" |
What championship tournament did Ronald Vink play in with maikel scheffers as his partner in 2007 against stephane houdet nicolas peiffer? | CREATE TABLE table_name_71 (championship VARCHAR, opponents_in_final VARCHAR, partnering VARCHAR, year VARCHAR) | SELECT championship FROM table_name_71 WHERE partnering = "maikel scheffers" AND year > 2007 AND opponents_in_final = "stephane houdet nicolas peiffer" |
What is the Nominee from the Category that is best costume design? | CREATE TABLE table_name_64 (nominee VARCHAR, category VARCHAR) | SELECT nominee FROM table_name_64 WHERE category = "best costume design" |
Which Opponent has a H / A of a, and a Result F – A of 2 – 0, and a Attendance larger than 30,000? | CREATE TABLE table_name_50 (opponents VARCHAR, attendance VARCHAR, h___a VARCHAR, result_f___a VARCHAR) | SELECT opponents FROM table_name_50 WHERE h___a = "a" AND result_f___a = "2 – 0" AND attendance > 30 OFFSET 000 |
Who was the runner(s)-Up to winner Sarah Brice? | CREATE TABLE table_name_23 (runner_s__up VARCHAR, winner VARCHAR) | SELECT runner_s__up FROM table_name_23 WHERE winner = "sarah brice" |
Who was the home team with a result of 105-99? | CREATE TABLE table_name_32 (home_team VARCHAR, result VARCHAR) | SELECT home_team FROM table_name_32 WHERE result = "105-99" |
What is the total number of positions when there are more than 48 goals against, 1 of 29 points are played, and less than 34 games have been played? | CREATE TABLE table_name_61 (position VARCHAR, played VARCHAR, goals_against VARCHAR, points_1 VARCHAR) | SELECT COUNT(position) FROM table_name_61 WHERE goals_against > 48 AND points_1 = "29" AND played < 34 |
Who is the Alternate for Sweden? | CREATE TABLE table_name_58 (alternate VARCHAR, nation VARCHAR) | SELECT alternate FROM table_name_58 WHERE nation = "sweden" |
What is the minimum number of f/laps in the Italian Formula Renault 2.0 Winter Series? | CREATE TABLE table_21795650_1 (f_laps INTEGER, series VARCHAR) | SELECT MIN(f_laps) FROM table_21795650_1 WHERE series = "Italian Formula Renault 2.0 Winter series" |
What is Beohari's highest number of electorates? | CREATE TABLE table_name_81 (number_of_electorates__2009_ INTEGER, name VARCHAR) | SELECT MAX(number_of_electorates__2009_) FROM table_name_81 WHERE name = "beohari" |
How many wins were there when draws were more than 0? | CREATE TABLE table_name_5 (wins INTEGER, draws INTEGER) | SELECT MIN(wins) FROM table_name_5 WHERE draws > 0 |
What was the height of representative #6? | CREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR) | SELECT height FROM table_28062822_3 WHERE represent = 6 |
How many games had an average of 12796? | CREATE TABLE table_27094070_4 (overall_gms VARCHAR, overall_avg VARCHAR) | SELECT COUNT(overall_gms) FROM table_27094070_4 WHERE overall_avg = 12796 |
What is the 2007 value with 2r in 2011 and 2r in 2008? | CREATE TABLE table_name_67 (Id VARCHAR) | SELECT 2007 FROM table_name_67 WHERE 2011 = "2r" AND 2008 = "2r" |
When the try bonus is 9 and the lost 4, what is the drawn? | CREATE TABLE table_name_50 (drawn VARCHAR, try_bonus VARCHAR, lost VARCHAR) | SELECT drawn FROM table_name_50 WHERE try_bonus = "9" AND lost = "4" |
What is the Surface of the Tournament on June 11, 2006? | CREATE TABLE table_name_67 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_67 WHERE date = "june 11, 2006" |
What is the number of viewers in millions for the episode on October 10, 2008, and a Channel 4 weekly rank a smaller than 30? | CREATE TABLE table_name_94 (viewers__millions_ VARCHAR, airdate VARCHAR, channel_4_weekly_rank_a VARCHAR) | SELECT COUNT(viewers__millions_) FROM table_name_94 WHERE airdate = "october 10, 2008" AND channel_4_weekly_rank_a < 30 |
What public team was founded prior to 1883? | CREATE TABLE table_name_45 (team VARCHAR, founded VARCHAR, type VARCHAR) | SELECT team FROM table_name_45 WHERE founded < 1883 AND type = "public" |
Name the team for december 19 | CREATE TABLE table_23285805_5 (team VARCHAR, date VARCHAR) | SELECT team FROM table_23285805_5 WHERE date = "December 19" |
What is the loss when the time was 3:16, and a Record of 15–15? | CREATE TABLE table_name_74 (loss VARCHAR, time VARCHAR, record VARCHAR) | SELECT loss FROM table_name_74 WHERE time = "3:16" AND record = "15–15" |
What was the away team's score against Hawthorn? | CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_9 WHERE home_team = "hawthorn" |
What shows for 1995 when 1996 shows grand slams? | CREATE TABLE table_name_74 (Id VARCHAR) | SELECT 1995 FROM table_name_74 WHERE 1996 = "grand slams" |
Which manufacturer has 8 laps? | CREATE TABLE table_name_18 (manufacturer VARCHAR, laps VARCHAR) | SELECT manufacturer FROM table_name_18 WHERE laps = "8" |
What is the match total for a score over 299 and under 412 innings? | CREATE TABLE table_name_26 (matches INTEGER, high_score VARCHAR, innings VARCHAR) | SELECT SUM(matches) FROM table_name_26 WHERE high_score = "299" AND innings < 412 |
what are all the rating with viewers (m) being 2.89 | CREATE TABLE table_13110459_2 (rating VARCHAR, viewers__m_ VARCHAR) | SELECT rating FROM table_13110459_2 WHERE viewers__m_ = "2.89" |
What is the number with the f position in Dallas, Texas? | CREATE TABLE table_name_57 (number VARCHAR, position VARCHAR, hometown VARCHAR) | SELECT COUNT(number) FROM table_name_57 WHERE position = "f" AND hometown = "dallas, texas" |
List the name of singers in ascending order of net worth. | CREATE TABLE singer (Name VARCHAR, Net_Worth_Millions VARCHAR) | SELECT Name FROM singer ORDER BY Net_Worth_Millions |
What was the worldwide gross for the film directed by joe pytka? | CREATE TABLE table_name_65 (worldwide_gross VARCHAR, director VARCHAR) | SELECT worldwide_gross FROM table_name_65 WHERE director = "joe pytka" |
What is the number of local sources for state and federal 12,929,489 | CREATE TABLE table_11608735_3 (other_local_sources VARCHAR, state_ VARCHAR, _federal VARCHAR) | SELECT other_local_sources FROM table_11608735_3 WHERE state_ & _federal = "12,929,489" |
What is the density when simplified shows 南山区? | CREATE TABLE table_name_33 (density VARCHAR, simplified VARCHAR) | SELECT density FROM table_name_33 WHERE simplified = "南山区" |
Which label had a Japan region and a date of November 3, 2004? | CREATE TABLE table_name_53 (label VARCHAR, region VARCHAR, date VARCHAR) | SELECT label FROM table_name_53 WHERE region = "japan" AND date = "november 3, 2004" |
What is the name of the club when the played number is 22, and the try bonus was 0? | CREATE TABLE table_name_62 (club VARCHAR, played VARCHAR, try_bonus VARCHAR) | SELECT club FROM table_name_62 WHERE played = "22" AND try_bonus = "0" |
What is the grid total associated with 18 laps? | CREATE TABLE table_name_35 (grid VARCHAR, laps VARCHAR) | SELECT COUNT(grid) FROM table_name_35 WHERE laps = 18 |
What is the format for UK catalog S 63795? | CREATE TABLE table_name_90 (format VARCHAR, country VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_90 WHERE country = "uk" AND catalog = "s 63795" |
who are the participants that wear clothing in 33-23-36 | CREATE TABLE table_27515452_3 (contestant VARCHAR, sizes VARCHAR) | SELECT contestant FROM table_27515452_3 WHERE sizes = "33-23-36" |
During what race did Mike Hawthorn have the Fastest Lap and Peter Collins win? | CREATE TABLE table_name_51 (race VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT race FROM table_name_51 WHERE fastest_lap = "mike hawthorn" AND winning_driver = "peter collins" |
What is the sum for the pick of the year 2009, and a round smaller than 2 and an NBA Club Denver Nuggets? | CREATE TABLE table_name_95 (pick INTEGER, nba_club VARCHAR, year VARCHAR, round VARCHAR) | SELECT SUM(pick) FROM table_name_95 WHERE year = 2009 AND round < 2 AND nba_club = "denver nuggets" |
What was the average number of starts Michael Henig had in a year when he had more than 1201 yards? | CREATE TABLE table_name_54 (starts INTEGER, yards INTEGER) | SELECT AVG(starts) FROM table_name_54 WHERE yards > 1201 |
what is the place where the person is luke donald | CREATE TABLE table_28498999_6 (country VARCHAR, player VARCHAR) | SELECT country FROM table_28498999_6 WHERE player = "Luke Donald" |
Which 2009 has a 2008 of A, and a Tournament of canada masters? | CREATE TABLE table_name_65 (tournament VARCHAR) | SELECT 2009 FROM table_name_65 WHERE 2008 = "a" AND tournament = "canada masters" |
Which Partner with the surface of Clay ended up as a runner-up with a score of 1–6, 6–4, [10–12]? | CREATE TABLE table_name_45 (partner VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT partner FROM table_name_45 WHERE surface = "clay" AND outcome = "runner-up" AND score = "1–6, 6–4, [10–12]" |
what is the number of smallpox when typhoid fever is 293 | CREATE TABLE table_1007688_1 (smallpox INTEGER, typhoid_fever VARCHAR) | SELECT MAX(smallpox) FROM table_1007688_1 WHERE typhoid_fever = 293 |
what is the latitude when the distance is 42.5km? | CREATE TABLE table_name_70 (latitude VARCHAR, distance VARCHAR) | SELECT latitude FROM table_name_70 WHERE distance = "42.5km" |
Name the Outcome has a Surface of hard, and a Score in the final of 6–2, 6–4? | CREATE TABLE table_name_82 (outcome VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) | SELECT outcome FROM table_name_82 WHERE surface = "hard" AND score_in_the_final = "6–2, 6–4" |
What is the Davao's power (kW)? | CREATE TABLE table_name_44 (power__kw_ VARCHAR, location VARCHAR) | SELECT power__kw_ FROM table_name_44 WHERE location = "davao" |
A singular abbreviation of p. is used for what singular word? | CREATE TABLE table_name_18 (singular_word VARCHAR, singular_abbreviation VARCHAR) | SELECT singular_word FROM table_name_18 WHERE singular_abbreviation = "p." |
Which school of club team has a pick of 46? | CREATE TABLE table_name_83 (school_club_team VARCHAR, pick VARCHAR) | SELECT school_club_team FROM table_name_83 WHERE pick = 46 |
Show the name of employees with three lowest salaries. | CREATE TABLE Employee (name VARCHAR, salary VARCHAR) | SELECT name FROM Employee ORDER BY salary LIMIT 3 |
Name the R 52 which has a D 44 of d 44 | CREATE TABLE table_name_54 (r_52 VARCHAR, d_44 VARCHAR) | SELECT r_52 FROM table_name_54 WHERE d_44 = "d 44" |
What is the copa libertadores 1996 of team corinthians? | CREATE TABLE table_name_32 (copa_libertadores_1996 VARCHAR, team VARCHAR) | SELECT copa_libertadores_1996 FROM table_name_32 WHERE team = "corinthians" |
What was the attendance at the game played at Moorabbin Oval? | CREATE TABLE table_name_78 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_78 WHERE venue = "moorabbin oval" |
What was the deed number with a population of more than 869 in the woorabinda community? | CREATE TABLE table_name_24 (deed_number VARCHAR, population VARCHAR, name_of_community VARCHAR) | SELECT deed_number FROM table_name_24 WHERE population > 869 AND name_of_community = "woorabinda" |
What driver has a grid of under 10, and under 70 laps? | CREATE TABLE table_name_84 (driver VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT driver FROM table_name_84 WHERE grid < 10 AND laps < 70 |
Which years in Orlando are featured with the center position? | CREATE TABLE table_name_11 (years_in_orlando VARCHAR, position VARCHAR) | SELECT years_in_orlando FROM table_name_11 WHERE position = "center" |
What is the transfer window for larsson? | CREATE TABLE table_name_8 (transfer_window VARCHAR, name VARCHAR) | SELECT transfer_window FROM table_name_8 WHERE name = "larsson" |
In what arena was the North Dakota the runner-up? | CREATE TABLE table_name_43 (arena VARCHAR, runner_up VARCHAR) | SELECT arena FROM table_name_43 WHERE runner_up = "north dakota" |
What is the title for episode number 7 in the season? | CREATE TABLE table_15431251_1 (title VARCHAR, no_in_season VARCHAR) | SELECT COUNT(title) FROM table_15431251_1 WHERE no_in_season = 7 |
What is Left Office, when Took Office is 2006? | CREATE TABLE table_name_82 (left_office VARCHAR, took_office VARCHAR) | SELECT left_office FROM table_name_82 WHERE took_office = "2006" |
What is the title of the episode with a production code of 2j5504? | CREATE TABLE table_27450976_1 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_27450976_1 WHERE production_code = "2J5504" |
What was the greatest number of laps run? | CREATE TABLE table_27940569_1 (laps INTEGER) | SELECT MAX(laps) FROM table_27940569_1 |
Name the segment d for s cufflink | CREATE TABLE table_15187735_18 (segment_d VARCHAR, segment_a VARCHAR) | SELECT segment_d FROM table_15187735_18 WHERE segment_a = "s Cufflink" |
What is the highest placing for marie mcneil / robert mccall, with less than 168.58? | CREATE TABLE table_name_82 (placings INTEGER, name VARCHAR, points VARCHAR) | SELECT MAX(placings) FROM table_name_82 WHERE name = "marie mcneil / robert mccall" AND points < 168.58 |
What year was the race in Vienna, Austria? | CREATE TABLE table_name_72 (year INTEGER, venue VARCHAR) | SELECT MIN(year) FROM table_name_72 WHERE venue = "vienna, austria" |
What language did the word mahjong originate from? | CREATE TABLE table_name_31 (source_language VARCHAR, meaning VARCHAR) | SELECT source_language FROM table_name_31 WHERE meaning = "mahjong" |
What males speak Polish? | CREATE TABLE table_name_22 (males VARCHAR, language VARCHAR) | SELECT males FROM table_name_22 WHERE language = "polish" |
What is the bowling score of season 1907? | CREATE TABLE table_name_23 (bowling VARCHAR, season VARCHAR) | SELECT bowling FROM table_name_23 WHERE season = "1907" |
What are the driving wheels of the model built in 1883? | CREATE TABLE table_name_51 (driving_wheels VARCHAR, date_built VARCHAR) | SELECT driving_wheels FROM table_name_51 WHERE date_built = "1883" |
What's Round has a Surface of hard and Opponent of Jelena Simic? | CREATE TABLE table_name_51 (round VARCHAR, surface VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_51 WHERE surface = "hard" AND opponent = "jelena simic" |
What is the team's record in games against the Hartford Whalers? | CREATE TABLE table_name_52 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_52 WHERE opponent = "hartford whalers" |
Which format has a Frequency larger than 1050, and a Station of kvto? | CREATE TABLE table_name_70 (format VARCHAR, frequency VARCHAR, station VARCHAR) | SELECT format FROM table_name_70 WHERE frequency > 1050 AND station = "kvto" |
Which country has Weerawila Airport? | CREATE TABLE table_name_76 (country VARCHAR, airport VARCHAR) | SELECT country FROM table_name_76 WHERE airport = "weerawila airport" |
What is the Location when the individual was josé maria cañizares? | CREATE TABLE table_name_23 (location VARCHAR, individual VARCHAR) | SELECT location FROM table_name_23 WHERE individual = "josé maria cañizares" |
What is the number of capacity at somerset park? | CREATE TABLE table_11206787_5 (capacity VARCHAR, stadium VARCHAR) | SELECT COUNT(capacity) FROM table_11206787_5 WHERE stadium = "Somerset Park" |
Which vacancy happened on 4 November 2008? | CREATE TABLE table_18788823_5 (position_in_table VARCHAR, date_of_vacancy VARCHAR) | SELECT position_in_table FROM table_18788823_5 WHERE date_of_vacancy = "4 November 2008" |
Find the name of product that is produced by both companies Creative Labs and Sony. | CREATE TABLE manufacturers (code VARCHAR, name VARCHAR); CREATE TABLE products (name VARCHAR, Manufacturer VARCHAR) | SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code WHERE T2.name = 'Creative Labs' INTERSECT SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code WHERE T2.name = 'Sony' |
Subsets and Splits