question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What result has mario & karina as the couple?
CREATE TABLE table_name_76 (result VARCHAR, couple VARCHAR)
SELECT result FROM table_name_76 WHERE couple = "mario & karina"
What is the lowest total when arabs is 4000?
CREATE TABLE table_25947046_1 (total INTEGER, arabs VARCHAR)
SELECT MIN(total) FROM table_25947046_1 WHERE arabs = 4000
Which group had the time 1:11.65?
CREATE TABLE table_15926991_1 (group VARCHAR, time VARCHAR)
SELECT group FROM table_15926991_1 WHERE time = "1:11.65"
what's the maximum purse( $ ) with score value of 204 (-9)
CREATE TABLE table_11621915_1 (purse__ INTEGER, score VARCHAR)
SELECT MAX(purse__) AS $__ FROM table_11621915_1 WHERE score = "204 (-9)"
Name the team for june 16 jeff gordon
CREATE TABLE table_2150776_1 (team VARCHAR, date VARCHAR, driver VARCHAR)
SELECT team FROM table_2150776_1 WHERE date = "June 16" AND driver = "Jeff Gordon"
What was the score of the team that danced a jive and was safe?
CREATE TABLE table_name_65 (score VARCHAR, dance VARCHAR, result VARCHAR)
SELECT score FROM table_name_65 WHERE dance = "jive" AND result = "safe"
Name the Venue which has a Losing Team of newcastle knights?
CREATE TABLE table_name_7 (venue VARCHAR, losing_team VARCHAR)
SELECT venue FROM table_name_7 WHERE losing_team = "newcastle knights"
What was the diameter of the feature found in 1997?
CREATE TABLE table_16799784_3 (diameter__km_ VARCHAR, year_named VARCHAR)
SELECT diameter__km_ FROM table_16799784_3 WHERE year_named = 1997
When driver heinz-harald frentzen has a number of laps greater than 60, what is the sum of grid?
CREATE TABLE table_name_51 (grid VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT COUNT(grid) FROM table_name_51 WHERE laps > 60 AND driver = "heinz-harald frentzen"
What was the Attendance on May 12, when the New York Yankees were the Opponent?
CREATE TABLE table_name_71 (attendance VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_71 WHERE opponent = "new york yankees" AND date = "may 12"
What is the Background of the contestant with a Result of 07 fired in task 6 (2009-04-05)?
CREATE TABLE table_name_20 (background VARCHAR, result VARCHAR)
SELECT background FROM table_name_20 WHERE result = "07 fired in task 6 (2009-04-05)"
What is the WIAA classification of Oakland Alternative High School?
CREATE TABLE table_1414702_3 (wiaa_classification VARCHAR, high_school VARCHAR)
SELECT wiaa_classification FROM table_1414702_3 WHERE high_school = "Oakland Alternative"
What's the diameter of the 2006 equestrian Reverse?
CREATE TABLE table_name_49 (diameter VARCHAR, year VARCHAR, reverse VARCHAR)
SELECT diameter FROM table_name_49 WHERE year = 2006 AND reverse = "equestrian"
How many draft pick positions did Matt Bradley have?
CREATE TABLE table_2840500_4 (position VARCHAR, player VARCHAR)
SELECT COUNT(position) FROM table_2840500_4 WHERE player = "Matt Bradley"
When circuit ricardo tormo is the circuit what is the round?
CREATE TABLE table_21191496_1 (round VARCHAR, circuit VARCHAR)
SELECT COUNT(round) FROM table_21191496_1 WHERE circuit = "circuit Ricardo Tormo"
Which County has an IHSAA Class of aaaa, and a Mascot of cardinals?
CREATE TABLE table_name_70 (county VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)
SELECT county FROM table_name_70 WHERE ihsaa_class = "aaaa" AND mascot = "cardinals"
Who is the owner of NTS Motorsports sponsored by Qore-24?
CREATE TABLE table_name_61 (owner_s_ VARCHAR, team VARCHAR, primary_sponsor_s_ VARCHAR)
SELECT owner_s_ FROM table_name_61 WHERE team = "nts motorsports" AND primary_sponsor_s_ = "qore-24"
Who was the LMP2 winner when the LMP1 winning team was No. 20 Oryx Dyson Racing?
CREATE TABLE table_27743641_2 (lmp2_winning_driver VARCHAR, lmp1_winning_team VARCHAR)
SELECT lmp2_winning_driver FROM table_27743641_2 WHERE lmp1_winning_team = "No. 20 Oryx Dyson Racing"
What is the EU status of ESP?
CREATE TABLE table_13770460_3 (eu VARCHAR, country VARCHAR)
SELECT eu FROM table_13770460_3 WHERE country = "ESp"
What is the value for congi core 1 if the code name is Redwood and core clock(mhz) is 500?
CREATE TABLE table_25005714_3 (config_core_1 VARCHAR, code_name VARCHAR, core_clock___mhz__ VARCHAR)
SELECT config_core_1 FROM table_25005714_3 WHERE code_name = "Redwood" AND core_clock___mhz__ = "500"
What CFL team was the player playing on SB position drafted for?
CREATE TABLE table_23619005_3 (cfl_team VARCHAR, position VARCHAR)
SELECT cfl_team FROM table_23619005_3 WHERE position = "SB"
What 2010 has an A 2006 & 2011?
CREATE TABLE table_name_30 (Id VARCHAR)
SELECT 2010 FROM table_name_30 WHERE 2006 = "a" AND 2011 = "a"
Who is the original artist of the 3:00 song?
CREATE TABLE table_name_87 (original_artist VARCHAR, length VARCHAR)
SELECT original_artist FROM table_name_87 WHERE length = "3:00"
How many tracks were Recorded 1964-01-08?
CREATE TABLE table_name_75 (track VARCHAR, recorded VARCHAR)
SELECT COUNT(track) FROM table_name_75 WHERE recorded = "1964-01-08"
What is the date of the tournament with olivier delaître as the opponent in the final?
CREATE TABLE table_name_49 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_49 WHERE opponent_in_the_final = "olivier delaître"
What is the total amount of points when the given won is 9?
CREATE TABLE table_17675675_2 (points VARCHAR, won VARCHAR)
SELECT points FROM table_17675675_2 WHERE won = "9"
What was the final score for the August 25, 1996 match?
CREATE TABLE table_name_29 (score_in_the_final VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_29 WHERE date = "august 25, 1996"
How many winners were there when the mountains classification was not awarded?
CREATE TABLE table_25551880_2 (winner VARCHAR, mountains_classification VARCHAR)
SELECT COUNT(winner) FROM table_25551880_2 WHERE mountains_classification = "not awarded"
Find the names of all instructors who have taught some course and the course_id.
CREATE TABLE instructor (ID VARCHAR); CREATE TABLE teaches (ID VARCHAR)
SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID
What is the total of the crowd when the home team is footscray?
CREATE TABLE table_name_60 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_60 WHERE home_team = "footscray"
What was the record after the game in which the Hurricanes scored 24 points?
CREATE TABLE table_20928682_1 (record VARCHAR, hurricanes_points VARCHAR)
SELECT record FROM table_20928682_1 WHERE hurricanes_points = 24
Which runner-up player(s) had a margin of 10 strokes?
CREATE TABLE table_name_48 (runner_s__up VARCHAR, margin VARCHAR)
SELECT runner_s__up FROM table_name_48 WHERE margin = "10 strokes"
Name the score in the final for runner-up and hard surface with opponents being michaël llodra nenad zimonjić
CREATE TABLE table_name_1 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT score_in_the_final FROM table_name_1 WHERE outcome = "runner-up" AND surface = "hard" AND opponents_in_the_final = "michaël llodra nenad zimonjić"
For the 1967 Cleveland Browns season what is the total number of times they played the Minnesota Vikings and had an atttendance smaller than 68,431?
CREATE TABLE table_name_93 (week VARCHAR, opponent VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_93 WHERE opponent = "minnesota vikings" AND attendance < 68 OFFSET 431
What is the year opened for Chicagoland Speedway with a seating smaller than 75,000?
CREATE TABLE table_name_17 (year_opened INTEGER, track_name VARCHAR, seating VARCHAR)
SELECT AVG(year_opened) FROM table_name_17 WHERE track_name = "chicagoland speedway" AND seating < 75 OFFSET 000
Name the tournaments played for 2004
CREATE TABLE table_2112220_6 (tournaments_played INTEGER, year VARCHAR)
SELECT MIN(tournaments_played) FROM table_2112220_6 WHERE year = 2004
Which To par has a Place of t4, and wayne grady is in?
CREATE TABLE table_name_87 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_87 WHERE place = "t4" AND player = "wayne grady"
What's the average total cargo in metric tonnes that has an 11.8% Change?
CREATE TABLE table_name_97 (total_cargo__metric_tonnes_ INTEGER, _percentage_change VARCHAR)
SELECT AVG(total_cargo__metric_tonnes_) FROM table_name_97 WHERE _percentage_change = "11.8%"
What league played in 2011?
CREATE TABLE table_name_65 (league VARCHAR, year VARCHAR)
SELECT league FROM table_name_65 WHERE year = 2011
Which Result has a Record of 5–4?
CREATE TABLE table_name_14 (result VARCHAR, record VARCHAR)
SELECT result FROM table_name_14 WHERE record = "5–4"
What is the 1st leg with a junior team #2?
CREATE TABLE table_name_5 (team__number2 VARCHAR)
SELECT 1 AS st_leg FROM table_name_5 WHERE team__number2 = "junior"
What mobile markets have cvt hd?
CREATE TABLE table_25839957_5 (cvt_hd VARCHAR, market VARCHAR)
SELECT cvt_hd FROM table_25839957_5 WHERE market = "Mobile"
What's hale irwin's average rank?
CREATE TABLE table_name_7 (rank INTEGER, player VARCHAR)
SELECT AVG(rank) FROM table_name_7 WHERE player = "hale irwin"
What Nation had a more than 1 Total medal including less than 3 Silver, less than 4 Gold and a Rank of 4?
CREATE TABLE table_name_46 (nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR)
SELECT nation FROM table_name_46 WHERE silver < 3 AND total > 1 AND gold < "4" AND rank = "4"
How many floors were there with a building rank of less than 3 and a height of 300 / 985 m (ft)?
CREATE TABLE table_name_3 (floors VARCHAR, rank VARCHAR, height VARCHAR, _m__ft_ VARCHAR)
SELECT COUNT(floors) FROM table_name_3 WHERE height * _m__ft_ = "300 / 985" AND rank < 3
What player was picked for Buffalo Sabres?
CREATE TABLE table_2886617_8 (player VARCHAR, nhl_team VARCHAR)
SELECT player FROM table_2886617_8 WHERE nhl_team = "Buffalo Sabres"
How many athletes play the position of guard?
CREATE TABLE table_16494599_10 (player VARCHAR, position VARCHAR)
SELECT COUNT(player) FROM table_16494599_10 WHERE position = "Guard"
What Director won a prize of ¥2,000,000?
CREATE TABLE table_name_42 (director_s_ VARCHAR, prize VARCHAR)
SELECT director_s_ FROM table_name_42 WHERE prize = "¥2,000,000"
In what season did the Sporting CP Club have a 1. round?
CREATE TABLE table_name_78 (season VARCHAR, round VARCHAR, club VARCHAR)
SELECT season FROM table_name_78 WHERE round = "1. round" AND club = "sporting cp"
When cary middlecoff is the winner how many pars are there?
CREATE TABLE table_2417741_1 (par VARCHAR, winner VARCHAR)
SELECT COUNT(par) FROM table_2417741_1 WHERE winner = "Cary Middlecoff"
Which method was used in round 1 with a record of 1-0?
CREATE TABLE table_name_89 (method VARCHAR, round VARCHAR, record VARCHAR)
SELECT method FROM table_name_89 WHERE round = 1 AND record = "1-0"
Who won the ABA Championship in 1971?
CREATE TABLE table_name_94 (championships INTEGER, years_won VARCHAR)
SELECT MIN(championships) FROM table_name_94 WHERE years_won = "1971"
What event did Cristina Iovu participate in?
CREATE TABLE table_name_1 (event VARCHAR, name VARCHAR)
SELECT event FROM table_name_1 WHERE name = "cristina iovu"
What is the PCT when the total number of games is less than 944?
CREATE TABLE table_name_84 (pct VARCHAR, total_games INTEGER)
SELECT pct FROM table_name_84 WHERE total_games < 944
What farm has a capacity of 70 and is operational?
CREATE TABLE table_26387382_1 (name VARCHAR, capacity__mw_ VARCHAR, status VARCHAR)
SELECT name FROM table_26387382_1 WHERE capacity__mw_ = "70" AND status = "Operational"
Which Engine has a Model of sl500, and a Chassis smaller than 129.067?
CREATE TABLE table_name_60 (engine INTEGER, model VARCHAR, chassis VARCHAR)
SELECT MIN(engine) FROM table_name_60 WHERE model = "sl500" AND chassis < 129.067
How many different nationalities is pick number 179?
CREATE TABLE table_2781227_7 (nationality VARCHAR, pick VARCHAR)
SELECT COUNT(nationality) FROM table_2781227_7 WHERE pick = 179
How many shows had 12.46 total viewers?
CREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
SELECT COUNT(title) FROM table_23793770_2 WHERE total_viewers__in_millions_ = "12.46"
What score occurred when the save was ||27,108||63–44?
CREATE TABLE table_name_93 (score VARCHAR, save VARCHAR)
SELECT score FROM table_name_93 WHERE save = "||27,108||63–44"
What is the Bike with a grid more than 4 and the rider is Michel Fabrizio?
CREATE TABLE table_name_17 (bike VARCHAR, grid VARCHAR, rider VARCHAR)
SELECT bike FROM table_name_17 WHERE grid > 4 AND rider = "michel fabrizio"
Zach Banner is a player at which school?
CREATE TABLE table_11677691_5 (school VARCHAR, player VARCHAR)
SELECT school FROM table_11677691_5 WHERE player = "Zach Banner"
What are the ids of songs that are available in either mp4 format or have resolution above 720?
CREATE TABLE song (f_id VARCHAR, formats VARCHAR, resolution INTEGER); CREATE TABLE files (f_id VARCHAR, formats VARCHAR, resolution INTEGER)
SELECT f_id FROM files WHERE formats = "mp4" UNION SELECT f_id FROM song WHERE resolution > 720
Who was the opponent in the round of R2?
CREATE TABLE table_name_95 (opponent VARCHAR, round VARCHAR)
SELECT opponent FROM table_name_95 WHERE round = "r2"
What is 2001, when 1994 is "A", and when Tournament is "Monte Carlo Masters"?
CREATE TABLE table_name_74 (tournament VARCHAR)
SELECT 2001 FROM table_name_74 WHERE 1994 = "a" AND tournament = "monte carlo masters"
Can you tell me the sum of Score that has the Place of t5, and the Country of united states, and the Player of jeff maggert?
CREATE TABLE table_name_27 (score INTEGER, player VARCHAR, place VARCHAR, country VARCHAR)
SELECT SUM(score) FROM table_name_27 WHERE place = "t5" AND country = "united states" AND player = "jeff maggert"
Who directed the episode with production code 4akj01?
CREATE TABLE table_19929970_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_19929970_1 WHERE production_code = "4AKJ01"
How many seasons feature Rob Masek?
CREATE TABLE table_2140071_8 (season VARCHAR, coach VARCHAR)
SELECT COUNT(season) FROM table_2140071_8 WHERE coach = "Rob Masek"
what is the display size for the calculator ti-82?
CREATE TABLE table_11703336_1 (display_size VARCHAR, calculator VARCHAR)
SELECT display_size FROM table_11703336_1 WHERE calculator = "TI-82"
I want the fewest Laps for Huub Rothengatter and grid less than 24
CREATE TABLE table_name_88 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_88 WHERE driver = "huub rothengatter" AND grid < 24
Who was the finals opponent on the hard surface tournament?
CREATE TABLE table_name_11 (opponent_in_the_final VARCHAR, surface VARCHAR)
SELECT opponent_in_the_final FROM table_name_11 WHERE surface = "hard"
What is the frequency that the magazine issues that was first published on april 27, 2010?
CREATE TABLE table_name_67 (frequency VARCHAR, first_published VARCHAR)
SELECT frequency FROM table_name_67 WHERE first_published = "april 27, 2010"
What was the score of the Chiefs November 27, 1994 game?
CREATE TABLE table_name_74 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_74 WHERE date = "november 27, 1994"
Which 2nd Party has a Election of 1857?
CREATE TABLE table_name_17 (election VARCHAR)
SELECT 2 AS nd_party FROM table_name_17 WHERE election = "1857"
What is the average number for a final episode featuring maxine valera?
CREATE TABLE table_name_99 (final_episode INTEGER, character VARCHAR)
SELECT AVG(final_episode) AS Count FROM table_name_99 WHERE character = "maxine valera"
What language is the Tematico content with a sky tv package, and Fox Crime television service?
CREATE TABLE table_name_55 (language VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR)
SELECT language FROM table_name_55 WHERE content = "tematico" AND package_option = "sky tv" AND television_service = "fox crime"
What is Position, when Event is 60 m, and when Venue is Budapest , Hungary?
CREATE TABLE table_name_40 (position VARCHAR, event VARCHAR, venue VARCHAR)
SELECT position FROM table_name_40 WHERE event = "60 m" AND venue = "budapest , hungary"
what is the highest mccain # where obama got 33.7%
CREATE TABLE table_20424014_1 (mccain__number INTEGER, obama__percentage VARCHAR)
SELECT MAX(mccain__number) FROM table_20424014_1 WHERE obama__percentage = "33.7%"
Which date had a venue of the State Sports Centre?
CREATE TABLE table_name_88 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_88 WHERE venue = "state sports centre"
Which award is in the category of best music video?
CREATE TABLE table_name_55 (award VARCHAR, category VARCHAR)
SELECT award FROM table_name_55 WHERE category = "best music video"
What was the world rank by QS in 2013 for the University of Otago?
CREATE TABLE table_27484208_1 (world_rank_by_qs_ VARCHAR, _2013 VARCHAR, members VARCHAR)
SELECT world_rank_by_qs_, _2013 FROM table_27484208_1 WHERE members = "University of Otago"
How many points did the team with more than 68 games, 4 ties, and more than 272 goals against have?
CREATE TABLE table_name_14 (points INTEGER, goals_against VARCHAR, games VARCHAR, tied VARCHAR)
SELECT SUM(points) FROM table_name_14 WHERE games > 68 AND tied = "4" AND goals_against > 272
What is the overall FHT points for Denis Kornilov?
CREATE TABLE table_name_90 (overall_fht_points VARCHAR, name VARCHAR)
SELECT overall_fht_points FROM table_name_90 WHERE name = "denis kornilov"
What is the largest crowd at arden street oval?
CREATE TABLE table_name_87 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_87 WHERE venue = "arden street oval"
What is the total score when 7 is the average ranking?
CREATE TABLE table_23465011_5 (total_score INTEGER, average_ranking VARCHAR)
SELECT MAX(total_score) FROM table_23465011_5 WHERE average_ranking = 7
What's the title of the episode with a season number 25?
CREATE TABLE table_12226390_6 (title VARCHAR, no_in_season VARCHAR)
SELECT title FROM table_12226390_6 WHERE no_in_season = 25
Was the sounddock series I v2 iphone certified?
CREATE TABLE table_24384861_1 (iphone_certified VARCHAR, version VARCHAR)
SELECT iphone_certified FROM table_24384861_1 WHERE version = "SoundDock series I v2"
What was the winning score when the margin of victory was a playoff for the Tournament of safeco classic?
CREATE TABLE table_name_4 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
SELECT winning_score FROM table_name_4 WHERE margin_of_victory = "playoff" AND tournament = "safeco classic"
what is march 27-29 when november 3 is 133?
CREATE TABLE table_25355392_2 (march_27_29 VARCHAR, november_3 VARCHAR)
SELECT march_27_29 FROM table_25355392_2 WHERE november_3 = "133"
What is the average number of floors of the Venetian tower?
CREATE TABLE table_name_59 (floors INTEGER, name VARCHAR)
SELECT AVG(floors) FROM table_name_59 WHERE name = "venetian tower"
What is origin country for a title that charted at 52?
CREATE TABLE table_name_84 (origin VARCHAR, chart_no VARCHAR)
SELECT origin FROM table_name_84 WHERE chart_no = 52
What is the 1995 GDP when 1990 GDP is 441 and 1985 GDP is less than 359?
CREATE TABLE table_name_14 (Id VARCHAR)
SELECT MIN(1995) FROM table_name_14 WHERE 1990 = 441 AND 1985 < 359
Who won the Food World 250?
CREATE TABLE table_name_14 (winner VARCHAR, race VARCHAR)
SELECT winner FROM table_name_14 WHERE race = "food world 250"
What is the venue on October 13, 2007?
CREATE TABLE table_name_60 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_60 WHERE date = "october 13, 2007"
Name the most rr1 pts for 7 ranking
CREATE TABLE table_21471897_2 (rr1_pts INTEGER, ranking VARCHAR)
SELECT MAX(rr1_pts) FROM table_21471897_2 WHERE ranking = 7
what is the position when signed is yes, round is less than 24 and name is charlie hough?
CREATE TABLE table_name_96 (position VARCHAR, name VARCHAR, signed VARCHAR, round VARCHAR)
SELECT position FROM table_name_96 WHERE signed = "yes" AND round < 24 AND name = "charlie hough"
Which round has a Kick Off of 1993-02-17 20:30?
CREATE TABLE table_name_8 (round VARCHAR, kick_off VARCHAR)
SELECT round FROM table_name_8 WHERE kick_off = "1993-02-17 20:30"
What is the description of the marketing region China?
CREATE TABLE Marketing_Regions (Marketing_Region_Descriptrion VARCHAR, Marketing_Region_Name VARCHAR)
SELECT Marketing_Region_Descriptrion FROM Marketing_Regions WHERE Marketing_Region_Name = "China"
What is the genre of the Chinese title 摸摸瓦力欧制造, which has a single-player game mode?
CREATE TABLE table_name_17 (genre VARCHAR, game_modes VARCHAR, chinese_title VARCHAR)
SELECT genre FROM table_name_17 WHERE game_modes = "single-player" AND chinese_title = "摸摸瓦力欧制造"
What place did Don Whitt finish?
CREATE TABLE table_name_79 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_79 WHERE player = "don whitt"
Which team has 5 as a game?
CREATE TABLE table_23285761_11 (team VARCHAR, game VARCHAR)
SELECT team FROM table_23285761_11 WHERE game = 5