question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Name the location of reign 3
CREATE TABLE table_name_76 (location VARCHAR, reign VARCHAR)
SELECT location FROM table_name_76 WHERE reign = "3"
What's the best average score with a bad score of 15?
CREATE TABLE table_name_46 (best_score INTEGER, worst_score VARCHAR)
SELECT AVG(best_score) FROM table_name_46 WHERE worst_score = 15
What away team scored 107-104?
CREATE TABLE table_name_84 (away_team VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_84 WHERE score = "107-104"
What Result has a Date of october 14, 1967?
CREATE TABLE table_name_86 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_86 WHERE date = "october 14, 1967"
What is the Birth Name of the Archbishop with a Current End of Reign?
CREATE TABLE table_name_34 (Birth VARCHAR, end_of_reign VARCHAR)
SELECT Birth AS name FROM table_name_34 WHERE end_of_reign = "current"
what is the status in vestal
CREATE TABLE table_18159601_1 (status VARCHAR, city VARCHAR)
SELECT status FROM table_18159601_1 WHERE city = "Vestal"
What is Croatia's rank?
CREATE TABLE table_name_85 (rank VARCHAR, country VARCHAR)
SELECT rank FROM table_name_85 WHERE country = "croatia"
What is the fewest number of silver medals a nation who ranked below 8 received?
CREATE TABLE table_name_99 (silver INTEGER, rank INTEGER)
SELECT MIN(silver) FROM table_name_99 WHERE rank > 8
When 5 is the position what is the state or country?
CREATE TABLE table_1858574_2 (state_country VARCHAR, position VARCHAR)
SELECT state_country FROM table_1858574_2 WHERE position = 5
In which game number was Chris Andersen (12) the high rebounds scorer?
CREATE TABLE table_name_48 (game VARCHAR, high_rebounds VARCHAR)
SELECT game FROM table_name_48 WHERE high_rebounds = "chris andersen (12)"
How many laps were there in 2002?
CREATE TABLE table_2196127_1 (laps VARCHAR, year VARCHAR)
SELECT laps FROM table_2196127_1 WHERE year = "2002"
Who is the commenced operations that has icao of slk?
CREATE TABLE table_name_34 (commenced_operations VARCHAR, icao VARCHAR)
SELECT commenced_operations FROM table_name_34 WHERE icao = "slk"
What was the title of the episode directed by Jesse Warn?
CREATE TABLE table_24938621_3 (production_code VARCHAR, directed_by VARCHAR)
SELECT production_code FROM table_24938621_3 WHERE directed_by = "Jesse Warn"
Which country is ranked 56 overall and has a heat rank smaller than 8?
CREATE TABLE table_name_72 (country VARCHAR, heat_rank VARCHAR, overall_rank VARCHAR)
SELECT country FROM table_name_72 WHERE heat_rank < 8 AND overall_rank = "56"
Can you tell me the Location that has the Mascot of lakers?
CREATE TABLE table_name_69 (location VARCHAR, mascot VARCHAR)
SELECT location FROM table_name_69 WHERE mascot = "lakers"
What was the type of boat built in Port Blakeley
CREATE TABLE table_name_31 (type VARCHAR, where_built VARCHAR)
SELECT type FROM table_name_31 WHERE where_built = "port blakeley"
What is every prefix class for the equivalent of NTE160?
CREATE TABLE table_30011_2 (prefix_class VARCHAR, equivalent VARCHAR)
SELECT prefix_class FROM table_30011_2 WHERE equivalent = "NTE160"
What is Best, when Team is "Rocketsports Racing", and when Name is "Alex Tagliani"?
CREATE TABLE table_name_99 (best VARCHAR, team VARCHAR, name VARCHAR)
SELECT best FROM table_name_99 WHERE team = "rocketsports racing" AND name = "alex tagliani"
How many TFR were there in 2006 when the GFR was 53.8?
CREATE TABLE table_12251936_1 (tfr_2006 VARCHAR, gfr_2006 VARCHAR)
SELECT tfr_2006 FROM table_12251936_1 WHERE gfr_2006 = "53.8"
What is the average total for Dave Stockton?
CREATE TABLE table_name_66 (total INTEGER, player VARCHAR)
SELECT AVG(total) FROM table_name_66 WHERE player = "dave stockton"
Who is the Constructor for driver Piercarlo Ghinzani and a Ford cosworth dfv 3.0 v8 engine?
CREATE TABLE table_name_42 (constructor VARCHAR, driver VARCHAR, engine VARCHAR)
SELECT constructor FROM table_name_42 WHERE driver = "piercarlo ghinzani" AND engine = "ford cosworth dfv 3.0 v8"
Which song has the most vocals?
CREATE TABLE vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)
SELECT title FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid GROUP BY T1.songid ORDER BY COUNT(*) DESC LIMIT 1
Who was the young rider classification when Diego Ulissi won?
CREATE TABLE table_28538368_2 (young_rider_classification VARCHAR, winner VARCHAR)
SELECT COUNT(young_rider_classification) FROM table_28538368_2 WHERE winner = "Diego Ulissi"
Who was the visitor on March 27?
CREATE TABLE table_name_59 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_59 WHERE date = "march 27"
Name the total number of nicknames for st. bonaventure university
CREATE TABLE table_16383772_1 (nickname VARCHAR, school VARCHAR)
SELECT COUNT(nickname) FROM table_16383772_1 WHERE school = "St. Bonaventure University"
Which City of license has a Channels TV / RF of 36 (psip) 36 (uhf)? Question 5
CREATE TABLE table_name_3 (city_of_license VARCHAR, channels_tv___rf VARCHAR)
SELECT city_of_license FROM table_name_3 WHERE channels_tv___rf = "36 (psip) 36 (uhf)"
Who wrote the title with the production code is 7acx08?
CREATE TABLE table_22269839_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_22269839_1 WHERE production_code = "7ACX08"
Who was the Builder when the wheels were 4-4-0 and the railway was GCR?
CREATE TABLE table_name_67 (builder VARCHAR, wheels VARCHAR, railway VARCHAR)
SELECT builder FROM table_name_67 WHERE wheels = "4-4-0" AND railway = "gcr"
Who had 1344 points?
CREATE TABLE table_name_79 (name VARCHAR, points VARCHAR)
SELECT name FROM table_name_79 WHERE points = 1344
What's the most melamine content that has more than 1 samples failed and produced by Guangzhou Jinding Dairy Products Factory?
CREATE TABLE table_name_48 (melamine_content_mg_kg_ INTEGER, producer VARCHAR, samples_failed VARCHAR)
SELECT MAX(melamine_content_mg_kg_) FROM table_name_48 WHERE producer = "guangzhou jinding dairy products factory" AND samples_failed > 1
What is the Winning Team, when Losing Team is South Sydney Rabbitohs?
CREATE TABLE table_name_50 (winning_team VARCHAR, losing_team VARCHAR)
SELECT winning_team FROM table_name_50 WHERE losing_team = "south sydney rabbitohs"
Who plays the position of forward-center?
CREATE TABLE table_15621965_2 (player VARCHAR, position VARCHAR)
SELECT player FROM table_15621965_2 WHERE position = "Forward-Center"
What year were the opponents Shingo Kunieda Satoshi Saida?
CREATE TABLE table_name_22 (year INTEGER, opponents_in_final VARCHAR)
SELECT MIN(year) FROM table_name_22 WHERE opponents_in_final = "shingo kunieda satoshi saida"
What is the number of titles for the city of győr with a rank larger than 4?
CREATE TABLE table_name_47 (titles INTEGER, city VARCHAR, rank VARCHAR)
SELECT SUM(titles) FROM table_name_47 WHERE city = "győr" AND rank > 4
What Away team has the Golden point(s) scorer Trent Hodkinson and the Home of Manly-Warringah Sea Eagles?
CREATE TABLE table_name_71 (away VARCHAR, golden_point_s__scorer VARCHAR, home VARCHAR)
SELECT away FROM table_name_71 WHERE golden_point_s__scorer = "trent hodkinson" AND home = "manly-warringah sea eagles"
What are the episode numbers of episodes featuring Hurley?
CREATE TABLE table_11562149_1 (no_in_series VARCHAR, featured_character_s_ VARCHAR)
SELECT no_in_series FROM table_11562149_1 WHERE featured_character_s_ = "Hurley"
What is the Place of the Event on August 25, 2007?
CREATE TABLE table_name_18 (place VARCHAR, date VARCHAR)
SELECT place FROM table_name_18 WHERE date = "august 25, 2007"
What score has a tie of 5?
CREATE TABLE table_name_55 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_55 WHERE tie_no = "5"
What year was clair engle first elected?
CREATE TABLE table_1342218_6 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_1342218_6 WHERE incumbent = "Clair Engle"
In which location is aci vallelunga circuit?
CREATE TABLE table_23315271_2 (location VARCHAR, circuit VARCHAR)
SELECT location FROM table_23315271_2 WHERE circuit = "ACI Vallelunga circuit"
Which Run 4 has a Country of united states, and an Athlete of bree schaaf emily azevedo, and a Run 3 smaller than 58.04?
CREATE TABLE table_name_78 (run_4 INTEGER, run_3 VARCHAR, country VARCHAR, athlete VARCHAR)
SELECT SUM(run_4) FROM table_name_78 WHERE country = "united states" AND athlete = "bree schaaf emily azevedo" AND run_3 < 58.04
What was the score that thomas levet got when he placed t10?
CREATE TABLE table_name_36 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_36 WHERE place = "t10" AND player = "thomas levet"
Name the sum of swimsuit when the evening gown is less than 6.983 and the average is less than 7.362
CREATE TABLE table_name_67 (swimsuit INTEGER, average VARCHAR, evening_gown VARCHAR)
SELECT SUM(swimsuit) FROM table_name_67 WHERE average < 7.362 AND evening_gown < 6.983
who is the the high points with score being w 117–93
CREATE TABLE table_13480122_5 (high_points VARCHAR, score VARCHAR)
SELECT high_points FROM table_13480122_5 WHERE score = "W 117–93"
Who is the head coach of the team located in Mudgeeraba?
CREATE TABLE table_name_53 (head_coach VARCHAR, location VARCHAR)
SELECT head_coach FROM table_name_53 WHERE location = "mudgeeraba"
What is Van Waiters position?
CREATE TABLE table_name_84 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_84 WHERE player = "van waiters"
What was the record at the game held on May 1st with a loss of Speier (1–3)?
CREATE TABLE table_name_94 (record VARCHAR, date VARCHAR, loss VARCHAR)
SELECT record FROM table_name_94 WHERE date = "may 1" AND loss = "speier (1–3)"
What was the crowd population for Footscray as an away team?
CREATE TABLE table_name_64 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_64 WHERE away_team = "footscray"
What is Round, when Rank is less than 117?
CREATE TABLE table_name_90 (round VARCHAR, rank INTEGER)
SELECT round FROM table_name_90 WHERE rank < 117
Who remixed the version with a length of 3:58?
CREATE TABLE table_name_74 (remixed_by VARCHAR, length VARCHAR)
SELECT remixed_by FROM table_name_74 WHERE length = "3:58"
What is every registration for the type of T 6 G?
CREATE TABLE table_22180353_1 (registration VARCHAR, type VARCHAR)
SELECT registration FROM table_22180353_1 WHERE type = "T 6 G"
What is the candidate for south carolina 4?
CREATE TABLE table_1342256_40 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342256_40 WHERE district = "South Carolina 4"
How many entrants were there in 2011?
CREATE TABLE table_name_21 (entrants VARCHAR, year VARCHAR)
SELECT COUNT(entrants) FROM table_name_21 WHERE year = 2011
What is the total point for the year listed in 1988?
CREATE TABLE table_name_58 (points INTEGER, year VARCHAR)
SELECT SUM(points) FROM table_name_58 WHERE year = 1988
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?
CREATE TABLE table_24302700_2 (event_3_squat_lift VARCHAR, nationality VARCHAR, event_2_truck_pull VARCHAR)
SELECT event_3_squat_lift FROM table_24302700_2 WHERE nationality = "United States" AND event_2_truck_pull = "1 (42.66s)"
What is Reine Karlsson's nationality?
CREATE TABLE table_2679061_10 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_2679061_10 WHERE player = "Reine Karlsson"
What governments did the minister with a term start on 24 September 1984 have?
CREATE TABLE table_name_43 (governments VARCHAR, term_start VARCHAR)
SELECT governments FROM table_name_43 WHERE term_start = "24 september 1984"
Which FCC info has a ERP W smaller than 222, and a Call sign of k297ai?
CREATE TABLE table_name_35 (fcc_info VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
SELECT fcc_info FROM table_name_35 WHERE erp_w < 222 AND call_sign = "k297ai"
What was the first season of the club that in 2012 was 2nd in Superettan?
CREATE TABLE table_1096793_1 (first_season VARCHAR, position_in_2012 VARCHAR)
SELECT first_season FROM table_1096793_1 WHERE position_in_2012 = "2nd in Superettan"
What type of car does Jeff Fuller drive?
CREATE TABLE table_2182170_1 (car_s_ VARCHAR, driver_s_ VARCHAR)
SELECT car_s_ FROM table_2182170_1 WHERE driver_s_ = "Jeff Fuller"
how many points for with points against being 177
CREATE TABLE table_14058433_5 (points_for VARCHAR, points_against VARCHAR)
SELECT COUNT(points_for) FROM table_14058433_5 WHERE points_against = "177"
Who has the most assists on January 3?
CREATE TABLE table_15873014_5 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_15873014_5 WHERE date = "January 3"
Which Final has a Team of liechtenstein (lie) liechtenstein i?
CREATE TABLE table_name_55 (final VARCHAR, team VARCHAR)
SELECT final FROM table_name_55 WHERE team = "liechtenstein (lie) liechtenstein i"
with release date of february 9, 2011, what is the api level?
CREATE TABLE table_name_74 (api_level INTEGER, release_date VARCHAR)
SELECT AVG(api_level) FROM table_name_74 WHERE release_date = "february 9, 2011"
What is the speed of the higher harmonics that have an NOAA of 37?
CREATE TABLE table_name_95 (speed VARCHAR, noaa VARCHAR)
SELECT speed FROM table_name_95 WHERE noaa = "37"
Name the record for attendance location of palace of auburn hills 15,210
CREATE TABLE table_17103729_8 (record VARCHAR, location_attendance VARCHAR)
SELECT record FROM table_17103729_8 WHERE location_attendance = "Palace of Auburn Hills 15,210"
When did the term end that began January 3, 2007?
CREATE TABLE table_224672_2 (term_ended VARCHAR, term_began VARCHAR)
SELECT term_ended FROM table_224672_2 WHERE term_began = "January 3, 2007"
Who is the lead for the team from Saskatoon, Saskatchewan?
CREATE TABLE table_name_84 (lead VARCHAR, home VARCHAR)
SELECT lead FROM table_name_84 WHERE home = "saskatoon, saskatchewan"
How much Overall has a Position of wr, and a College of alberta?
CREATE TABLE table_name_86 (overall INTEGER, position VARCHAR, college VARCHAR)
SELECT SUM(overall) FROM table_name_86 WHERE position = "wr" AND college = "alberta"
What is the athlete muna lee lowest time?
CREATE TABLE table_name_45 (time INTEGER, athlete VARCHAR)
SELECT MIN(time) FROM table_name_45 WHERE athlete = "muna lee"
What is the place of the rank 6 record, which has a mark greater than 91.29?
CREATE TABLE table_name_16 (place VARCHAR, mark VARCHAR, rank VARCHAR)
SELECT place FROM table_name_16 WHERE mark > 91.29 AND rank = 6
what is the nation when the world rank is 6 and the birth date is 1971-07-31?
CREATE TABLE table_name_88 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR)
SELECT nation FROM table_name_88 WHERE world_rank = "6" AND birth_date = "1971-07-31"
What is the total for Danny Pinheiro Rodrigues ( fra ), in a Position smaller than 7?
CREATE TABLE table_name_37 (total INTEGER, gymnast VARCHAR, position VARCHAR)
SELECT AVG(total) FROM table_name_37 WHERE gymnast = "danny pinheiro rodrigues ( fra )" AND position < 7
what is the loan club with the start source is bbc sport and started on 9 february?
CREATE TABLE table_name_28 (loan_club VARCHAR, start_source VARCHAR, started VARCHAR)
SELECT loan_club FROM table_name_28 WHERE start_source = "bbc sport" AND started = "9 february"
Which pick did Michel Larocque receive?
CREATE TABLE table_2840500_6 (pick VARCHAR, player VARCHAR)
SELECT pick FROM table_2840500_6 WHERE player = "Michel Larocque"
What is the position for the player becchio?
CREATE TABLE table (position VARCHAR, player VARCHAR, Becchio VARCHAR)
SELECT position FROM table WHERE player = Becchio
What is the earliest year of a film from Mexico?
CREATE TABLE table_name_44 (year INTEGER, country VARCHAR)
SELECT MIN(year) FROM table_name_44 WHERE country = "mexico"
Who is the shooter at the WC Rio De Janeiro event with 10 rank points?
CREATE TABLE table_name_7 (shooter VARCHAR, event VARCHAR, rank_points VARCHAR)
SELECT shooter FROM table_name_7 WHERE event = "wc rio de janeiro" AND rank_points = "10"
What work was nominated at Rockferendum 2007 and got 1st place and got the award for best album?
CREATE TABLE table_name_55 (nominated_work VARCHAR, award VARCHAR, type VARCHAR, position VARCHAR)
SELECT nominated_work FROM table_name_55 WHERE type = "rockferendum 2007" AND position = "1st place" AND award = "best album"
What is the school, when the Team is Senators?
CREATE TABLE table_name_56 (school VARCHAR, team VARCHAR)
SELECT school FROM table_name_56 WHERE team = "senators"
What are all values for viewers for 1st season?
CREATE TABLE table_175980_2 (viewers__in_millions_ VARCHAR, season VARCHAR)
SELECT viewers__in_millions_ FROM table_175980_2 WHERE season = "1st"
When BVA was 3%, what was the Ipsos?
CREATE TABLE table_name_16 (ipsos_5_30_09 VARCHAR, bva_6_1_09 VARCHAR)
SELECT ipsos_5_30_09 FROM table_name_16 WHERE bva_6_1_09 = "3%"
what is the score when the away team is rivercity rage?
CREATE TABLE table_name_99 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_99 WHERE away_team = "rivercity rage"
What is the lowest lost from drawn of 1 or greater?
CREATE TABLE table_name_18 (lost INTEGER, drawn INTEGER)
SELECT MIN(lost) FROM table_name_18 WHERE drawn > 1
What's the position that has a total less than 66.5m, a compulsory of 30.9 and voluntary less than 33.7?
CREATE TABLE table_name_72 (position INTEGER, voluntary VARCHAR, total VARCHAR, compulsory VARCHAR)
SELECT MIN(position) FROM table_name_72 WHERE total < 66.5 AND compulsory = 30.9 AND voluntary < 33.7
What is the Venue with an Attendance that is larger than 6,938?
CREATE TABLE table_name_55 (venue VARCHAR, attendance INTEGER)
SELECT venue FROM table_name_55 WHERE attendance > 6 OFFSET 938
On what date did the Suns have high points with a record of 33–13?
CREATE TABLE table_name_8 (date VARCHAR, high_points VARCHAR, record VARCHAR)
SELECT date FROM table_name_8 WHERE high_points = "suns" AND record = "33–13"
what is the date for the game in prague for the world group, consolation round competition?
CREATE TABLE table_name_57 (date VARCHAR, location VARCHAR, competition VARCHAR)
SELECT date FROM table_name_57 WHERE location = "prague" AND competition = "world group, consolation round"
Who did Abdelhafid Benchebla face in the quarterfinals?
CREATE TABLE table_17427004_7 (quarterfinals VARCHAR, athlete VARCHAR)
SELECT quarterfinals FROM table_17427004_7 WHERE athlete = "Abdelhafid Benchebla"
What is the aggregate for the tie with a team 2 of Irtysh?
CREATE TABLE table_name_58 (agg VARCHAR, team_2 VARCHAR)
SELECT agg FROM table_name_58 WHERE team_2 = "irtysh"
What is the Venue that has a Rank of 2?
CREATE TABLE table_name_66 (venue VARCHAR, rank VARCHAR)
SELECT venue FROM table_name_66 WHERE rank = "2"
Who has a highest Long with 26 Yards and less than 9 Car?
CREATE TABLE table_name_84 (long INTEGER, yards VARCHAR, car VARCHAR)
SELECT MAX(long) FROM table_name_84 WHERE yards = "26" AND car < 9
What status has an area km 2 greater than 10.9, with 4,674 of 5,008 as the census ranking
CREATE TABLE table_name_22 (status VARCHAR, area_km_2 VARCHAR, census_ranking VARCHAR)
SELECT status FROM table_name_22 WHERE area_km_2 > 10.9 AND census_ranking = "4,674 of 5,008"
How many teams have skyhawks as a nickname?
CREATE TABLE table_1969634_1 (division VARCHAR, nickname VARCHAR)
SELECT COUNT(division) FROM table_1969634_1 WHERE nickname = "Skyhawks"
What is the average rank for Denmark?
CREATE TABLE table_name_33 (rank INTEGER, country VARCHAR)
SELECT AVG(rank) FROM table_name_33 WHERE country = "denmark"
What are the ids and details of events that have more than one participants?
CREATE TABLE EVENTS (event_id VARCHAR, event_details VARCHAR, Event_ID VARCHAR); CREATE TABLE Participants_in_Events (Event_ID VARCHAR)
SELECT T1.event_id, T1.event_details FROM EVENTS AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY T1.Event_ID HAVING COUNT(*) > 1
Which venue had an extra of Team Competition and a result of 1st?
CREATE TABLE table_name_48 (venue VARCHAR, extra VARCHAR, result VARCHAR)
SELECT venue FROM table_name_48 WHERE extra = "team competition" AND result = "1st"
Which visitor visited on February 21?
CREATE TABLE table_name_14 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_14 WHERE date = "february 21"
What was the score for the match where the home team was Leicester City?
CREATE TABLE table_name_16 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_16 WHERE home_team = "leicester city"
What is the Name of the Multiple Type museum in Anchorage?
CREATE TABLE table_name_54 (name VARCHAR, town_city VARCHAR, type VARCHAR)
SELECT name FROM table_name_54 WHERE town_city = "anchorage" AND type = "multiple"