question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Who is the team captain of the team that Lübzer is the shirt sponsor for? | CREATE TABLE table_name_88 (team VARCHAR, shirt_sponsor VARCHAR) | SELECT team AS captain FROM table_name_88 WHERE shirt_sponsor = "lübzer" |
What is the highest channel number? | CREATE TABLE table_27871460_2 (channel_number INTEGER) | SELECT MAX(channel_number) FROM table_27871460_2 |
What college did hunter henry go to? | CREATE TABLE table_name_30 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_30 WHERE player = "hunter henry" |
Which surface has a Date of 24–25 apr? | CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_58 WHERE date = "24–25 apr" |
How many teams won $2,089,556? | CREATE TABLE table_1929755_1 (wins VARCHAR, winnings VARCHAR) | SELECT COUNT(wins) FROM table_1929755_1 WHERE winnings = "$2,089,556" |
Name the season when the number is 9 | CREATE TABLE table_15463188_16 (season VARCHAR, number VARCHAR) | SELECT season FROM table_15463188_16 WHERE number = "9" |
What is the Undecided the others was 4%? | CREATE TABLE table_name_70 (undecided VARCHAR, others VARCHAR) | SELECT undecided FROM table_name_70 WHERE others = "4%" |
In what Location in the United States the Time 2:25.62? | CREATE TABLE table_name_87 (location VARCHAR, nationality VARCHAR, time VARCHAR) | SELECT location FROM table_name_87 WHERE nationality = "united states" AND time = "2:25.62" |
Who drove the renault that went over 23 laps and had a grid under 11? | CREATE TABLE table_name_21 (driver VARCHAR, laps VARCHAR, grid VARCHAR, constructor VARCHAR) | SELECT driver FROM table_name_21 WHERE grid < 11 AND constructor = "renault" AND laps > 23 |
How many different numbers for Afinsa when value is 5p? | CREATE TABLE table_1818471_1 (afinsa VARCHAR, value VARCHAR) | SELECT COUNT(afinsa) FROM table_1818471_1 WHERE value = "5P" |
Show the average transaction amount for different transaction types. | CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR, amount_of_transaction INTEGER) | SELECT transaction_type_code, AVG(amount_of_transaction) FROM TRANSACTIONS GROUP BY transaction_type_code |
What is the average % of population Tunisia, which has an average relative annual growth smaller than 1.03? | CREATE TABLE table_name_17 (_percentage_of_pop INTEGER, country__or_dependent_territory_ VARCHAR, average_relative_annual_growth___percentage_ VARCHAR) | SELECT AVG(_percentage_of_pop) FROM table_name_17 WHERE country__or_dependent_territory_ = "tunisia" AND average_relative_annual_growth___percentage_ < 1.03 |
What was the result for the nomination of Best Revival of a Musical? | CREATE TABLE table_name_90 (result VARCHAR, category VARCHAR) | SELECT result FROM table_name_90 WHERE category = "best revival of a musical" |
What were his winnings when he had 14 top 10s? | CREATE TABLE table_2169966_2 (winnings VARCHAR, top_10 VARCHAR) | SELECT winnings FROM table_2169966_2 WHERE top_10 = 14 |
how many production codes were there for the episode that was 32 in the series? | CREATE TABLE table_17901155_3 (prod_code VARCHAR, no_in_series VARCHAR) | SELECT COUNT(prod_code) FROM table_17901155_3 WHERE no_in_series = 32 |
In what venue does Footscray play? | CREATE TABLE table_name_16 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_16 WHERE home_team = "footscray" |
WHAT IS THE TO PAR FOR GEOFF OGILVY WITH A PLACE OF T3? | CREATE TABLE table_name_94 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_94 WHERE place = "t3" AND player = "geoff ogilvy" |
What was the championship game for the Southwest conference? | CREATE TABLE table_name_63 (championship_game VARCHAR, conference VARCHAR) | SELECT championship_game FROM table_name_63 WHERE conference = "southwest" |
Which bike had fewer than 23 laps and a grid number of 4? | CREATE TABLE table_name_15 (bike VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT bike FROM table_name_15 WHERE laps < 23 AND grid = 4 |
What is the sum for December that has 0.36 in July, and lager than 0.35000000000000003 in February? | CREATE TABLE table_name_95 (december INTEGER, july VARCHAR, february VARCHAR) | SELECT SUM(december) FROM table_name_95 WHERE july = 0.36 AND february > 0.35000000000000003 |
How many millions of U.S. viewers watched the episode directed by Rob Bailey and written by Pam Veasey? | CREATE TABLE table_12570759_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR, written_by VARCHAR) | SELECT us_viewers__millions_ FROM table_12570759_2 WHERE directed_by = "Rob Bailey" AND written_by = "Pam Veasey" |
What was North Melbourne's score when they were the home team? | CREATE TABLE table_name_22 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_22 WHERE home_team = "north melbourne" |
What was the role for Challenge TV? | CREATE TABLE table_name_55 (role VARCHAR, broadcaster VARCHAR) | SELECT role FROM table_name_55 WHERE broadcaster = "challenge tv" |
What was Tim Simpson's place? | CREATE TABLE table_name_94 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_94 WHERE player = "tim simpson" |
What is the sum total of all the years with a bell that weighed 857 kilograms? | CREATE TABLE table_name_40 (year INTEGER, weight__kg_ VARCHAR) | SELECT SUM(year) FROM table_name_40 WHERE weight__kg_ = "857" |
What is the team when the incoming manager is martin allen? | CREATE TABLE table_26914854_3 (team VARCHAR, incoming_manager VARCHAR) | SELECT team FROM table_26914854_3 WHERE incoming_manager = "Martin Allen" |
What is the result for November 25, 2001? | CREATE TABLE table_name_45 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_45 WHERE date = "november 25, 2001" |
What is the name of the artist who produced the shortest song? | CREATE TABLE files (f_id VARCHAR, duration VARCHAR); CREATE TABLE song (artist_name VARCHAR, f_id VARCHAR) | SELECT T1.artist_name FROM song AS T1 JOIN files AS T2 ON T1.f_id = T2.f_id ORDER BY T2.duration LIMIT 1 |
What is the premiere number for the episode titled "The Mysteries of Love" in English? | CREATE TABLE table_24856090_1 (premiere INTEGER, english_title VARCHAR) | SELECT MAX(premiere) FROM table_24856090_1 WHERE english_title = "The Mysteries of Love" |
what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1? | CREATE TABLE table_name_25 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR) | SELECT AVG(dynamo) FROM table_name_25 WHERE draw > 0 AND played < 15 AND spartak > 1 |
What is Record, when High Points is "Thaddeus Young (19)", and when Team is "@ Orlando"? | CREATE TABLE table_name_2 (record VARCHAR, high_points VARCHAR, team VARCHAR) | SELECT record FROM table_name_2 WHERE high_points = "thaddeus young (19)" AND team = "@ orlando" |
Which Round was Player Adam Cracknell Picked after 231 in a Draft year after 1988? | CREATE TABLE table_name_4 (round VARCHAR, player VARCHAR, pick VARCHAR, draft VARCHAR) | SELECT round FROM table_name_4 WHERE pick > 231 AND draft > 1988 AND player = "adam cracknell" |
What player has a total of 297? | CREATE TABLE table_name_87 (player VARCHAR, total VARCHAR) | SELECT player FROM table_name_87 WHERE total = 297 |
What is the highest number of silvers a team with more than 95 total medals has? | CREATE TABLE table_name_6 (silver INTEGER, total INTEGER) | SELECT MAX(silver) FROM table_name_6 WHERE total > 95 |
What is the total decile in the area of Normanby with a roller smaller than 157? | CREATE TABLE table_name_99 (decile INTEGER, area VARCHAR, roll VARCHAR) | SELECT SUM(decile) FROM table_name_99 WHERE area = "normanby" AND roll < 157 |
What is every GICS sector for free float of 0.3180? | CREATE TABLE table_20667854_1 (gics_sector VARCHAR, free_float VARCHAR) | SELECT gics_sector FROM table_20667854_1 WHERE free_float = "0.3180" |
What date was the away team Morecambe? | CREATE TABLE table_name_78 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_78 WHERE away_team = "morecambe" |
What are the players whose rank is 2? | CREATE TABLE table_11303072_9 (player VARCHAR, rank VARCHAR) | SELECT player FROM table_11303072_9 WHERE rank = 2 |
What is the smallest scored with a result of 46-18? | CREATE TABLE table_name_49 (scored INTEGER, result VARCHAR) | SELECT MIN(scored) FROM table_name_49 WHERE result = "46-18" |
What is the Piano di Sorrento, Napoli lowest km2 with a total smaller than 121.14 km2? | CREATE TABLE table_name_26 (area__km²_ INTEGER, total__km²_ VARCHAR, province VARCHAR, comune VARCHAR) | SELECT MIN(area__km²_) FROM table_name_26 WHERE province = "napoli" AND comune = "piano di sorrento" AND total__km²_ < 121.14 |
What is To Par, when Score is 70, and when Player is "Craig Stadler"? | CREATE TABLE table_name_98 (to_par VARCHAR, score VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_98 WHERE score = 70 AND player = "craig stadler" |
What party is incumbent Oliver H. Cross? | CREATE TABLE table_1342331_43 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342331_43 WHERE incumbent = "Oliver H. Cross" |
Which polling firm put T. Papadopoulos at 31%? | CREATE TABLE table_name_91 (polling_firm VARCHAR, t_papadopoulos VARCHAR) | SELECT polling_firm FROM table_name_91 WHERE t_papadopoulos = "31%" |
Which was the lowest gold when silver was smaller than 0? | CREATE TABLE table_name_94 (gold INTEGER, silver INTEGER) | SELECT MIN(gold) FROM table_name_94 WHERE silver < 0 |
What was the production number of the episode titel of pre-hysterical hare? | CREATE TABLE table_name_76 (production_number VARCHAR, title VARCHAR) | SELECT COUNT(production_number) FROM table_name_76 WHERE title = "pre-hysterical hare" |
What is the Kashmiri word for the Indonesian word senin? | CREATE TABLE table_name_90 (kashmiri VARCHAR, indonesian VARCHAR) | SELECT kashmiri FROM table_name_90 WHERE indonesian = "senin" |
What is the School/Junior/Club Group (Association) that has a Round bigger than 6, and a Place of winger, and a Player of evgeny afanasiev? | CREATE TABLE table_name_49 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_49 WHERE round > 6 AND position = "winger" AND player = "evgeny afanasiev" |
What is the lowest Attendance, when Date is "December 20, 1970", and when Week is less than 14? | CREATE TABLE table_name_69 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT MIN(attendance) FROM table_name_69 WHERE date = "december 20, 1970" AND week < 14 |
Who had 41.76% yes votes | CREATE TABLE table_256286_20 (description VARCHAR, _percentage_yes VARCHAR) | SELECT description FROM table_256286_20 WHERE _percentage_yes = "41.76%" |
What course are they running on stage 1? | CREATE TABLE table_name_5 (course VARCHAR, stage VARCHAR) | SELECT course FROM table_name_5 WHERE stage = "1" |
Who was the leading scorer on 23 February 2008? | CREATE TABLE table_name_78 (leading_scorer VARCHAR, date VARCHAR) | SELECT leading_scorer FROM table_name_78 WHERE date = "23 february 2008" |
who are the candidates where the incumbent is sam m. gibbons? | CREATE TABLE table_1341663_10 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341663_10 WHERE incumbent = "Sam M. Gibbons" |
How many rounds did the match last when his record was 6-6? | CREATE TABLE table_name_72 (round VARCHAR, record VARCHAR) | SELECT round FROM table_name_72 WHERE record = "6-6" |
Who's the Fourth District with a First District of beverly bodem? | CREATE TABLE table_name_98 (fourth_district VARCHAR, first_district VARCHAR) | SELECT fourth_district FROM table_name_98 WHERE first_district = "beverly bodem" |
What is the record when the leading scorer is Antawn Jamison (14)? | CREATE TABLE table_name_6 (record VARCHAR, leading_scorer VARCHAR) | SELECT record FROM table_name_6 WHERE leading_scorer = "antawn jamison (14)" |
Which player is a shooting guard? | CREATE TABLE table_name_81 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_81 WHERE position = "shooting guard" |
Which polling institute showed a lead of 12% and a Labour share of the poll at 40.2%? | CREATE TABLE table_name_46 (polling_institute VARCHAR, lead VARCHAR, labour VARCHAR) | SELECT polling_institute FROM table_name_46 WHERE lead = "12%" AND labour = "40.2%" |
On what flight day was U2 played? | CREATE TABLE table_name_2 (flight_day VARCHAR, artist VARCHAR) | SELECT flight_day FROM table_name_2 WHERE artist = "u2" |
Tell me the least season with level less than 1 | CREATE TABLE table_name_5 (season INTEGER, level INTEGER) | SELECT MIN(season) FROM table_name_5 WHERE level < 1 |
What is the intro date for the interface that equals pci? | CREATE TABLE table_29778616_1 (intro_date VARCHAR, interface VARCHAR) | SELECT intro_date FROM table_29778616_1 WHERE interface = "PCI" |
When 123 is the number in series who is the director? | CREATE TABLE table_2468961_7 (directed_by VARCHAR, no_in_series VARCHAR) | SELECT directed_by FROM table_2468961_7 WHERE no_in_series = 123 |
On what date did Fantasy Records release a CD format of catalog FCD-4513-2? | CREATE TABLE table_name_54 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR) | SELECT date FROM table_name_54 WHERE label = "fantasy records" AND format = "cd" AND catalog = "fcd-4513-2" |
What was the crowd size when the home team was Hawthorn? | CREATE TABLE table_name_53 (crowd VARCHAR, home_team VARCHAR) | SELECT crowd FROM table_name_53 WHERE home_team = "hawthorn" |
What were the total 2012 births when the 2012 deaths were 163? | CREATE TABLE table_25703_2 (birth_2012 INTEGER, death_2012 VARCHAR) | SELECT MIN(birth_2012) FROM table_25703_2 WHERE death_2012 = 163 |
What is the 1st round result for ECAC Chaumont (D2) as team 1? | CREATE TABLE table_name_91 (team_1 VARCHAR) | SELECT 1 AS st_round FROM table_name_91 WHERE team_1 = "ecac chaumont (d2)" |
What is the ground of the tim trophy competition, which had a time of 23:00 cet? | CREATE TABLE table_name_83 (ground VARCHAR, competition VARCHAR, time VARCHAR) | SELECT ground FROM table_name_83 WHERE competition = "tim trophy" AND time = "23:00 cet" |
What was the record at the game when the score was 1–0? | CREATE TABLE table_name_66 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_66 WHERE score = "1–0" |
Name the length for stage ss22 | CREATE TABLE table_13050822_2 (length VARCHAR, stage VARCHAR) | SELECT length FROM table_13050822_2 WHERE stage = "SS22" |
What was the score on 6 February 2008? | CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_35 WHERE date = "6 february 2008" |
Who is the home team at arden street oval? | CREATE TABLE table_name_63 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_63 WHERE venue = "arden street oval" |
What was the pick # of the player who has a hometown/school of Atlanta, GA? | CREATE TABLE table_name_62 (pick INTEGER, hometown_school VARCHAR) | SELECT AVG(pick) FROM table_name_62 WHERE hometown_school = "atlanta, ga" |
What was the Pure Church of Christ's Split off/ Continuation? | CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, church_name VARCHAR) | SELECT split_off___continuation_of FROM table_name_40 WHERE church_name = "pure church of christ" |
Which team has a Ravg of 1.3? | CREATE TABLE table_name_64 (team VARCHAR, ravg VARCHAR) | SELECT team FROM table_name_64 WHERE ravg = "1.3" |
Tell me the least Grid with points more than 11 and drivers being sébastien bourdais with laps less than 67 | CREATE TABLE table_name_96 (grid INTEGER, laps VARCHAR, points VARCHAR, driver VARCHAR) | SELECT MIN(grid) FROM table_name_96 WHERE points > 11 AND driver = "sébastien bourdais" AND laps < 67 |
Which Total is the lowest one that has a Bronze of 0, and a Silver larger than 0, and a Rank of 5? | CREATE TABLE table_name_51 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_51 WHERE bronze = 0 AND silver > 0 AND rank = 5 |
what is elevation of tanzania? | CREATE TABLE table_27435931_1 (elevation_ft VARCHAR, country VARCHAR) | SELECT COUNT(elevation_ft) FROM table_27435931_1 WHERE country = "Tanzania" |
What is the Burmese term associated with a cardinal direction of west? | CREATE TABLE table_14850099_18 (burmese VARCHAR, cardinal_direction VARCHAR) | SELECT burmese FROM table_14850099_18 WHERE cardinal_direction = "West" |
Which City has a Score smaller than 30, and a Venue of aigburth? | CREATE TABLE table_name_85 (city VARCHAR, score VARCHAR, venue VARCHAR) | SELECT city FROM table_name_85 WHERE score < 30 AND venue = "aigburth" |
Which years have a Decile smaller than 2, and an Area of mohaka? | CREATE TABLE table_name_97 (years VARCHAR, decile VARCHAR, area VARCHAR) | SELECT years FROM table_name_97 WHERE decile < 2 AND area = "mohaka" |
What is the IEF 2011 of the country with an FSI 2012 of 99.2? | CREATE TABLE table_name_96 (ief_2011 VARCHAR, fsi_2012 VARCHAR) | SELECT ief_2011 FROM table_name_96 WHERE fsi_2012 = "99.2" |
What is the Purse on January 3, 2010? | CREATE TABLE table_name_33 (purse VARCHAR, date VARCHAR) | SELECT purse FROM table_name_33 WHERE date = "january 3, 2010" |
what is the date of appointment 11 june 2010? | CREATE TABLE table_26914854_3 (team VARCHAR, date_of_appointment VARCHAR) | SELECT team FROM table_26914854_3 WHERE date_of_appointment = "11 June 2010" |
Which date had the undecided percentage at 42%? | CREATE TABLE table_name_10 (date VARCHAR, undecided VARCHAR) | SELECT date FROM table_name_10 WHERE undecided = "42%" |
What was the attendance of the South Melbourne away game? | CREATE TABLE table_name_5 (crowd VARCHAR, away_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_5 WHERE away_team = "south melbourne" |
What Played has a Lost smaller than 3, and a Drawn smaller than 0? | CREATE TABLE table_name_13 (played INTEGER, lost VARCHAR, drawn VARCHAR) | SELECT AVG(played) FROM table_name_13 WHERE lost < 3 AND drawn < 0 |
How tall is the person born on 1976-12-27? | CREATE TABLE table_name_2 (height VARCHAR, date_of_birth VARCHAR) | SELECT height FROM table_name_2 WHERE date_of_birth = "1976-12-27" |
What round was at the A venue with a attendance more than 14,314? | CREATE TABLE table_name_7 (round VARCHAR, venue VARCHAR, attendance VARCHAR) | SELECT round FROM table_name_7 WHERE venue = "a" AND attendance > 14 OFFSET 314 |
Employment ( salaries & wages) of 64%, and a Occupational pensions of 6% has what working tax credit? | CREATE TABLE table_name_20 (working_tax_credit VARCHAR, occupational_pensions VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR) | SELECT working_tax_credit FROM table_name_20 WHERE employment___salaries_ & _wages_ = "64%" AND occupational_pensions = "6%" |
What is the callsign of tuguegarao | CREATE TABLE table_12547903_2 (callsign VARCHAR, location__transmitter_site_ VARCHAR) | SELECT callsign FROM table_12547903_2 WHERE location__transmitter_site_ = "Tuguegarao" |
For the game where Joel Przybilla (4) received high assists, what was the final score? | CREATE TABLE table_name_88 (score VARCHAR, high_assists VARCHAR) | SELECT score FROM table_name_88 WHERE high_assists = "joel przybilla (4)" |
What is the Tie No with a Score of 2–2? | CREATE TABLE table_name_26 (tie_no VARCHAR, score VARCHAR) | SELECT tie_no FROM table_name_26 WHERE score = "2–2" |
How many schools did Derrick Green attend? | CREATE TABLE table_11677691_11 (school VARCHAR, player VARCHAR) | SELECT COUNT(school) FROM table_11677691_11 WHERE player = "Derrick Green" |
What is employee Nancy Edwards's phone number? | CREATE TABLE employees (phone VARCHAR, first_name VARCHAR, last_name VARCHAR) | SELECT phone FROM employees WHERE first_name = "Nancy" AND last_name = "Edwards" |
How many games total were played against @ Boston Bruins this season? | CREATE TABLE table_name_77 (game INTEGER, opponent VARCHAR) | SELECT SUM(game) FROM table_name_77 WHERE opponent = "@ boston bruins" |
What team has a kit manufacturer of Umbro and Eric Cantona as captain? | CREATE TABLE table_name_41 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR) | SELECT team FROM table_name_41 WHERE kit_manufacturer = "umbro" AND captain = "eric cantona" |
What is the low silver total associated with under 1 total? | CREATE TABLE table_name_99 (silver INTEGER, total INTEGER) | SELECT MIN(silver) FROM table_name_99 WHERE total < 1 |
When are start dates (1st night) for the season of 1966? | CREATE TABLE table_159359_2 (start_date__1st_night_ VARCHAR, season VARCHAR) | SELECT start_date__1st_night_ FROM table_159359_2 WHERE season = "1966" |
Name the macedonian for il/elle avait entendu | CREATE TABLE table_1841901_1 (macedonian VARCHAR, french VARCHAR) | SELECT macedonian FROM table_1841901_1 WHERE french = "il/elle avait entendu" |
How many Dates have a Score in the final of 6–4, 6–2? | CREATE TABLE table_name_92 (date INTEGER, score_in_the_final VARCHAR) | SELECT SUM(date) FROM table_name_92 WHERE score_in_the_final = "6–4, 6–2" |
Construction start of phase i includes what type? | CREATE TABLE table_name_61 (type VARCHAR, construction_start VARCHAR) | SELECT type FROM table_name_61 WHERE construction_start = "phase i" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.