question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
When was the incumbent from the Virginia 10 district first elected? | CREATE TABLE table_2668401_17 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_2668401_17 WHERE district = "Virginia 10" |
What is the population associated with latitude 48.676125? | CREATE TABLE table_18600760_13 (pop__2010_ INTEGER, latitude VARCHAR) | SELECT MAX(pop__2010_) FROM table_18600760_13 WHERE latitude = "48.676125" |
Who is that player from South Africa who had a total score under 293? | CREATE TABLE table_name_93 (player VARCHAR, total VARCHAR, country VARCHAR) | SELECT player FROM table_name_93 WHERE total < 293 AND country = "south africa" |
Show the names of editors of age either 24 or 25. | CREATE TABLE editor (Name VARCHAR, Age VARCHAR) | SELECT Name FROM editor WHERE Age = 24 OR Age = 25 |
What was the home team's score at the game where Richmond was the away team? | CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_19 WHERE away_team = "richmond" |
WHAT IS THE FLOOR NUMBERS WITH 01.0 10 light street? | CREATE TABLE table_name_57 (floors INTEGER, street_address VARCHAR) | SELECT SUM(floors) FROM table_name_57 WHERE street_address = "01.0 10 light street" |
What is Moving, when Type is "Transfer", and when Name is "Andy Webster"? | CREATE TABLE table_name_27 (moving_from VARCHAR, type VARCHAR, name VARCHAR) | SELECT moving_from FROM table_name_27 WHERE type = "transfer" AND name = "andy webster" |
How many people live in the district who's capital is héngfēng xiàn? | CREATE TABLE table_1300525_1 (population VARCHAR, pinyin VARCHAR) | SELECT population FROM table_1300525_1 WHERE pinyin = "Héngfēng Xiàn" |
What is the Year of the Player weighing 185? | CREATE TABLE table_name_45 (year VARCHAR, weight VARCHAR) | SELECT year FROM table_name_45 WHERE weight = 185 |
What percentage did Republish Christopher Reed receive when the lead margin was smaller than 16? | CREATE TABLE table_name_25 (republican VARCHAR, lead_margin INTEGER) | SELECT republican AS :_christopher_reed FROM table_name_25 WHERE lead_margin < 16 |
What club does the player who is 1.97 m tall play for? | CREATE TABLE table_12962773_16 (current_club VARCHAR, height VARCHAR) | SELECT current_club FROM table_12962773_16 WHERE height = "1.97" |
How many colleges did the player drafted at 36 attend? | CREATE TABLE table_16575609_5 (college VARCHAR, pick__number VARCHAR) | SELECT COUNT(college) FROM table_16575609_5 WHERE pick__number = 36 |
Find the number of scientists who are not assigned to any project. | CREATE TABLE AssignedTo (ssn VARCHAR, scientist VARCHAR); CREATE TABLE scientists (ssn VARCHAR, scientist VARCHAR) | SELECT COUNT(*) FROM scientists WHERE NOT ssn IN (SELECT scientist FROM AssignedTo) |
What is the average number of Tries with less than 28 Points for Mike Forshaw? | CREATE TABLE table_name_79 (tries INTEGER, player VARCHAR, points VARCHAR) | SELECT AVG(tries) FROM table_name_79 WHERE player = "mike forshaw" AND points < 28 |
Who is the opponent of the match with a method of submission (armbar) and a 9-3-1 record? | CREATE TABLE table_name_86 (opponent VARCHAR, method VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_86 WHERE method = "submission (armbar)" AND record = "9-3-1" |
Where did the Bruins play Iowa State? | CREATE TABLE table_name_58 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_58 WHERE opponent = "iowa state" |
What's the network that has a callsign of XHTM and a D ERP of •? | CREATE TABLE table_name_1 (network VARCHAR, d_erp VARCHAR, callsign VARCHAR) | SELECT network FROM table_name_1 WHERE d_erp = "•" AND callsign = "xhtm" |
Who won at Krško? | CREATE TABLE table_name_25 (winners VARCHAR, venue VARCHAR) | SELECT winners FROM table_name_25 WHERE venue = "krško" |
Who appointed the representative that had a Presentation of Credentials on March 25, 1976? | CREATE TABLE table_name_72 (appointed_by VARCHAR, presentation_of_credentials VARCHAR) | SELECT appointed_by FROM table_name_72 WHERE presentation_of_credentials = "march 25, 1976" |
What is the earliest year when the Dunlop Phoenix Tournament was played with a round 4 score larger than 72? | CREATE TABLE table_name_23 (year INTEGER, tournament VARCHAR, round_4 VARCHAR) | SELECT MIN(year) FROM table_name_23 WHERE tournament = "dunlop phoenix tournament" AND round_4 > 72 |
When was Stephen J. Solarz first elected? | CREATE TABLE table_1341663_33 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1341663_33 WHERE incumbent = "Stephen J. Solarz" |
In which season did he have 0 Poles and 19th position in the GP2 Series? | CREATE TABLE table_name_57 (season VARCHAR, position VARCHAR, poles VARCHAR, series VARCHAR) | SELECT season FROM table_name_57 WHERE poles = "0" AND series = "gp2 series" AND position = "19th" |
What model number had a chipset of intel q43? | CREATE TABLE table_name_51 (model VARCHAR, chipset VARCHAR) | SELECT model FROM table_name_51 WHERE chipset = "intel q43" |
Who was the radio 1 presenter for the broadcast that had 9.73 million viewers? | CREATE TABLE table_24212608_1 (radio_1_presenter VARCHAR, viewers__millions_ VARCHAR) | SELECT radio_1_presenter FROM table_24212608_1 WHERE viewers__millions_ = "9.73" |
Which Lost is the lowest one that has a Name of esc holzkirchen, and Played smaller than 14? | CREATE TABLE table_name_79 (lost INTEGER, name VARCHAR, played VARCHAR) | SELECT MIN(lost) FROM table_name_79 WHERE name = "esc holzkirchen" AND played < 14 |
What is the home team score at windy hill? | CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_16 WHERE venue = "windy hill" |
What stadium was the December 29, 2008 game played at? | CREATE TABLE table_name_95 (stadium VARCHAR, date VARCHAR) | SELECT stadium FROM table_name_95 WHERE date = "december 29, 2008" |
What is the total number of Lost for the Highest Ranking of – –? | CREATE TABLE table_name_61 (lost VARCHAR, highest_ranking VARCHAR) | SELECT COUNT(lost) FROM table_name_61 WHERE highest_ranking = "– –" |
What is the oppenent when the score was 5–0? | CREATE TABLE table_name_70 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_70 WHERE score = "5–0" |
Which Opponent that has a Week larger than 3 on october 6, 1991? | CREATE TABLE table_name_78 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_78 WHERE week > 3 AND date = "october 6, 1991" |
Which Record has a Year larger than 1974, and a Finish of 3rd? | CREATE TABLE table_name_33 (record VARCHAR, year VARCHAR, finish VARCHAR) | SELECT record FROM table_name_33 WHERE year > 1974 AND finish = "3rd" |
What score has hal sutton as the player? | CREATE TABLE table_name_17 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_17 WHERE player = "hal sutton" |
What are the lengths and heights of roller coasters? | CREATE TABLE roller_coaster (LENGTH VARCHAR, Height VARCHAR) | SELECT LENGTH, Height FROM roller_coaster |
Name the average ends for weston | CREATE TABLE table_name_28 (ends INTEGER, name VARCHAR) | SELECT AVG(ends) FROM table_name_28 WHERE name = "weston" |
When is the earliest began operation with a length of sultan ismail and over 27 stations? | CREATE TABLE table_name_7 (began_operation INTEGER, length__km_ VARCHAR, stations VARCHAR) | SELECT MIN(began_operation) FROM table_name_7 WHERE length__km_ = "sultan ismail" AND stations > 27 |
What is Career with the franchise [b ], when Player is "Willie Anderson Category:Articles with hCards"? | CREATE TABLE table_name_59 (career_with_the_franchise_ VARCHAR, b_ VARCHAR, player VARCHAR) | SELECT career_with_the_franchise_[b_] FROM table_name_59 WHERE player = "willie anderson category:articles with hcards" |
Which Season has a Skip of Eve Muirhead with a thirs of Jackie Lockhart (e/o) Kelly Wood (w)? | CREATE TABLE table_name_79 (season VARCHAR, skip VARCHAR, third VARCHAR) | SELECT season FROM table_name_79 WHERE skip = "eve muirhead" AND third = "jackie lockhart (e/o) kelly wood (w)" |
What is the total number of points of the club with a goal difference greater than 17 and more than 34 played? | CREATE TABLE table_name_76 (points VARCHAR, goal_difference VARCHAR, played VARCHAR) | SELECT COUNT(points) FROM table_name_76 WHERE goal_difference > 17 AND played > 34 |
What is the highest number listed under against when there were 15 losses and more than 1 win? | CREATE TABLE table_name_97 (against INTEGER, losses VARCHAR, wins VARCHAR) | SELECT MAX(against) FROM table_name_97 WHERE losses = 15 AND wins > 1 |
When was the Result of 3–2, with a Score of 6–0, 6–4? | CREATE TABLE table_name_72 (date VARCHAR, result VARCHAR, score VARCHAR) | SELECT date FROM table_name_72 WHERE result = "3–2" AND score = "6–0, 6–4" |
What is the Score of T2 Place Player Dow Finsterwald? | CREATE TABLE table_name_12 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_12 WHERE place = "t2" AND player = "dow finsterwald" |
what's the bleeding time with condition being liver failure, end-stage | CREATE TABLE table_14006_1 (bleeding_time VARCHAR, condition VARCHAR) | SELECT bleeding_time FROM table_14006_1 WHERE condition = "Liver failure, end-stage" |
Show all template type codes with less than three templates. | CREATE TABLE Templates (template_type_code VARCHAR) | SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING COUNT(*) < 3 |
What was the earliest year Þorvaldur Ásgeirsson Lovísa Sigurðardóttir won mixed doubles | CREATE TABLE table_14903999_1 (year INTEGER, mixed_doubles VARCHAR) | SELECT MIN(year) FROM table_14903999_1 WHERE mixed_doubles = "Þorvaldur Ásgeirsson Lovísa Sigurðardóttir" |
What is the Attendance of the game against Minnesota Vikings? | CREATE TABLE table_name_87 (attendance VARCHAR, opponent VARCHAR) | SELECT COUNT(attendance) FROM table_name_87 WHERE opponent = "minnesota vikings" |
was herb graver a starter? | CREATE TABLE table_14342367_5 (starter VARCHAR, player VARCHAR) | SELECT starter FROM table_14342367_5 WHERE player = "Herb Graver" |
What was the final score when the result was 4-0? | CREATE TABLE table_name_1 (score VARCHAR, result VARCHAR) | SELECT score FROM table_name_1 WHERE result = "4-0" |
What is the sum of November, when Game is greater than 23? | CREATE TABLE table_name_40 (november INTEGER, game INTEGER) | SELECT SUM(november) FROM table_name_40 WHERE game > 23 |
What are the names of the channels owned by CCTV or HBS? | CREATE TABLE channel (name VARCHAR, OWNER VARCHAR) | SELECT name FROM channel WHERE OWNER = 'CCTV' OR OWNER = 'HBS' |
what is the avg/g for john conner when long is less than 25? | CREATE TABLE table_name_75 (avg_g INTEGER, name VARCHAR, long VARCHAR) | SELECT SUM(avg_g) FROM table_name_75 WHERE name = "john conner" AND long < 25 |
What was the total amount of points in 1978 with a Chassis of arrows fa1? | CREATE TABLE table_name_98 (points INTEGER, year VARCHAR, chassis VARCHAR) | SELECT SUM(points) FROM table_name_98 WHERE year = 1978 AND chassis = "arrows fa1" |
Find the start and end dates of behavior incidents of students with last name "Fahey". | CREATE TABLE Behavior_Incident (date_incident_start VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, last_name VARCHAR) | SELECT T1.date_incident_start, date_incident_end FROM Behavior_Incident AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.last_name = "Fahey" |
Who replaced the manager of Akhisar B.G.S.? | CREATE TABLE table_27091128_3 (replaced_by VARCHAR, team VARCHAR) | SELECT replaced_by FROM table_27091128_3 WHERE team = "Akhisar B.G.S." |
What was the film of Richard Nixon as President in a year newer than 1996? | CREATE TABLE table_name_49 (film VARCHAR, president VARCHAR, year VARCHAR) | SELECT film FROM table_name_49 WHERE president = "richard nixon" AND year > 1996 |
What is T4 Place Player Nick Price's Score? | CREATE TABLE table_name_15 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_15 WHERE place = "t4" AND player = "nick price" |
When was the audio book with target number 069 69 released? | CREATE TABLE table_20174050_1 (release_date VARCHAR, target__number VARCHAR) | SELECT release_date FROM table_20174050_1 WHERE target__number = "069 69" |
How many years have an Opponent in the final of welby van horn? | CREATE TABLE table_name_74 (year INTEGER, opponent_in_the_final VARCHAR) | SELECT SUM(year) FROM table_name_74 WHERE opponent_in_the_final = "welby van horn" |
Name the Runs that has a Venue of bellerive oval , hobart, and a Player of travis birt? | CREATE TABLE table_name_2 (runs VARCHAR, venue VARCHAR, player VARCHAR) | SELECT runs FROM table_name_2 WHERE venue = "bellerive oval , hobart" AND player = "travis birt" |
What is the Time/Retired for the car going 42 Laps? | CREATE TABLE table_name_2 (time_retired VARCHAR, laps VARCHAR) | SELECT time_retired FROM table_name_2 WHERE laps = 42 |
What is the Report with a Score of 3–1, and Set 1 is 19–25? | CREATE TABLE table_name_12 (report VARCHAR, score VARCHAR, set_1 VARCHAR) | SELECT report FROM table_name_12 WHERE score = "3–1" AND set_1 = "19–25" |
What % has 4 RLng? | CREATE TABLE table_name_80 (int_percentage VARCHAR, rlng VARCHAR) | SELECT int_percentage FROM table_name_80 WHERE rlng = "4" |
When Cincinnati is the tournament winner how many regular season winners are there? | CREATE TABLE table_24160890_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR) | SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = "Cincinnati" |
What's the Termination of Mission listed that has a Presentation of Credentials for August 29, 1859? | CREATE TABLE table_name_34 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR) | SELECT termination_of_mission FROM table_name_34 WHERE presentation_of_credentials = "august 29, 1859" |
What is the opponent played on October 4? | CREATE TABLE table_17972136_1 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_17972136_1 WHERE date = "October 4" |
What was the score of the Broadview Hawks home game? | CREATE TABLE table_name_69 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_69 WHERE home = "broadview hawks" |
Name the muzzel device with barrel twist of 1:10 | CREATE TABLE table_name_18 (muzzle_device VARCHAR, barrel_twist VARCHAR) | SELECT muzzle_device FROM table_name_18 WHERE barrel_twist = "1:10" |
What is Country, when Score is 70-73=143? | CREATE TABLE table_name_50 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_50 WHERE score = 70 - 73 = 143 |
How many medals were won total for the country that won 1 silver and was ranked 2 or lower? | CREATE TABLE table_name_18 (total VARCHAR, silver VARCHAR, rank VARCHAR) | SELECT COUNT(total) FROM table_name_18 WHERE silver = 1 AND rank < 2 |
How many premises are there? | CREATE TABLE premises (Id VARCHAR) | SELECT COUNT(*) FROM premises |
who was the opponent where the date was the 21st? | CREATE TABLE table_17120964_9 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_17120964_9 WHERE date = "21st" |
How many items withdrawn had numbers over 5? | CREATE TABLE table_name_93 (withdrawn VARCHAR, number INTEGER) | SELECT COUNT(withdrawn) FROM table_name_93 WHERE number > 5 |
Name the international tourist arrivals for arrivals 2011 for 8.1 million | CREATE TABLE table_14752049_3 (international_tourist_arrivals__2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) | SELECT international_tourist_arrivals__2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "8.1 million" |
What is the Record of the game with a Score of 107–108? | CREATE TABLE table_name_85 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_85 WHERE score = "107–108" |
Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup? | CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, cp_winning_team VARCHAR, gm_winning_team VARCHAR) | SELECT ep_winning_team FROM table_29225103_2 WHERE cp_winning_team = "Dave Clark" AND gm_winning_team = "Stuart Northrup" |
What was the away team that played against Melbourne? | CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_96 WHERE home_team = "melbourne" |
Which session had a discipline of open wheel? | CREATE TABLE table_name_96 (session VARCHAR, discipline VARCHAR) | SELECT session FROM table_name_96 WHERE discipline = "open wheel" |
What album was recorded by the rca label? | CREATE TABLE table_name_83 (album VARCHAR, record_label VARCHAR) | SELECT album FROM table_name_83 WHERE record_label = "rca" |
Which Opponent has a Result of l 14–10? | CREATE TABLE table_name_27 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_27 WHERE result = "l 14–10" |
Which Lost is the highest one that has a Drawn smaller than 4, and a Played smaller than 9? | CREATE TABLE table_name_93 (lost INTEGER, drawn VARCHAR, played VARCHAR) | SELECT MAX(lost) FROM table_name_93 WHERE drawn < 4 AND played < 9 |
What year was the Beaudesert suburb club founded | CREATE TABLE table_name_95 (founded VARCHAR, suburb VARCHAR) | SELECT founded FROM table_name_95 WHERE suburb = "beaudesert" |
What is the lowest number of participants in 2013 when there were more than 5 participants in 2010, less than 4 participants in 2012 and country was germany? | CREATE TABLE table_name_34 (country VARCHAR) | SELECT MIN(2013) FROM table_name_34 WHERE 2010 > 5 AND country = "germany" AND 2012 < 4 |
How many yards were averaged by the player that had a higher than 13 average with less than 18 long? | CREATE TABLE table_name_94 (yards INTEGER, long VARCHAR, avg VARCHAR) | SELECT AVG(yards) FROM table_name_94 WHERE long < 18 AND avg > 13 |
In Colorado 6 district what is the party? | CREATE TABLE table_name_66 (party VARCHAR, district VARCHAR) | SELECT party FROM table_name_66 WHERE district = "colorado 6" |
Who was the writer when Parkville Pictures Ltd was the recipient? | CREATE TABLE table_name_57 (writer_s_ VARCHAR, recipient VARCHAR) | SELECT writer_s_ FROM table_name_57 WHERE recipient = "parkville pictures ltd" |
who is the the high rebounds with high assbeingts being scottie pippen (9) | CREATE TABLE table_13480122_5 (high_rebounds VARCHAR, high_assists VARCHAR) | SELECT high_rebounds FROM table_13480122_5 WHERE high_assists = "Scottie Pippen (9)" |
Name the team for record 3-2 | CREATE TABLE table_22654073_6 (team VARCHAR, record VARCHAR) | SELECT team FROM table_22654073_6 WHERE record = "3-2" |
What is the rate of 17 years? | CREATE TABLE table_name_55 (rate VARCHAR, year VARCHAR) | SELECT rate FROM table_name_55 WHERE year = "17 years" |
What red list is in the artiodactyla order and the cervidae family with a Species Authority of odocoileus virginianus zimmermann, 1780? | CREATE TABLE table_name_22 (red_list VARCHAR, species_authority VARCHAR, order VARCHAR, family VARCHAR) | SELECT red_list FROM table_name_22 WHERE order = "artiodactyla" AND family = "cervidae" AND species_authority = "odocoileus virginianus zimmermann, 1780" |
Who was the dual television commentator in 1990? | CREATE TABLE table_2794180_11 (Dual VARCHAR, year_s_ VARCHAR) | SELECT Dual AS television_commentator FROM table_2794180_11 WHERE year_s_ = 1990 |
What is the Tennessee that Georgia of kevin butler is in? | CREATE TABLE table_name_27 (tennessee VARCHAR, georgia VARCHAR) | SELECT tennessee FROM table_name_27 WHERE georgia = "kevin butler" |
What is the surface of the French Championships? | CREATE TABLE table_2215159_2 (surface VARCHAR, championship VARCHAR) | SELECT surface FROM table_2215159_2 WHERE championship = "French championships" |
How many gold(s) for teams with a total of 14, and over 6 bronze medals? | CREATE TABLE table_name_26 (gold INTEGER, total VARCHAR, bronze VARCHAR) | SELECT SUM(gold) FROM table_name_26 WHERE total = 14 AND bronze > 6 |
What is the Name of the Building with 36 or more Floors with Years as tallest of 1986–1992? | CREATE TABLE table_name_27 (name VARCHAR, floors VARCHAR, years_as_tallest VARCHAR) | SELECT name FROM table_name_27 WHERE floors > 36 AND years_as_tallest = "1986–1992" |
Find the id of the courses that do not have any prerequisite? | CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (course_id VARCHAR) | SELECT course_id FROM course EXCEPT SELECT course_id FROM prereq |
What is the result of the UEFA Cup, against Palermo? | CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_49 WHERE competition = "uefa cup" AND opponent = "palermo" |
Who is the opponent for the game that occurred after week 13? | CREATE TABLE table_name_12 (opponent VARCHAR, week INTEGER) | SELECT opponent FROM table_name_12 WHERE week > 13 |
What is the lowest Silver, when Bronze is 1, and when Total is less than 3? | CREATE TABLE table_name_23 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_23 WHERE bronze = 1 AND total < 3 |
Which Decision has a Date of april 25? | CREATE TABLE table_name_85 (decision VARCHAR, date VARCHAR) | SELECT decision FROM table_name_85 WHERE date = "april 25" |
Which Week has a Game site of oakland-alameda county coliseum, and an Attendance larger than 52,169? | CREATE TABLE table_name_71 (week INTEGER, game_site VARCHAR, attendance VARCHAR) | SELECT MIN(week) FROM table_name_71 WHERE game_site = "oakland-alameda county coliseum" AND attendance > 52 OFFSET 169 |
WHich Score has marcelo filippini mark koevermans? | CREATE TABLE table_name_18 (score VARCHAR, opponents_in_the_final VARCHAR) | SELECT score FROM table_name_18 WHERE opponents_in_the_final = "marcelo filippini mark koevermans" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.