answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT tournament FROM table_name_62 WHERE score = "w/o" AND date = "november 5, 2007"
What is the tournament with a w/o score on November 5, 2007?
CREATE TABLE table_name_62 (tournament VARCHAR, score VARCHAR, date VARCHAR)
SELECT launch_date FROM table_245801_1 WHERE crew = "Vladimir Lyakhov , Aleksandr Pavlovich Aleksandrov"
Name the launch date for vladimir lyakhov , aleksandr pavlovich aleksandrov
CREATE TABLE table_245801_1 (launch_date VARCHAR, crew VARCHAR)
SELECT location FROM table_name_50 WHERE season = 2006
What is the Location of the Bowl in 2006?
CREATE TABLE table_name_50 (location VARCHAR, season VARCHAR)
SELECT males FROM table_name_3 WHERE language = "russian"
How many males speak Russian?
CREATE TABLE table_name_3 (males VARCHAR, language VARCHAR)
SELECT high_assists FROM table_name_57 WHERE team = "indiana"
Who had the most assists in the game against Indiana?
CREATE TABLE table_name_57 (high_assists VARCHAR, team VARCHAR)
SELECT season FROM table_name_9 WHERE name = "omar sneed"
What years did Omar Sneed play?
CREATE TABLE table_name_9 (season VARCHAR, name VARCHAR)
SELECT title FROM table_11630008_7 WHERE production_code = 514
What is the title of production code 514?
CREATE TABLE table_11630008_7 (title VARCHAR, production_code VARCHAR)
SELECT AVG(adam) FROM table_name_40 WHERE jade > 5 AND peter < 0
What's Adam's score when Jade's score is greater than 5 and Peter's score is less than 0?
CREATE TABLE table_name_40 (adam INTEGER, jade VARCHAR, peter VARCHAR)
SELECT MIN(laps) FROM table_name_83 WHERE grid > 7 AND name = "fabian coulthard"
What is the lowest Laps, when Grid is greater than 7, and when Name is "Fabian Coulthard"?
CREATE TABLE table_name_83 (laps INTEGER, grid VARCHAR, name VARCHAR)
SELECT score FROM table_name_91 WHERE visitor = "mtl. maroons"
What score has mtl. maroons as the visitor?
CREATE TABLE table_name_91 (score VARCHAR, visitor VARCHAR)
SELECT type FROM table_10581768_2 WHERE institution = "Point Park University"
What type institution is point park university
CREATE TABLE table_10581768_2 (type VARCHAR, institution VARCHAR)
SELECT court_surface FROM table_name_93 WHERE began < 1897
What was the surface played on for the match than began before 1897?
CREATE TABLE table_name_93 (court_surface VARCHAR, began INTEGER)
SELECT status FROM table_29572583_19 WHERE points = 4595
What is the status when points is 4595?
CREATE TABLE table_29572583_19 (status VARCHAR, points VARCHAR)
SELECT owner FROM table_name_31 WHERE format = "adult hits" AND branding = "kool-fm"
Who owns the kool-fm branding in the adult hits format?
CREATE TABLE table_name_31 (owner VARCHAR, format VARCHAR, branding VARCHAR)
SELECT socket FROM table_27277284_27 WHERE frequency = "2100MHz" AND model_number = "Athlon X2 QL-64"
What kind of sockets does a 2100MHz Athlon X2 QL-64 use?
CREATE TABLE table_27277284_27 (socket VARCHAR, frequency VARCHAR, model_number VARCHAR)
SELECT COUNT(ends) FROM table_name_67 WHERE name = "filip šebo" AND goals > 2
I want the total number of ends for filip šebo and Goals more than 2
CREATE TABLE table_name_67 (ends VARCHAR, name VARCHAR, goals VARCHAR)
SELECT location_attendance FROM table_27722734_10 WHERE team = "Charlotte"
what was the location for charlotte?
CREATE TABLE table_27722734_10 (location_attendance VARCHAR, team VARCHAR)
SELECT competition FROM table_name_71 WHERE score = "3-0"
What was the competition for score of 3-0
CREATE TABLE table_name_71 (competition VARCHAR, score VARCHAR)
SELECT promotion FROM table_name_4 WHERE venue = "the arena" AND event = "legends of the arena"
What is the promotion when the arena was the venue and the event of legends of the arena?
CREATE TABLE table_name_4 (promotion VARCHAR, venue VARCHAR, event VARCHAR)
SELECT league FROM table_name_64 WHERE team = "ordabasy-2"
What league is ordabasy-2 in?
CREATE TABLE table_name_64 (league VARCHAR, team VARCHAR)
SELECT T1.fname, T1.sex FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid HAVING COUNT(*) > 1
Find the first name and gender of student who have more than one pet.
CREATE TABLE student (fname VARCHAR, sex VARCHAR, stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR)
SELECT show FROM table_name_81 WHERE date = "19 april"
Which show aired on 19 april?
CREATE TABLE table_name_81 (show VARCHAR, date VARCHAR)
SELECT date FROM table_name_26 WHERE score = "130-56"
What was the date for the 130-56 game?
CREATE TABLE table_name_26 (date VARCHAR, score VARCHAR)
SELECT COUNT(start) FROM table_name_21 WHERE finish < 4
Name the total number of start when finish is less than 4
CREATE TABLE table_name_21 (start VARCHAR, finish INTEGER)
SELECT height__m_ FROM table_23670057_4 WHERE player = "Lior Eliyahu"
How tall is the basket ball player lior eliyahu in meters?
CREATE TABLE table_23670057_4 (height__m_ VARCHAR, player VARCHAR)
SELECT windows_phone FROM table_14260687_3 WHERE total = "216.2"
How many million of windows phones were shipped during the quarter that shipped 216.2 million total?
CREATE TABLE table_14260687_3 (windows_phone VARCHAR, total VARCHAR)
SELECT COUNT(mark) FROM table_name_65 WHERE country = "russia" AND react < 0.165
What is the total number of Mark, when Country is "Russia", and when React is less than 0.165?
CREATE TABLE table_name_65 (mark VARCHAR, country VARCHAR, react VARCHAR)
SELECT country FROM table_name_19 WHERE rank = 79
What country is ranked 79?
CREATE TABLE table_name_19 (country VARCHAR, rank VARCHAR)
SELECT language FROM table_name_82 WHERE package_option = "sky famiglia"
What language has sky famiglia as the package/option?
CREATE TABLE table_name_82 (language VARCHAR, package_option VARCHAR)
SELECT thickness FROM table_name_35 WHERE year_of_issue < 1983
Which Thickness has a Year of Issue smaller than 1983?
CREATE TABLE table_name_35 (thickness VARCHAR, year_of_issue INTEGER)
SELECT djurgården_scorers FROM table_name_87 WHERE score = "2-1"
What are the Djurgården scorers that have a Score of 2-1?
CREATE TABLE table_name_87 (djurgården_scorers VARCHAR, score VARCHAR)
SELECT playoffs FROM table_1570003_2 WHERE year = 1998
What was the playoff advancement during the year 1998?
CREATE TABLE table_1570003_2 (playoffs VARCHAR, year VARCHAR)
SELECT goals FROM table_name_24 WHERE matches < 37 AND average = 1.5
How many goals were scored on the goalkeeper with fewer than 37 matches and an average of 1.5?
CREATE TABLE table_name_24 (goals VARCHAR, matches VARCHAR, average VARCHAR)
SELECT race FROM table_name_71 WHERE distance = "201.44 miles"
Which race has a distance of 201.44 miles?
CREATE TABLE table_name_71 (race VARCHAR, distance VARCHAR)
SELECT COUNT(episode) FROM table_27208817_1 WHERE writer = "Sam Snape"
Name the number of episodes for sam snape
CREATE TABLE table_27208817_1 (episode VARCHAR, writer VARCHAR)
SELECT score FROM table_name_16 WHERE away_team = "gold coast blaze" AND home_team = "adelaide 36ers"
What was the score of the game which featured the gold coast blaze as the away team and the adelaide 36ers as the home team?
CREATE TABLE table_name_16 (score VARCHAR, away_team VARCHAR, home_team VARCHAR)
SELECT offer_team FROM table_name_24 WHERE date = "july 29, 1994"
What Offer Team has a date of July 29, 1994?
CREATE TABLE table_name_24 (offer_team VARCHAR, date VARCHAR)
SELECT distance_duration FROM table_name_3 WHERE date = "sept 5" AND race_title = "le grand prix de trois-rivières"
What is the distance/duration on sept 5 of le grand prix de trois-rivières?
CREATE TABLE table_name_3 (distance_duration VARCHAR, date VARCHAR, race_title VARCHAR)
SELECT COUNT(original_air_date) FROM table_23255941_1 WHERE episode__number = 12
How many original air dates did episode 12 have?h
CREATE TABLE table_23255941_1 (original_air_date VARCHAR, episode__number VARCHAR)
SELECT home_team FROM table_name_1 WHERE venue = "lake oval"
What home team played at Lake Oval?
CREATE TABLE table_name_1 (home_team VARCHAR, venue VARCHAR)
SELECT MIN(year) FROM table_name_92 WHERE position = "5th" AND venue = "osaka, japan"
What's the year in 5th position that happened in Osaka, Japan?
CREATE TABLE table_name_92 (year INTEGER, position VARCHAR, venue VARCHAR)
SELECT location FROM table_name_32 WHERE res = "win" AND method = "tko"
Where was the match held when the result was win, and tko as the method?
CREATE TABLE table_name_32 (location VARCHAR, res VARCHAR, method VARCHAR)
SELECT finals_venue FROM table_name_23 WHERE number_of_delegates = "82"
What was the final venue for 82 delegates?
CREATE TABLE table_name_23 (finals_venue VARCHAR, number_of_delegates VARCHAR)
SELECT AVG(silver) FROM table_name_35 WHERE gold > 2 AND rank = "1" AND bronze > 0
What is the average silver for golds over 2, ranks of 1, and bronzes over 0?
CREATE TABLE table_name_35 (silver INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT city_of_license FROM table_name_82 WHERE call_sign = "k293bg"
What city of license has a value of k293bg for its call sign?
CREATE TABLE table_name_82 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT score FROM table_23286158_11 WHERE high_points = "Andre Miller (31)"
What is the score when high points were Andre Miller (31)?
CREATE TABLE table_23286158_11 (score VARCHAR, high_points VARCHAR)
SELECT COUNT(position) FROM table_2781227_2 WHERE player = "Janne Niinimaa"
How many positions does Janne Niinimaa play?
CREATE TABLE table_2781227_2 (position VARCHAR, player VARCHAR)
SELECT date FROM table_name_53 WHERE to_par = "–12"
Which date has a To par of –12?
CREATE TABLE table_name_53 (date VARCHAR, to_par VARCHAR)
SELECT segment_a FROM table_name_18 WHERE netflix = "s01e12"
What is the segment A name, having a Netflix of s01e12?
CREATE TABLE table_name_18 (segment_a VARCHAR, netflix VARCHAR)
SELECT COUNT(english_name) FROM table_1982739_2 WHERE traditional_chinese = "全椒縣"
What is the number of English names that have a Traditional Chinese name of 全椒縣?
CREATE TABLE table_1982739_2 (english_name VARCHAR, traditional_chinese VARCHAR)
SELECT written_by FROM table_27504682_1 WHERE directed_by = "Lawrence Trilling"
Name who wrote the episode by lawrence trilling
CREATE TABLE table_27504682_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT mountains_classification FROM table_name_94 WHERE winner = "thor hushovd" AND sprints_classification = "no award"
What is the Mountains Classification for Winner Thor hushovd with Sprints Classification of no award?
CREATE TABLE table_name_94 (mountains_classification VARCHAR, winner VARCHAR, sprints_classification VARCHAR)
SELECT crowd FROM table_name_15 WHERE score = "w 7-6"
How many people attended the score of w 7-6?
CREATE TABLE table_name_15 (crowd VARCHAR, score VARCHAR)
SELECT wii_points FROM table_13663434_1 WHERE title_and_source = "Tsūshin Taikyoku: Igo Dōjō 2700-Mon"
what's the wii points with title and source being tsūshin taikyoku: igo dōjō 2700-mon
CREATE TABLE table_13663434_1 (wii_points VARCHAR, title_and_source VARCHAR)
SELECT party FROM table_2668420_17 WHERE result = "Re-elected" AND district = "Virginia 12"
What party was re-elected to Virginia 12?
CREATE TABLE table_2668420_17 (party VARCHAR, result VARCHAR, district VARCHAR)
SELECT AVG(week) FROM table_name_70 WHERE result = "l 34–24"
Tell me the average week for result of l 34–24
CREATE TABLE table_name_70 (week INTEGER, result VARCHAR)
SELECT candidates FROM table_2668254_8 WHERE district = "Kentucky 9"
Who were the candidates in the Kentucky 9 district?
CREATE TABLE table_2668254_8 (candidates VARCHAR, district VARCHAR)
SELECT category FROM table_name_99 WHERE year < 1992 AND nominated_work = "yerma"
What categories had a Nominated work of yerma before 1992?
CREATE TABLE table_name_99 (category VARCHAR, year VARCHAR, nominated_work VARCHAR)
SELECT side FROM table_name_25 WHERE inscription = "vischer"
Which side has Vischer as the inscription?
CREATE TABLE table_name_25 (side VARCHAR, inscription VARCHAR)
SELECT replaced_by FROM table_name_66 WHERE outgoing_manager = "ünal karaman"
What is Replaced By, when Outgoing Manager is "Ünal Karaman"?
CREATE TABLE table_name_66 (replaced_by VARCHAR, outgoing_manager VARCHAR)
SELECT conference FROM table_name_94 WHERE division = "east" AND home_stadium = "fedexfield"
At which Conference was the Division in the East, and the Home Stadium named fedexfield?
CREATE TABLE table_name_94 (conference VARCHAR, division VARCHAR, home_stadium VARCHAR)
SELECT round FROM table_name_90 WHERE rank < 117
What is Round, when Rank is less than 117?
CREATE TABLE table_name_90 (round VARCHAR, rank INTEGER)
SELECT title FROM table_20704243_6 WHERE original_air_date = "August19,2012"
Which episode aired on august19,2012?
CREATE TABLE table_20704243_6 (title VARCHAR, original_air_date VARCHAR)
SELECT winner FROM table_name_35 WHERE date = "3 june"
Who won on 3 june?
CREATE TABLE table_name_35 (winner VARCHAR, date VARCHAR)
SELECT result FROM table_name_45 WHERE game_site = "arrowhead stadium"
Name the result for arrowhead stadium
CREATE TABLE table_name_45 (result VARCHAR, game_site VARCHAR)
SELECT date FROM table_28768469_10 WHERE location_attendance = "Ford Center 17,021"
The location attendance is ford center 17,021 on what dates?
CREATE TABLE table_28768469_10 (date VARCHAR, location_attendance VARCHAR)
SELECT wind FROM table_name_83 WHERE time = "19.32"
What's the wind when the time was 19.32?
CREATE TABLE table_name_83 (wind VARCHAR, time VARCHAR)
SELECT production_code FROM table_1876825_3 WHERE no_in_season = 6
What is the production code for episode 6 in the season?
CREATE TABLE table_1876825_3 (production_code VARCHAR, no_in_season VARCHAR)
SELECT population FROM table_12108_1 WHERE "area__sq_mi_" = "area__sq_mi_"
what is the population where the area (sq. mi.) is area (sq. mi.)?
CREATE TABLE table_12108_1 (population VARCHAR)
SELECT games_started FROM table_14342210_13 WHERE player = "Hugh White"
How many Games Started are there for Hugh White ?
CREATE TABLE table_14342210_13 (games_started VARCHAR, player VARCHAR)
SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 6
Which player had a draft before 1975 and before round 6?
CREATE TABLE table_name_79 (player VARCHAR, draft VARCHAR, round VARCHAR)
SELECT gross FROM table_name_74 WHERE studio = "20th century fox" AND director_s_ = "joel schumacher"
The 20th Century Fox film directed by Joel Schumacher grossed how much?
CREATE TABLE table_name_74 (gross VARCHAR, studio VARCHAR, director_s_ VARCHAR)
SELECT standing FROM table_2259285_1 WHERE goals_against = 279
What was the standing when goal against were 279?
CREATE TABLE table_2259285_1 (standing VARCHAR, goals_against VARCHAR)
SELECT position FROM table_name_21 WHERE school_club_team = "kansas"
What position in the club team of Kansas?
CREATE TABLE table_name_21 (position VARCHAR, school_club_team VARCHAR)
SELECT COUNT(wins) FROM table_name_27 WHERE byes > 3
How many wins were there when the byes were more than 3?
CREATE TABLE table_name_27 (wins VARCHAR, byes INTEGER)
SELECT icao FROM table_name_35 WHERE country = "saudi arabia" AND city = "riyadh"
What is the ICAO for Riyadh, Saudi Arabia?
CREATE TABLE table_name_35 (icao VARCHAR, country VARCHAR, city VARCHAR)
SELECT login_name FROM Students WHERE family_name = "Ward"
What are the login names of the students with family name "Ward"?
CREATE TABLE Students (login_name VARCHAR, family_name VARCHAR)
SELECT semimajor_axis___au__ FROM table_name_73 WHERE mass = "≥ 3.5 ± 1.4 m⊕"
What Semimajor axis (AU) has a Mass of ≥ 3.5 ± 1.4 m⊕?
CREATE TABLE table_name_73 (semimajor_axis___au__ VARCHAR, mass VARCHAR)
SELECT country FROM table_name_95 WHERE year > 2008
Name the country with year more than 2008
CREATE TABLE table_name_95 (country VARCHAR, year INTEGER)
SELECT league_cup_goals FROM table_name_61 WHERE total > "14" AND league_goals = "14" AND fa_cup_goals = "0"
Which League Cup goals have a Total larger than 14, and a League goals of 14, and a FA Cup goals of 0?
CREATE TABLE table_name_61 (league_cup_goals VARCHAR, fa_cup_goals VARCHAR, total VARCHAR, league_goals VARCHAR)
SELECT home_team AS score FROM table_name_80 WHERE home_team = "essendon"
What is the home team score when the home team is Essendon?
CREATE TABLE table_name_80 (home_team VARCHAR)
SELECT T3.Date FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID WHERE T2.Role = "Violin"
Show the dates of performances with attending members whose roles are "Violin".
CREATE TABLE performance (Date VARCHAR, Performance_ID VARCHAR); CREATE TABLE member (Member_ID VARCHAR, Role VARCHAR); CREATE TABLE member_attendance (Member_ID VARCHAR, Performance_ID VARCHAR)
SELECT original_air_date FROM table_21313498_1 WHERE us_viewers__millions_ = "3.3" AND written_by = "Rob Wright"
when was the premiere when a 3.3 millions of North American watched the episode whose writer was Rob Wright?
CREATE TABLE table_21313498_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR, written_by VARCHAR)
SELECT city_location FROM table_10707142_2 WHERE circuit = "Meadowlands Sports Complex"
meadowlands sports complex is the circuit at which city/location?
CREATE TABLE table_10707142_2 (city_location VARCHAR, circuit VARCHAR)
SELECT gdp__nominal_ FROM table_name_98 WHERE population = "5,550,239"
Which GDP (nominal) has a Population of 5,550,239?
CREATE TABLE table_name_98 (gdp__nominal_ VARCHAR, population VARCHAR)
SELECT 1 AS st_leg FROM table_name_3 WHERE team_2 = "aurora"
What was the 1st leg when Team 2 was Aurora?
CREATE TABLE table_name_3 (team_2 VARCHAR)
SELECT Player_name FROM player WHERE NOT Player_ID IN (SELECT Player_ID FROM player_coach)
List the names of players that do not have coaches.
CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR); CREATE TABLE player_coach (Player_name VARCHAR, Player_ID VARCHAR)
SELECT player FROM table_2850912_10 WHERE nhl_team = "New York Rangers"
Which player was drafted by the New York Rangers?
CREATE TABLE table_2850912_10 (player VARCHAR, nhl_team VARCHAR)
SELECT college FROM table_name_38 WHERE team = "new york jets"
Which college has their team as the New York Jets?
CREATE TABLE table_name_38 (college VARCHAR, team VARCHAR)
SELECT party FROM table_name_23 WHERE residence = "san diego"
Which Party has a Residence of san diego?
CREATE TABLE table_name_23 (party VARCHAR, residence VARCHAR)
SELECT result FROM table_19753079_35 WHERE district = "New York 8"
Name the result for new york 8
CREATE TABLE table_19753079_35 (result VARCHAR, district VARCHAR)
SELECT MAX(year) FROM table_14903999_1 WHERE mixed_doubles = "Árni Þór Hallgrímsson Drífa Harðardóttir"
What was the last year árni þór hallgrímsson drífa harðardóttir won mixed doubles
CREATE TABLE table_14903999_1 (year INTEGER, mixed_doubles VARCHAR)
SELECT tournament FROM table_name_64 WHERE 2012 = "sf" AND 2010 = "qf"
Which tournament had a 2010 result of QF and a 2012 result of SF?
CREATE TABLE table_name_64 (tournament VARCHAR)
SELECT name FROM table_name_78 WHERE winning_constructor = "bugatti" AND winning_driver = "louis chiron"
What Name has a Winning constructor of bugatti, and a Winning driver of louis chiron?
CREATE TABLE table_name_78 (name VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR)
SELECT co_drivers FROM table_name_23 WHERE pos = "3rd" AND team = "joest racing"
Which co drivers are 3rd in Joest racing?
CREATE TABLE table_name_23 (co_drivers VARCHAR, pos VARCHAR, team VARCHAR)
SELECT minister FROM table_name_12 WHERE end_date = "31 july 2004"
Name the minister for end date of 31 july 2004
CREATE TABLE table_name_12 (minister VARCHAR, end_date VARCHAR)
SELECT score FROM table_name_51 WHERE visitor = "pittsburgh"
What was the score when the visitor was pittsburgh?
CREATE TABLE table_name_51 (score VARCHAR, visitor VARCHAR)
SELECT manner_of_departure FROM table_19359427_6 WHERE outgoing_manager = "Gary Megson"
What was Gary Megson's manner of departure?
CREATE TABLE table_19359427_6 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
SELECT date FROM table_name_25 WHERE week = "11"
When does week 11 start?
CREATE TABLE table_name_25 (date VARCHAR, week VARCHAR)
SELECT MIN(administrative_panel) FROM table_name_52 WHERE nominated_by_the_taoiseach < 0
Which Administrative Panel has a Nominated by the Taoiseach smaller than 0?
CREATE TABLE table_name_52 (administrative_panel INTEGER, nominated_by_the_taoiseach INTEGER)