question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What is the score with partner Jim Pugh? | CREATE TABLE table_1028356_3 (score VARCHAR, partner VARCHAR) | SELECT score FROM table_1028356_3 WHERE partner = "Jim Pugh" |
Which title had an audience of 4.629.000? | CREATE TABLE table_name_68 (title VARCHAR, audience VARCHAR) | SELECT title FROM table_name_68 WHERE audience = "4.629.000" |
What was the amount of Births (000s) that had a death rate larger than 7.6, and a Year of 1990-2009? | CREATE TABLE table_name_59 (births__000s_ INTEGER, deaths VARCHAR, year VARCHAR) | SELECT SUM(births__000s_) FROM table_name_59 WHERE deaths > 7.6 AND year = "1990-2009" |
Name the most attendance for tamworth with home venue | CREATE TABLE table_name_4 (attendance INTEGER, opponent VARCHAR, venue VARCHAR) | SELECT MAX(attendance) FROM table_name_4 WHERE opponent = "tamworth" AND venue = "home" |
Name the number of average for steals per game | CREATE TABLE table_26611679_3 (average VARCHAR, category VARCHAR) | SELECT COUNT(average) FROM table_26611679_3 WHERE category = "Steals per game" |
What high assists has the high points of andrew bynum (23)? | CREATE TABLE table_name_71 (high_assists VARCHAR, high_points VARCHAR) | SELECT high_assists FROM table_name_71 WHERE high_points = "andrew bynum (23)" |
If the Quillacollo Municipality is 93131, what is the Vinto Municipality minimum? | CREATE TABLE table_2509113_2 (vinto_municipality INTEGER, quillacollo_municipality VARCHAR) | SELECT MIN(vinto_municipality) FROM table_2509113_2 WHERE quillacollo_municipality = 93131 |
What chassis is on the car repped by team rahal letterman lanigan racing? | CREATE TABLE table_2503102_2 (chassis VARCHAR, team VARCHAR) | SELECT chassis FROM table_2503102_2 WHERE team = "Rahal Letterman Lanigan Racing" |
What is the largest silver value associated with 0 golds? | CREATE TABLE table_name_42 (silver INTEGER, gold INTEGER) | SELECT MAX(silver) FROM table_name_42 WHERE gold < 0 |
What is the gender of the teacher with last name "Medhurst"? | CREATE TABLE TEACHERS (gender VARCHAR, last_name VARCHAR) | SELECT gender FROM TEACHERS WHERE last_name = "Medhurst" |
What day did North Melbourne play as the home team? | CREATE TABLE table_name_52 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_52 WHERE home_team = "north melbourne" |
On which week was the opponent the oakland raiders? | CREATE TABLE table_name_91 (week INTEGER, opponent VARCHAR) | SELECT SUM(week) FROM table_name_91 WHERE opponent = "oakland raiders" |
On what date was the catalog cy-24623 for New Zealand? | CREATE TABLE table_name_64 (date VARCHAR, region VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_64 WHERE region = "new zealand" AND catalog = "cy-24623" |
what's the character name with voice actor (englbeingh 1997 / saban) being ian james corlett | CREATE TABLE table_1410384_1 (character_name VARCHAR, voice_actor__english_1997___saban_ VARCHAR) | SELECT character_name FROM table_1410384_1 WHERE voice_actor__english_1997___saban_ = "Ian James Corlett" |
Which network has s analyst of eddie arcaro? | CREATE TABLE table_22514845_4 (network VARCHAR, s_analyst VARCHAR) | SELECT network FROM table_22514845_4 WHERE s_analyst = "Eddie Arcaro" |
List the name of artworks that are not nominated. | CREATE TABLE nomination (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE Artwork (Name VARCHAR, Artwork_ID VARCHAR) | SELECT Name FROM Artwork WHERE NOT Artwork_ID IN (SELECT Artwork_ID FROM nomination) |
Which tournament's 2001 and 2006s were a? | CREATE TABLE table_name_25 (tournament VARCHAR) | SELECT tournament FROM table_name_25 WHERE 2001 = "a" AND 2006 = "a" |
What is we two where you two is ngipen? | CREATE TABLE table_1015914_24 (we_two VARCHAR, you_two VARCHAR) | SELECT we_two FROM table_1015914_24 WHERE you_two = "ngipen" |
What is the accession number of the protein with the common name Purple Sea Urchin? | CREATE TABLE table_name_5 (accession_number VARCHAR, common_name VARCHAR) | SELECT accession_number FROM table_name_5 WHERE common_name = "purple sea urchin" |
How many people were in attendance at week 16? | CREATE TABLE table_name_19 (attendance INTEGER, week VARCHAR) | SELECT AVG(attendance) FROM table_name_19 WHERE week = 16 |
what is the game when the result is new zealand by 4 wickets? | CREATE TABLE table_name_25 (game INTEGER, result VARCHAR) | SELECT MAX(game) FROM table_name_25 WHERE result = "new zealand by 4 wickets" |
Find the texts of assessment notes for teachers with last name "Schuster". | CREATE TABLE Assessment_Notes (text_of_notes VARCHAR, teacher_id VARCHAR); CREATE TABLE Teachers (teacher_id VARCHAR, last_name VARCHAR) | SELECT T1.text_of_notes FROM Assessment_Notes AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id WHERE T2.last_name = "Schuster" |
What is the average Gold, when Nation is Yugoslavia, and when Silver is greater than 0? | CREATE TABLE table_name_28 (gold INTEGER, nation VARCHAR, silver VARCHAR) | SELECT AVG(gold) FROM table_name_28 WHERE nation = "yugoslavia" AND silver > 0 |
What is the hometown of trinity high school? | CREATE TABLE table_11677691_7 (hometown VARCHAR, school VARCHAR) | SELECT hometown FROM table_11677691_7 WHERE school = "Trinity High school" |
What is the sum of the prominence in m of moussa ali terara peak? | CREATE TABLE table_name_88 (prominence__m_ INTEGER, peak VARCHAR) | SELECT SUM(prominence__m_) FROM table_name_88 WHERE peak = "moussa ali terara" |
What is the lowest amount of money a player from South Africa with a to par less than 8 has? | CREATE TABLE table_name_13 (money___ INTEGER, country VARCHAR, to_par VARCHAR) | SELECT MIN(money___) AS $__ FROM table_name_13 WHERE country = "south africa" AND to_par < 8 |
Which institution's nickname is the Bobcats? | CREATE TABLE table_261931_2 (institution VARCHAR, nickname VARCHAR) | SELECT institution FROM table_261931_2 WHERE nickname = "Bobcats" |
What is the number of Mike Thomas? | CREATE TABLE table_20860739_1 (position VARCHAR, player VARCHAR) | SELECT COUNT(position) FROM table_20860739_1 WHERE player = "Mike Thomas" |
what's party with district being tennessee 3 | CREATE TABLE table_1341865_44 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341865_44 WHERE district = "Tennessee 3" |
What is the highest number of bronze when silver is larger than 0, rank is larger than 3? | CREATE TABLE table_name_69 (bronze INTEGER, silver VARCHAR, rank VARCHAR) | SELECT MAX(bronze) FROM table_name_69 WHERE silver > 0 AND rank > 3 |
What are all info of students who registered courses but not attended courses? | CREATE TABLE student_course_attendance (student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR) | SELECT * FROM student_course_registrations WHERE NOT student_id IN (SELECT student_id FROM student_course_attendance) |
What is the result of the game played in Russia on May 9, 2012? | CREATE TABLE table_name_1 (result VARCHAR, venue VARCHAR, date VARCHAR) | SELECT result FROM table_name_1 WHERE venue = "russia" AND date = "may 9, 2012" |
What is the reserved for value for constituency number 132? | CREATE TABLE table_name_76 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) | SELECT reserved_for___sc___st__none_ FROM table_name_76 WHERE constituency_number = "132" |
What region has vinyl record listed as its format? | CREATE TABLE table_name_65 (region VARCHAR, format VARCHAR) | SELECT region FROM table_name_65 WHERE format = "vinyl record" |
What is the Venue with a Result of 3–0, and a Competition with 2006 fifa world cup qualifier, and with a Score of 3–0? | CREATE TABLE table_name_22 (venue VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_22 WHERE result = "3–0" AND competition = "2006 fifa world cup qualifier" AND score = "3–0" |
Name the district for tim lee hall | CREATE TABLE table_1341672_14 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341672_14 WHERE incumbent = "Tim Lee Hall" |
What are the japanese title(s) for tv asahi? | CREATE TABLE table_18539834_2 (japanese_title VARCHAR, tv_station VARCHAR) | SELECT japanese_title FROM table_18539834_2 WHERE tv_station = "TV Asahi" |
what is the minimum norwegian americans (1980) where state is rhode island | CREATE TABLE table_1182314_5 (norwegian_americans__1980_ INTEGER, state VARCHAR) | SELECT MIN(norwegian_americans__1980_) FROM table_1182314_5 WHERE state = "Rhode Island" |
When the Makeup is u s s and the Spin (Parity) J P of 3⁄2 +, what is the Rest mass MeV/C2? | CREATE TABLE table_name_58 (rest_mass_mev___c_2 VARCHAR, makeup VARCHAR, spin___parity___j_p VARCHAR) | SELECT rest_mass_mev___c_2 FROM table_name_58 WHERE makeup = "u s s" AND spin___parity___j_p = "3⁄2 +" |
What's the nationality for Nicholas III? | CREATE TABLE table_name_97 (nationality VARCHAR, elevator VARCHAR) | SELECT nationality FROM table_name_97 WHERE elevator = "nicholas iii" |
How many points have utenis utena as the club, with loses less than 16? | CREATE TABLE table_name_68 (points INTEGER, club VARCHAR, loses VARCHAR) | SELECT SUM(points) FROM table_name_68 WHERE club = "utenis utena" AND loses > 16 |
What is the result of the 2011 Concacaf Gold Cup competition? | CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR) | SELECT result FROM table_name_49 WHERE competition = "2011 concacaf gold cup" |
What year had more than 2 goals and 11 (2) games? | CREATE TABLE table_name_36 (years VARCHAR, goals VARCHAR, games VARCHAR) | SELECT years FROM table_name_36 WHERE goals > 2 AND games = "11 (2)" |
When st kilda was playing at home what was the away teams score? | CREATE TABLE table_name_23 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_23 WHERE home_team = "st kilda" |
Who directed the episode written by Tony O'Grady (pseudonym of brian clemens)? | CREATE TABLE table_2370579_1 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_2370579_1 WHERE written_by = "Tony O'Grady (pseudonym of Brian Clemens)" |
How many seasons did the show run in Poland? | CREATE TABLE table_178242_1 (seasons VARCHAR, country___region VARCHAR) | SELECT seasons FROM table_178242_1 WHERE country___region = "Poland" |
Which Result has a Category of best book of a musical? | CREATE TABLE table_name_45 (result VARCHAR, category VARCHAR) | SELECT result FROM table_name_45 WHERE category = "best book of a musical" |
What is the total sum of silver metals for all countries with more than 2 Bronze medals? | CREATE TABLE table_name_76 (silver INTEGER, total VARCHAR, bronze VARCHAR) | SELECT SUM(silver) FROM table_name_76 WHERE total > 2 AND bronze > 2 |
What is the name when the country is ESP and the transfer fee is € 7m? | CREATE TABLE table_name_20 (name VARCHAR, country VARCHAR, transfer_fee VARCHAR) | SELECT name FROM table_name_20 WHERE country = "esp" AND transfer_fee = "€ 7m" |
What were the roles in 1961? | CREATE TABLE table_name_70 (role VARCHAR, year VARCHAR) | SELECT role FROM table_name_70 WHERE year = 1961 |
What is the constructor at the United States Grand Prix? | CREATE TABLE table_name_65 (constructor VARCHAR, race VARCHAR) | SELECT constructor FROM table_name_65 WHERE race = "united states grand prix" |
Which 2007–08 season has a Club of genoa c.f.c.? | CREATE TABLE table_name_49 (club VARCHAR) | SELECT 2007 AS _08_season FROM table_name_49 WHERE club = "genoa c.f.c." |
What was the attendance of the Indiana game? | CREATE TABLE table_17080868_7 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_17080868_7 WHERE team = "Indiana" |
What is the storm name and max speed which affected the greatest number of regions? | CREATE TABLE storm (name VARCHAR, max_speed VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR) | SELECT T1.name, T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id ORDER BY COUNT(*) DESC LIMIT 1 |
What sum of draw had more than 22 in Jury and a Televote of 130? | CREATE TABLE table_name_91 (draw INTEGER, jury VARCHAR, televote VARCHAR) | SELECT SUM(draw) FROM table_name_91 WHERE jury > 22 AND televote = 130 |
What are all the winning records when the result is Scotland won on points table and the Runner-Up result is [[|]] 4 points? | CREATE TABLE table_28601467_1 (winner VARCHAR, result VARCHAR, runner_up VARCHAR) | SELECT winner FROM table_28601467_1 WHERE result = "Scotland won on points table" AND runner_up = "[[|]] 4 points" |
Show all track names that have had no races. | CREATE TABLE track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (name VARCHAR, track_id VARCHAR) | SELECT name FROM track WHERE NOT track_id IN (SELECT track_id FROM race) |
Find the number of airports whose name contain the word 'International'. | CREATE TABLE airports (name VARCHAR) | SELECT COUNT(*) FROM airports WHERE name LIKE '%International%' |
Name the result for linn nygård | CREATE TABLE table_name_63 (result VARCHAR, artist VARCHAR) | SELECT result FROM table_name_63 WHERE artist = "linn nygård" |
Which college has their team as the New York Jets? | CREATE TABLE table_name_38 (college VARCHAR, team VARCHAR) | SELECT college FROM table_name_38 WHERE team = "new york jets" |
What's the smallest week that had a result of t 17–17? | CREATE TABLE table_name_75 (week INTEGER, result VARCHAR) | SELECT MIN(week) FROM table_name_75 WHERE result = "t 17–17" |
How many PNC votes did the election before 1996 have? | CREATE TABLE table_name_39 (number_of_pnc_votes VARCHAR, election INTEGER) | SELECT number_of_pnc_votes FROM table_name_39 WHERE election < 1996 |
Which formats have a region of Europe and Catalog value of WEBB185? | CREATE TABLE table_name_28 (format_s_ VARCHAR, region VARCHAR, catalog VARCHAR) | SELECT format_s_ FROM table_name_28 WHERE region = "europe" AND catalog = "webb185" |
What was the finish for Billy Casper? | CREATE TABLE table_name_59 (finish VARCHAR, player VARCHAR) | SELECT finish FROM table_name_59 WHERE player = "billy casper" |
Which Venue has Notes of 58.25 m, and a Competition of world championships? | CREATE TABLE table_name_33 (venue VARCHAR, notes VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_33 WHERE notes = "58.25 m" AND competition = "world championships" |
Which team completed 10 races? | CREATE TABLE table_name_92 (team_name VARCHAR, races VARCHAR) | SELECT team_name FROM table_name_92 WHERE races = 10 |
What is Second, when Position is greater than 33, when Points is greater than 12, and when Equipment is Zabel-VMC? | CREATE TABLE table_name_51 (second VARCHAR, equipment VARCHAR, position VARCHAR, points VARCHAR) | SELECT second FROM table_name_51 WHERE position > 33 AND points > 12 AND equipment = "zabel-vmc" |
what is the game for 23 april when batting 2nd is england 5/113 (19)? | CREATE TABLE table_name_62 (game INTEGER, date VARCHAR, batting_2nd VARCHAR) | SELECT MIN(game) FROM table_name_62 WHERE date = "23 april" AND batting_2nd = "england 5/113 (19)" |
Which location held the bout that led to a 4-3 record? | CREATE TABLE table_name_19 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_19 WHERE record = "4-3" |
What was the Date From for Theo Robinson, who was with the team until the end of season? | CREATE TABLE table_name_30 (date_from VARCHAR, date_to VARCHAR, name VARCHAR) | SELECT date_from FROM table_name_30 WHERE date_to = "end of season" AND name = "theo robinson" |
In which season did the Rangers win with a score of 2–1? | CREATE TABLE table_name_21 (season VARCHAR, score VARCHAR, winners VARCHAR) | SELECT season FROM table_name_21 WHERE score = "2–1" AND winners = "rangers" |
List the votes of elections in descending order. | CREATE TABLE election (Votes VARCHAR) | SELECT Votes FROM election ORDER BY Votes DESC |
what is the least drawn when the name is sv apfeldorf and the position is more than 8? | CREATE TABLE table_name_94 (drawn INTEGER, name VARCHAR, position VARCHAR) | SELECT MIN(drawn) FROM table_name_94 WHERE name = "sv apfeldorf" AND position > 8 |
Which Title has a Songwriter(s) of hadise açıkgöz, stefaan fernande, elio deepcore? | CREATE TABLE table_name_72 (title VARCHAR, songwriter_s_ VARCHAR) | SELECT title FROM table_name_72 WHERE songwriter_s_ = "hadise açıkgöz, stefaan fernande, elio deepcore" |
What is the highest total number? | CREATE TABLE table_25831483_1 (total INTEGER) | SELECT MAX(total) FROM table_25831483_1 |
What is Type, when Works Number is 75823? | CREATE TABLE table_name_16 (type VARCHAR, works_number VARCHAR) | SELECT type FROM table_name_16 WHERE works_number = "75823" |
What is the College with a Round # that is 290? | CREATE TABLE table_name_20 (college VARCHAR, round__number VARCHAR) | SELECT college FROM table_name_20 WHERE round__number = 290 |
What team was 2 on November 22, 2008 when the result was 1-0? | CREATE TABLE table_name_82 (team_2 VARCHAR, date VARCHAR, result VARCHAR) | SELECT team_2 FROM table_name_82 WHERE date = "november 22, 2008" AND result = "1-0" |
What is senghenydd rfc's points for? | CREATE TABLE table_name_37 (points_for VARCHAR, club VARCHAR) | SELECT points_for FROM table_name_37 WHERE club = "senghenydd rfc" |
what is the year that the position was 1st in paris? | CREATE TABLE table_name_26 (year VARCHAR, position VARCHAR, venue VARCHAR) | SELECT year FROM table_name_26 WHERE position = "1st" AND venue = "paris" |
list the card number of all members whose hometown address includes word "Kentucky". | CREATE TABLE member (card_number VARCHAR, Hometown VARCHAR) | SELECT card_number FROM member WHERE Hometown LIKE "%Kentucky%" |
What is the maximum league cup goals when there has been 0 FA cup appearances, and MF is the position, with 1 league appearance, and smaller than 0 total goals? | CREATE TABLE table_name_23 (league_cup_goals INTEGER, total_goals VARCHAR, league_apps VARCHAR, fa_cup_apps VARCHAR, position VARCHAR) | SELECT MAX(league_cup_goals) FROM table_name_23 WHERE fa_cup_apps = "0" AND position = "mf" AND league_apps = "1" AND total_goals < 0 |
Which Date has a Winning score of −15 (71-69-68-65=273)? | CREATE TABLE table_name_98 (date VARCHAR, winning_score VARCHAR) | SELECT date FROM table_name_98 WHERE winning_score = −15(71 - 69 - 68 - 65 = 273) |
What is the IATA code of the airport that has a Total Cargo of 1,838,894 Metric Tonnes? | CREATE TABLE table_name_20 (code__iata_ VARCHAR, total_cargo__metric_tonnes_ VARCHAR) | SELECT code__iata_ FROM table_name_20 WHERE total_cargo__metric_tonnes_ = "1,838,894" |
What is the name of the parish where the area is 508.30? | CREATE TABLE table_170961_2 (official_name VARCHAR, area_km_2 VARCHAR) | SELECT COUNT(official_name) FROM table_170961_2 WHERE area_km_2 = "508.30" |
What was the record after game 79? | CREATE TABLE table_name_27 (record VARCHAR, game__number VARCHAR) | SELECT record FROM table_name_27 WHERE game__number = 79 |
What is the Date of Week 2? | CREATE TABLE table_name_47 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_47 WHERE week = 2 |
How many 4wi were recorded by the player with an economy of 4.17? | CREATE TABLE table_27922491_20 (economy VARCHAR) | SELECT 4 AS wi FROM table_27922491_20 WHERE economy = "4.17" |
In what year did the team compete in the USISL Pro League? | CREATE TABLE table_1939214_1 (year VARCHAR, league VARCHAR) | SELECT year FROM table_1939214_1 WHERE league = "USISL Pro league" |
Name the capacity for single cab size 2 medium tanker | CREATE TABLE table_2155350_2 (capacity__litres_ VARCHAR, cab_size VARCHAR, category VARCHAR) | SELECT capacity__litres_ FROM table_2155350_2 WHERE cab_size = "Single" AND category = "2 Medium tanker" |
What Label has a Region of united states, and a Format of cassette? | CREATE TABLE table_name_68 (label VARCHAR, region VARCHAR, format VARCHAR) | SELECT label FROM table_name_68 WHERE region = "united states" AND format = "cassette" |
On which date did Ger Loughnane from Team Clare have a match? | CREATE TABLE table_name_88 (date VARCHAR, team VARCHAR, player VARCHAR) | SELECT date FROM table_name_88 WHERE team = "clare" AND player = "ger loughnane" |
What is in the notes for men's speed skating? | CREATE TABLE table_name_17 (notes VARCHAR, time VARCHAR) | SELECT notes FROM table_name_17 WHERE time = "men's speed skating" |
Which player had a total of 116 (22)? | CREATE TABLE table_name_3 (name VARCHAR, total VARCHAR) | SELECT name FROM table_name_3 WHERE total = "116 (22)" |
Who is the player when the average is 69.66? | CREATE TABLE table_28846752_8 (player VARCHAR, average VARCHAR) | SELECT player FROM table_28846752_8 WHERE average = "69.66" |
What is the Revenues of Ukyo-Daiyu? | CREATE TABLE table_name_81 (revenues VARCHAR, courtesy_title VARCHAR) | SELECT revenues FROM table_name_81 WHERE courtesy_title = "ukyo-daiyu" |
WHAT OPPONENT WAS ON OCTOBER 7? | CREATE TABLE table_name_37 (opponent_number VARCHAR, date VARCHAR) | SELECT opponent_number FROM table_name_37 WHERE date = "october 7" |
which district does andy thompson represent | CREATE TABLE table_29486189_4 (district VARCHAR, representative VARCHAR) | SELECT COUNT(district) FROM table_29486189_4 WHERE representative = "Andy Thompson" |
How many appearances did Gary Depalma make when he scored less than 30 goals? | CREATE TABLE table_name_75 (appearances VARCHAR, goals VARCHAR, name VARCHAR) | SELECT appearances FROM table_name_75 WHERE goals < 30 AND name = "gary depalma" |
How many races were for a distance of 2020 m? | CREATE TABLE table_1358608_4 (group VARCHAR, distance VARCHAR) | SELECT COUNT(group) FROM table_1358608_4 WHERE distance = "2020 m" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.