question
stringlengths 12
243
| answer
stringlengths 18
557
| context
stringlengths 27
489
|
---|---|---|
Who was the contstructor of the car having a grid of 20? | SELECT constructor FROM table_name_66 WHERE grid = "20" | CREATE TABLE table_name_66 (constructor VARCHAR, grid VARCHAR) |
What males speak Polish? | SELECT males FROM table_name_22 WHERE language = "polish" | CREATE TABLE table_name_22 (males VARCHAR, language VARCHAR) |
Name the partner for mark woodforde martina navratilova | SELECT partner FROM table_1547951_3 WHERE opponents = "Mark Woodforde Martina Navratilova" | CREATE TABLE table_1547951_3 (partner VARCHAR, opponents VARCHAR) |
Who has a Construction of 1870, foochow navy yard, and a Name (Wade Giles) of fu-hsing? | SELECT characters FROM table_name_1 WHERE construction = "1870, foochow navy yard" AND name__wade_giles_ = "fu-hsing" | CREATE TABLE table_name_1 (characters VARCHAR, construction VARCHAR, name__wade_giles_ VARCHAR) |
What is Michael's surname? | SELECT surname FROM table_name_16 WHERE first = "michael" | CREATE TABLE table_name_16 (surname VARCHAR, first VARCHAR) |
Which team played against North Melbourne as the home team? | SELECT home_team FROM table_name_5 WHERE away_team = "north melbourne" | CREATE TABLE table_name_5 (home_team VARCHAR, away_team VARCHAR) |
what is the name of the episode which the production code is 62015-08-162 | SELECT title FROM table_21313498_1 WHERE production_code = "62015-08-162" | CREATE TABLE table_21313498_1 (title VARCHAR, production_code VARCHAR) |
Which coach founded the Western Strikers team after 1963? | SELECT coach FROM table_name_58 WHERE founded > 1963 AND team = "western strikers" | CREATE TABLE table_name_58 (coach VARCHAR, founded VARCHAR, team VARCHAR) |
What is the player number for the player from Centenary? | SELECT no_s_ FROM table_name_66 WHERE school_club_team_country = "centenary" | CREATE TABLE table_name_66 (no_s_ VARCHAR, school_club_team_country VARCHAR) |
What date had a margin victory of 2 strokes? | SELECT date FROM table_name_91 WHERE margin_of_victory = "2 strokes" | CREATE TABLE table_name_91 (date VARCHAR, margin_of_victory VARCHAR) |
What is Internet Plan, when Price is "22 EUR"? | SELECT internet_plan FROM table_name_48 WHERE price = "22 eur" | CREATE TABLE table_name_48 (internet_plan VARCHAR, price VARCHAR) |
For couple Todd and Susie, what was the vote percentage? | SELECT vote_percentage FROM table_19744915_17 WHERE couple = "Todd and Susie" | CREATE TABLE table_19744915_17 (vote_percentage VARCHAR, couple VARCHAR) |
What is Player, when Place is "1"? | SELECT player FROM table_name_43 WHERE place = "1" | CREATE TABLE table_name_43 (player VARCHAR, place VARCHAR) |
In the year where Angela Stanford had a scoring average of 71.62, how many times did she take second place? | SELECT COUNT(2 AS nd) FROM table_14836185_3 WHERE scoring_average = "71.62" | CREATE TABLE table_14836185_3 (scoring_average VARCHAR) |
What's the location attendance of the @ portland team? | SELECT location_attendance FROM table_27734286_1 WHERE team = "@ Portland" | CREATE TABLE table_27734286_1 (location_attendance VARCHAR, team VARCHAR) |
What is moorabbin oval's away team? | SELECT away_team FROM table_name_11 WHERE venue = "moorabbin oval" | CREATE TABLE table_name_11 (away_team VARCHAR, venue VARCHAR) |
Name the least area for vas | SELECT MIN(area__km²_) FROM table_16278825_1 WHERE name_of_county = "Vas" | CREATE TABLE table_16278825_1 (area__km²_ INTEGER, name_of_county VARCHAR) |
What was the attendance at Kardinia Park? | SELECT AVG(crowd) FROM table_name_63 WHERE venue = "kardinia park" | CREATE TABLE table_name_63 (crowd INTEGER, venue VARCHAR) |
Which Year has a Rank of 25? | SELECT year FROM table_name_64 WHERE rank = "25" | CREATE TABLE table_name_64 (year VARCHAR, rank VARCHAR) |
What is the series minimum if the season number is 2.08? | SELECT MIN(series__number) FROM table_24639086_3 WHERE season__number = "2.08" | CREATE TABLE table_24639086_3 (series__number INTEGER, season__number VARCHAR) |
When was the song by Andy Gibb issued? | SELECT issue_date_s_ FROM table_name_44 WHERE artist = "andy gibb" | CREATE TABLE table_name_44 (issue_date_s_ VARCHAR, artist VARCHAR) |
What was the date of the week 9 game? | SELECT date FROM table_name_76 WHERE week = 9 | CREATE TABLE table_name_76 (date VARCHAR, week VARCHAR) |
What is the lifespan of the democratic party in New York, for which Terence J. Quinn is a representative? | SELECT lifespan FROM table_name_21 WHERE party = "democratic" AND state = "new york" AND representative = "terence j. quinn" | CREATE TABLE table_name_21 (lifespan VARCHAR, representative VARCHAR, party VARCHAR, state VARCHAR) |
What is the Opponent of the game in Week 3? | SELECT opponent FROM table_name_21 WHERE week = 3 | CREATE TABLE table_name_21 (opponent VARCHAR, week VARCHAR) |
Who was the winning driver in 1956? | SELECT winning_driver FROM table_name_93 WHERE year = "1956" | CREATE TABLE table_name_93 (winning_driver VARCHAR, year VARCHAR) |
Which Case length has a Rim diameter of 13.20 (.518)? | SELECT case_length FROM table_name_90 WHERE rim_diameter = "13.20 (.518)" | CREATE TABLE table_name_90 (case_length VARCHAR, rim_diameter VARCHAR) |
What is the date when the high points is michael beasley , martell webster (16)? | SELECT date FROM table_27756314_10 WHERE high_points = "Michael Beasley , Martell Webster (16)" | CREATE TABLE table_27756314_10 (date VARCHAR, high_points VARCHAR) |
How long did the soap opera run in which Nadine Spruß acted in? | SELECT character FROM table_name_13 WHERE actor = "nadine spruß" | CREATE TABLE table_name_13 (character VARCHAR, actor VARCHAR) |
What is the Black (Hispanic/Non-Hispanic) value having a white (Hispanic/Non-Hispanic) under 80.6, Asian (Hispanic/Non-Hispanic) of 0.1, Amerindian (Hispanic/Non-Hispanic) under 0.6000000000000001, and municipality of Vega Baja? | SELECT black__both_hispanic_and_non_hispanic_ FROM table_name_63 WHERE white__both_hispanic_and_non_hispanic_ < 80.6 AND n_asia__both_hispanic_and_non_hispanic_ = 0.1 AND amerindian__both_hispanic_and_non_hispanic_ < 0.6000000000000001 AND municipality__2010_ = "vega baja" | CREATE TABLE table_name_63 (black__both_hispanic_and_non_hispanic_ VARCHAR, municipality__2010_ VARCHAR, amerindian__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR, n_asia__both_hispanic_and_non_hispanic_ VARCHAR) |
What player originally played for the Los Angeles Kings? | SELECT player FROM table_name_26 WHERE original_team = "los angeles kings" | CREATE TABLE table_name_26 (player VARCHAR, original_team VARCHAR) |
Name the record for february 25 | SELECT record FROM table_name_26 WHERE date = "february 25" | CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) |
what is the preliminary average score when the evening gown score is 8.774 (6)? | SELECT preliminary_average FROM table_name_58 WHERE evening_gown = "8.774 (6)" | CREATE TABLE table_name_58 (preliminary_average VARCHAR, evening_gown VARCHAR) |
When bloggers was the poll winner, who was the root of all evil? | SELECT root_of_all_evil FROM table_15781170_3 WHERE poll_winner = "Bloggers" | CREATE TABLE table_15781170_3 (root_of_all_evil VARCHAR, poll_winner VARCHAR) |
Who was the opponent at the Staples Center? | SELECT opponent FROM table_name_46 WHERE arena = "staples center" | CREATE TABLE table_name_46 (opponent VARCHAR, arena VARCHAR) |
Which party had a member from the state of Vic and an Electorate called Wannon? | SELECT party FROM table_name_23 WHERE state = "vic" AND electorate = "wannon" | CREATE TABLE table_name_23 (party VARCHAR, state VARCHAR, electorate VARCHAR) |
Name the record for oakland-alameda county coliseum arena 15,025 | SELECT record FROM table_27882867_4 WHERE location_attendance = "Oakland-Alameda County Coliseum Arena 15,025" | CREATE TABLE table_27882867_4 (record VARCHAR, location_attendance VARCHAR) |
How many assists were made in the game against San Antonio? | SELECT COUNT(high_assists) FROM table_17325937_8 WHERE team = "San Antonio" | CREATE TABLE table_17325937_8 (high_assists VARCHAR, team VARCHAR) |
What is Friday 4 June if Wednesday 2 June is 20' 11.98 112.071mph? | SELECT fri_4_june FROM table_25220821_3 WHERE wed_2_june = "20' 11.98 112.071mph" | CREATE TABLE table_25220821_3 (fri_4_june VARCHAR, wed_2_june VARCHAR) |
At what date is the score 66-72-64-65=267? | SELECT dates FROM table_1529260_2 WHERE score = 66 - 72 - 64 - 65 = 267 | CREATE TABLE table_1529260_2 (dates VARCHAR, score VARCHAR) |
What is the maximum number of 1st places for the country with exactly 1 third place? | SELECT MAX(first_place) FROM table_2876467_3 WHERE third_place = 1 | CREATE TABLE table_2876467_3 (first_place INTEGER, third_place VARCHAR) |
Which towns are represented in district 31? | SELECT towns_represented FROM table_name_65 WHERE district = "31" | CREATE TABLE table_name_65 (towns_represented VARCHAR, district VARCHAR) |
What is the lowest Overall, when College is Hardin-Simmons, and when Round is greater than 26? | SELECT MIN(overall) FROM table_name_17 WHERE college = "hardin-simmons" AND round > 26 | CREATE TABLE table_name_17 (overall INTEGER, college VARCHAR, round VARCHAR) |
What was the title of the episode written by Mark Goffman? | SELECT title FROM table_23255941_1 WHERE written_by = "Mark Goffman" | CREATE TABLE table_23255941_1 (title VARCHAR, written_by VARCHAR) |
what is the name when the lane is less than 4 and mark is 52.64? | SELECT name FROM table_name_37 WHERE lane < 4 AND mark = "52.64" | CREATE TABLE table_name_37 (name VARCHAR, lane VARCHAR, mark VARCHAR) |
What is the Onehunga school with a decile 3 and smaller than 310 rolls? | SELECT name FROM table_name_17 WHERE decile = "3" AND roll < 310 AND area = "onehunga" | CREATE TABLE table_name_17 (name VARCHAR, area VARCHAR, decile VARCHAR, roll VARCHAR) |
Which country is the Nova TV network from? | SELECT country FROM table_name_53 WHERE tv_network_s_ = "nova tv" | CREATE TABLE table_name_53 (country VARCHAR, tv_network_s_ VARCHAR) |
What is the Format(s) of the release on September 23, 2008? | SELECT format_s_ FROM table_name_40 WHERE date = "september 23, 2008" | CREATE TABLE table_name_40 (format_s_ VARCHAR, date VARCHAR) |
Who won after 1999 with changwon lg sakers as runners-up? | SELECT champions FROM table_name_47 WHERE year > 1999 AND runners_up = "changwon lg sakers" | CREATE TABLE table_name_47 (champions VARCHAR, year VARCHAR, runners_up VARCHAR) |
Which location held the bout that led to a 4-3 record? | SELECT location FROM table_name_19 WHERE record = "4-3" | CREATE TABLE table_name_19 (location VARCHAR, record VARCHAR) |
Can you tell me the sum of 100s that has the Team of deccan chargers, and the Match of 8, and the Average larger than 35.57? | SELECT SUM(100 AS s) FROM table_name_41 WHERE team = "deccan chargers" AND matches = 8 AND average > 35.57 | CREATE TABLE table_name_41 (average VARCHAR, team VARCHAR, matches VARCHAR) |
Find all the distinct district names ordered by city area in descending. | SELECT DISTINCT District_name FROM district ORDER BY city_area DESC | CREATE TABLE district (District_name VARCHAR, city_area VARCHAR) |
What school took 3rd place in 2007? | SELECT 3 AS rd_place FROM table_11577996_1 WHERE year = 2007 | CREATE TABLE table_11577996_1 (year VARCHAR) |
What is the total number of S No(s), when the Margin is 16 runs? | SELECT COUNT(s_no) FROM table_name_88 WHERE margin = "16 runs" | CREATE TABLE table_name_88 (s_no VARCHAR, margin VARCHAR) |
What is the to par when the total is larger than 288? | SELECT to_par FROM table_name_97 WHERE total > 288 | CREATE TABLE table_name_97 (to_par VARCHAR, total INTEGER) |
What school took 4th place in 2001? | SELECT 4 AS th_place FROM table_11577996_1 WHERE year = 2001 | CREATE TABLE table_11577996_1 (year VARCHAR) |
Name the total number of language of films for méga-plex taschereau imax | SELECT COUNT(language_of_films) FROM table_2461720_1 WHERE theatre_name = "Méga-Plex Taschereau IMAX" | CREATE TABLE table_2461720_1 (language_of_films VARCHAR, theatre_name VARCHAR) |
What are the distinct types of the companies that have operated any flights with velocity less than 200? | SELECT DISTINCT T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id WHERE T2.velocity < 200 | CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (type VARCHAR, id VARCHAR) |
What is the date of appointment of outgoing manager fred rutten, who had a sacked manner of departure? | SELECT date_of_appointment FROM table_name_26 WHERE manner_of_departure = "sacked" AND outgoing_manager = "fred rutten" | CREATE TABLE table_name_26 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR) |
What is the name of the owner of rock 97.7? | SELECT owner FROM table_name_38 WHERE branding = "rock 97.7" | CREATE TABLE table_name_38 (owner VARCHAR, branding VARCHAR) |
What region is William R. Johnson Coliseum in? | SELECT region FROM table_name_30 WHERE venue = "william r. johnson coliseum" | CREATE TABLE table_name_30 (region VARCHAR, venue VARCHAR) |
Which film did Al Mackay write? | SELECT film FROM table_name_8 WHERE writer_s_ = "al mackay" | CREATE TABLE table_name_8 (film VARCHAR, writer_s_ VARCHAR) |
How many rounds have a Surface of wintry asphalt? | SELECT COUNT(round) FROM table_name_24 WHERE surface = "wintry asphalt" | CREATE TABLE table_name_24 (round VARCHAR, surface VARCHAR) |
When оџаци is the cyrillic name other names what is the type? | SELECT type FROM table_2562572_25 WHERE cyrillic_name_other_names = "Оџаци" | CREATE TABLE table_2562572_25 (type VARCHAR, cyrillic_name_other_names VARCHAR) |
What date has a status of 1995 rugby world cup and an against of 20? | SELECT date FROM table_name_21 WHERE status = "1995 rugby world cup" AND against = 20 | CREATE TABLE table_name_21 (date VARCHAR, status VARCHAR, against VARCHAR) |
What is the call frequency sign of cjjc-fm? | SELECT frequency FROM table_name_28 WHERE call_sign = "cjjc-fm" | CREATE TABLE table_name_28 (frequency VARCHAR, call_sign VARCHAR) |
who is the entrant when the engine is bmw p82? | SELECT entrant FROM table_name_92 WHERE engine_† = "bmw p82" | CREATE TABLE table_name_92 (entrant VARCHAR, engine_† VARCHAR) |
Name the power provided for transfer speed mb/s is 1250 | SELECT power_provided FROM table_174151_5 WHERE transfer_speed__mb_s_ = "1250" | CREATE TABLE table_174151_5 (power_provided VARCHAR, transfer_speed__mb_s_ VARCHAR) |
If Democratic is 42.5%, what is the city? | SELECT city FROM table_25200461_9 WHERE democratic = "42.5%" | CREATE TABLE table_25200461_9 (city VARCHAR, democratic VARCHAR) |
find the number of players whose points are lower than 30 in each position. | SELECT COUNT(*), POSITION FROM player WHERE points < 30 GROUP BY POSITION | CREATE TABLE player (POSITION VARCHAR, points INTEGER) |
What was the result(s) in the event 3 squatlift for the man from the United states with a result of 1 (42.66s) in the event 2 truck pull? | SELECT event_3_squat_lift FROM table_24302700_2 WHERE nationality = "United States" AND event_2_truck_pull = "1 (42.66s)" | CREATE TABLE table_24302700_2 (event_3_squat_lift VARCHAR, nationality VARCHAR, event_2_truck_pull VARCHAR) |
What is the Score of the Chicago Black Hawks Home game on March 28? | SELECT score FROM table_name_38 WHERE home = "chicago black hawks" AND date = "march 28" | CREATE TABLE table_name_38 (score VARCHAR, home VARCHAR, date VARCHAR) |
What is the country sergio garcía, who has a score of 69-70-67=206, is from? | SELECT country FROM table_name_43 WHERE score = 69 - 70 - 67 = 206 AND player = "sergio garcía" | CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR, score VARCHAR) |
What is the Set 1 when Set 3 was 25–15? | SELECT set_1 FROM table_name_34 WHERE set_3 = "25–15" | CREATE TABLE table_name_34 (set_1 VARCHAR, set_3 VARCHAR) |
Players of judith wiesner and alex antonitsch had what match w-l? | SELECT matches_w_l FROM table_name_64 WHERE players = "judith wiesner and alex antonitsch" | CREATE TABLE table_name_64 (matches_w_l VARCHAR, players VARCHAR) |
What was the score of the tournament that was held in 1974? | SELECT score_in_the_final FROM table_name_92 WHERE date = 1974 | CREATE TABLE table_name_92 (score_in_the_final VARCHAR, date VARCHAR) |
What player belongs to the Chicago Blackhawks? | SELECT player FROM table_2781227_2 WHERE nhl_team = "Chicago Blackhawks" | CREATE TABLE table_2781227_2 (player VARCHAR, nhl_team VARCHAR) |
How many products were not included in any order? | SELECT COUNT(*) FROM products WHERE NOT product_id IN (SELECT product_id FROM Order_items) | CREATE TABLE products (product_id VARCHAR); CREATE TABLE Order_items (product_id VARCHAR) |
What city of license/market has an owned since before 2011,and a affiliation of abc and channel (tv/rf) of 9 (22)? | SELECT city_of_license__market FROM table_name_75 WHERE owned_since < 2011 AND affiliation = "abc" AND channel___tv___rf__ = "9 (22)" | CREATE TABLE table_name_75 (city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR, owned_since VARCHAR, affiliation VARCHAR) |
How many locations does Elon University have? | SELECT COUNT(location) FROM table_16403890_1 WHERE institution = "Elon University" | CREATE TABLE table_16403890_1 (location VARCHAR, institution VARCHAR) |
What is the name of the team with a rank smaller than 5 and a time of 1:37.58.38? | SELECT team FROM table_name_10 WHERE rank < 5 AND time = "1:37.58.38" | CREATE TABLE table_name_10 (team VARCHAR, rank VARCHAR, time VARCHAR) |
What is the average First Elected, when District is "Massachusetts 3"? | SELECT AVG(first_elected) FROM table_name_49 WHERE district = "massachusetts 3" | CREATE TABLE table_name_49 (first_elected INTEGER, district VARCHAR) |
What is the attendance when the opponent is the San Francisco 49ers? | SELECT attendance FROM table_name_86 WHERE opponent = "san francisco 49ers" | CREATE TABLE table_name_86 (attendance VARCHAR, opponent VARCHAR) |
What is the ship id and name that caused most total injuries? | SELECT T2.id, T2.name FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id GROUP BY T2.id ORDER BY COUNT(*) DESC LIMIT 1 | CREATE TABLE death (caused_by_ship_id VARCHAR); CREATE TABLE ship (Id VARCHAR) |
how many matches did wayne mardle play | SELECT COUNT(played) FROM table_20301877_2 WHERE player = "Wayne Mardle" | CREATE TABLE table_20301877_2 (played VARCHAR, player VARCHAR) |
What bit depth has 4:1:1 as the color sampling? | SELECT SUM(bit_depth) FROM table_name_38 WHERE color_sampling = "4:1:1" | CREATE TABLE table_name_38 (bit_depth INTEGER, color_sampling VARCHAR) |
what is the total when the rank is total and the silver is less than 10? | SELECT SUM(total) FROM table_name_35 WHERE rank = "total" AND silver < 10 | CREATE TABLE table_name_35 (total INTEGER, rank VARCHAR, silver VARCHAR) |
How many points did Team Rothmans International have after 1975 when their Chassis was a March 771? | SELECT points FROM table_name_91 WHERE year > 1975 AND entrant = "team rothmans international" AND chassis = "march 771" | CREATE TABLE table_name_91 (points VARCHAR, chassis VARCHAR, year VARCHAR, entrant VARCHAR) |
Return the country name and the numbers of languages spoken for each country that speaks at least 3 languages. | SELECT COUNT(T2.Language), T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name HAVING COUNT(*) > 2 | CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR) |
Who called the race in 1998? | SELECT race_caller FROM table_22583466_3 WHERE year = 1998 | CREATE TABLE table_22583466_3 (race_caller VARCHAR, year VARCHAR) |
What was the result of the Euro '64 qualifying game? | SELECT results¹ FROM table_name_65 WHERE type_of_game = "euro '64 qualifying" | CREATE TABLE table_name_65 (results¹ VARCHAR, type_of_game VARCHAR) |
Which Engine has Points of 3? | SELECT engine FROM table_name_30 WHERE points = 3 | CREATE TABLE table_name_30 (engine VARCHAR, points VARCHAR) |
Which home team plays at the Western Oval? | SELECT home_team FROM table_name_50 WHERE venue = "western oval" | CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR) |
How many different users wrote some reviews? | SELECT COUNT(DISTINCT u_id) FROM review | CREATE TABLE review (u_id VARCHAR) |
What was the score when Minnesota visited? | SELECT score FROM table_name_86 WHERE visitor = "minnesota" | CREATE TABLE table_name_86 (score VARCHAR, visitor VARCHAR) |
What is the position when the points were less than 34, draws of 7, and a Club of sd eibar? | SELECT AVG(position) FROM table_name_53 WHERE points < 34 AND draws = 7 AND club = "sd eibar" | CREATE TABLE table_name_53 (position INTEGER, club VARCHAR, points VARCHAR, draws VARCHAR) |
What was England's total? | SELECT total FROM table_name_75 WHERE country = "england" | CREATE TABLE table_name_75 (total VARCHAR, country VARCHAR) |
What's the number of the horse whose trainer is Kim Bailey? | SELECT MAX(number) FROM table_20095300_1 WHERE trainer = "Kim Bailey" | CREATE TABLE table_20095300_1 (number INTEGER, trainer VARCHAR) |
Which Date has an Opposing Pitcher of jack morris, and an Inning of 4th? | SELECT date FROM table_name_88 WHERE opposing_pitcher = "jack morris" AND inning = "4th" | CREATE TABLE table_name_88 (date VARCHAR, opposing_pitcher VARCHAR, inning VARCHAR) |
What is the earliest game that had 42,707 attending? | SELECT MIN(game) FROM table_name_94 WHERE attendance = 42 OFFSET 707 | CREATE TABLE table_name_94 (game INTEGER, attendance VARCHAR) |
Which 2002 has a 2009 of 2r? | SELECT 2002 FROM table_name_96 WHERE 2009 = "2r" | CREATE TABLE table_name_96 (Id VARCHAR) |
Subsets and Splits