question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
How many tries against were there with 520 points against?
CREATE TABLE table_name_69 (tries_against VARCHAR, points_against VARCHAR)
SELECT tries_against FROM table_name_69 WHERE points_against = "520"
Name the most starts for 6 wins
CREATE TABLE table_2725949_6 (starts INTEGER, wins VARCHAR)
SELECT MAX(starts) FROM table_2725949_6 WHERE wins = 6
Name the into service for dh2
CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR)
SELECT into_service FROM table_29002641_1 WHERE number = "DH2"
What is the average rank of a mountain range located in Maine?
CREATE TABLE table_name_38 (rank INTEGER, state VARCHAR)
SELECT AVG(rank) FROM table_name_38 WHERE state = "maine"
What is the area (in km2) for theewaterskloof, whose population in 2011 was less than 108,790?
CREATE TABLE table_name_67 (area__km_2__ INTEGER, name VARCHAR, population__2011_ VARCHAR)
SELECT SUM(area__km_2__) FROM table_name_67 WHERE name = "theewaterskloof" AND population__2011_ < 108 OFFSET 790
What is the total number of area km2 with a 4.2 population in millions and is a member state of the Czech Republic?
CREATE TABLE table_name_8 (area_km_2 VARCHAR, population_in_millions VARCHAR, member_state VARCHAR)
SELECT COUNT(area_km_2) FROM table_name_8 WHERE population_in_millions > 4.2 AND member_state = "czech republic"
what's the duration with mission being sts-87
CREATE TABLE table_14118521_1 (duration VARCHAR, mission VARCHAR)
SELECT duration FROM table_14118521_1 WHERE mission = "STS-87"
What is the lowest against team in the Six Nations status in Lansdowne Road, Dublin?
CREATE TABLE table_name_81 (against INTEGER, status VARCHAR, venue VARCHAR)
SELECT MIN(against) FROM table_name_81 WHERE status = "six nations" AND venue = "lansdowne road, dublin"
What team was the host on september 11?
CREATE TABLE table_name_37 (host_team VARCHAR, date VARCHAR)
SELECT host_team FROM table_name_37 WHERE date = "september 11"
What player has over 1 first apperance and over 32 first team goals?
CREATE TABLE table_name_97 (player VARCHAR, first_team_appearances VARCHAR, first_team_goals VARCHAR)
SELECT player FROM table_name_97 WHERE first_team_appearances > 1 AND first_team_goals = 32
Who was the home team when the score was 4–3?
CREATE TABLE table_name_93 (home VARCHAR, score VARCHAR)
SELECT home FROM table_name_93 WHERE score = "4–3"
Name the round for southampton opponents
CREATE TABLE table_name_43 (round VARCHAR, opponents VARCHAR)
SELECT round FROM table_name_43 WHERE opponents = "southampton"
What country does Round 4 come from?
CREATE TABLE table_name_12 (nationality VARCHAR, round VARCHAR)
SELECT nationality FROM table_name_12 WHERE round = 4
What is Second Member, when Election is "1835"?
CREATE TABLE table_name_99 (second_member VARCHAR, election VARCHAR)
SELECT second_member FROM table_name_99 WHERE election = "1835"
what's the original air date where written by is iain morris & damon beesley
CREATE TABLE table_11589522_3 (original_air_date VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_11589522_3 WHERE written_by = "Iain Morris & Damon Beesley"
Which nationality has a lane of 6 and a rank smaller than 6?
CREATE TABLE table_name_33 (nationality VARCHAR, rank VARCHAR, lane VARCHAR)
SELECT nationality FROM table_name_33 WHERE rank < 6 AND lane = 6
In what category was an award won in 2007?
CREATE TABLE table_name_92 (award_category VARCHAR, nominated_won VARCHAR, year VARCHAR)
SELECT award_category FROM table_name_92 WHERE nominated_won = "won" AND year = 2007
What is the Japanese name of the station with a number 3?
CREATE TABLE table_name_98 (japanese VARCHAR, number VARCHAR)
SELECT japanese FROM table_name_98 WHERE number = 3
What is the Tally in Kerry County?
CREATE TABLE table_name_36 (tally VARCHAR, county VARCHAR)
SELECT tally FROM table_name_36 WHERE county = "kerry"
How many Assists for the Player with a Rank greater than 3 in less than 25 Games?
CREATE TABLE table_name_66 (assists INTEGER, rank VARCHAR, games VARCHAR)
SELECT AVG(assists) FROM table_name_66 WHERE rank > 3 AND games < 25
What is the highest total with a t12 finish?
CREATE TABLE table_name_61 (total INTEGER, finish VARCHAR)
SELECT MAX(total) FROM table_name_61 WHERE finish = "t12"
What was the score of the game that had a loss of Cox (6–2)?
CREATE TABLE table_name_44 (score VARCHAR, loss VARCHAR)
SELECT score FROM table_name_44 WHERE loss = "cox (6–2)"
What are the gains for the player with average of 26.8 and lost yard fewer than 13?
CREATE TABLE table_name_43 (gain INTEGER, avg_g VARCHAR, loss VARCHAR)
SELECT SUM(gain) FROM table_name_43 WHERE avg_g = "26.8" AND loss < 13
Which line was green?
CREATE TABLE table_name_95 (line VARCHAR, colour VARCHAR)
SELECT line FROM table_name_95 WHERE colour = "green"
What was the peak date of Kelis's song?
CREATE TABLE table_name_1 (peak_date VARCHAR, main_artist VARCHAR)
SELECT peak_date FROM table_name_1 WHERE main_artist = "kelis"
What shows for Unit with a status of nomen oblitum?
CREATE TABLE table_name_16 (unit VARCHAR, status VARCHAR)
SELECT unit FROM table_name_16 WHERE status = "nomen oblitum"
What is the name of the role that has a Title of Olvidarte Jamas?
CREATE TABLE table_name_41 (role VARCHAR, title VARCHAR)
SELECT role FROM table_name_41 WHERE title = "olvidarte jamas"
What is the arabs when the annual population growth rate is 1.7%?
CREATE TABLE table_25947046_1 (arabs VARCHAR, annual_population_growth_rate VARCHAR)
SELECT arabs FROM table_25947046_1 WHERE annual_population_growth_rate = "1.7%"
Name the entrant for 1975 and chassis of hill gh1
CREATE TABLE table_name_25 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_25 WHERE year = 1975 AND chassis = "hill gh1"
What is Place, when Score is 72-72=144, when Country is United States, and when Player is Scott McCarron?
CREATE TABLE table_name_14 (place VARCHAR, player VARCHAR, country VARCHAR, score VARCHAR)
SELECT place FROM table_name_14 WHERE score = 72 - 72 = 144 AND country = "united states" AND player = "scott mccarron"
Name the sum of top-25 for pga championship and top-5 less than 1
CREATE TABLE table_name_21 (top_25 INTEGER, tournament VARCHAR, top_5 VARCHAR)
SELECT SUM(top_25) FROM table_name_21 WHERE tournament = "pga championship" AND top_5 < 1
Where is Fred Haas from?
CREATE TABLE table_name_15 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_15 WHERE player = "fred haas"
What was the score for Hawthorn when they were the away team?
CREATE TABLE table_name_56 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_56 WHERE away_team = "hawthorn"
What is the length of disc 67?
CREATE TABLE table_name_13 (length VARCHAR, disc VARCHAR)
SELECT length FROM table_name_13 WHERE disc = "67"
What is the Displacement of the 180 Multijet Power/3.0 HDI Model?
CREATE TABLE table_name_68 (displacement VARCHAR, model VARCHAR)
SELECT displacement FROM table_name_68 WHERE model = "180 multijet power/3.0 hdi"
What type of formula did Stirling Moss drive?
CREATE TABLE table_23548160_1 (formula VARCHAR, driver VARCHAR)
SELECT formula FROM table_23548160_1 WHERE driver = "Stirling Moss"
When the rider is Garry Mccoy and the manufacturer was Kawasaki, what was the time retired?
CREATE TABLE table_name_94 (time_retired VARCHAR, manufacturer VARCHAR, rider VARCHAR)
SELECT time_retired FROM table_name_94 WHERE manufacturer = "kawasaki" AND rider = "garry mccoy"
What is the length of the track named michigan international speedway?
CREATE TABLE table_1245148_1 (length VARCHAR, track_name VARCHAR)
SELECT length FROM table_1245148_1 WHERE track_name = "Michigan International Speedway"
What is the average crowd size for games with north melbourne as the away side?
CREATE TABLE table_name_22 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_22 WHERE away_team = "north melbourne"
What is the name of the player from purcell, ok?
CREATE TABLE table_26916717_1 (name VARCHAR, home_town VARCHAR)
SELECT name FROM table_26916717_1 WHERE home_town = "Purcell, OK"
How many students attend course English?
CREATE TABLE student_course_attendance (course_id VARCHAR); CREATE TABLE courses (course_id VARCHAR, course_name VARCHAR)
SELECT COUNT(*) FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "English"
What is protoporphyrin ix's substrate?
CREATE TABLE table_name_55 (substrate VARCHAR, product VARCHAR)
SELECT substrate FROM table_name_55 WHERE product = "protoporphyrin ix"
What was the orignal title for the winner and nominee, Breaking the Waves, in 1996 (11th)?
CREATE TABLE table_name_56 (original_title VARCHAR, year VARCHAR, winner_and_nominees VARCHAR)
SELECT original_title FROM table_name_56 WHERE year = "1996 (11th)" AND winner_and_nominees = "breaking the waves"
What number has an acquisition via the Rookie Draft, and is part of a School/club team at Cal State Fullerton?
CREATE TABLE table_name_54 (number VARCHAR, acquisition_via VARCHAR, school_club_team VARCHAR)
SELECT number FROM table_name_54 WHERE acquisition_via = "rookie draft" AND school_club_team = "cal state fullerton"
Which Water has a Metal of contracting?
CREATE TABLE table_name_72 (water VARCHAR, metal VARCHAR)
SELECT water FROM table_name_72 WHERE metal = "contracting"
What was the date of Henk Hordijk's death?
CREATE TABLE table_11585313_2 (date_of_death† VARCHAR, name VARCHAR)
SELECT date_of_death† FROM table_11585313_2 WHERE name = "Henk Hordijk"
When alicia molik is the partner what is the outcome?
CREATE TABLE table_24901152_2 (outcome VARCHAR, partner VARCHAR)
SELECT outcome FROM table_24901152_2 WHERE partner = "Alicia Molik"
What was the result for the candidate first elected in 1820?
CREATE TABLE table_2668243_19 (result VARCHAR, first_elected VARCHAR)
SELECT result FROM table_2668243_19 WHERE first_elected = "1820"
What is Country, when Place is "T9", and when Player is "Michael Campbell"?
CREATE TABLE table_name_1 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT country FROM table_name_1 WHERE place = "t9" AND player = "michael campbell"
Who manufactured grid 11?
CREATE TABLE table_name_91 (manufacturer VARCHAR, grid VARCHAR)
SELECT manufacturer FROM table_name_91 WHERE grid = 11
What's the termini of the route with junctions of i-35 fm 3338 sh 255?
CREATE TABLE table_name_2 (termini VARCHAR, junctions VARCHAR)
SELECT termini FROM table_name_2 WHERE junctions = "i-35 fm 3338 sh 255"
What is the Team with a venue of Anyang Stadium?
CREATE TABLE table_name_96 (team VARCHAR, home_venue VARCHAR)
SELECT team FROM table_name_96 WHERE home_venue = "anyang stadium"
Find all the phone numbers.
CREATE TABLE available_policies (customer_phone VARCHAR)
SELECT customer_phone FROM available_policies
what's the jurisdiction where voted no is 322971
CREATE TABLE table_120778_2 (jurisdiction VARCHAR, voted_no VARCHAR)
SELECT jurisdiction FROM table_120778_2 WHERE voted_no = 322971
Which Supercopa Sudamericana 1992 has a Team of santos?
CREATE TABLE table_name_83 (supercopa_sudamericana_1992 VARCHAR, team VARCHAR)
SELECT supercopa_sudamericana_1992 FROM table_name_83 WHERE team = "santos"
Which Set 2 has a Date of 25 may, and a Set 3 of 21–25?
CREATE TABLE table_name_45 (set_2 VARCHAR, date VARCHAR, set_3 VARCHAR)
SELECT set_2 FROM table_name_45 WHERE date = "25 may" AND set_3 = "21–25"
What was the arrival for Wansford, Peterborough East?
CREATE TABLE table_18332845_2 (arrival VARCHAR, calling_at VARCHAR)
SELECT arrival FROM table_18332845_2 WHERE calling_at = "Wansford, Peterborough East"
Find the number of products for each manufacturer, showing the name of each company.
CREATE TABLE products (Manufacturer VARCHAR); CREATE TABLE manufacturers (name VARCHAR, code VARCHAR)
SELECT COUNT(*), T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code GROUP BY T2.name
What is the maximum number of people in attendance on 16 August 2008 when the home team was Deportes Savio?
CREATE TABLE table_name_69 (attendance INTEGER, date VARCHAR, home VARCHAR)
SELECT MAX(attendance) FROM table_name_69 WHERE date = "16 august 2008" AND home = "deportes savio"
What is the total number of bronzes associated with 1 silver, ranks under 6 and under 6 golds?
CREATE TABLE table_name_77 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT SUM(bronze) FROM table_name_77 WHERE silver = 1 AND rank < 6 AND gold < 6
How many bids does Atlantic 10 have?
CREATE TABLE table_name_98 (_number_of_bids VARCHAR, conference VARCHAR)
SELECT _number_of_bids FROM table_name_98 WHERE conference = "atlantic 10"
Name the opponent in the final for 3–6, 1–6
CREATE TABLE table_23284597_3 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
SELECT opponent_in_the_final FROM table_23284597_3 WHERE score_in_the_final = "3–6, 1–6"
How many losses does Central Blues have?
CREATE TABLE table_26200568_16 (losses INTEGER, club VARCHAR)
SELECT MAX(losses) FROM table_26200568_16 WHERE club = "Central Blues"
Who was the democratic incumbent in the Illinois 11 district who was re-elected?
CREATE TABLE table_1341707_15 (incumbent VARCHAR, district VARCHAR, party VARCHAR, result VARCHAR)
SELECT incumbent FROM table_1341707_15 WHERE party = "Democratic" AND result = "Re-elected" AND district = "Illinois 11"
Which Earnings ($) is the lowest one that has a Rank smaller than 1?
CREATE TABLE table_name_12 (earnings___ INTEGER, rank INTEGER)
SELECT MIN(earnings___) AS $__ FROM table_name_12 WHERE rank < 1
what's the result with candidates being billy tauzin (d) unopposed
CREATE TABLE table_1341586_19 (result VARCHAR, candidates VARCHAR)
SELECT result FROM table_1341586_19 WHERE candidates = "Billy Tauzin (D) Unopposed"
What was the 2011 Wimbledon result?
CREATE TABLE table_name_22 (tournament VARCHAR)
SELECT 2011 FROM table_name_22 WHERE tournament = "wimbledon"
What was the winning score of the Valero Texas Open?
CREATE TABLE table_name_99 (winning_score VARCHAR, tournament VARCHAR)
SELECT winning_score FROM table_name_99 WHERE tournament = "valero texas open"
Find the id of the item whose title is "orange".
CREATE TABLE item (i_id VARCHAR, title VARCHAR)
SELECT i_id FROM item WHERE title = "orange"
What was the place ranking for the player from Australia?
CREATE TABLE table_name_43 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_43 WHERE country = "australia"
What is Benito Cheng's Pick number?
CREATE TABLE table_name_75 (pick VARCHAR, player VARCHAR)
SELECT pick FROM table_name_75 WHERE player = "benito cheng"
Which 30-day Pass has a Base Fare of $3?
CREATE TABLE table_name_74 (day_pass VARCHAR, base_fares VARCHAR)
SELECT 30 - day_pass FROM table_name_74 WHERE base_fares = "$3"
What is the total track that is translated in brussels?
CREATE TABLE table_name_25 (track VARCHAR, translation VARCHAR)
SELECT COUNT(track) FROM table_name_25 WHERE translation = "brussels"
What is the date with Ellis as the decision and St. Louis as the visitor?
CREATE TABLE table_name_27 (date VARCHAR, decision VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_27 WHERE decision = "ellis" AND visitor = "st. louis"
Who was the away captain with a result of Eng by 1 wkt?
CREATE TABLE table_name_43 (away_captain VARCHAR, result VARCHAR)
SELECT away_captain FROM table_name_43 WHERE result = "eng by 1 wkt"
what is the score when the tie no is 28?
CREATE TABLE table_name_97 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_97 WHERE tie_no = 28
What is the average rating of viewers 18 to 49 where the total viewer count is 3.93 million and share less than 4?
CREATE TABLE table_name_96 (viewers__m_ VARCHAR, share VARCHAR)
SELECT AVG(18 AS _49) FROM table_name_96 WHERE viewers__m_ = 3.93 AND share < 4
When the corinthians have a position of less than 5, what is the average against?
CREATE TABLE table_name_58 (against INTEGER, position VARCHAR, team VARCHAR)
SELECT AVG(against) FROM table_name_58 WHERE position < 5 AND team = "corinthians"
Tell me the launch date with Institutional authority of ndc and launch vehicle of hatf-xi
CREATE TABLE table_name_58 (launch_date VARCHAR, institutional_authority VARCHAR, launch_vehicle VARCHAR)
SELECT launch_date FROM table_name_58 WHERE institutional_authority = "ndc" AND launch_vehicle = "hatf-xi"
What studio has 6 as the rank?
CREATE TABLE table_name_32 (studio VARCHAR, rank VARCHAR)
SELECT studio FROM table_name_32 WHERE rank = 6
What is the Part 2 when the class is 6?
CREATE TABLE table_name_4 (part_2 VARCHAR, class VARCHAR)
SELECT part_2 FROM table_name_4 WHERE class = "6"
What is the Ground with an Away that is central blues?
CREATE TABLE table_name_7 (ground VARCHAR, away VARCHAR)
SELECT ground FROM table_name_7 WHERE away = "central blues"
What kind of paper were the stamps with the theme duck decoys, barrow's golden eye printed on?
CREATE TABLE table_11900773_4 (paper_type VARCHAR, theme VARCHAR)
SELECT paper_type FROM table_11900773_4 WHERE theme = "Duck Decoys, Barrow's Golden Eye"
what is the class of w269ax
CREATE TABLE table_name_90 (class VARCHAR, call_sign VARCHAR)
SELECT class FROM table_name_90 WHERE call_sign = "w269ax"
If the land square milage is 10.950, what is the longitude?
CREATE TABLE table_18600760_7 (longitude VARCHAR, land___sqmi__ VARCHAR)
SELECT longitude FROM table_18600760_7 WHERE land___sqmi__ = "10.950"
What are the birth year and citizenship of singers?
CREATE TABLE singer (Birth_Year VARCHAR, Citizenship VARCHAR)
SELECT Birth_Year, Citizenship FROM singer
What is the location of #1?
CREATE TABLE table_15190346_2 (location VARCHAR, _number VARCHAR)
SELECT location FROM table_15190346_2 WHERE _number = 1
Which Athlete is from the United Kingdom?
CREATE TABLE table_name_14 (athlete VARCHAR, country_state VARCHAR)
SELECT athlete FROM table_name_14 WHERE country_state = "united kingdom"
How many distinct locations of perpetrators are there?
CREATE TABLE perpetrator (LOCATION VARCHAR)
SELECT COUNT(DISTINCT LOCATION) FROM perpetrator
In the game where Melbourne was the away team, what did they score?
CREATE TABLE table_name_67 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_67 WHERE away_team = "melbourne"
What is the Purse listed for the Year of 1998?
CREATE TABLE table_name_10 (purse VARCHAR, year VARCHAR)
SELECT purse FROM table_name_10 WHERE year = "1998"
What conference has the Wichita State school?
CREATE TABLE table_name_26 (conference VARCHAR, school VARCHAR)
SELECT conference FROM table_name_26 WHERE school = "wichita state"
What school/club team is Trey Johnson on?
CREATE TABLE table_10015132_9 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_10015132_9 WHERE player = "Trey Johnson"
What is the average amount of money of players in t8 place with a 68-71-69-72=280 score?
CREATE TABLE table_name_53 (money___ INTEGER, place VARCHAR, score VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_53 WHERE place = "t8" AND score = 68 - 71 - 69 - 72 = 280
What is the Russian word for wine glass that contains 4.16 fl. oz.?
CREATE TABLE table_name_14 (russian VARCHAR, us_customary VARCHAR)
SELECT russian FROM table_name_14 WHERE us_customary = "4.16 fl. oz."
Who's the Runner(s)-up with a Winning score of −19 (71-63-63-64=261)?
CREATE TABLE table_name_97 (runner_s__up VARCHAR, winning_score VARCHAR)
SELECT runner_s__up FROM table_name_97 WHERE winning_score = −19(71 - 63 - 63 - 64 = 261)
How many junctions have "replaced by bsi-35" listed in their remarks section?
CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR)
SELECT COUNT(junctions) FROM table_11336756_6 WHERE remarks = "Replaced by BSI-35"
When did the reactor that has a rated power of 945 MW and ended construction on May 10, 1978 close?
CREATE TABLE table_name_13 (close_of_reactor VARCHAR, rated_power VARCHAR, finish_construction VARCHAR)
SELECT close_of_reactor FROM table_name_13 WHERE rated_power = "945 mw" AND finish_construction = "may 10, 1978"
What is Pick, when Position is OL, and when Round is less than 6?
CREATE TABLE table_name_59 (pick VARCHAR, position VARCHAR, round VARCHAR)
SELECT pick FROM table_name_59 WHERE position = "ol" AND round < 6
Which label's year was 1990?
CREATE TABLE table_name_74 (label VARCHAR, year VARCHAR)
SELECT label FROM table_name_74 WHERE year = "1990"