question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Anastasija Reiberger from Germany had what 4.00? | CREATE TABLE table_name_51 (nationality VARCHAR, name VARCHAR) | SELECT 400 FROM table_name_51 WHERE nationality = "germany" AND name = "anastasija reiberger" |
Are there any Teams after 1997? | CREATE TABLE table_name_21 (team VARCHAR, year INTEGER) | SELECT team FROM table_name_21 WHERE year > 1997 |
What is the highest number of loss with a 7 position and more than 45 goals? | CREATE TABLE table_name_73 (losses INTEGER, position VARCHAR, goals_for VARCHAR) | SELECT MAX(losses) FROM table_name_73 WHERE position = 7 AND goals_for > 45 |
What players had teh score of 64-71-67-67=269? | CREATE TABLE table_18862490_2 (player VARCHAR, score VARCHAR) | SELECT player FROM table_18862490_2 WHERE score = 64 - 71 - 67 - 67 = 269 |
Which city has the ICAO of LIRF? | CREATE TABLE table_name_84 (city VARCHAR, icao VARCHAR) | SELECT city FROM table_name_84 WHERE icao = "lirf" |
Who are the incumbents elected in 1974? | CREATE TABLE table_1341568_6 (incumbent VARCHAR, elected VARCHAR) | SELECT incumbent FROM table_1341568_6 WHERE elected = "1974" |
How many different production codes does the episode directed by Dominic Polcino have? | CREATE TABLE table_20613292_1 (production_code VARCHAR, directed_by VARCHAR) | SELECT COUNT(production_code) FROM table_20613292_1 WHERE directed_by = "Dominic Polcino" |
What was the North Melbourne's score when they played as the home team? | CREATE TABLE table_name_52 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_52 WHERE home_team = "north melbourne" |
What Season has Goals greater than 0 and less than 33 Apps? | CREATE TABLE table_name_34 (season VARCHAR, goals VARCHAR, apps VARCHAR) | SELECT season FROM table_name_34 WHERE goals > 0 AND apps < 33 |
What is score of the game that was at a paace of t4, and had the player Butch Baird? | CREATE TABLE table_name_36 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_36 WHERE place = "t4" AND player = "butch baird" |
What date did the epiode that had 1.37 million as the rating originally air? | CREATE TABLE table_27218002_2 (originalairdate VARCHAR, ratings VARCHAR) | SELECT originalairdate FROM table_27218002_2 WHERE ratings = "1.37 Million" |
What is the nationality of the Washington Capitals? | CREATE TABLE table_name_68 (nationality VARCHAR, nhl_team VARCHAR) | SELECT nationality FROM table_name_68 WHERE nhl_team = "washington capitals" |
What is the rank when bronze was more than 0, gold more than 1, Nation is japan, and silver less than 0? | CREATE TABLE table_name_73 (rank INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT AVG(rank) FROM table_name_73 WHERE bronze > 0 AND gold > 1 AND nation = "japan" AND silver < 0 |
What poor law union is Curradonohoe a part of? | CREATE TABLE table_30120555_1 (poor_law_union VARCHAR, townland VARCHAR) | SELECT poor_law_union FROM table_30120555_1 WHERE townland = "Curradonohoe" |
What is the HDTV when the content is general television? | CREATE TABLE table_name_50 (hdtv VARCHAR, content VARCHAR) | SELECT hdtv FROM table_name_50 WHERE content = "general television" |
Which team had a pick of 63? | CREATE TABLE table_name_93 (school_club_team VARCHAR, pick VARCHAR) | SELECT school_club_team FROM table_name_93 WHERE pick = 63 |
How many Yards did Player Rob Turner collect? | CREATE TABLE table_name_32 (yards VARCHAR, player VARCHAR) | SELECT yards FROM table_name_32 WHERE player = "rob turner" |
Retrieve the average age of members of the club "Tennis Club". | CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR) | SELECT AVG(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Tennis Club" |
How many stadiums are there with a capacity of 7500? | CREATE TABLE table_11208143_9 (stadium VARCHAR, capacity VARCHAR) | SELECT COUNT(stadium) FROM table_11208143_9 WHERE capacity = 7500 |
What's the date of the first airing of the episode with series number 63? | CREATE TABLE table_10718192_2 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT original_air_date FROM table_10718192_2 WHERE no_in_series = 63 |
When the driver peter gethin has a grid less than 25, what is the average number of laps? | CREATE TABLE table_name_4 (laps INTEGER, driver VARCHAR, grid VARCHAR) | SELECT AVG(laps) FROM table_name_4 WHERE driver = "peter gethin" AND grid < 25 |
What is the second leg that Valencia was on? | CREATE TABLE table_name_33 (team_2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_33 WHERE team_2 = "valencia" |
How many Points have a Date of march 19, 2009? | CREATE TABLE table_name_7 (points VARCHAR, date VARCHAR) | SELECT COUNT(points) FROM table_name_7 WHERE date = "march 19, 2009" |
what is the organisation when the nominated work title is n/a in the year 2005? | CREATE TABLE table_name_79 (organisation VARCHAR, nominated_work_title VARCHAR, year VARCHAR) | SELECT organisation FROM table_name_79 WHERE nominated_work_title = "n/a" AND year = 2005 |
what's the relative value that contains a jyutping of daam3? | CREATE TABLE table_name_72 (relative_value VARCHAR, jyutping VARCHAR) | SELECT relative_value FROM table_name_72 WHERE jyutping = "daam3" |
What's the location of the National event? | CREATE TABLE table_name_97 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_97 WHERE event = "the national" |
Can you tell me the Score that has the Date of april 8? | CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_22 WHERE date = "april 8" |
Who is the driver of the chassis that is tg183b tg184? | CREATE TABLE table_name_79 (driver VARCHAR, chassis VARCHAR) | SELECT driver FROM table_name_79 WHERE chassis = "tg183b tg184" |
On what circuit was the GTU winning team #59 Brumos Porsche - Audi in round 5? | CREATE TABLE table_13642023_2 (circuit VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR) | SELECT circuit FROM table_13642023_2 WHERE rnd = 5 AND gtu_winning_team = "#59 Brumos Porsche - Audi" |
What was the score of T3 place? | CREATE TABLE table_name_67 (score VARCHAR, place VARCHAR) | SELECT score FROM table_name_67 WHERE place = "t3" |
What is the upstream with the price 65 chf? | CREATE TABLE table_name_1 (upstream VARCHAR, price VARCHAR) | SELECT upstream FROM table_name_1 WHERE price = "65 chf" |
What was the lowest attendance for a game played @ Nashville Predators? | CREATE TABLE table_name_85 (attendance INTEGER, opponent VARCHAR) | SELECT MIN(attendance) FROM table_name_85 WHERE opponent = "@ nashville predators" |
Name the batting team at Durham | CREATE TABLE table_11303072_5 (batting_team VARCHAR, fielding_team VARCHAR) | SELECT batting_team FROM table_11303072_5 WHERE fielding_team = "Durham" |
what is the debut when the play er is radoslava topalova and the years played is less than 2? | CREATE TABLE table_name_33 (debut INTEGER, player VARCHAR, years_played VARCHAR) | SELECT AVG(debut) FROM table_name_33 WHERE player = "radoslava topalova" AND years_played < 2 |
On what date was the DVD released for the season with fewer than 13 episodes that aired before season 8? | CREATE TABLE table_name_74 (dvd_release_date VARCHAR, season VARCHAR, episodes VARCHAR) | SELECT dvd_release_date FROM table_name_74 WHERE season < 8 AND episodes < 13 |
Who are the mens singles and womens singles with sun yu? | CREATE TABLE table_13553701_1 (mens_singles VARCHAR, womens_singles VARCHAR) | SELECT mens_singles FROM table_13553701_1 WHERE womens_singles = "Sun Yu" |
What was the match that happened in Bishop's Stortford? | CREATE TABLE table_name_91 (match VARCHAR, opponent VARCHAR) | SELECT match FROM table_name_91 WHERE opponent = "bishop's stortford" |
Which alliance has a rank of 40? | CREATE TABLE table_name_85 (alliance__association VARCHAR, rank VARCHAR) | SELECT alliance__association FROM table_name_85 WHERE rank = 40 |
What was the lowest attendance for games played on december 23? | CREATE TABLE table_23308178_6 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_23308178_6 WHERE date = "December 23" |
Show all product colors. | CREATE TABLE Products (product_color VARCHAR) | SELECT DISTINCT product_color FROM Products |
When doeas Mascot of blue devils in Gary Froebel School? | CREATE TABLE table_name_74 (joined VARCHAR, mascot VARCHAR) | SELECT joined FROM table_name_74 WHERE mascot = "blue devils" |
Name the result for 19 black knights points | CREATE TABLE table_21091145_1 (result VARCHAR, black_knights_points VARCHAR) | SELECT result FROM table_21091145_1 WHERE black_knights_points = 19 |
Who is the player with a t6 place? | CREATE TABLE table_name_99 (player VARCHAR, place VARCHAR) | SELECT player FROM table_name_99 WHERE place = "t6" |
Which team has Yuriy Hruznov as coach? | CREATE TABLE table_name_49 (team VARCHAR, coach VARCHAR) | SELECT team FROM table_name_49 WHERE coach = "yuriy hruznov" |
what are the u.s. air dates with a Canadian air date of may 4, 2009 | CREATE TABLE table_12294557_3 (us_airdate VARCHAR, canadian_airdate VARCHAR) | SELECT us_airdate FROM table_12294557_3 WHERE canadian_airdate = "May 4, 2009" |
What was the population density in km2 for 2011 in the division where area in km2 was 684.37 in 2011? | CREATE TABLE table_24027047_1 (population_density___km²_2011_ VARCHAR, area__km²__2011 VARCHAR) | SELECT population_density___km²_2011_ FROM table_24027047_1 WHERE area__km²__2011 * * = "684.37" |
How many locations logged a score of 206 (-7)? | CREATE TABLE table_11622840_1 (location VARCHAR, score VARCHAR) | SELECT COUNT(location) FROM table_11622840_1 WHERE score = "206 (-7)" |
On what date is Jerilyn Britz the runner-up? | CREATE TABLE table_name_32 (date VARCHAR, runner_s__up VARCHAR) | SELECT date FROM table_name_32 WHERE runner_s__up = "jerilyn britz" |
What is th title of the episode written by Nick Thiel? | CREATE TABLE table_2828803_1 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_2828803_1 WHERE written_by = "Nick Thiel" |
What was the population in 2011 of banatski karlovac? | CREATE TABLE table_2562572_44 (population__2011_ VARCHAR, settlement VARCHAR) | SELECT population__2011_ FROM table_2562572_44 WHERE settlement = "Banatski Karlovac" |
WHAT CHARTING HAS NO BLOGS OR DISCUSSION? | CREATE TABLE table_name_96 (charting VARCHAR, blogs VARCHAR, discussion VARCHAR) | SELECT charting FROM table_name_96 WHERE blogs = "no" AND discussion = "no" |
What position Jason Fitzgerald played? | CREATE TABLE table_name_89 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_89 WHERE player = "jason fitzgerald" |
How many different players got drafted for the Ottawa Renegades? | CREATE TABLE table_23619005_3 (player VARCHAR, cfl_team VARCHAR) | SELECT COUNT(player) FROM table_23619005_3 WHERE cfl_team = "Ottawa Renegades" |
What is the lowest amount of points driver Romain Grosjean, who has an average pre-2010 less than 0, has? | CREATE TABLE table_name_49 (points INTEGER, driver VARCHAR, average_pre_2010 VARCHAR) | SELECT MIN(points) FROM table_name_49 WHERE driver = "romain grosjean" AND average_pre_2010 < 0 |
Name the years in orlando for penn state | CREATE TABLE table_15621965_1 (years_in_orlando VARCHAR, school_club_team VARCHAR) | SELECT years_in_orlando FROM table_15621965_1 WHERE school_club_team = "Penn State" |
What was the year of the last final for the club whose last title was 1990? | CREATE TABLE table_2869837_1 (last_final VARCHAR, last_title VARCHAR) | SELECT last_final FROM table_2869837_1 WHERE last_title = "1990" |
What was the fewest number of viewers for the episode production number of 109 5-22? | CREATE TABLE table_name_54 (total_viewers__in_millions_ INTEGER, episode_number_production_number VARCHAR) | SELECT MIN(total_viewers__in_millions_) FROM table_name_54 WHERE episode_number_production_number = "109 5-22" |
Name the date for cleveland | CREATE TABLE table_27713583_11 (date VARCHAR, team VARCHAR) | SELECT date FROM table_27713583_11 WHERE team = "Cleveland" |
what is the language when the english translation is come to me? | CREATE TABLE table_name_18 (language VARCHAR, english_translation VARCHAR) | SELECT language FROM table_name_18 WHERE english_translation = "come to me" |
what is the score on november 15 | CREATE TABLE table_name_66 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_66 WHERE date = "november 15" |
How long is the diameter that has a longitude of 8.0e? | CREATE TABLE table_name_65 (diameter__km_ VARCHAR, longitude VARCHAR) | SELECT diameter__km_ FROM table_name_65 WHERE longitude = "8.0e" |
How many were in attendance for a result of D, at H venue, and Arsenal as an opponent? | CREATE TABLE table_name_40 (attendance VARCHAR, opponents VARCHAR, result VARCHAR, venue VARCHAR) | SELECT attendance FROM table_name_40 WHERE result = "d" AND venue = "h" AND opponents = "arsenal" |
What is the Outcome of the Doubles played on Carpet? | CREATE TABLE table_name_35 (outcome VARCHAR, surface VARCHAR) | SELECT outcome FROM table_name_35 WHERE surface = "carpet" |
What was the date when the away team was Carlton? | CREATE TABLE table_name_65 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_65 WHERE away_team = "carlton" |
What is Dominik Meichtry's Time in Heat 7 or lower? | CREATE TABLE table_name_24 (time VARCHAR, name VARCHAR, heat VARCHAR) | SELECT COUNT(time) FROM table_name_24 WHERE name = "dominik meichtry" AND heat < 7 |
when was the death of the person with husband Charles, 1st dauphin? | CREATE TABLE table_name_1 (death VARCHAR, husband VARCHAR) | SELECT death FROM table_name_1 WHERE husband = "charles, 1st dauphin" |
Show the transaction type descriptions and dates if the share count is smaller than 10. | CREATE TABLE Ref_Transaction_Types (transaction_type_description VARCHAR, transaction_type_code VARCHAR); CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, transaction_type_code VARCHAR, share_count INTEGER) | SELECT T1.transaction_type_description, T2.date_of_transaction FROM Ref_Transaction_Types AS T1 JOIN TRANSACTIONS AS T2 ON T1.transaction_type_code = T2.transaction_type_code WHERE T2.share_count < 10 |
How many people attended the away league competition with a date of 22? | CREATE TABLE table_name_61 (attendance VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT attendance FROM table_name_61 WHERE competition = "league" AND venue = "away" AND date = 22 |
Which episode had viewership of 0.296 million? | CREATE TABLE table_27987623_3 (episode VARCHAR, viewers__millions_ VARCHAR) | SELECT episode FROM table_27987623_3 WHERE viewers__millions_ = "0.296" |
Which Home team had attendance 160? | CREATE TABLE table_name_91 (home_team VARCHAR, attendance VARCHAR) | SELECT home_team FROM table_name_91 WHERE attendance = "160" |
Who drive the car that went under 60 laps and spun off? | CREATE TABLE table_name_25 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR) | SELECT driver FROM table_name_25 WHERE laps < 60 AND time_retired = "spun off" |
What is the Week of the game against Minnesota Vikings? | CREATE TABLE table_name_10 (week INTEGER, opponent VARCHAR) | SELECT MAX(week) FROM table_name_10 WHERE opponent = "minnesota vikings" |
What launched has 158 days (5 months, 8 days) as the time elapsed? | CREATE TABLE table_name_91 (launched VARCHAR, time_elapsed VARCHAR) | SELECT launched FROM table_name_91 WHERE time_elapsed = "158 days (5 months, 8 days)" |
Name the place for ed oliver | CREATE TABLE table_name_47 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_47 WHERE player = "ed oliver" |
List the names and scores of all wines. | CREATE TABLE WINE (Name VARCHAR, Score VARCHAR) | SELECT Name, Score FROM WINE |
WHAT IS THE SCORE WITH $85 FOR CLARENCE HACKNEY? | CREATE TABLE table_name_96 (score VARCHAR, money___$__ VARCHAR, player VARCHAR) | SELECT score FROM table_name_96 WHERE money___$__ = 85 AND player = "clarence hackney" |
Which Score has a To par of +1 in sweden? | CREATE TABLE table_name_67 (score VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT score FROM table_name_67 WHERE to_par = "+1" AND country = "sweden" |
What's the total points that Scuderia Ferrari with a Ferrari V12 engine have before 1971? | CREATE TABLE table_name_60 (points INTEGER, engine VARCHAR, year VARCHAR, entrant VARCHAR) | SELECT SUM(points) FROM table_name_60 WHERE year < 1971 AND entrant = "scuderia ferrari" AND engine = "ferrari v12" |
What is the ERP W number where the frequency is smaller than 91.1? | CREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER) | SELECT MAX(erp_w) FROM table_name_6 WHERE frequency_mhz < 91.1 |
How many points when 15 is scored is considered the minimum? | CREATE TABLE table_14889048_2 (points INTEGER, scored VARCHAR) | SELECT MIN(points) FROM table_14889048_2 WHERE scored = 15 |
What was the date of the game attended by 25,022? | CREATE TABLE table_name_70 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_70 WHERE attendance = "25,022" |
What are the candidates for noah m. mason? | CREATE TABLE table_1342149_13 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_1342149_13 WHERE incumbent = "Noah M. Mason" |
What is the highest number of silver when there is 1 bronze and less than 4 golds? | CREATE TABLE table_name_38 (silver INTEGER, bronze VARCHAR, gold VARCHAR) | SELECT MAX(silver) FROM table_name_38 WHERE bronze = 1 AND gold < 4 |
Show the names of editors that are on at least two journal committees. | CREATE TABLE editor (Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal_committee (Editor_ID VARCHAR) | SELECT T1.Name FROM editor AS T1 JOIN journal_committee AS T2 ON T1.Editor_ID = T2.Editor_ID GROUP BY T1.Name HAVING COUNT(*) >= 2 |
What is the place of the record on 1996-05-25 with a mark greater than 90.73? | CREATE TABLE table_name_38 (place VARCHAR, mark VARCHAR, date VARCHAR) | SELECT place FROM table_name_38 WHERE mark > 90.73 AND date = "1996-05-25" |
Which venue has a neutral H/A/N, lower than position 3 and a score of 141? | CREATE TABLE table_name_85 (venue VARCHAR, score VARCHAR, h_a_n VARCHAR, pos VARCHAR) | SELECT venue FROM table_name_85 WHERE h_a_n = "neutral" AND pos < 3 AND score = "141" |
What are the subdivision names (RU) where the subdivision name (BE) is Hrodzenskaya Voblasts'? | CREATE TABLE table_290017_1 (subdivision_name___ru____gost_ VARCHAR, subdivision_name___be____bgn_pcgn_ VARCHAR) | SELECT subdivision_name___ru____gost_ FROM table_290017_1 WHERE subdivision_name___be____bgn_pcgn_ = "Hrodzenskaya voblasts'" |
What is the total rank of the athlete with a total larger than 19.42 and a taijiquan less than 9.87? | CREATE TABLE table_name_67 (rank VARCHAR, total VARCHAR, taijiquan VARCHAR) | SELECT COUNT(rank) FROM table_name_67 WHERE total > 19.42 AND taijiquan < 9.87 |
How many Total has a Player of dave stockton? | CREATE TABLE table_name_53 (total VARCHAR, player VARCHAR) | SELECT COUNT(total) FROM table_name_53 WHERE player = "dave stockton" |
who were the director of the episode whose number in the season is 17? | CREATE TABLE table_27622417_1 (directed_by VARCHAR, no_in_season VARCHAR) | SELECT directed_by FROM table_27622417_1 WHERE no_in_season = 17 |
What was the score on December 3 when Detroit was the home team and Legace took the decision? | CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR, home VARCHAR, decision VARCHAR) | SELECT score FROM table_name_52 WHERE home = "detroit" AND decision = "legace" AND date = "december 3" |
what is the country when the base is ljubljana? | CREATE TABLE table_name_67 (country VARCHAR, base VARCHAR) | SELECT country FROM table_name_67 WHERE base = "ljubljana" |
Which 2006 tournament had a 4R performance in 2001? | CREATE TABLE table_name_96 (Id VARCHAR) | SELECT 2006 FROM table_name_96 WHERE 2001 = "4r" |
First elected in 1807 1817 in what district? | CREATE TABLE table_2668336_17 (district VARCHAR, first_elected VARCHAR) | SELECT district FROM table_2668336_17 WHERE first_elected = "1807 1817" |
Name the venue for 23 january 2009 | CREATE TABLE table_name_88 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_88 WHERE date = "23 january 2009" |
What is Call Sign, when City of License is Brownfield, Texas? | CREATE TABLE table_name_51 (call_sign VARCHAR, city_of_license VARCHAR) | SELECT call_sign FROM table_name_51 WHERE city_of_license = "brownfield, texas" |
What position has 14 rounds? | CREATE TABLE table_name_15 (position VARCHAR, round VARCHAR) | SELECT position FROM table_name_15 WHERE round = 14 |
How many distinct nationalities are there? | CREATE TABLE people (Nationality VARCHAR) | SELECT COUNT(DISTINCT Nationality) FROM people |
What is the birth date of A. J. Holmes who has a right-handed batting style? | CREATE TABLE table_name_57 (birth_date VARCHAR, batting_style VARCHAR, name VARCHAR) | SELECT birth_date FROM table_name_57 WHERE batting_style = "right-handed" AND name = "a. j. holmes" |
What is the name of the nurse has the most appointments? | CREATE TABLE nurse (name VARCHAR, employeeid VARCHAR); CREATE TABLE appointment (prepnurse VARCHAR) | SELECT T1.name FROM nurse AS T1 JOIN appointment AS T2 ON T1.employeeid = T2.prepnurse GROUP BY T1.employeeid ORDER BY COUNT(*) DESC LIMIT 1 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.