question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who was the Opponent on July 29?
CREATE TABLE table_name_61 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_61 WHERE date = "july 29"
Which barony contains a townland with an area 24 acres?
CREATE TABLE table_30120555_1 (barony VARCHAR, area__acres__ VARCHAR)
SELECT barony FROM table_30120555_1 WHERE area__acres__ = 24
Which Date has a Winning score of 69-68-68-70=275?
CREATE TABLE table_name_31 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_31 WHERE winning_score = 69 - 68 - 68 - 70 = 275
What instrument did the musician with last name "Heilo" use in the song "Le Pop"?
CREATE TABLE Songs (SongId VARCHAR, songid VARCHAR, title VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR); CREATE TABLE Instruments (instrument VARCHAR, songid VARCHAR, bandmateid VARCHAR)
SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId JOIN Instruments AS T4 ON T4.songid = T3.songid AND T4.bandmateid = T2.id WHERE T2.lastname = "Heilo" AND T3.title = "Le Pop"
What is the total goals scored with more than 11 points, 18 goals conceded, and played fewer than 18 times?
CREATE TABLE table_name_17 (goals_scored VARCHAR, played VARCHAR, points VARCHAR, goals_conceded VARCHAR)
SELECT COUNT(goals_scored) FROM table_name_17 WHERE points > 11 AND goals_conceded = 18 AND played < 18
How many base pairs are there in the tohamai strain?
CREATE TABLE table_name_90 (base_pairs VARCHAR, strain VARCHAR)
SELECT base_pairs FROM table_name_90 WHERE strain = "tohamai"
What is the democratic seat plurality with 29% democrat?
CREATE TABLE table_name_94 (democratic_seat_plurality VARCHAR, percentage_democrats VARCHAR)
SELECT democratic_seat_plurality FROM table_name_94 WHERE percentage_democrats = "29%"
How many different amounts of winnings were there for the year when the team had an average finish of 17.4?
CREATE TABLE table_2182562_2 (winnings VARCHAR, avg_finish VARCHAR)
SELECT COUNT(winnings) FROM table_2182562_2 WHERE avg_finish = "17.4"
For Team AJS, what is the total number of points for drivers with 0 wins?
CREATE TABLE table_name_49 (points VARCHAR, team VARCHAR, wins VARCHAR)
SELECT COUNT(points) FROM table_name_49 WHERE team = "ajs" AND wins < 0
Name the total number of stories that had a 16 rank
CREATE TABLE table_name_29 (stories VARCHAR, rank VARCHAR)
SELECT COUNT(stories) FROM table_name_29 WHERE rank = "16"
How many entries for number in series when director is Bryan Cranston?
CREATE TABLE table_26736040_1 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT COUNT(no_in_series) FROM table_26736040_1 WHERE directed_by = "Bryan Cranston"
Which position has a Round of 7, and a College of kansas state?
CREATE TABLE table_name_34 (position VARCHAR, round VARCHAR, college VARCHAR)
SELECT position FROM table_name_34 WHERE round = 7 AND college = "kansas state"
What award has a year earlier than 2004 and the episode shows —?
CREATE TABLE table_name_90 (award VARCHAR, year VARCHAR, episode VARCHAR)
SELECT award FROM table_name_90 WHERE year < 2004 AND episode = "—"
Which position did Michael Lee play?
CREATE TABLE table_name_25 (pos VARCHAR, name VARCHAR)
SELECT pos FROM table_name_25 WHERE name = "michael lee"
What is the status of partial thromboplastin times for conditions where the platelet count is decreased?
CREATE TABLE table_20592988_1 (partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
SELECT partial_thromboplastin_time FROM table_20592988_1 WHERE platelet_count = "Decreased"
What is the Mascot for the team from leo that had a Previous Conference value of independent?
CREATE TABLE table_name_13 (mascot VARCHAR, previous_conference VARCHAR, location VARCHAR)
SELECT mascot FROM table_name_13 WHERE previous_conference = "independent" AND location = "leo"
Name the player for 1945 for player
CREATE TABLE table_19611329_1 (year_inducted VARCHAR, inducted_as VARCHAR)
SELECT "player" FROM table_19611329_1 WHERE year_inducted = 1945 AND inducted_as = "player"
How many titles have the number 11
CREATE TABLE table_10470082_5 (title VARCHAR, _number VARCHAR)
SELECT COUNT(title) FROM table_10470082_5 WHERE _number = 11
What's the draw that's played less than 36 and has 42 points?
CREATE TABLE table_name_15 (draw INTEGER, points VARCHAR, played VARCHAR)
SELECT AVG(draw) FROM table_name_15 WHERE points = 42 AND played < 36
What is the number in the season that Marlene Meyer wrote and 20.49 million people watched?
CREATE TABLE table_10718984_2 (no_in_season INTEGER, written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT MAX(no_in_season) FROM table_10718984_2 WHERE written_by = "Marlene Meyer" AND us_viewers__millions_ = "20.49"
What is the method of the match in the Road fc 12 at 5:00 with less than 3 rounds, and a loss result?
CREATE TABLE table_name_72 (method VARCHAR, event VARCHAR, res VARCHAR, time VARCHAR, round VARCHAR)
SELECT method FROM table_name_72 WHERE time = "5:00" AND round < 3 AND res = "loss" AND event = "road fc 12"
What episode number had production code e4423?
CREATE TABLE table_10842344_1 (no_in_season INTEGER, production_code VARCHAR)
SELECT MAX(no_in_season) FROM table_10842344_1 WHERE production_code = "E4423"
Name the number of counties for obama votes for 49558
CREATE TABLE table_15929156_3 (county VARCHAR, obama_votes VARCHAR)
SELECT COUNT(county) FROM table_15929156_3 WHERE obama_votes = 49558
When has a Tournament of palermo , italy?
CREATE TABLE table_name_17 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_17 WHERE tournament = "palermo , italy"
What is the first name of the author with last name "Ueno"?
CREATE TABLE authors (fname VARCHAR, lname VARCHAR)
SELECT fname FROM authors WHERE lname = "Ueno"
What is the final position for the season 2008?
CREATE TABLE table_name_76 (final_position VARCHAR, season VARCHAR)
SELECT final_position FROM table_name_76 WHERE season = "2008"
What is the result for 2006 of a tournament that is 107 in 2010?
CREATE TABLE table_name_73 (Id VARCHAR)
SELECT 2006 FROM table_name_73 WHERE 2010 = "107"
What is the total fat with a smoke point of °c (), 25g of saturated fat?
CREATE TABLE table_name_60 (total_fat VARCHAR, smoke_point VARCHAR, saturated_fat VARCHAR)
SELECT total_fat FROM table_name_60 WHERE smoke_point = "°c ()" AND saturated_fat = "25g"
What is the average population for an area less than 433.7km and a 23013 code?
CREATE TABLE table_name_17 (population INTEGER, area__km_2__ VARCHAR, code VARCHAR)
SELECT AVG(population) FROM table_name_17 WHERE area__km_2__ < 433.7 AND code = 23013
Name the most rank for the United States with wins less than 1
CREATE TABLE table_name_18 (rank INTEGER, country VARCHAR, wins VARCHAR)
SELECT MAX(rank) FROM table_name_18 WHERE country = "united states" AND wins < 1
What was the 15th club in 2012?
CREATE TABLE table_name_46 (club VARCHAR, year VARCHAR, order VARCHAR)
SELECT club FROM table_name_46 WHERE year = 2012 AND order = "15th"
What is the timeslot rank when the rating is smaller than 2.6 and the share is more than 4?
CREATE TABLE table_name_97 (rank__timeslot_ INTEGER, rating VARCHAR, share VARCHAR)
SELECT AVG(rank__timeslot_) FROM table_name_97 WHERE rating < 2.6 AND share > 4
how many matches did colin dibley win
CREATE TABLE table_29302711_12 (matches_won VARCHAR, name VARCHAR)
SELECT matches_won FROM table_29302711_12 WHERE name = "Colin Dibley"
Name the vacator for reason for change died january 12, 1826
CREATE TABLE table_225102_4 (vacator VARCHAR, reason_for_change VARCHAR)
SELECT vacator FROM table_225102_4 WHERE reason_for_change = "Died January 12, 1826"
How many wins were there in 2004-05?
CREATE TABLE table_name_67 (win__number VARCHAR, season VARCHAR)
SELECT win__number FROM table_name_67 WHERE season = "2004-05"
Who is the director when the share is 11.8?
CREATE TABLE table_29574579_1 (directed_by VARCHAR, share___percentage_ VARCHAR)
SELECT directed_by FROM table_29574579_1 WHERE share___percentage_ = "11.8"
What is the Interregnum ended for Count Palatine of Saxony of john george ii, elector of saxony?
CREATE TABLE table_name_69 (interregnum_ended VARCHAR, count_palatine_of_saxony VARCHAR)
SELECT interregnum_ended FROM table_name_69 WHERE count_palatine_of_saxony = "john george ii, elector of saxony"
what are name and phone number of patients who had more than one appointment?
CREATE TABLE appointment (patient VARCHAR); CREATE TABLE patient (ssn VARCHAR)
SELECT name, phone FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn GROUP BY T1.patient HAVING COUNT(*) > 1
How many customers does Steve Johnson support?
CREATE TABLE employees (id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE customers (support_rep_id VARCHAR)
SELECT COUNT(*) FROM employees AS T1 JOIN customers AS T2 ON T2.support_rep_id = T1.id WHERE T1.first_name = "Steve" AND T1.last_name = "Johnson"
Which Home team score has a AEDT Time of 11:00 pm?
CREATE TABLE table_name_78 (home_team VARCHAR, aedt_time VARCHAR)
SELECT home_team AS score FROM table_name_78 WHERE aedt_time = "11:00 pm"
What is the main date when the round is third round qualifying?
CREATE TABLE table_27973624_1 (main_date VARCHAR, round VARCHAR)
SELECT main_date FROM table_27973624_1 WHERE round = "Third round Qualifying"
What is the Total of the Player with a To par of 6 and Year won after 1993?
CREATE TABLE table_name_87 (total INTEGER, year_won VARCHAR, to_par VARCHAR)
SELECT MIN(total) FROM table_name_87 WHERE year_won > 1993 AND to_par = 6
What was the position of the player whose team lost super bowl xxv before 1992, with a team defense rank larger than 3?
CREATE TABLE table_name_47 (position VARCHAR, team_performance VARCHAR, team_defense_rank VARCHAR, year VARCHAR)
SELECT position FROM table_name_47 WHERE team_defense_rank > 3 AND year < 1992 AND team_performance = "lost super bowl xxv"
What is the IHSA music class for the mascot that is the lancers?
CREATE TABLE table_27653955_1 (ihsa_music_class VARCHAR, mascot VARCHAR)
SELECT ihsa_music_class FROM table_27653955_1 WHERE mascot = "Lancers"
Who is the composer of track Fast As a Shark?
CREATE TABLE tracks (composer VARCHAR, name VARCHAR)
SELECT composer FROM tracks WHERE name = "Fast As a Shark"
What kind of Week 7 has a Week 5 of evicted (day 15)?
CREATE TABLE table_name_83 (week_7 VARCHAR, week_5 VARCHAR)
SELECT week_7 FROM table_name_83 WHERE week_5 = "evicted (day 15)"
Who was the number 24 series written by?
CREATE TABLE table_name_36 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_name_36 WHERE no_in_series = 24
How many times is the rank by average 4?
CREATE TABLE table_29583818_3 (place VARCHAR, rank_by_average VARCHAR)
SELECT COUNT(place) FROM table_29583818_3 WHERE rank_by_average = 4
What event did Diego Saraiva fight jorge gurgel?
CREATE TABLE table_name_98 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_98 WHERE opponent = "jorge gurgel"
What Date has a Result of l 21–34?
CREATE TABLE table_name_31 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_31 WHERE result = "l 21–34"
What is the highest Money ( $ ), when To Par is less than 2?
CREATE TABLE table_name_11 (money___ INTEGER, to_par INTEGER)
SELECT MAX(money___) AS $__ FROM table_name_11 WHERE to_par < 2
What was the record when the opposing team was the Columbus Blue Jackets at St. Pete Times Forum?
CREATE TABLE table_17360840_9 (record VARCHAR, location VARCHAR, opponent VARCHAR)
SELECT record FROM table_17360840_9 WHERE location = "St. Pete Times Forum" AND opponent = "Columbus Blue Jackets"
What league has a number less than 1?
CREATE TABLE table_name_11 (league VARCHAR, number INTEGER)
SELECT league FROM table_name_11 WHERE number < 1
Who was the opponents in the final on January 5, 2003, on a hard surface?
CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
SELECT opponents_in_the_final FROM table_name_19 WHERE surface = "hard" AND date = "january 5, 2003"
what season did the juventus win
CREATE TABLE table_name_54 (season VARCHAR, champion VARCHAR)
SELECT season FROM table_name_54 WHERE champion = "juventus"
what is the i/o bus when the sspec numebr is sr0n5(l1)?
CREATE TABLE table_name_28 (i_o_bus VARCHAR, sspec_number VARCHAR)
SELECT i_o_bus FROM table_name_28 WHERE sspec_number = "sr0n5(l1)"
What is the score when the attendance is greater than 134 and Workington is the home team?
CREATE TABLE table_name_30 (score VARCHAR, attendance VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_30 WHERE attendance > 134 AND home_team = "workington"
How many dates are there for tie number 12?
CREATE TABLE table_24887326_6 (date VARCHAR, tie_no VARCHAR)
SELECT COUNT(date) FROM table_24887326_6 WHERE tie_no = 12
Which club had round of group stage round 1 and 5?
CREATE TABLE table_name_1 (club VARCHAR, round VARCHAR)
SELECT club FROM table_name_1 WHERE round = "group stage round 1 and 5"
Which Quantity has a Designation of type 4?
CREATE TABLE table_name_82 (quantity INTEGER, designation VARCHAR)
SELECT AVG(quantity) FROM table_name_82 WHERE designation = "type 4"
What was the method used when the opponent was Tyson Griffin?
CREATE TABLE table_name_75 (method VARCHAR, opponent VARCHAR)
SELECT method FROM table_name_75 WHERE opponent = "tyson griffin"
What was the result of the match on grass in 1955?
CREATE TABLE table_2139023_2 (outcome VARCHAR, surface VARCHAR, year VARCHAR)
SELECT outcome FROM table_2139023_2 WHERE surface = "Grass" AND year = 1955
Which Nationality has a Round of 4?
CREATE TABLE table_name_17 (nationality VARCHAR, round VARCHAR)
SELECT nationality FROM table_name_17 WHERE round = 4
What year did jockey Ramon Dominguez have a distance of 1-1/16?
CREATE TABLE table_name_40 (year VARCHAR, distance VARCHAR, jockey VARCHAR)
SELECT year FROM table_name_40 WHERE distance = "1-1/16" AND jockey = "ramon dominguez"
what is the frequency when the format is contemporary christian music?
CREATE TABLE table_name_68 (frequency VARCHAR, format VARCHAR)
SELECT frequency FROM table_name_68 WHERE format = "contemporary christian music"
Who was the away team when the attendance was 76?
CREATE TABLE table_name_16 (away_team VARCHAR, attendance VARCHAR)
SELECT away_team FROM table_name_16 WHERE attendance = "76"
Who was the winning team on May 12?
CREATE TABLE table_name_77 (winning_team VARCHAR, date VARCHAR)
SELECT winning_team FROM table_name_77 WHERE date = "may 12"
What is the Call Sign of the Frequency by Owner CKUA Radio Foundation?
CREATE TABLE table_name_33 (call_sign VARCHAR, owner VARCHAR)
SELECT call_sign FROM table_name_33 WHERE owner = "ckua radio foundation"
What is the class of facility ID 150935?
CREATE TABLE table_name_21 (class VARCHAR, facility_id VARCHAR)
SELECT class FROM table_name_21 WHERE facility_id = 150935
How many throws does PJ have?
CREATE TABLE table_name_39 (throws VARCHAR, first VARCHAR)
SELECT throws FROM table_name_39 WHERE first = "pj"
What is every value for population (2006) with a Romanian mother tongue?
CREATE TABLE table_189893_1 (population__2006_ VARCHAR, mother_tongue VARCHAR)
SELECT population__2006_ FROM table_189893_1 WHERE mother_tongue = "Romanian"
How many flights depart from 'APG'?
CREATE TABLE FLIGHTS (SourceAirport VARCHAR)
SELECT COUNT(*) FROM FLIGHTS WHERE SourceAirport = "APG"
Who was the rider with a grid of 36?
CREATE TABLE table_name_39 (rider VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_39 WHERE grid = 36
What is Winner, when Pole Position is Ben Spies, and when Date is Elkhart Lake, Wisconsin?
CREATE TABLE table_name_41 (winner VARCHAR, pole_position VARCHAR, date VARCHAR)
SELECT winner FROM table_name_41 WHERE pole_position = "ben spies" AND date = "elkhart lake, wisconsin"
Name the total number of peletier for shortscale comparison billion
CREATE TABLE table_260938_1 (peletier VARCHAR, shortscale_comparison VARCHAR)
SELECT COUNT(peletier) FROM table_260938_1 WHERE shortscale_comparison = "Billion"
How long has the longest song spent in the top 10?
CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER)
SELECT MAX(weeks_in_top_10) FROM table_27813010_2
what is the least bronze when the nation is soviet union and the total is less than 11?
CREATE TABLE table_name_51 (bronze INTEGER, nation VARCHAR, total VARCHAR)
SELECT MIN(bronze) FROM table_name_51 WHERE nation = "soviet union" AND total < 11
Who visited phoenix with a Record of 2–5–0?
CREATE TABLE table_name_64 (visitor VARCHAR, home VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_64 WHERE home = "phoenix" AND record = "2–5–0"
What was the result in 2008?
CREATE TABLE table_name_99 (result VARCHAR, year VARCHAR)
SELECT result FROM table_name_99 WHERE year = "2008"
What is the usage for the f136e engline?
CREATE TABLE table_name_60 (usage VARCHAR, engine VARCHAR)
SELECT usage FROM table_name_60 WHERE engine = "f136e"
When did the woman, who was married 22 may 1657, cease to be the duchess?
CREATE TABLE table_name_59 (ceased_to_be_duchess VARCHAR, marriage VARCHAR)
SELECT ceased_to_be_duchess FROM table_name_59 WHERE marriage = "22 may 1657"
What is moorabbin oval's away team?
CREATE TABLE table_name_11 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_11 WHERE venue = "moorabbin oval"
What are the total wins when there are 1261 against?
CREATE TABLE table_name_46 (wins INTEGER, against VARCHAR)
SELECT SUM(wins) FROM table_name_46 WHERE against = 1261
What is shown on Tuesday when Thursday shows Fox Sports Tonight (ends 1 am next day)?
CREATE TABLE table_name_71 (tuesday VARCHAR, thursday VARCHAR)
SELECT tuesday FROM table_name_71 WHERE thursday = "fox sports tonight (ends 1 am next day)"
Venue of klfa stadium, cheras, and a Score of 3-3 had what competition?
CREATE TABLE table_name_71 (competition VARCHAR, venue VARCHAR, score VARCHAR)
SELECT competition FROM table_name_71 WHERE venue = "klfa stadium, cheras" AND score = "3-3"
Director of christophe barratier had what highest year?
CREATE TABLE table_name_3 (year INTEGER, director VARCHAR)
SELECT MAX(year) FROM table_name_3 WHERE director = "christophe barratier"
What is the game number on April 7?
CREATE TABLE table_name_43 (game VARCHAR, date VARCHAR)
SELECT COUNT(game) FROM table_name_43 WHERE date = "april 7"
When was the date of vacancy for the manager of Kartalspor?
CREATE TABLE table_27091128_3 (date_of_vacancy VARCHAR, team VARCHAR)
SELECT date_of_vacancy FROM table_27091128_3 WHERE team = "Kartalspor"
What was the label in Japan?
CREATE TABLE table_name_14 (label VARCHAR, region VARCHAR)
SELECT label FROM table_name_14 WHERE region = "japan"
What is 1997, when 1996 is "1R", when 1990 is "2R", and when 1991 is "F"?
CREATE TABLE table_name_63 (Id VARCHAR)
SELECT 1997 FROM table_name_63 WHERE 1996 = "1r" AND 1990 = "2r" AND 1991 = "f"
Which Joined has an Institution of abraham baldwin agricultural college, and an Enrollment smaller than 3,284?
CREATE TABLE table_name_96 (joined INTEGER, institution VARCHAR, enrollment VARCHAR)
SELECT MAX(joined) FROM table_name_96 WHERE institution = "abraham baldwin agricultural college" AND enrollment < 3 OFFSET 284
What is the lowest Year, when Notes is "5.19km, 18controls"?
CREATE TABLE table_name_24 (year INTEGER, notes VARCHAR)
SELECT MIN(year) FROM table_name_24 WHERE notes = "5.19km, 18controls"
Which Away team played at the Windy Hill Venue?
CREATE TABLE table_name_50 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_50 WHERE venue = "windy hill"
Where did Hawthorn play an away game?
CREATE TABLE table_name_6 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_6 WHERE away_team = "hawthorn"
What's the official website of Burning Flame 烈火雄心 with 22 episodes?
CREATE TABLE table_name_33 (official_website VARCHAR, number_of_episodes VARCHAR, english_title__chinese_title_ VARCHAR)
SELECT official_website FROM table_name_33 WHERE number_of_episodes > 22 AND english_title__chinese_title_ = "burning flame 烈火雄心"
What was Random House's copyright information?
CREATE TABLE table_name_7 (copyright_information VARCHAR, publisher VARCHAR)
SELECT copyright_information FROM table_name_7 WHERE publisher = "random house"
Avg/G that has a GP-GS of 13–13, and a Effic smaller than 114.23 has what total of numbers?
CREATE TABLE table_name_82 (avg_g VARCHAR, gp_gs VARCHAR, effic VARCHAR)
SELECT COUNT(avg_g) FROM table_name_82 WHERE gp_gs = "13–13" AND effic < 114.23
What is listed for the Tries against that has a Played of 22, along with a Club of Ystalyfera RFC?
CREATE TABLE table_name_95 (tries_against VARCHAR, played VARCHAR, club VARCHAR)
SELECT tries_against FROM table_name_95 WHERE played = "22" AND club = "ystalyfera rfc"
Name the Home captain for venue of the oval
CREATE TABLE table_name_14 (home_captain VARCHAR, venue VARCHAR)
SELECT home_captain FROM table_name_14 WHERE venue = "the oval"
what is the Identifier with 94.9 fm Frequency
CREATE TABLE table_name_19 (identifier VARCHAR, frequency VARCHAR)
SELECT identifier FROM table_name_19 WHERE frequency = "94.9 fm"