question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Name the least year for start of 17th | CREATE TABLE table_name_13 (year INTEGER, start VARCHAR) | SELECT MIN(year) FROM table_name_13 WHERE start = "17th" |
Which frequency has voltage of 1.6v and part number kp80524kx300256kc80524kx300256pmg30002002aa? | CREATE TABLE table_name_64 (frequency VARCHAR, voltage VARCHAR, part_number_s_ VARCHAR) | SELECT frequency FROM table_name_64 WHERE voltage = "1.6v" AND part_number_s_ = "kp80524kx300256kc80524kx300256pmg30002002aa" |
WHAT IS THE NAME OF THE MIXED DOUBLES PLAYER WHEN THE WOMENS SINGLE PLAYER IS KAIRI VIILUP? | CREATE TABLE table_14903627_1 (mixed_doubles VARCHAR, womens_singles VARCHAR) | SELECT mixed_doubles FROM table_14903627_1 WHERE womens_singles = "Kairi Viilup" |
What is the Player from appalachian state? | CREATE TABLE table_name_73 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_73 WHERE college = "appalachian state" |
Where was the 1984 Olympics hosted? | CREATE TABLE table_name_29 (tournament VARCHAR, year VARCHAR) | SELECT tournament FROM table_name_29 WHERE year = 1984 |
Which tournament had a 2010 result of A? | CREATE TABLE table_name_87 (tournament VARCHAR) | SELECT tournament FROM table_name_87 WHERE 2010 = "a" |
What was the 2008 result associated with a 2009 of A and a 2011 of 2R? | CREATE TABLE table_name_36 (Id VARCHAR) | SELECT 2008 FROM table_name_36 WHERE 2009 = "a" AND 2011 = "2r" |
What is the enrollment for the institution that joined in 1987? | CREATE TABLE table_2562113_1 (enrollment INTEGER, joined VARCHAR) | SELECT MIN(enrollment) FROM table_2562113_1 WHERE joined = 1987 |
What is the highest Week when the opponent was kansas city chiefs, with more than 26,469 in attendance? | CREATE TABLE table_name_54 (week INTEGER, opponent VARCHAR, attendance VARCHAR) | SELECT MAX(week) FROM table_name_54 WHERE opponent = "kansas city chiefs" AND attendance > 26 OFFSET 469 |
For player is john jakopin mention the total number of position | CREATE TABLE table_2781227_4 (position VARCHAR, player VARCHAR) | SELECT COUNT(position) FROM table_2781227_4 WHERE player = "John Jakopin" |
How many students are enrolled in the team nicknamed Comets? | CREATE TABLE table_28243691_2 (enrollment VARCHAR, team_nickname VARCHAR) | SELECT enrollment FROM table_28243691_2 WHERE team_nickname = "Comets" |
What is the away team when the home team is Cheltenham Town? | CREATE TABLE table_name_5 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_5 WHERE home_team = "cheltenham town" |
Which Home has a Competition of european cup, and a Round of qf? | CREATE TABLE table_name_70 (home VARCHAR, competition VARCHAR, round VARCHAR) | SELECT home FROM table_name_70 WHERE competition = "european cup" AND round = "qf" |
What is the highest Byes by Anakie who has an Against smaller than 2275? | CREATE TABLE table_name_14 (byes INTEGER, geelong_dfl VARCHAR, against VARCHAR) | SELECT MAX(byes) FROM table_name_14 WHERE geelong_dfl = "anakie" AND against < 2275 |
What points have 500cc as a class, and nsr500 as a machine? | CREATE TABLE table_name_12 (points VARCHAR, class VARCHAR, machine VARCHAR) | SELECT points FROM table_name_12 WHERE class = "500cc" AND machine = "nsr500" |
The episode where the director is Gene Reynolds has who as the writer? | CREATE TABLE table_26866233_1 (writer VARCHAR, director VARCHAR) | SELECT writer FROM table_26866233_1 WHERE director = "Gene Reynolds" |
How much is the population density with a GDP at $188,112? | CREATE TABLE table_name_31 (population_density__per_km²_ VARCHAR, gdp__ppp__$m_usd VARCHAR) | SELECT population_density__per_km²_ FROM table_name_31 WHERE gdp__ppp__$m_usd = "$188,112" |
Which college did Dean Kirkland go to | CREATE TABLE table_15353123_1 (college VARCHAR, player VARCHAR) | SELECT college FROM table_15353123_1 WHERE player = "Dean Kirkland" |
Sort all captain names by their ages from old to young. | CREATE TABLE captain (name VARCHAR, age VARCHAR) | SELECT name FROM captain ORDER BY age DESC |
What is the total number of laps for the time of +7.277 and the grid number of more than 6? | CREATE TABLE table_name_56 (laps INTEGER, time VARCHAR, grid VARCHAR) | SELECT SUM(laps) FROM table_name_56 WHERE time = "+7.277" AND grid > 6 |
What is the measurement where the estimated function % is less than 20? | CREATE TABLE table_name_21 (measurement VARCHAR, estimated_function__percentage INTEGER) | SELECT measurement FROM table_name_21 WHERE estimated_function__percentage < 20 |
What is the verb meaning when part 2 is band? | CREATE TABLE table_name_36 (verb_meaning VARCHAR, part_2 VARCHAR) | SELECT verb_meaning FROM table_name_36 WHERE part_2 = "band" |
What original air date has 5.85 u.s. viewers (million)? | CREATE TABLE table_27117365_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) | SELECT original_air_date FROM table_27117365_1 WHERE us_viewers__million_ = "5.85" |
What is Apogee, when Designation is Prognoz 6? | CREATE TABLE table_name_9 (apogee VARCHAR, designation VARCHAR) | SELECT apogee FROM table_name_9 WHERE designation = "prognoz 6" |
Which Date has a Stadium of giants stadium, and a Week smaller than 13, and an Opponent of seattle seahawks? | CREATE TABLE table_name_79 (date VARCHAR, opponent VARCHAR, stadium VARCHAR, week VARCHAR) | SELECT date FROM table_name_79 WHERE stadium = "giants stadium" AND week < 13 AND opponent = "seattle seahawks" |
Name the most touchdowns for norcross | CREATE TABLE table_14342592_8 (touchdowns INTEGER, player VARCHAR) | SELECT MAX(touchdowns) FROM table_14342592_8 WHERE player = "Norcross" |
What was the number of WJC Jews with a WJC rank of 6? | CREATE TABLE table_name_96 (number_of_jews__wjc_ VARCHAR, rank___wjc__ VARCHAR) | SELECT number_of_jews__wjc_ FROM table_name_96 WHERE rank___wjc__ = 6 |
Who won the womens doubles when wu jianqui won the womens singles? | CREATE TABLE table_12027364_1 (womens_doubles VARCHAR, womens_singles VARCHAR) | SELECT womens_doubles FROM table_12027364_1 WHERE womens_singles = "Wu Jianqui" |
Which country uses pound sterling with a value higher than 1.33 USD? | CREATE TABLE table_name_66 (country VARCHAR, value_in_usd VARCHAR, currency VARCHAR) | SELECT country FROM table_name_66 WHERE value_in_usd > 1.33 AND currency = "pound sterling" |
I want to know the tournament that has a third place of magnus gustafsson | CREATE TABLE table_name_25 (tournament VARCHAR, third_place VARCHAR) | SELECT tournament FROM table_name_25 WHERE third_place = "magnus gustafsson" |
Show ids for all templates that are used by more than one document. | CREATE TABLE Documents (template_id VARCHAR) | SELECT template_id FROM Documents GROUP BY template_id HAVING COUNT(*) > 1 |
Which Yellow Cards has a Season of 1999/2000? | CREATE TABLE table_name_75 (yellow_cards INTEGER, season VARCHAR) | SELECT AVG(yellow_cards) FROM table_name_75 WHERE season = "1999/2000" |
Who had a score of 77-69-70-71=287? | CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_91 WHERE score = 77 - 69 - 70 - 71 = 287 |
For the game in which P. Pierce (31) scored the most points, what was the final score? | CREATE TABLE table_name_93 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_name_93 WHERE high_points = "p. pierce (31)" |
Name the position of the player from college of virginia | CREATE TABLE table_name_96 (position VARCHAR, college VARCHAR) | SELECT position FROM table_name_96 WHERE college = "virginia" |
If the polling average in July 2009 was 7.2%, what was it in May 2009? | CREATE TABLE table_23680576_2 (may_2009 VARCHAR, jul_2009 VARCHAR) | SELECT may_2009 FROM table_23680576_2 WHERE jul_2009 = "7.2%" |
list the name, job title of all people ordered by their names. | CREATE TABLE Person (name VARCHAR, job VARCHAR) | SELECT name, job FROM Person ORDER BY name |
What was the largest index the year/s forcible rapes numbered 1084? | CREATE TABLE table_25271777_1 (index INTEGER, forcible_rape VARCHAR) | SELECT MAX(index) FROM table_25271777_1 WHERE forcible_rape = 1084 |
What game date had the record of 1-2? | CREATE TABLE table_20928649_1 (date VARCHAR, record VARCHAR) | SELECT date FROM table_20928649_1 WHERE record = "1-2" |
What is the results in 2004 that has a 2013 result of 2r? | CREATE TABLE table_name_72 (Id VARCHAR) | SELECT 2004 FROM table_name_72 WHERE 2013 = "2r" |
Which Published as serial has a Published as novel of october 1917, mcclurg? | CREATE TABLE table_name_82 (published_as_serial VARCHAR, published_as_novel VARCHAR) | SELECT published_as_serial FROM table_name_82 WHERE published_as_novel = "october 1917, mcclurg" |
Which Grid has Laps of 24, and a Rider of marco melandri? | CREATE TABLE table_name_22 (grid INTEGER, laps VARCHAR, rider VARCHAR) | SELECT SUM(grid) FROM table_name_22 WHERE laps = 24 AND rider = "marco melandri" |
Which Winning Driver has a Second Driver of jimmy bryan? | CREATE TABLE table_name_25 (winning_driver VARCHAR, second_driver VARCHAR) | SELECT winning_driver FROM table_name_25 WHERE second_driver = "jimmy bryan" |
Who was the leading lady for Uni studio and Frank Strayer? | CREATE TABLE table_name_71 (leading_lady VARCHAR, studio VARCHAR, director VARCHAR) | SELECT leading_lady FROM table_name_71 WHERE studio = "uni" AND director = "frank strayer" |
What Super G has Victories of 26, and a Country of austria? | CREATE TABLE table_name_31 (super_g VARCHAR, victories VARCHAR, country VARCHAR) | SELECT super_g FROM table_name_31 WHERE victories = 26 AND country = "austria" |
Which Score is the lowest one that has a Year of 1868? | CREATE TABLE table_name_75 (score INTEGER, year VARCHAR) | SELECT MIN(score) FROM table_name_75 WHERE year = 1868 |
Which bullet has a Length of 33.78 (1.33)? | CREATE TABLE table_name_28 (bullet VARCHAR, length VARCHAR) | SELECT bullet FROM table_name_28 WHERE length = "33.78 (1.33)" |
What is the loss for the record of 42-36? | CREATE TABLE table_name_82 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_82 WHERE record = "42-36" |
Who was the jockey for the winning horse Helioptic? | CREATE TABLE table_name_41 (jockey VARCHAR, winner VARCHAR) | SELECT jockey FROM table_name_41 WHERE winner = "helioptic" |
What was the maximum number in written when the standard was 2? | CREATE TABLE table_19534874_2 (written INTEGER, standard VARCHAR) | SELECT MAX(written) FROM table_19534874_2 WHERE standard = 2 |
What is Country, when To par is "1", and when Player is "Seve Ballesteros"? | CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT country FROM table_name_20 WHERE to_par = 1 AND player = "seve ballesteros" |
Prior to 1978, what is the Danish of the Film directed by Bent Christensen? | CREATE TABLE table_name_16 (danish_title VARCHAR, year VARCHAR, director VARCHAR) | SELECT danish_title FROM table_name_16 WHERE year < 1978 AND director = "bent christensen" |
What are the venues prior to 2005 in the World Class category that resulted in a bronze? | CREATE TABLE table_name_57 (venue VARCHAR, result VARCHAR, year VARCHAR, category VARCHAR) | SELECT venue FROM table_name_57 WHERE year < 2005 AND category = "world class" AND result = "bronze" |
Display the first and last name, and salary for those employees whose first name is ending with the letter m. | CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary VARCHAR) | SELECT first_name, last_name, salary FROM employees WHERE first_name LIKE '%m' |
What year did Karl Schnabl win the Winter Olympics? | CREATE TABLE table_174491_2 (winter_olympics VARCHAR, winner VARCHAR) | SELECT winter_olympics FROM table_174491_2 WHERE winner = "Karl Schnabl" |
What is the number of seats in congress when the electoral district is Ucayali? | CREATE TABLE table_2676980_4 (seats_in_congress VARCHAR, electoral_district VARCHAR) | SELECT COUNT(seats_in_congress) FROM table_2676980_4 WHERE electoral_district = "Ucayali" |
What is the Rank of the Guam Player? | CREATE TABLE table_name_83 (rank INTEGER, country VARCHAR) | SELECT AVG(rank) FROM table_name_83 WHERE country = "guam" |
what is the total number o production code where us viewers is 2.76? | CREATE TABLE table_21726793_1 (production_code VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(production_code) FROM table_21726793_1 WHERE us_viewers__million_ = "2.76" |
What pick was mario williams before 2006? | CREATE TABLE table_name_72 (pick INTEGER, player_name VARCHAR, year VARCHAR) | SELECT SUM(pick) FROM table_name_72 WHERE player_name = "mario williams" AND year < 2006 |
Who is the partner when the opponents in the final is stephanie dubois olga savchuk? | CREATE TABLE table_26458137_2 (partner VARCHAR, opponents_in_the_final VARCHAR) | SELECT partner FROM table_26458137_2 WHERE opponents_in_the_final = "Stephanie Dubois Olga Savchuk" |
What is the total appearances when the total goals is 289? | CREATE TABLE table_29701419_2 (total_appearances INTEGER, total_goals VARCHAR) | SELECT MIN(total_appearances) FROM table_29701419_2 WHERE total_goals = 289 |
Name the 2010 for 2012 grand slam tournaments | CREATE TABLE table_name_38 (Id VARCHAR) | SELECT 2010 FROM table_name_38 WHERE 2012 = "grand slam tournaments" |
When 129 is on March 27th to 29th what is June 10th to 11th? | CREATE TABLE table_25286976_2 (june_10_11 VARCHAR, march_27_29 VARCHAR) | SELECT june_10_11 FROM table_25286976_2 WHERE march_27_29 = "129" |
Who was the athlete with react of 0.185? | CREATE TABLE table_name_79 (athlete VARCHAR, react VARCHAR) | SELECT athlete FROM table_name_79 WHERE react = 0.185 |
Who is the shooter with 15 rank points, and 0 score points? | CREATE TABLE table_name_56 (shooter VARCHAR, rank_points VARCHAR, score_points VARCHAR) | SELECT shooter FROM table_name_56 WHERE rank_points = "15" AND score_points = "0" |
what rank has years until mandatory retirement of 6 years? | CREATE TABLE table_name_55 (rank VARCHAR, years_until_mandatory_retirement VARCHAR) | SELECT rank FROM table_name_55 WHERE years_until_mandatory_retirement = "6 years" |
What episode number in the series had a production code of bdf405? | CREATE TABLE table_28019988_5 (series__number INTEGER, production_code VARCHAR) | SELECT MIN(series__number) FROM table_28019988_5 WHERE production_code = "BDF405" |
Show the product type codes that have both products with price higher than 4500 and products with price lower than 3000. | CREATE TABLE Products (Product_Type_Code VARCHAR, Product_Price INTEGER) | SELECT Product_Type_Code FROM Products WHERE Product_Price > 4500 INTERSECT SELECT Product_Type_Code FROM Products WHERE Product_Price < 3000 |
Date of april 3, 2007 had what score? | CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_2 WHERE date = "april 3, 2007" |
Which Uni # has a Surname of ough? | CREATE TABLE table_name_40 (uni_number VARCHAR, surname VARCHAR) | SELECT uni_number FROM table_name_40 WHERE surname = "ough" |
How many rebounds occurred in a rank 4 game? | CREATE TABLE table_name_73 (rebounds VARCHAR, rank VARCHAR) | SELECT rebounds FROM table_name_73 WHERE rank = 4 |
How many teams had a point margin of 48? | CREATE TABLE table_28068063_3 (eliminated_from_competition VARCHAR, points_margin VARCHAR) | SELECT COUNT(eliminated_from_competition) FROM table_28068063_3 WHERE points_margin = 48 |
Where was the venue that Linfield was the opponent? | CREATE TABLE table_name_58 (venue VARCHAR, opponent VARCHAR) | SELECT venue FROM table_name_58 WHERE opponent = "linfield" |
What was Mike Hailwood's highest laps when he had a grid more than 7? | CREATE TABLE table_name_16 (laps INTEGER, driver VARCHAR, grid VARCHAR) | SELECT MAX(laps) FROM table_name_16 WHERE driver = "mike hailwood" AND grid > 7 |
Which entrant has a year after 1999? | CREATE TABLE table_name_59 (entrant VARCHAR, year INTEGER) | SELECT entrant FROM table_name_59 WHERE year > 1999 |
Result of w 16-10* o.t. had what attendance? | CREATE TABLE table_name_27 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_27 WHERE result = "w 16-10* o.t." |
Who owns the station with the frequency FM 92.1? | CREATE TABLE table_name_65 (owner VARCHAR, frequency VARCHAR) | SELECT owner FROM table_name_65 WHERE frequency = "fm 92.1" |
what are the seasons for no 3? | CREATE TABLE table_23886181_1 (seasons VARCHAR, no VARCHAR) | SELECT seasons FROM table_23886181_1 WHERE no = "3" |
What is Brian Gay's place? | CREATE TABLE table_name_77 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_77 WHERE player = "brian gay" |
Who had the high assists when the game was at American Airlines Center 20,223? | CREATE TABLE table_name_8 (high_assists VARCHAR, location_attendance VARCHAR) | SELECT high_assists FROM table_name_8 WHERE location_attendance = "american airlines center 20,223" |
Which driver won the Indianapolis 500 the year the Chaparral team also won it? | CREATE TABLE table_name_67 (winning_driver VARCHAR, winning_team VARCHAR, name VARCHAR) | SELECT winning_driver FROM table_name_67 WHERE winning_team = "chaparral" AND name = "indianapolis 500" |
Name the lead tpt for bass of kevin tomanka and alto 1 of alan moffett | CREATE TABLE table_name_68 (lead_tpt VARCHAR, bass VARCHAR, alto_1 VARCHAR) | SELECT lead_tpt FROM table_name_68 WHERE bass = "kevin tomanka" AND alto_1 = "alan moffett" |
Which division in the AFC Conference had a total of 10 wins and appeared more than 18 times? | CREATE TABLE table_name_90 (division VARCHAR, appearances VARCHAR, conference VARCHAR, wins VARCHAR) | SELECT division FROM table_name_90 WHERE conference = "afc" AND wins = 10 AND appearances > 18 |
Name the incumbent for new york 10 | CREATE TABLE table_2668352_11 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_2668352_11 WHERE district = "New York 10" |
march 27-29 where june 10-11 is 127? | CREATE TABLE table_25355501_2 (march_27_29 VARCHAR, june_10_11 VARCHAR) | SELECT march_27_29 FROM table_25355501_2 WHERE june_10_11 = "127" |
When the winner was Alessandro Ballan, how many total team classifications were there? | CREATE TABLE table_15294880_2 (team_classification VARCHAR, winner VARCHAR) | SELECT COUNT(team_classification) FROM table_15294880_2 WHERE winner = "Alessandro Ballan" |
What tournament had Greg Rusedski as a finalist? | CREATE TABLE table_name_68 (tournament VARCHAR, finalist VARCHAR) | SELECT tournament FROM table_name_68 WHERE finalist = "greg rusedski" |
What is Karen Handel polling at in the Insideradvantage poll where John Oxendine is at 15%? | CREATE TABLE table_name_78 (karen_handel VARCHAR, poll_source VARCHAR, john_oxendine VARCHAR) | SELECT karen_handel FROM table_name_78 WHERE poll_source = "insideradvantage" AND john_oxendine = "15%" |
what's the salmonella with escherichia being espd | CREATE TABLE table_10321124_1 (salmonella VARCHAR, escherichia VARCHAR) | SELECT salmonella FROM table_10321124_1 WHERE escherichia = "EspD" |
What krypton has an argon of 20.85? | CREATE TABLE table_name_18 (krypton VARCHAR, argon VARCHAR) | SELECT krypton FROM table_name_18 WHERE argon = "20.85" |
Show the ids of the investors who have at least two transactions. | CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (investor_id VARCHAR) | SELECT T2.investor_id FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id HAVING COUNT(*) >= 2 |
Which chassis has an Alfa Romeo flat-12 engine. | CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR) | SELECT chassis FROM table_name_76 WHERE engine = "alfa romeo flat-12" |
What is listed for the Main Location(s) that has a % of National of 2.05%? | CREATE TABLE table_name_77 (main_location_s_ VARCHAR, _percentage_of_national VARCHAR) | SELECT main_location_s_ FROM table_name_77 WHERE _percentage_of_national = "2.05%" |
What is the prize pool if the entries is 1,132? | CREATE TABLE table_2534387_11 (prize VARCHAR, entries VARCHAR) | SELECT prize AS Pool FROM table_2534387_11 WHERE entries = "1,132" |
What are the number of winning tickets that have 180.00 as the prize (eur)? | CREATE TABLE table_20195922_3 (number_of_winning_tickets VARCHAR, prize__eur_ VARCHAR) | SELECT number_of_winning_tickets FROM table_20195922_3 WHERE prize__eur_ = "180.00" |
What was the outcome of the match against Juan Ignacio Chela? | CREATE TABLE table_name_51 (outcome VARCHAR, opponent VARCHAR) | SELECT outcome FROM table_name_51 WHERE opponent = "juan ignacio chela" |
When did episode 6 first air with entrepreneur Guy Portelli? | CREATE TABLE table_name_98 (first_aired VARCHAR, episode VARCHAR, entrepreneur_s_ VARCHAR) | SELECT first_aired FROM table_name_98 WHERE episode = "episode 6" AND entrepreneur_s_ = "guy portelli" |
Name the report for 2003 | CREATE TABLE table_2266230_1 (report VARCHAR, year VARCHAR) | SELECT report FROM table_2266230_1 WHERE year = "2003" |
who won on 29 may? | CREATE TABLE table_name_32 (winner VARCHAR, date VARCHAR) | SELECT winner FROM table_name_32 WHERE date = "29 may" |
what is the malayalam name മലയാളം of sanskrit uttarāṣāḍha उत्तराषाढा | CREATE TABLE table_201400_2 (malayalam_name_മലയാളം VARCHAR, sanskrit VARCHAR) | SELECT malayalam_name_മലയാളം FROM table_201400_2 WHERE sanskrit = "Uttarāṣāḍha उत्तराषाढा" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.