question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the percentage democrats with democratic plurality of -3, and 2/5 democrat/republican?
CREATE TABLE table_name_45 (percentage_democrats VARCHAR, democratic_seat_plurality VARCHAR, democratic__republican VARCHAR)
SELECT percentage_democrats FROM table_name_45 WHERE democratic_seat_plurality = "-3" AND democratic__republican = "2/5"
In New Zealand, what's the value that has an unknown date and is an energy business?
CREATE TABLE table_name_70 (value___usd__ VARCHAR, country VARCHAR, date VARCHAR, business VARCHAR)
SELECT value___usd__ FROM table_name_70 WHERE date = "unknown" AND business = "energy" AND country = "new zealand"
Chinese title of 反正 卓文萱 had what released?
CREATE TABLE table_name_44 (released VARCHAR, chinese_title VARCHAR)
SELECT released FROM table_name_44 WHERE chinese_title = "反正 卓文萱"
Which Genre has a Game of tony hawk's pro skater 2?
CREATE TABLE table_name_12 (genre VARCHAR, game VARCHAR)
SELECT genre FROM table_name_12 WHERE game = "tony hawk's pro skater 2"
Which Floors have a Pinnacle height ft (m) of 995 (303), and an Std Rank larger than 6?
CREATE TABLE table_name_92 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, std_rank VARCHAR)
SELECT MAX(floors) FROM table_name_92 WHERE pinnacle_height_ft__m_ = "995 (303)" AND std_rank > 6
Which Home team has an Away team of melbourne?
CREATE TABLE table_name_54 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_54 WHERE away_team = "melbourne"
Which driver had less than 65 laps for Sigma Autosport?
CREATE TABLE table_name_64 (driver VARCHAR, laps VARCHAR, team VARCHAR)
SELECT driver FROM table_name_64 WHERE laps < 65 AND team = "sigma autosport"
In what Week was the Attendance 43,430?
CREATE TABLE table_name_13 (week INTEGER, attendance VARCHAR)
SELECT MAX(week) FROM table_name_13 WHERE attendance = 43 OFFSET 430
When the Away team is melbourne, what's the lowest Crowd attended?
CREATE TABLE table_name_42 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_42 WHERE away_team = "melbourne"
How few runs does the 97.00 average have?
CREATE TABLE table_27922491_11 (runs INTEGER, average VARCHAR)
SELECT MIN(runs) FROM table_27922491_11 WHERE average = "97.00"
What is the street address of Oliver Building?
CREATE TABLE table_name_20 (street_address VARCHAR, name VARCHAR)
SELECT street_address FROM table_name_20 WHERE name = "oliver building"
What's the lowest avg/g for a GP-GS of 12-12 and a gain less than 16?
CREATE TABLE table_name_10 (avg_g INTEGER, gp_gs VARCHAR, gain VARCHAR)
SELECT MIN(avg_g) FROM table_name_10 WHERE gp_gs = "12-12" AND gain < 16
Which player went to Emporia State?
CREATE TABLE table_10361230_1 (player_name VARCHAR, college VARCHAR)
SELECT player_name FROM table_10361230_1 WHERE college = "Emporia State"
What is the total number of To Par, when Total is "295"?
CREATE TABLE table_name_38 (to_par VARCHAR, total VARCHAR)
SELECT COUNT(to_par) FROM table_name_38 WHERE total = 295
What was the 2010 result for a 2008 result of LQ and 2011 result of 2R?
CREATE TABLE table_name_30 (Id VARCHAR)
SELECT 2010 FROM table_name_30 WHERE 2008 = "lq" AND 2011 = "2r"
What is the order number that has Aretha Franklin as the original artist?
CREATE TABLE table_name_97 (order__number VARCHAR, original_artist VARCHAR)
SELECT order__number FROM table_name_97 WHERE original_artist = "aretha franklin"
The MacKinnon Stakes races took place on how many venues?
CREATE TABLE table_24850630_3 (venue VARCHAR, race VARCHAR)
SELECT COUNT(venue) FROM table_24850630_3 WHERE race = "Mackinnon Stakes"
What is the value for parentheses with a dots value of 0.\dot{6}?
CREATE TABLE table_name_91 (parentheses VARCHAR, dots VARCHAR)
SELECT parentheses FROM table_name_91 WHERE dots = "0.\dot{6}"
Which route has 21 stations?
CREATE TABLE table_name_31 (route VARCHAR, stations VARCHAR)
SELECT route FROM table_name_31 WHERE stations = 21
March of 29 involves what highest scoring game?
CREATE TABLE table_name_40 (game INTEGER, march VARCHAR)
SELECT MAX(game) FROM table_name_40 WHERE march = 29
Which Latitude has a Year named smaller than 1997, and a Name of aino planitia?
CREATE TABLE table_name_79 (latitude VARCHAR, year_named VARCHAR, name VARCHAR)
SELECT latitude FROM table_name_79 WHERE year_named < 1997 AND name = "aino planitia"
What party does James Pleasants belong to?
CREATE TABLE table_2668352_19 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_2668352_19 WHERE incumbent = "James Pleasants"
How many candidates were in the election featuring brooks hays (d) unopposed?
CREATE TABLE table_1342256_5 (first_elected VARCHAR, candidates VARCHAR)
SELECT COUNT(first_elected) FROM table_1342256_5 WHERE candidates = "Brooks Hays (D) Unopposed"
What club has 536 points for?
CREATE TABLE table_13741576_6 (club VARCHAR, points_for VARCHAR)
SELECT club FROM table_13741576_6 WHERE points_for = "536"
What is the production code for the episode whose original air date was May15,2000?
CREATE TABLE table_29391888_1 (production_code VARCHAR, original_air_date VARCHAR)
SELECT production_code FROM table_29391888_1 WHERE original_air_date = "May15,2000"
what visitor came on november 27
CREATE TABLE table_name_15 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_15 WHERE date = "november 27"
What is the total for 34 matches with 111 rides, but no more than 15 bonus points?
CREATE TABLE table_name_29 (total_points INTEGER, bonus_pts VARCHAR, matches VARCHAR, rides VARCHAR)
SELECT AVG(total_points) FROM table_name_29 WHERE matches = 34 AND rides = 111 AND bonus_pts > 15
What is the total number for a total when the nation is netherlands and silver is larger than 0?
CREATE TABLE table_name_12 (total VARCHAR, nation VARCHAR, silver VARCHAR)
SELECT COUNT(total) FROM table_name_12 WHERE nation = "netherlands" AND silver > 0
What is the sum of caps for players with less than 9 goals ranked below 8?
CREATE TABLE table_name_83 (caps INTEGER, goals VARCHAR, rank VARCHAR)
SELECT SUM(caps) FROM table_name_83 WHERE goals < 9 AND rank > 8
What was the result in the election in the Kentucky 8 district?
CREATE TABLE table_2668367_7 (result VARCHAR, district VARCHAR)
SELECT result FROM table_2668367_7 WHERE district = "Kentucky 8"
What is Opponent, when Rank is 3?
CREATE TABLE table_name_87 (opponent VARCHAR, rank VARCHAR)
SELECT opponent FROM table_name_87 WHERE rank = "3"
How many Attendances have a H / A of h on 7 march 1903?
CREATE TABLE table_name_47 (attendance INTEGER, h___a VARCHAR, date VARCHAR)
SELECT MIN(attendance) FROM table_name_47 WHERE h___a = "h" AND date = "7 march 1903"
Who has 48 points in the class of 500 cc?
CREATE TABLE table_name_11 (team VARCHAR, points VARCHAR, class VARCHAR)
SELECT team FROM table_name_11 WHERE points = 48 AND class = "500 cc"
What is the average goals less than 41 that goalkeeper Claudio Bravo had?
CREATE TABLE table_name_85 (average VARCHAR, goals VARCHAR, goalkeeper VARCHAR)
SELECT COUNT(average) FROM table_name_85 WHERE goals < 41 AND goalkeeper = "claudio bravo"
Show the number of trains
CREATE TABLE train (Id VARCHAR)
SELECT COUNT(*) FROM train
What status has 15/04/1967 as the date?
CREATE TABLE table_name_33 (status VARCHAR, date VARCHAR)
SELECT status FROM table_name_33 WHERE date = "15/04/1967"
What is the Date of the match against Guillermo Olaso?
CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_7 WHERE opponent = "guillermo olaso"
What year was Teen Angels 2 nominated?
CREATE TABLE table_name_19 (year VARCHAR, nominated VARCHAR)
SELECT year FROM table_name_19 WHERE nominated = "teen angels 2"
What is the Notes of the Frequency with Format of talk radio?
CREATE TABLE table_name_63 (notes VARCHAR, format VARCHAR)
SELECT notes FROM table_name_63 WHERE format = "talk radio"
What is the average number of losses for teams with under 16 points and under 3 draws?
CREATE TABLE table_name_8 (losses INTEGER, points VARCHAR, draws VARCHAR)
SELECT AVG(losses) FROM table_name_8 WHERE points < 16 AND draws < 3
What is the Date of the game with a Score of 6–4, 6–2?
CREATE TABLE table_name_26 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_26 WHERE score = "6–4, 6–2"
Name the the average Lib Dem with Conservative smaller than 0?
CREATE TABLE table_name_87 (lib_dem INTEGER, conservative INTEGER)
SELECT AVG(lib_dem) FROM table_name_87 WHERE conservative < 0
In the match as corio oval, who was the away team?
CREATE TABLE table_name_29 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_29 WHERE venue = "corio oval"
What is 1998, when 1992 is "A", and when Tournament is "Hamburg Masters"?
CREATE TABLE table_name_7 (tournament VARCHAR)
SELECT 1998 FROM table_name_7 WHERE 1992 = "a" AND tournament = "hamburg masters"
Did this driver have any winnings the season he had 32 starts
CREATE TABLE table_1875157_1 (winnings VARCHAR, starts VARCHAR)
SELECT COUNT(winnings) FROM table_1875157_1 WHERE starts = 32
Which competition took place in Bangkok?
CREATE TABLE table_name_94 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_94 WHERE venue = "bangkok"
What was the handicap when the prize money was 120s?
CREATE TABLE table_2896329_1 (handicap VARCHAR, prize_money VARCHAR)
SELECT handicap FROM table_2896329_1 WHERE prize_money = "120s"
What was the result under interim head coach, Gary Darnell?
CREATE TABLE table_name_62 (result VARCHAR, interim_head_coach VARCHAR)
SELECT result FROM table_name_62 WHERE interim_head_coach = "gary darnell"
What Super G has a Career of 1980–1996?
CREATE TABLE table_name_25 (super_g VARCHAR, career VARCHAR)
SELECT super_g FROM table_name_25 WHERE career = "1980–1996"
What was the record for May 26?
CREATE TABLE table_name_64 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_64 WHERE date = "may 26"
For the game played at Windy Hill, who was the away team?
CREATE TABLE table_name_4 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_4 WHERE venue = "windy hill"
When was Daniel Moro born?
CREATE TABLE table_name_63 (date_of_birth VARCHAR, name VARCHAR)
SELECT date_of_birth FROM table_name_63 WHERE name = "daniel moro"
What occurrs as of September 1, 2012 when the value for vs. all is 65.47%?
CREATE TABLE table_name_61 (as_of_september_1 VARCHAR, _2012 VARCHAR, vs_all VARCHAR)
SELECT as_of_september_1, _2012 FROM table_name_61 WHERE vs_all = "65.47%"
What was the attendance on 1997-12-14?
CREATE TABLE table_name_54 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_54 WHERE date = "1997-12-14"
How much does number 26 weigh?
CREATE TABLE table_name_31 (weight VARCHAR, number VARCHAR)
SELECT weight FROM table_name_31 WHERE number = "26"
What is the average rank of gol on airlines?
CREATE TABLE table_name_45 (rank INTEGER, airline VARCHAR)
SELECT AVG(rank) FROM table_name_45 WHERE airline = "gol"
What is the branding for the station with a frequency of 93.1mhz and a callsign of DWRX?
CREATE TABLE table_name_23 (branding VARCHAR, frequency VARCHAR, callsign VARCHAR)
SELECT branding FROM table_name_23 WHERE frequency = "93.1mhz" AND callsign = "dwrx"
Which freq currently has 0 684?
CREATE TABLE table_name_7 (freq_currently VARCHAR, frequency VARCHAR)
SELECT freq_currently FROM table_name_7 WHERE frequency = "0 684"
What is the highest week with a w 33-14 result?
CREATE TABLE table_name_38 (week INTEGER, result VARCHAR)
SELECT MAX(week) FROM table_name_38 WHERE result = "w 33-14"
In what year and location did Wang Liqin win the Mens Singles?
CREATE TABLE table_28138035_35 (year_location VARCHAR, mens_singles VARCHAR)
SELECT year_location FROM table_28138035_35 WHERE mens_singles = "Wang Liqin"
What is the highest value under the column goals against?
CREATE TABLE table_1255110_7 (goals_against INTEGER)
SELECT MAX(goals_against) FROM table_1255110_7
What formated cataloged alca-9196?
CREATE TABLE table_name_10 (format VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_10 WHERE catalog = "alca-9196"
what is the date when the tie no is 9?
CREATE TABLE table_name_46 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_46 WHERE tie_no = "9"
What Venue has a Year smaller than 1986, and a Position of 6th?
CREATE TABLE table_name_62 (venue VARCHAR, year VARCHAR, position VARCHAR)
SELECT venue FROM table_name_62 WHERE year < 1986 AND position = "6th"
Who was the artist for the album, Christmas under the reunion label with the guitar?
CREATE TABLE table_name_67 (artist VARCHAR, album VARCHAR, label VARCHAR, credit VARCHAR)
SELECT artist FROM table_name_67 WHERE label = "reunion" AND credit = "guitar" AND album = "christmas"
How many are enrolled at 49 Marion with the Warriors as their mascot?
CREATE TABLE table_name_74 (enrollment VARCHAR, _number___county VARCHAR, mascot VARCHAR)
SELECT COUNT(enrollment) FROM table_name_74 WHERE _number___county = "49 marion" AND mascot = "warriors"
What is the Score on April 6?
CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_71 WHERE date = "april 6"
What is the pick number of regina?
CREATE TABLE table_10975034_5 (pick__number VARCHAR, college VARCHAR)
SELECT pick__number FROM table_10975034_5 WHERE college = "Regina"
What is the highest gold a team with less than 3 silver and more than 5 bronze medals has?
CREATE TABLE table_name_76 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT MAX(gold) FROM table_name_76 WHERE silver < 3 AND bronze > 5
On what date was the score 2-1?
CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_38 WHERE score = "2-1"
List the name of rooms with king or queen bed.
CREATE TABLE Rooms (roomName VARCHAR, bedType VARCHAR)
SELECT roomName FROM Rooms WHERE bedType = "King" OR bedType = "Queen"
which CONMEBOL 1995 has a Supercopa 1995 of sf?
CREATE TABLE table_name_86 (conmebol_1995 VARCHAR, supercopa_1995 VARCHAR)
SELECT conmebol_1995 FROM table_name_86 WHERE supercopa_1995 = "sf"
What is the Score at Jobing.com Arena?
CREATE TABLE table_name_30 (score VARCHAR, arena VARCHAR)
SELECT score FROM table_name_30 WHERE arena = "jobing.com arena"
Who wrote the episode directed by Ken Whittingham?
CREATE TABLE table_23097214_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT written_by FROM table_23097214_1 WHERE directed_by = "Ken Whittingham"
What player had the high point on July 7?
CREATE TABLE table_name_21 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_21 WHERE date = "july 7"
Which episode in the series drew 3.6 million U.S. viewers?
CREATE TABLE table_11111116_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
SELECT MIN(no_in_series) FROM table_11111116_6 WHERE us_viewers__million_ = "3.6"
What was the prize when the show was aired on Ant1, was presented by Andreas Mikroutsikos, and was launched on March 10, 2003?
CREATE TABLE table_name_19 (the_prize VARCHAR, launch_date VARCHAR, tv_channel VARCHAR, the_presenter VARCHAR)
SELECT the_prize FROM table_name_19 WHERE tv_channel = "ant1" AND the_presenter = "andreas mikroutsikos" AND launch_date = "march 10, 2003"
Why did Geninho leave as manager?
CREATE TABLE table_29414946_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
SELECT manner_of_departure FROM table_29414946_3 WHERE outgoing_manager = "Geninho"
What was the record against Washington?
CREATE TABLE table_17121262_10 (record VARCHAR, team VARCHAR)
SELECT COUNT(record) FROM table_17121262_10 WHERE team = "Washington"
What is the home of fc thun (asl) geust?
CREATE TABLE table_name_83 (home VARCHAR, geust VARCHAR)
SELECT home FROM table_name_83 WHERE geust = "fc thun (asl)"
Which location has the promotor Frank Moloney, and the opponent Gennadiy Rasalev?
CREATE TABLE table_name_21 (location VARCHAR, promotor VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_21 WHERE promotor = "frank moloney" AND opponent = "gennadiy rasalev"
For what Class A is the school year 1987-88?
CREATE TABLE table_name_24 (class_a VARCHAR, school_year VARCHAR)
SELECT class_a FROM table_name_24 WHERE school_year = "1987-88"
What is the highest number in attendance against the game at Kansas City Chiefs?
CREATE TABLE table_name_47 (attendance INTEGER, opponent VARCHAR)
SELECT MAX(attendance) FROM table_name_47 WHERE opponent = "at kansas city chiefs"
Valmir Benavides won pole position at which circuit?
CREATE TABLE table_29361707_2 (circuit VARCHAR, pole_position VARCHAR)
SELECT circuit FROM table_29361707_2 WHERE pole_position = "Valmir Benavides"
Which dish belongs to the network that has the official website of ksat.com?
CREATE TABLE table_name_46 (dish VARCHAR, official_website VARCHAR)
SELECT dish FROM table_name_46 WHERE official_website = "ksat.com"
What was the result of Robert L. F. Sikes' election bid?
CREATE TABLE table_1342256_10 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342256_10 WHERE incumbent = "Robert L. F. Sikes"
Who is the player with a t8 place?
CREATE TABLE table_name_53 (player VARCHAR, place VARCHAR)
SELECT player FROM table_name_53 WHERE place = "t8"
Name the LB&SCR number that has SR number of 8597–8600
CREATE TABLE table_name_7 (lb VARCHAR, scr_no VARCHAR, sr_no VARCHAR)
SELECT lb & scr_no FROM table_name_7 WHERE sr_no = "8597–8600"
Which Particle has an Isospin I of 1 and Commonly decays to p + + π 0 or n 0 + π +?
CREATE TABLE table_name_41 (particle VARCHAR, isospin_i VARCHAR, commonly_decays_to VARCHAR)
SELECT particle FROM table_name_41 WHERE isospin_i = "1" AND commonly_decays_to = "p + + π 0 or n 0 + π +"
Name the 125cc winner with circuit of estoril
CREATE TABLE table_name_2 (circuit VARCHAR)
SELECT 125 AS cc_winner FROM table_name_2 WHERE circuit = "estoril"
Which Player has a Total smaller than 11, and a Tally of 0-9?
CREATE TABLE table_name_21 (player VARCHAR, total VARCHAR, tally VARCHAR)
SELECT player FROM table_name_21 WHERE total < 11 AND tally = "0-9"
What seasons does stella malone appear?
CREATE TABLE table_12441518_1 (main_cast_seasons VARCHAR, character VARCHAR)
SELECT main_cast_seasons FROM table_12441518_1 WHERE character = "Stella Malone"
What Label has a Format of cd, and a Catalog of crgd 86136?
CREATE TABLE table_name_88 (label VARCHAR, format VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_88 WHERE format = "cd" AND catalog = "crgd 86136"
Name the country for gerrard
CREATE TABLE table_22667773_8 (country VARCHAR, name VARCHAR)
SELECT country FROM table_22667773_8 WHERE name = "Gerrard"
Which Graded Hammer Three (GH3) shows Model of clp320?
CREATE TABLE table_name_20 (graded_hammer_three__gh3_ VARCHAR, model VARCHAR)
SELECT graded_hammer_three__gh3_ FROM table_name_20 WHERE model = "clp320"
What episode number in the series was directed by John Behring?
CREATE TABLE table_21164557_1 (no_in_series INTEGER, directed_by VARCHAR)
SELECT MAX(no_in_series) FROM table_21164557_1 WHERE directed_by = "John Behring"
what is the date where the constructor is ferrari and the location is anderstorp?
CREATE TABLE table_1140085_2 (date VARCHAR, constructor VARCHAR, location VARCHAR)
SELECT date FROM table_1140085_2 WHERE constructor = "Ferrari" AND location = "Anderstorp"
How many seasons was series number 47 shown?
CREATE TABLE table_11630008_4 (season_no VARCHAR, series_no VARCHAR)
SELECT COUNT(season_no) FROM table_11630008_4 WHERE series_no = 47
How many championships does Evergreen Premier League have?
CREATE TABLE table_name_48 (championships INTEGER, league VARCHAR)
SELECT MAX(championships) FROM table_name_48 WHERE league = "evergreen premier league"
What was the local investment (in $) in the projects of the department with $912,185 BID/PRONAR investment?
CREATE TABLE table_17118006_2 (local_investment__us$_ VARCHAR, bid_pronar_investment__us$_ VARCHAR)
SELECT local_investment__us$_ FROM table_17118006_2 WHERE bid_pronar_investment__us$_ = "912,185"