question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who was the Home team that had a decider of Conklin?
CREATE TABLE table_name_53 (home VARCHAR, decision VARCHAR)
SELECT home FROM table_name_53 WHERE decision = "conklin"
What is the toll for light vehicles at the plaza between bela bela and modimolle?
CREATE TABLE table_1211545_2 (light_vehicle VARCHAR, location VARCHAR)
SELECT light_vehicle FROM table_1211545_2 WHERE location = "between Bela Bela and Modimolle"
Which lowest rank(player) has a rebound average larger than 9, out of 920 rebounds, and who played more than 79 games?
CREATE TABLE table_name_10 (rank INTEGER, games VARCHAR, reb_avg VARCHAR, total_rebounds VARCHAR)
SELECT MIN(rank) FROM table_name_10 WHERE reb_avg > 9 AND total_rebounds = 920 AND games > 79
Name the highest revenue for schalke 04 with rank less than 10
CREATE TABLE table_name_44 (revenue__ INTEGER, team VARCHAR, rank VARCHAR)
SELECT MAX(revenue__) AS $m_ FROM table_name_44 WHERE team = "schalke 04" AND rank < 10
How many points did the driver who won $127,541 driving car #31 get?
CREATE TABLE table_name_88 (points INTEGER, winnings VARCHAR, car__number VARCHAR)
SELECT MAX(points) FROM table_name_88 WHERE winnings = "$127,541" AND car__number > 31
What is the sum of people per km2 for the sandoy region with an area of 112.1?
CREATE TABLE table_name_41 (people_per_km² INTEGER, regions VARCHAR, area VARCHAR)
SELECT SUM(people_per_km²) FROM table_name_41 WHERE regions = "sandoy" AND area = 112.1
What award did Forest Whitaker win in 1989?
CREATE TABLE table_name_54 (award VARCHAR, actor VARCHAR, year VARCHAR)
SELECT award FROM table_name_54 WHERE actor = "forest whitaker" AND year = 1989
Which Record has a Date on december 18?
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_55 WHERE date = "december 18"
How man seasons have the air date of October 2, 2001?
CREATE TABLE table_2219961_2 (season__number VARCHAR, nbc_airdate VARCHAR)
SELECT COUNT(season__number) FROM table_2219961_2 WHERE nbc_airdate = "October 2, 2001"
What is the density of 昌黎县?
CREATE TABLE table_name_34 (density___km²_ VARCHAR, hanzi VARCHAR)
SELECT density___km²_ FROM table_name_34 WHERE hanzi = "昌黎县"
How many directors for #15?
CREATE TABLE table_20942925_1 (directed_by VARCHAR, _number VARCHAR)
SELECT COUNT(directed_by) FROM table_20942925_1 WHERE _number = 15
Which arranger worked with composer Imad Shams Eldeen at 4:03?
CREATE TABLE table_name_19 (arranger VARCHAR, composer VARCHAR, length VARCHAR)
SELECT arranger FROM table_name_19 WHERE composer = "imad shams eldeen" AND length = "4:03"
Which Reason is given when 1103 is the date for Became heir?
CREATE TABLE table_name_7 (reason VARCHAR, became_heir VARCHAR)
SELECT reason FROM table_name_7 WHERE became_heir = "1103"
When did the Issue with the Title Homecoming come out?
CREATE TABLE table_name_5 (date VARCHAR, title VARCHAR)
SELECT date FROM table_name_5 WHERE title = "homecoming"
what are the total points agains the score of 63?
CREATE TABLE table_12807904_5 (points_against VARCHAR, points VARCHAR)
SELECT points_against FROM table_12807904_5 WHERE points = "63"
Name the total number of episodes for coat of cash wearing celebrity is matt di angelo
CREATE TABLE table_1590967_6 (episode_number VARCHAR, coat_of_cash_wearing_celebrity VARCHAR)
SELECT COUNT(episode_number) FROM table_1590967_6 WHERE coat_of_cash_wearing_celebrity = "Matt Di Angelo"
state the name of day in english where cardinal direction is east
CREATE TABLE table_20925393_3 (english VARCHAR, cardinal_direction VARCHAR)
SELECT english FROM table_20925393_3 WHERE cardinal_direction = "East"
What order did Lambert perform in the top 11?
CREATE TABLE table_21501511_1 (order__number VARCHAR, week__number VARCHAR)
SELECT order__number FROM table_21501511_1 WHERE week__number = "Top 11"
What team has great plains as the conference, and concordia (ne) as the school?
CREATE TABLE table_name_58 (team VARCHAR, conference VARCHAR, school VARCHAR)
SELECT team FROM table_name_58 WHERE conference = "great plains" AND school = "concordia (ne)"
What is Week 14 Nov 24, that has Week 11 Nov 3 of USC (6-2)?
CREATE TABLE table_name_44 (week_14_nov_24 VARCHAR, week_11_nov_3 VARCHAR)
SELECT week_14_nov_24 FROM table_name_44 WHERE week_11_nov_3 = "usc (6-2)"
What is Name, when Venue is "Motherwell"?
CREATE TABLE table_name_71 (name VARCHAR, venue VARCHAR)
SELECT name FROM table_name_71 WHERE venue = "motherwell"
What is the sum of totals associated with a UEFA Cup score of 4?
CREATE TABLE table_name_48 (total INTEGER, UEfa_cup VARCHAR)
SELECT SUM(total) FROM table_name_48 WHERE UEfa_cup = 4
What is the Away team score for mcg?
CREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_26 WHERE venue = "mcg"
What is the location of the University that joined in 1926, 1996 2?
CREATE TABLE table_261941_1 (location VARCHAR, joined VARCHAR)
SELECT location FROM table_261941_1 WHERE joined = "1926, 1996 2"
Which township is 35.766 sqmi?
CREATE TABLE table_18600760_15 (township VARCHAR, land___sqmi__ VARCHAR)
SELECT township FROM table_18600760_15 WHERE land___sqmi__ = "35.766"
What is the production number for Bell Hoppy in the MM Series?
CREATE TABLE table_name_21 (production_number VARCHAR, series VARCHAR, title VARCHAR)
SELECT COUNT(production_number) FROM table_name_21 WHERE series = "mm" AND title = "bell hoppy"
What is the web thickness if the flange width is 100?
CREATE TABLE table_2071644_2 (web_thickness__mm_ VARCHAR, flange_width__mm_ VARCHAR)
SELECT web_thickness__mm_ FROM table_2071644_2 WHERE flange_width__mm_ = 100
What is Player, when To Par is "7", and when Score is "73-72-67-75=287"?
CREATE TABLE table_name_10 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_10 WHERE to_par = 7 AND score = 73 - 72 - 67 - 75 = 287
What is the sum of the races in the 2007 season, which has more than 4 podiums?
CREATE TABLE table_name_40 (races INTEGER, podiums VARCHAR, season VARCHAR)
SELECT SUM(races) FROM table_name_40 WHERE podiums > 4 AND season = "2007"
What is the socket for the pentium dual-core t2410?
CREATE TABLE table_11602313_4 (socket VARCHAR, model_number VARCHAR)
SELECT socket FROM table_11602313_4 WHERE model_number = "Pentium Dual-Core T2410"
Which player has a Position of defence, and a Pick # of 6?
CREATE TABLE table_name_42 (player VARCHAR, position VARCHAR, pick__number VARCHAR)
SELECT player FROM table_name_42 WHERE position = "defence" AND pick__number = "6"
Find the number of stores in each city.
CREATE TABLE district (headquartered_city VARCHAR, district_id VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_id VARCHAR)
SELECT t3.headquartered_city, COUNT(*) FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id GROUP BY t3.headquartered_city
What is the M1A1 when the Lince was T (Short Tons)?
CREATE TABLE table_name_92 (m1a1_abrams VARCHAR, lince VARCHAR)
SELECT m1a1_abrams FROM table_name_92 WHERE lince = "t (short tons)"
Find the email and phone number of the customers who have never filed a complaint before.
CREATE TABLE complaints (email_address VARCHAR, phone_number VARCHAR, customer_id VARCHAR); CREATE TABLE customers (email_address VARCHAR, phone_number VARCHAR, customer_id VARCHAR)
SELECT email_address, phone_number FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM complaints)
Where was the 1966 final played?
CREATE TABLE table_name_12 (finals_venue__surface_ VARCHAR, year VARCHAR)
SELECT finals_venue__surface_ FROM table_name_12 WHERE year = 1966
What was the home team's score at the game held at Punt Road Oval?
CREATE TABLE table_name_51 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_51 WHERE venue = "punt road oval"
How many poles were there in 1996?
CREATE TABLE table_2182573_2 (poles INTEGER, year VARCHAR)
SELECT MIN(poles) FROM table_2182573_2 WHERE year = 1996
What was the result of the fight when Tetsuji Kato's record was 19-9?
CREATE TABLE table_name_73 (res VARCHAR, record VARCHAR)
SELECT res FROM table_name_73 WHERE record = "19-9"
What is the club when the shirt sponsor is e-lotto.be?
CREATE TABLE table_27374004_2 (club VARCHAR, shirt_sponsor VARCHAR)
SELECT club FROM table_27374004_2 WHERE shirt_sponsor = "e-lotto.be"
What is the Studio of the Rank 10 Film?
CREATE TABLE table_name_98 (studio VARCHAR, rank VARCHAR)
SELECT studio FROM table_name_98 WHERE rank = 10
what is the language when the name of award is best editing?
CREATE TABLE table_25926120_7 (language VARCHAR, name_of_award VARCHAR)
SELECT language FROM table_25926120_7 WHERE name_of_award = "Best Editing"
Which 2005 has a Güzelçamlı’s Lost Panther of green fairy?
CREATE TABLE table_name_76 (güzelçamlı’s_lost_panther VARCHAR)
SELECT 2005 FROM table_name_76 WHERE güzelçamlı’s_lost_panther = "green fairy"
What was the first season of the club who last won a title in 2012?
CREATE TABLE table_1096793_1 (first_season VARCHAR, last_title VARCHAR)
SELECT first_season FROM table_1096793_1 WHERE last_title = "2012"
Tell me the player for round more than 5 and position of c
CREATE TABLE table_name_25 (player VARCHAR, round VARCHAR, position VARCHAR)
SELECT player FROM table_name_25 WHERE round > 5 AND position = "c"
How many caps does Jon Dahl Tomasson, who has less than 0.46 goals per match, have?
CREATE TABLE table_name_97 (caps VARCHAR, name VARCHAR, goals_per_match VARCHAR)
SELECT COUNT(caps) FROM table_name_97 WHERE name = "jon dahl tomasson" AND goals_per_match < 0.46
That is the total year that Neal Baer is a nominee?
CREATE TABLE table_name_91 (year INTEGER, nominee_s_ VARCHAR)
SELECT SUM(year) FROM table_name_91 WHERE nominee_s_ = "neal baer"
Which state has a royal house of Jiang?
CREATE TABLE table_name_5 (state VARCHAR, royal_house VARCHAR)
SELECT state FROM table_name_5 WHERE royal_house = "jiang"
What is the average number of matches of leonardo in seasons after 1?
CREATE TABLE table_name_79 (matches INTEGER, name VARCHAR, seasons VARCHAR)
SELECT AVG(matches) FROM table_name_79 WHERE name = "leonardo" AND seasons > 1
What is the result under the season coach Rich Rodriguez?
CREATE TABLE table_name_29 (result VARCHAR, season_coach VARCHAR)
SELECT result FROM table_name_29 WHERE season_coach = "rich rodriguez"
Name the record for bobcats
CREATE TABLE table_name_65 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_65 WHERE home = "bobcats"
What frequency does model L34xx use?
CREATE TABLE table_24018112_1 (frequency VARCHAR, model__list_ VARCHAR)
SELECT frequency FROM table_24018112_1 WHERE model__list_ = "L34xx"
The club that had 546 points against, what was the losing bonus?
CREATE TABLE table_name_71 (losing_bonus VARCHAR, points_against VARCHAR)
SELECT losing_bonus FROM table_name_71 WHERE points_against = "546"
Show first name and last name for all students.
CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR)
SELECT Fname, Lname FROM Student
What is the rating for the episode with the night rank of 11 and timeslot rank is larger than 4?
CREATE TABLE table_name_51 (rating INTEGER, night_rank VARCHAR, timeslot_rank VARCHAR)
SELECT AVG(rating) FROM table_name_51 WHERE night_rank = "11" AND timeslot_rank > 4
How many members are not living in Hartford?
CREATE TABLE member (address VARCHAR)
SELECT COUNT(*) FROM member WHERE address <> 'Hartford'
Which February has a Game of 40?
CREATE TABLE table_name_91 (february VARCHAR, game VARCHAR)
SELECT february FROM table_name_91 WHERE game = 40
How many sets of presenters are there for the version of the show named Celebrity Masterchef?
CREATE TABLE table_28190363_1 (presenter_s_ VARCHAR, name VARCHAR)
SELECT COUNT(presenter_s_) FROM table_28190363_1 WHERE name = "Celebrity MasterChef"
What opponent has a score of 1-3?
CREATE TABLE table_name_70 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_70 WHERE score = "1-3"
Who's the owner of Thai PBS?
CREATE TABLE table_name_28 (owner VARCHAR, name VARCHAR)
SELECT owner FROM table_name_28 WHERE name = "thai pbs"
Who was the Away captain for the Test match of Australia in England where the Result was AUS by 264 runs?
CREATE TABLE table_name_56 (away_captain VARCHAR, result VARCHAR)
SELECT away_captain FROM table_name_56 WHERE result = "aus by 264 runs"
What is the release date by Virgin?
CREATE TABLE table_name_86 (release_date INTEGER, music_label VARCHAR)
SELECT AVG(release_date) FROM table_name_86 WHERE music_label = "virgin"
Where did Darius Hamilton go?
CREATE TABLE table_11677691_6 (school VARCHAR, player VARCHAR)
SELECT school FROM table_11677691_6 WHERE player = "Darius Hamilton"
What Event has a Competition of world championships?
CREATE TABLE table_name_77 (event VARCHAR, competition VARCHAR)
SELECT event FROM table_name_77 WHERE competition = "world championships"
what the highest number for the opposite of offense for the green bay packers
CREATE TABLE table_1402270_1 (team_defense_rank INTEGER, nfl_team VARCHAR)
SELECT MAX(team_defense_rank) FROM table_1402270_1 WHERE nfl_team = "Green Bay Packers"
What is the margin of victory for nikki garrett?
CREATE TABLE table_name_7 (margin_of_victory VARCHAR, winner VARCHAR)
SELECT margin_of_victory FROM table_name_7 WHERE winner = "nikki garrett"
Why did the manager who departed on August 1, 2008 leave?
CREATE TABLE table_name_69 (reason_of_departure VARCHAR, date_outgoing VARCHAR)
SELECT reason_of_departure FROM table_name_69 WHERE date_outgoing = "august 1, 2008"
What is the lowest amount of points held by the Epperly Indy roadster in 1959?
CREATE TABLE table_name_5 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT MIN(points) FROM table_name_5 WHERE chassis = "epperly indy roadster" AND year = 1959
Who was the choreographer for the dance style of Jazz?
CREATE TABLE table_name_29 (choreographer_s_ VARCHAR, style VARCHAR)
SELECT choreographer_s_ FROM table_name_29 WHERE style = "jazz"
who is the opponent on november 24?
CREATE TABLE table_name_68 (opponent VARCHAR, november VARCHAR)
SELECT opponent FROM table_name_68 WHERE november = 24
What is the kit manufacturer with Walkers as the shirt sponsor?
CREATE TABLE table_name_1 (kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)
SELECT kit_manufacturer FROM table_name_1 WHERE shirt_sponsor = "walkers"
What numbr on the list had a peak rating of 42?
CREATE TABLE table_11926114_1 (rank INTEGER, peak VARCHAR)
SELECT MIN(rank) FROM table_11926114_1 WHERE peak = 42
What is the Location with a Date that is december 10, 1963?
CREATE TABLE table_name_11 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_11 WHERE date = "december 10, 1963"
What day did they play on week 4?
CREATE TABLE table_name_56 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_56 WHERE week = 4
What are the public schools with a master's university?
CREATE TABLE table_2076595_1 (location_s_ VARCHAR, control VARCHAR, type VARCHAR)
SELECT location_s_ FROM table_2076595_1 WHERE control = "Public" AND type = "Master's university"
Which Points against has a Lost of lost?
CREATE TABLE table_name_97 (points_against VARCHAR)
SELECT points_against FROM table_name_97 WHERE "lost" = "lost"
What is the venue when fitzroy was the away team?
CREATE TABLE table_name_80 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_80 WHERE away_team = "fitzroy"
Mortlake club has more than 924 against, less than 14 losses, and how many total draws?
CREATE TABLE table_name_66 (draws VARCHAR, losses VARCHAR, against VARCHAR, club VARCHAR)
SELECT COUNT(draws) FROM table_name_66 WHERE against > 924 AND club = "mortlake" AND losses < 14
What is the name of the venue where the opponent scored 51?
CREATE TABLE table_14877831_2 (venue VARCHAR, opponents VARCHAR)
SELECT venue FROM table_14877831_2 WHERE opponents = 51
What are the maximum and minimum number of silver medals for clubs.
CREATE TABLE club_rank (Silver INTEGER)
SELECT MAX(Silver), MIN(Silver) FROM club_rank
When did Mathieu play against Andrey Golubev?
CREATE TABLE table_name_7 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_7 WHERE opponent_in_the_final = "andrey golubev"
What was the press like in Paris for Roger Francois, and Carlo Galimberti?
CREATE TABLE table_name_67 (paris___fra__ VARCHAR, roger_françois VARCHAR)
SELECT paris___fra__ FROM table_name_67 WHERE "press" = "press" AND roger_françois = "carlo galimberti"
What is the Location, when the Score is 35-31?
CREATE TABLE table_name_63 (location VARCHAR, score VARCHAR)
SELECT location FROM table_name_63 WHERE score = "35-31"
What is the novel that has a valid status, located in Mongolia, and named Prenocephale?
CREATE TABLE table_name_40 (novelty VARCHAR, name VARCHAR, status VARCHAR, location VARCHAR)
SELECT novelty FROM table_name_40 WHERE status = "valid" AND location = "mongolia" AND name = "prenocephale"
What year was stage 8 reached?
CREATE TABLE table_name_54 (year VARCHAR, stages VARCHAR)
SELECT year FROM table_name_54 WHERE stages = "8"
Which aircraft has 148/9 seating?
CREATE TABLE table_name_88 (aircraft VARCHAR, seating VARCHAR)
SELECT aircraft FROM table_name_88 WHERE seating = "148/9"
Which FCC info has a Frequency MHz of 100.7?
CREATE TABLE table_name_96 (fcc_info VARCHAR, frequency_mhz VARCHAR)
SELECT fcc_info FROM table_name_96 WHERE frequency_mhz = 100.7
What average rank that has a silver less than 0?
CREATE TABLE table_name_41 (rank INTEGER, silver INTEGER)
SELECT AVG(rank) FROM table_name_41 WHERE silver < 0
What medium was used for the sculpture by Ernest Richard Gause?
CREATE TABLE table_20903658_1 (medium VARCHAR, artist VARCHAR)
SELECT medium FROM table_20903658_1 WHERE artist = "Ernest Richard Gause"
How many horses are mentioned competing in 1985?
CREATE TABLE table_21676617_1 (horse VARCHAR, year VARCHAR)
SELECT COUNT(horse) FROM table_21676617_1 WHERE year = 1985
How many o-19% are where the quartier is in saint-loup?
CREATE TABLE table_29615165_5 (_percentage_0_19_years VARCHAR, quartier VARCHAR)
SELECT _percentage_0_19_years FROM table_29615165_5 WHERE quartier = "Saint-Loup"
What is the lowest React, when Mark is 46.26 sb, and when Lane is greater than 6?
CREATE TABLE table_name_61 (react INTEGER, mark VARCHAR, lane VARCHAR)
SELECT MIN(react) FROM table_name_61 WHERE mark = "46.26 sb" AND lane > 6
Find the name of the customers who have at most two orders.
CREATE TABLE orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
SELECT T2.customer_name FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING COUNT(*) <= 2
What is the total Money (£) of Player of nick faldo?
CREATE TABLE table_name_56 (money___ INTEGER, player VARCHAR)
SELECT SUM(money___) AS £__ FROM table_name_56 WHERE player = "nick faldo"
The engine family MaxxForce 5 in the years produced 2007-current, have what cylinder layout?
CREATE TABLE table_26352332_4 (cylinder_layout VARCHAR, years_produced VARCHAR, engine_family VARCHAR)
SELECT cylinder_layout FROM table_26352332_4 WHERE years_produced = "2007-current" AND engine_family = "MaxxForce 5"
When Cleveland was 2nd, great lakes in the regular season what did they get to in the playoffs?
CREATE TABLE table_2357201_1 (playoffs VARCHAR, regular_season VARCHAR)
SELECT playoffs FROM table_2357201_1 WHERE regular_season = "2nd, Great Lakes"
What date did episode one air on?
CREATE TABLE table_name_38 (date VARCHAR, episode VARCHAR)
SELECT date FROM table_name_38 WHERE episode = "one"
Which Date has a Score of 2–3, a Time of 20:30, and a Set 3 of 16–25?
CREATE TABLE table_name_38 (date VARCHAR, set_3 VARCHAR, score VARCHAR, time VARCHAR)
SELECT date FROM table_name_38 WHERE score = "2–3" AND time = "20:30" AND set_3 = "16–25"
How many episodes had production number 2x13?
CREATE TABLE table_26293875_3 (season__number VARCHAR, prod_no VARCHAR)
SELECT COUNT(season__number) FROM table_26293875_3 WHERE prod_no = "2x13"
What neon has a krypton of 213?
CREATE TABLE table_name_61 (neon VARCHAR, krypton VARCHAR)
SELECT neon FROM table_name_61 WHERE krypton = "213"
how many subdivisions have an English Name of jiyang?
CREATE TABLE table_name_24 (population VARCHAR, english_name VARCHAR)
SELECT COUNT(population) FROM table_name_24 WHERE english_name = "jiyang"