question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Name the period for michel prost | CREATE TABLE table_24565004_17 (period VARCHAR, name VARCHAR) | SELECT period FROM table_24565004_17 WHERE name = "Michel Prost" |
Name the last match for argentina - estadio josé maría minella | CREATE TABLE table_23819979_3 (last_match VARCHAR, final_place VARCHAR) | SELECT last_match FROM table_23819979_3 WHERE final_place = "Argentina - Estadio José María Minella" |
If the French Open tournament had 2r in 2012, what was it in 2009? | CREATE TABLE table_name_71 (tournament VARCHAR) | SELECT 2009 FROM table_name_71 WHERE 2012 = "2r" AND tournament = "french open" |
What is the minimum of 25 to 29? | CREATE TABLE table_16457934_5 (Id VARCHAR) | SELECT MIN(25 AS _to_29) FROM table_16457934_5 |
What year did maggs magnificent mild win a gold medal in the mild and porter category at the siba south east region beer competition? | CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, category VARCHAR, beer_name VARCHAR, prize VARCHAR) | SELECT AVG(year) FROM table_name_93 WHERE beer_name = "maggs magnificent mild" AND prize = "gold medal" AND category = "mild and porter" AND competition = "siba south east region beer competition" |
How many ranks have chen yin as the name, with a lane greater than 8? | CREATE TABLE table_name_22 (rank INTEGER, name VARCHAR, lane VARCHAR) | SELECT SUM(rank) FROM table_name_22 WHERE name = "chen yin" AND lane > 8 |
How many Gold medals did Australia receive? | CREATE TABLE table_name_59 (gold INTEGER, nation VARCHAR) | SELECT AVG(gold) FROM table_name_59 WHERE nation = "australia" |
What is the B (max) average when the C (max) is greater than 156, the taper is 1:19.231, and the D (max) is less than 34.9? | CREATE TABLE table_name_22 (b__max_ INTEGER, d__max_ VARCHAR, c__max_ VARCHAR, taper VARCHAR) | SELECT AVG(b__max_) FROM table_name_22 WHERE c__max_ > 156 AND taper = "1:19.231" AND d__max_ < 34.9 |
Who had a function of explorator? | CREATE TABLE table_name_9 (name VARCHAR, function VARCHAR) | SELECT name FROM table_name_9 WHERE function = "explorator" |
What was the 2009 results that has q1 for 2010, and A as the result for 2011? | CREATE TABLE table_name_71 (Id VARCHAR) | SELECT 2009 FROM table_name_71 WHERE 2010 = "q1" AND 2011 = "a" |
What source has july 1 as the date? | CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_80 WHERE date = "july 1" |
What is the engine for the Machinists Union Racing team? | CREATE TABLE table_name_79 (engine VARCHAR, team VARCHAR) | SELECT engine FROM table_name_79 WHERE team = "machinists union racing" |
What song was composed by V. Selvaganesh later than 2010? | CREATE TABLE table_name_58 (song VARCHAR, composer VARCHAR, year VARCHAR) | SELECT song FROM table_name_58 WHERE composer = "v. selvaganesh" AND year > 2010 |
what is the qual 1 for alex tagliani? | CREATE TABLE table_name_25 (qual_1 VARCHAR, name VARCHAR) | SELECT qual_1 FROM table_name_25 WHERE name = "alex tagliani" |
Tell me the lowest pick number for new england revolution | CREATE TABLE table_name_84 (pick__number INTEGER, mls_team VARCHAR) | SELECT MIN(pick__number) FROM table_name_84 WHERE mls_team = "new england revolution" |
List the name of albums that are released by aritist whose name has 'Led' | CREATE TABLE artists (id VARCHAR, name VARCHAR); CREATE TABLE albums (title VARCHAR, artist_id VARCHAR) | SELECT T2.title FROM artists AS T1 JOIN albums AS T2 ON T1.id = T2.artist_id WHERE T1.name LIKE '%Led%' |
Which December has a Record of 21–7–2, and a Game larger than 30? | CREATE TABLE table_name_59 (december INTEGER, record VARCHAR, game VARCHAR) | SELECT MAX(december) FROM table_name_59 WHERE record = "21–7–2" AND game > 30 |
What is the 2009 entry for the row that has a 2007 entry of A and a tournament entry of US Open? | CREATE TABLE table_name_94 (tournament VARCHAR) | SELECT 2009 FROM table_name_94 WHERE 2007 = "a" AND tournament = "us open" |
What was the rating for the episode that had 5.90 million viewers? | CREATE TABLE table_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR) | SELECT rating FROM table_23730973_5 WHERE viewers__millions_ = "5.90" |
What is the average Episode # with a share of 9, and #35 is rank and less than 8.21 viewers? | CREATE TABLE table_name_96 (episode__number INTEGER, viewers VARCHAR, share VARCHAR, rank VARCHAR) | SELECT AVG(episode__number) FROM table_name_96 WHERE share = 9 AND rank = "#35" AND viewers < 8.21 |
Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244? | CREATE TABLE table_name_67 (school VARCHAR, ihsaa_class VARCHAR, enrollment_08_09 VARCHAR) | SELECT school FROM table_name_67 WHERE ihsaa_class = "a" AND enrollment_08_09 = 244 |
what is the least money ($) when the country is united states and the player is kirk triplett? | CREATE TABLE table_name_45 (money___ INTEGER, country VARCHAR, player VARCHAR) | SELECT MIN(money___) AS $__ FROM table_name_45 WHERE country = "united states" AND player = "kirk triplett" |
When was the result 3-1? | CREATE TABLE table_name_22 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_22 WHERE result = "3-1" |
What are the previous season ranks of teams whose website is www.novavolley.narod.ru? | CREATE TABLE table_19526911_1 (previous_season_2007_2008 VARCHAR, website VARCHAR) | SELECT previous_season_2007_2008 FROM table_19526911_1 WHERE website = "www.novavolley.narod.ru" |
Who was the architect of the 10 floor building with a height of 42 M? | CREATE TABLE table_name_68 (architect VARCHAR, floors VARCHAR, height_ VARCHAR, m VARCHAR) | SELECT architect FROM table_name_68 WHERE height_[m] = 42 AND floors = 10 |
Who was the winner/2nd place finisher in the Caulfield Guineas? | CREATE TABLE table_name_18 (winner_2nd VARCHAR, race VARCHAR) | SELECT winner_2nd FROM table_name_18 WHERE race = "caulfield guineas" |
how many remittances in 2010 where the remittances is 19.73? | CREATE TABLE table_2941963_1 (remittances_2010 VARCHAR, remittances_2009 VARCHAR) | SELECT COUNT(remittances_2010) FROM table_2941963_1 WHERE remittances_2009 = "19.73" |
What is the title in Canada? | CREATE TABLE table_29487895_2 (title_in_country VARCHAR, country___region VARCHAR) | SELECT title_in_country FROM table_29487895_2 WHERE country___region = "Canada" |
What was the original air for the 06-03-521 production code? | CREATE TABLE table_1876825_6 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_1876825_6 WHERE production_code = "06-03-521" |
What was the streak for the game after 8 on Nov 22? | CREATE TABLE table_name_74 (streak VARCHAR, game VARCHAR, date VARCHAR) | SELECT streak FROM table_name_74 WHERE game > 8 AND date = "nov 22" |
what is the region when the location is 49.7462°n 117.1419°w? | CREATE TABLE table_name_96 (region VARCHAR, location VARCHAR) | SELECT region FROM table_name_96 WHERE location = "49.7462°n 117.1419°w" |
What date was the 6d introduced? | CREATE TABLE table_1682865_1 (introduction VARCHAR, numeral VARCHAR) | SELECT introduction FROM table_1682865_1 WHERE numeral = "6d" |
Which Player has a To par of +9? | CREATE TABLE table_name_8 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_8 WHERE to_par = "+9" |
Which tournament had an outcome of winner, a hard surface, and happened on August 26, 2006? | CREATE TABLE table_name_76 (tournament VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT tournament FROM table_name_76 WHERE outcome = "winner" AND surface = "hard" AND date = "august 26, 2006" |
How many votes did Wales cast when Northern England cast 6? | CREATE TABLE table_10128185_2 (wales INTEGER, northern_england VARCHAR) | SELECT MIN(wales) FROM table_10128185_2 WHERE northern_england = 6 |
On November 1, 1964, where was the game site? | CREATE TABLE table_17781394_1 (game_site VARCHAR, date VARCHAR) | SELECT game_site FROM table_17781394_1 WHERE date = "November 1, 1964" |
What was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3? | CREATE TABLE table_name_8 (Final VARCHAR, week_1 VARCHAR, week_3 VARCHAR) | SELECT Final AS week_12 FROM table_name_8 WHERE week_1 = "deepak p rahul" AND week_3 = "amit carol" |
How many losses had a total of 17 and more than 10 wins? | CREATE TABLE table_name_94 (losses VARCHAR, total VARCHAR, wins VARCHAR) | SELECT COUNT(losses) FROM table_name_94 WHERE total = 17 AND wins > 10 |
What is the position for Oleksandr Vorobiov ( ukr ), when the total was larger than 16.25? | CREATE TABLE table_name_58 (position VARCHAR, gymnast VARCHAR, total VARCHAR) | SELECT COUNT(position) FROM table_name_58 WHERE gymnast = "oleksandr vorobiov ( ukr )" AND total > 16.25 |
On April 22 when the Los Angeles Kings where visitors what was the record? | CREATE TABLE table_name_59 (record VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT record FROM table_name_59 WHERE visitor = "los angeles kings" AND date = "april 22" |
Find the number of cities in each district whose population is greater than the average population of cities? | CREATE TABLE city (District VARCHAR, Population INTEGER) | SELECT COUNT(*), District FROM city WHERE Population > (SELECT AVG(Population) FROM city) GROUP BY District |
Name the Finish which has a Total of 287? | CREATE TABLE table_name_20 (finish VARCHAR, total VARCHAR) | SELECT finish FROM table_name_20 WHERE total = 287 |
Who was the opponent on april 26, 2003? | CREATE TABLE table_name_25 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_25 WHERE date = "april 26, 2003" |
Which tournament was held on July 13, 2008? | CREATE TABLE table_name_20 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_20 WHERE date = "july 13, 2008" |
What's the lince when Leclerc was Hp (kw)? | CREATE TABLE table_name_8 (lince VARCHAR, leclerc VARCHAR) | SELECT lince FROM table_name_8 WHERE leclerc = "hp (kw)" |
How many editors are there? | CREATE TABLE editor (Id VARCHAR) | SELECT COUNT(*) FROM editor |
What is the party when the incumbent is samuel smith? | CREATE TABLE table_2668416_7 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668416_7 WHERE incumbent = "Samuel Smith" |
What was the rank of the person who swam in Lane 7 with a time of 2:25.86? | CREATE TABLE table_name_55 (rank INTEGER, time VARCHAR, lane VARCHAR) | SELECT SUM(rank) FROM table_name_55 WHERE time = "2:25.86" AND lane < 7 |
What is the A330 and the A310 wide? | CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR) | SELECT a330 FROM table_name_62 WHERE a310 = "wide" |
List the names of phones in ascending order of price. | CREATE TABLE phone (Name VARCHAR, Price VARCHAR) | SELECT Name FROM phone ORDER BY Price |
Which 1992 is the lowest one that has a 1977 smaller than 385577, and a 2011 larger than 340310, and a 2002 larger than 300123, and a 1948 larger than 280524? | CREATE TABLE table_name_12 (Id VARCHAR) | SELECT MIN(1992) FROM table_name_12 WHERE 1977 < 385577 AND 2011 > 340310 AND 2002 > 300123 AND 1948 > 280524 |
Name the points for car number 4 | CREATE TABLE table_25794532_1 (points VARCHAR, car_no VARCHAR) | SELECT points FROM table_25794532_1 WHERE car_no = 4 |
how many dates where high assists is stu douglass (5) – 4 | CREATE TABLE table_20010140_10 (date VARCHAR, high_assists VARCHAR) | SELECT COUNT(date) FROM table_20010140_10 WHERE high_assists = "Stu Douglass (5) – 4" |
What is the total number of Viewers when the rank is #40? | CREATE TABLE table_name_30 (viewers VARCHAR, rank VARCHAR) | SELECT COUNT(viewers) FROM table_name_30 WHERE rank = "#40" |
Which district elected incumbent Earle Cabell? | CREATE TABLE table_1341718_44 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341718_44 WHERE incumbent = "Earle Cabell" |
What is the total number of seats with gavin duffy in series 4? | CREATE TABLE table_name_13 (seat VARCHAR, series_4 VARCHAR) | SELECT COUNT(seat) FROM table_name_13 WHERE series_4 = "gavin duffy" |
What is Score, when Record is 12-57? | CREATE TABLE table_name_53 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_53 WHERE record = "12-57" |
What is the English title of the film from 2001? | CREATE TABLE table_name_89 (english_title VARCHAR, year VARCHAR) | SELECT english_title FROM table_name_89 WHERE year = 2001 |
Which player has a to par of +8? | CREATE TABLE table_name_81 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_81 WHERE to_par = "+8" |
Which Transfer fee has a From club of blackburn rovers? | CREATE TABLE table_name_80 (transfer_fee VARCHAR, from_club VARCHAR) | SELECT transfer_fee FROM table_name_80 WHERE from_club = "blackburn rovers" |
Name the Event which has a Score of 209-197? | CREATE TABLE table_name_24 (event VARCHAR, score VARCHAR) | SELECT event FROM table_name_24 WHERE score = "209-197" |
I need the FCC info on the radio Frequency MHz 107.5? | CREATE TABLE table_name_64 (fcc_info VARCHAR, frequency_mhz VARCHAR) | SELECT fcc_info FROM table_name_64 WHERE frequency_mhz = 107.5 |
WHAT IS THE SITE ON OCTOBER 7? | CREATE TABLE table_name_44 (site VARCHAR, date VARCHAR) | SELECT site FROM table_name_44 WHERE date = "october 7" |
How many spectators attended the game that ended in a result of w29-7? | CREATE TABLE table_name_27 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_27 WHERE result = "w29-7" |
Does the sounddock series I v2 have dual voltage? | CREATE TABLE table_24384861_1 (dual_voltage VARCHAR, version VARCHAR) | SELECT dual_voltage FROM table_24384861_1 WHERE version = "SoundDock series I v2" |
Tell me the date with result of won 1-0 | CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_13 WHERE result = "won 1-0" |
At what venue was the away team Fitzroy? | CREATE TABLE table_name_19 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_19 WHERE away_team = "fitzroy" |
What is the score of the game with the San Diego Padres as the opponent and a record of 11-23? | CREATE TABLE table_name_29 (score VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT score FROM table_name_29 WHERE opponent = "san diego padres" AND record = "11-23" |
what is the least silver when gold is 0? | CREATE TABLE table_name_93 (silver INTEGER, gold INTEGER) | SELECT MIN(silver) FROM table_name_93 WHERE gold < 0 |
When was the episode directed by Carey Meyer aired for the first time? | CREATE TABLE table_13273629_2 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_13273629_2 WHERE directed_by = "Carey Meyer" |
When did the Titans play the Houston Texans at LP Field before Week 13? | CREATE TABLE table_name_68 (date VARCHAR, opponent VARCHAR, week VARCHAR, game_site VARCHAR) | SELECT date FROM table_name_68 WHERE week < 13 AND game_site = "lp field" AND opponent = "houston texans" |
What is the Home team of Tie no 11? | CREATE TABLE table_name_66 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_66 WHERE tie_no = "11" |
How many track numbers were recorded on November 16, 1959 for the title of I Couldn't Hear Nobody Pray? | CREATE TABLE table_name_58 (track_number VARCHAR, recording_date VARCHAR, title VARCHAR) | SELECT COUNT(track_number) FROM table_name_58 WHERE recording_date = "november 16, 1959" AND title = "i couldn't hear nobody pray" |
What is the to par for Bart Bryant? | CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_9 WHERE player = "bart bryant" |
How many wins did the club have with the last win in 2000? | CREATE TABLE table_name_42 (wins VARCHAR, last_win VARCHAR) | SELECT wins FROM table_name_42 WHERE last_win = "2000" |
Name the gt2 winning team where lmp2 winning team and butch leitzinger marino franchitti ben devlin | CREATE TABLE table_19598014_2 (gt2_winning_team VARCHAR, lmp2_winning_team VARCHAR) | SELECT gt2_winning_team FROM table_19598014_2 WHERE lmp2_winning_team = "Butch Leitzinger Marino Franchitti Ben Devlin" |
Name the vote % for seats of 9 | CREATE TABLE table_name_92 (vote__percentage VARCHAR, seats VARCHAR) | SELECT vote__percentage FROM table_name_92 WHERE seats = 9 |
Which Tournament in 2010 also has Grand Slam tournaments in 2011 | CREATE TABLE table_name_74 (Id VARCHAR) | SELECT 2010 FROM table_name_74 WHERE 2011 = "grand slam tournaments" |
Name the number of date for shea stadium | CREATE TABLE table_14418812_1 (date VARCHAR, game_site VARCHAR) | SELECT COUNT(date) FROM table_14418812_1 WHERE game_site = "Shea Stadium" |
Poland has what notes? | CREATE TABLE table_name_75 (notes VARCHAR, country VARCHAR) | SELECT notes FROM table_name_75 WHERE country = "poland" |
where is the pegah team located? | CREATE TABLE table_name_74 (city VARCHAR, team VARCHAR) | SELECT city FROM table_name_74 WHERE team = "pegah" |
Why was Otago formed? | CREATE TABLE table_275023_1 (reason VARCHAR, province VARCHAR) | SELECT reason FROM table_275023_1 WHERE province = "Otago" |
What is the average number of wins of drivers from Sweden? | CREATE TABLE table_name_51 (driver_wins INTEGER, nation VARCHAR) | SELECT AVG(driver_wins) FROM table_name_51 WHERE nation = "sweden" |
what is the location when the champion is brigham young-hawaii, defeated is western oregon and the score is 3-0 (15-5, 15-9, 15-6)? | CREATE TABLE table_name_72 (location VARCHAR, score VARCHAR, champion VARCHAR, defeated VARCHAR) | SELECT location FROM table_name_72 WHERE champion = "brigham young-hawaii" AND defeated = "western oregon" AND score = "3-0 (15-5, 15-9, 15-6)" |
What was the score when the record was 22-53? | CREATE TABLE table_23274514_9 (score VARCHAR, record VARCHAR) | SELECT score FROM table_23274514_9 WHERE record = "22-53" |
When richmond was the Away team what was the score of the home team? | CREATE TABLE table_name_37 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_37 WHERE away_team = "richmond" |
Which Perth's gold coast and Adelaide were yes when Auckland was no? | CREATE TABLE table_name_51 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) | SELECT perth FROM table_name_51 WHERE gold_coast = "yes" AND adelaide = "yes" AND auckland = "no" |
What is the average round number with wide receiver as position and Clark University as the college and the pick number is bigger than 166? | CREATE TABLE table_name_18 (round__number INTEGER, pick__number VARCHAR, position VARCHAR, college VARCHAR) | SELECT AVG(round__number) FROM table_name_18 WHERE position = "wide receiver" AND college = "clark university" AND pick__number > 166 |
In what venue did the 1982 FIFA World Cup Qualification take place? | CREATE TABLE table_name_91 (venue VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_91 WHERE competition = "1982 fifa world cup qualification" |
What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377? | CREATE TABLE table_name_23 (year_2007 INTEGER, year_2005 INTEGER) | SELECT SUM(year_2007) FROM table_name_23 WHERE year_2005 > 29 OFFSET 377 |
Who was the writer who wrote the episode that was aired on September 11, 1972? | CREATE TABLE table_25800134_17 (writer_s_ VARCHAR, airdate VARCHAR) | SELECT writer_s_ FROM table_25800134_17 WHERE airdate = "September 11, 1972" |
What is the season # for a teleplay by Richard Price and the director is Steve Shill? | CREATE TABLE table_14346950_1 (season__number VARCHAR, teleplay_by VARCHAR, directed_by VARCHAR) | SELECT season__number FROM table_14346950_1 WHERE teleplay_by = "Richard Price" AND directed_by = "Steve Shill" |
What time has a lane less than 5, with Poland as the nationality? | CREATE TABLE table_name_63 (time VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT time FROM table_name_63 WHERE lane < 5 AND nationality = "poland" |
On what date was there a friendly game against Wales? | CREATE TABLE table_name_61 (date VARCHAR, type_of_game VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_61 WHERE type_of_game = "friendly" AND opponent = "wales" |
What year was jerry marion drafted? | CREATE TABLE table_13758243_1 (draft_year INTEGER, player VARCHAR) | SELECT MAX(draft_year) FROM table_13758243_1 WHERE player = "Jerry Marion" |
Where did the match with opponent Laverne Clark occur? | CREATE TABLE table_name_14 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_14 WHERE opponent = "laverne clark" |
What Nation Placed 122.5? | CREATE TABLE table_name_22 (nation VARCHAR, places VARCHAR) | SELECT nation FROM table_name_22 WHERE places = 122.5 |
Which Opponent had an Attendance of 78,883? | CREATE TABLE table_name_4 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_4 WHERE attendance = "78,883" |
The episode with the no. 54, directed by Charles Haid, is written by who? | CREATE TABLE table_26561509_1 (written_by VARCHAR, directed_by VARCHAR, no VARCHAR) | SELECT written_by FROM table_26561509_1 WHERE directed_by = "Charles Haid" AND no = 54 |
Which Score has a Result of 5-1? | CREATE TABLE table_name_68 (score VARCHAR, result VARCHAR) | SELECT score FROM table_name_68 WHERE result = "5-1" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.