answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT verb_meaning FROM table_name_64 WHERE class = "4"
What is the verb meaning for class 4?
CREATE TABLE table_name_64 (verb_meaning VARCHAR, class VARCHAR)
SELECT score FROM table_name_26 WHERE surface = "hard (i)" AND tournament = "columbus, ohio"
What score has hard (i) as the surface, and Columbus, Ohio as the tournament?
CREATE TABLE table_name_26 (score VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT MAX(public) FROM table_26375386_18 WHERE couple = "Danniella and Matthew"
WHat was the max public with danniella and matthew?
CREATE TABLE table_26375386_18 (public INTEGER, couple VARCHAR)
SELECT T2.guest_first_name, T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id
Show the guest first names, start dates, and end dates of all the apartment bookings.
CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, guest_id VARCHAR); CREATE TABLE Guests (guest_first_name VARCHAR, guest_id VARCHAR)
SELECT MIN(laps) FROM table_name_16 WHERE qual = "138.750"
What car had the fewest laps with a qual of 138.750?
CREATE TABLE table_name_16 (laps INTEGER, qual VARCHAR)
SELECT circuit FROM table_name_66 WHERE winning_driver = "michael andretti"
Which circuit did Michael Andretti win?
CREATE TABLE table_name_66 (circuit VARCHAR, winning_driver VARCHAR)
SELECT MAX(el_places) FROM table_name_4 WHERE rank_2013 = "15"
Which EL places have a Rank 2013 of 15?
CREATE TABLE table_name_4 (el_places INTEGER, rank_2013 VARCHAR)
SELECT lost FROM table_name_67 WHERE points = "86"
What lost has 86 points?
CREATE TABLE table_name_67 (lost VARCHAR, points VARCHAR)
SELECT win_percentage FROM table_name_62 WHERE lost = 5 AND drew = 0
What is the Win percentage where there were 5 lost and 0 is drew?
CREATE TABLE table_name_62 (win_percentage VARCHAR, lost VARCHAR, drew VARCHAR)
SELECT date_of_vacancy FROM table_name_2 WHERE team = "firpo" AND replaced_by = "oscar benitez"
what is the date of vacancy when the team is firpo and replaced by is oscar benitez?
CREATE TABLE table_name_2 (date_of_vacancy VARCHAR, team VARCHAR, replaced_by VARCHAR)
SELECT invoice_number FROM invoices WHERE invoice_date < "1989-09-03" OR invoice_date > "2007-12-25"
Find the invoice numbers which are created before 1989-09-03 or after 2007-12-25.
CREATE TABLE invoices (invoice_number VARCHAR, invoice_date VARCHAR)
SELECT MAX(rolex_ranking) FROM table_29506171_2 WHERE money_list_rank = "3"
What was Reid's rolex ranking in the year that her money list rank was 3?
CREATE TABLE table_29506171_2 (rolex_ranking INTEGER, money_list_rank VARCHAR)
SELECT capacity FROM table_name_37 WHERE class = "4c3h"
Which capacity has the class 4c3h?
CREATE TABLE table_name_37 (capacity VARCHAR, class VARCHAR)
SELECT country FROM table_name_61 WHERE format = "cd" AND label = "sony music" AND catalogue_no = "sicp-2055"
What is the country that has the format of cd, the label of sony music and the catalogue no sicp-2055?
CREATE TABLE table_name_61 (country VARCHAR, catalogue_no VARCHAR, format VARCHAR, label VARCHAR)
SELECT MIN(points_for) FROM table_name_38 WHERE points_against < 93 AND tries_for > 25
Which Points for has Points against smaller than 93, and Tries for larger than 25?
CREATE TABLE table_name_38 (points_for INTEGER, points_against VARCHAR, tries_for VARCHAR)
SELECT date FROM table_name_34 WHERE loss = "white (4-5)"
What was the date of the game with a loss of White (4-5)?
CREATE TABLE table_name_34 (date VARCHAR, loss VARCHAR)
SELECT score FROM table_name_93 WHERE december < 14 AND game = 12
Which Score has a December smaller than 14, and a Game of 12?
CREATE TABLE table_name_93 (score VARCHAR, december VARCHAR, game VARCHAR)
SELECT AVG(top_5) FROM table_name_74 WHERE top_10 = 2 AND top_25 > 4
What is the average Top-5 finishes with 2 as the Top-10 and a greater than 4 Top-25?
CREATE TABLE table_name_74 (top_5 INTEGER, top_10 VARCHAR, top_25 VARCHAR)
SELECT meaning FROM table_287159_1 WHERE genitive = "Puppis /ˈpʌpɨs/"
What is the meaning of the constellation that has puppis /ˈpʌpɨs/ as genitive?
CREATE TABLE table_287159_1 (meaning VARCHAR, genitive VARCHAR)
SELECT part_1 FROM table_name_36 WHERE class = "7d"
Which part one is class 7d?
CREATE TABLE table_name_36 (part_1 VARCHAR, class VARCHAR)
SELECT COUNT(starts) FROM table_name_18 WHERE wins > 2 AND money_list_rank > 1
Which total number of starts has more than 2 wins and a money list rank greater than 1?
CREATE TABLE table_name_18 (starts VARCHAR, wins VARCHAR, money_list_rank VARCHAR)
SELECT COUNT(total) FROM table_name_32 WHERE gold = 1 AND rank < 2
How many totals have 1 gold and a rank smaller than 2?
CREATE TABLE table_name_32 (total VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT enrolled_women FROM table_25042332_30 WHERE e_vap_ratio_women = "108.6%"
what is the number of registered female voters where the percentage is 108.6%
CREATE TABLE table_25042332_30 (enrolled_women VARCHAR, e_vap_ratio_women VARCHAR)
SELECT AVG(attendance) FROM table_name_74 WHERE week = 7
In week 7, what was the average attendance?
CREATE TABLE table_name_74 (attendance INTEGER, week VARCHAR)
SELECT COUNT(january__) AS °c_ FROM table_21980_1 WHERE july__°c_ = "23/15"
What is the total number of January (°C) temperatures when the July (°C) temperatures were 23/15?
CREATE TABLE table_21980_1 (january__ VARCHAR, july__°c_ VARCHAR)
SELECT team FROM table_24466191_1 WHERE season = 2010
Name the team for season 2010
CREATE TABLE table_24466191_1 (team VARCHAR, season VARCHAR)
SELECT model FROM table_name_94 WHERE gcm__kg__technical_capacity = "35000" AND gvm__kg__technical_capacity = "16000" AND engine_make_capacity = "cummins interact 6.0-euro iii (turbo intercooler)"
Which Model has a GCM (kg) Technical Capacity of 35000, a GVM (kg) Technical Capacity of 16000, and Cummins Interact 6.0-euro III (turbo intercooler) for the Engine?
CREATE TABLE table_name_94 (model VARCHAR, engine_make_capacity VARCHAR, gcm__kg__technical_capacity VARCHAR, gvm__kg__technical_capacity VARCHAR)
SELECT opponent FROM table_name_50 WHERE record = "24-26-4"
Who is the opponent of the game that had a record of 24-26-4?
CREATE TABLE table_name_50 (opponent VARCHAR, record VARCHAR)
SELECT loa__metres_ FROM table_25594271_2 WHERE yacht = "Ichi Ban"
What were the LOA metres for the yacht ichi ban?
CREATE TABLE table_25594271_2 (loa__metres_ VARCHAR, yacht VARCHAR)
SELECT nature_of_incident FROM table_name_99 WHERE location = "imam sahib area, kunduz province"
What was the incident in imam sahib area, kunduz province?
CREATE TABLE table_name_99 (nature_of_incident VARCHAR, location VARCHAR)
SELECT COUNT(solo) FROM table_name_45 WHERE sacks = 2 AND team = "new york jets"
What is the total value for Solo, when the value of Sacks is 2, and when the Team is New York Jets?
CREATE TABLE table_name_45 (solo VARCHAR, sacks VARCHAR, team VARCHAR)
SELECT host_team FROM table_name_57 WHERE stadium = "giants stadium" AND visiting_team = "cincinnati bengals"
Tell me the host team for giants stadium and visiting of cincinnati bengals
CREATE TABLE table_name_57 (host_team VARCHAR, stadium VARCHAR, visiting_team VARCHAR)
SELECT fri_3_june FROM table_29218221_1 WHERE tues_31_may = "19' 18.80 117.215mph"
What is the Fri 3 June time for the rider whose Tues 31 May time was 19' 18.80 117.215mph?
CREATE TABLE table_29218221_1 (fri_3_june VARCHAR, tues_31_may VARCHAR)
SELECT date FROM table_name_15 WHERE athlete = "yussuf alli"
What is Date, when Athlete is "Yussuf Alli"?
CREATE TABLE table_name_15 (date VARCHAR, athlete VARCHAR)
SELECT date FROM table_name_73 WHERE attendance = "67,472"
Which date had 67,472 in attendance?
CREATE TABLE table_name_73 (date VARCHAR, attendance VARCHAR)
SELECT COUNT(bronze) FROM table_name_2 WHERE total > 2 AND gold = 0 AND sport = "athletics"
When athletics has a total more than 2 and 0 gold, what is the total number of bronze?
CREATE TABLE table_name_2 (bronze VARCHAR, sport VARCHAR, total VARCHAR, gold VARCHAR)
SELECT works_number FROM table_name_88 WHERE type = "0-4-4 forney locomotive" AND builder = "h. k. porter, inc"
Builder H. K. Porter, inc who had a type of 0-4-4 Forney locomotive, has what works number?
CREATE TABLE table_name_88 (works_number VARCHAR, type VARCHAR, builder VARCHAR)
SELECT power FROM table_name_49 WHERE acceleration_0_100km_h__0_62mph_ = "9.1 s"
What is the Power when the acceleration 0–100km/h (0–62mph) is 9.1 s?
CREATE TABLE table_name_49 (power VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)
SELECT winning_driver FROM table_name_27 WHERE constructor = "brm"
Who is the winning driver that has a construction of brm?
CREATE TABLE table_name_27 (winning_driver VARCHAR, constructor VARCHAR)
SELECT candidate FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia"
What is the name of the player from Maylands, Western Australia?
CREATE TABLE table_24501530_1 (candidate VARCHAR, hometown VARCHAR)
SELECT location FROM table_13943239_1 WHERE episode = "12th Pride of Britain Awards"
Where was held the ceremony for the 12th Pride of Britain Awards?
CREATE TABLE table_13943239_1 (location VARCHAR, episode VARCHAR)
SELECT class FROM table_name_85 WHERE laps < 71 AND team = "liqui moly equipe"
What is the class of team liqui moly equipe, which has less than 71 laps?
CREATE TABLE table_name_85 (class VARCHAR, laps VARCHAR, team VARCHAR)
SELECT wounded FROM table_11793221_2 WHERE complement = "173 off 2059 men"
How many were wounded when the complement was 173 off 2059 men?
CREATE TABLE table_11793221_2 (wounded VARCHAR, complement VARCHAR)
SELECT COUNT(*) FROM artist WHERE age > 46 AND year_join > 1990
How many artists are above age 46 and joined after 1990?
CREATE TABLE artist (age VARCHAR, year_join VARCHAR)
SELECT result FROM table_name_63 WHERE date = "10/11/1930"
What is the Result of the game on 10/11/1930?
CREATE TABLE table_name_63 (result VARCHAR, date VARCHAR)
SELECT city FROM table_name_69 WHERE first_season_of_current_spell_in_segunda_división < 2013
Which city has a First season of current spell in Segunda División smaller than 2013?
CREATE TABLE table_name_69 (city VARCHAR, first_season_of_current_spell_in_segunda_división INTEGER)
SELECT surface FROM table_177273_2 WHERE score = "6–4, 6–4"
On what surface was the game played with a score of 6–4, 6–4?
CREATE TABLE table_177273_2 (surface VARCHAR, score VARCHAR)
SELECT high_rebounds FROM table_name_16 WHERE date = "november 5"
Can you tell me the High rebounds that has the Date of november 5?
CREATE TABLE table_name_16 (high_rebounds VARCHAR, date VARCHAR)
SELECT round FROM table_name_36 WHERE event = "cage rage 17"
What Round is the Event cage rage 17?
CREATE TABLE table_name_36 (round VARCHAR, event VARCHAR)
SELECT venue FROM table_name_98 WHERE result = "1–2"
Which venue has a Result of 1–2?
CREATE TABLE table_name_98 (venue VARCHAR, result VARCHAR)
SELECT player FROM table_name_86 WHERE school_club_team = "auburn"
Who is the player from Auburn?
CREATE TABLE table_name_86 (player VARCHAR, school_club_team VARCHAR)
SELECT preliminaries FROM table_name_99 WHERE swimsuit < 8.948 AND interview = 8.997
What is the preliminaries of the contestant with a swimsuit less than 8.948 and an interview of 8.997?
CREATE TABLE table_name_99 (preliminaries VARCHAR, swimsuit VARCHAR, interview VARCHAR)
SELECT other_[c_] FROM table_name_46 WHERE fa_cup = "0 44 0 (0)"
With a FA Cup of 0 44 0 (0), the other [C] is listed as what?
CREATE TABLE table_name_46 (other_ VARCHAR, c_ VARCHAR, fa_cup VARCHAR)
SELECT MAX(technical) FROM table_name_77 WHERE athlete = "jiang tingting & jiang wenwen" AND total > 96.334
What is the technical number for Jiang Tingting & Jiang Wenwen, and the total was more than 96.334?
CREATE TABLE table_name_77 (technical INTEGER, athlete VARCHAR, total VARCHAR)
SELECT Ends AS won FROM table_25107064_2 WHERE blank_ends = 0
Name the ends won for blank ends for 0
CREATE TABLE table_25107064_2 (Ends VARCHAR, blank_ends VARCHAR)
SELECT period FROM table_24565004_13 WHERE name = "Michel Llodra"
Name the period for michel llodra
CREATE TABLE table_24565004_13 (period VARCHAR, name VARCHAR)
SELECT race FROM table_1140085_2 WHERE fastest_lap = "Jean-Pierre Jarier"
what is the race where the fastest lap is by jean-pierre jarier?
CREATE TABLE table_1140085_2 (race VARCHAR, fastest_lap VARCHAR)
SELECT MAX(total) FROM table_19744915_18 WHERE couple = "Ellery and Frankie"
When ellery and frankie are the couple what is the highest total?
CREATE TABLE table_19744915_18 (total INTEGER, couple VARCHAR)
SELECT SUM(december) FROM table_name_63 WHERE record = "7-2-2" AND game < 11
What day in December was the game before game 11 with a record of 7-2-2?
CREATE TABLE table_name_63 (december INTEGER, record VARCHAR, game VARCHAR)
SELECT name, height, prominence FROM mountain WHERE range <> 'Aberdare Range'
What are the name, height and prominence of mountains which do not belong to the range 'Aberdare Range'?
CREATE TABLE mountain (name VARCHAR, height VARCHAR, prominence VARCHAR, range VARCHAR)
SELECT registration FROM table_22180353_1 WHERE type = "T 6 G"
What is every registration for the type of T 6 G?
CREATE TABLE table_22180353_1 (registration VARCHAR, type VARCHAR)
SELECT ratings FROM table_name_83 WHERE host = "chris economaki" AND viewers = "12.3 million"
What were the ratings for host Chris Economaki who had 12.3 million viewers?
CREATE TABLE table_name_83 (ratings VARCHAR, host VARCHAR, viewers VARCHAR)
SELECT MIN(rank) FROM table_name_2 WHERE country = "denmark" AND total < 1
What is the lowest Rank of Denmark County with a Total smaller than 1?
CREATE TABLE table_name_2 (rank INTEGER, country VARCHAR, total VARCHAR)
SELECT surface FROM table_name_40 WHERE score = "7–5, 6–7, 4–6"
What was the Surface in the match with a Score of 7–5, 6–7, 4–6?
CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_72 WHERE venue = "windy hill"
What is the away team for the game at Windy Hill?
CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR)
SELECT league FROM table_name_16 WHERE year = "1994"
Name the league for 1994
CREATE TABLE table_name_16 (league VARCHAR, year VARCHAR)
SELECT record FROM table_24136814_3 WHERE date = "September 7"
What was the record for the Argonauts on September 7?
CREATE TABLE table_24136814_3 (record VARCHAR, date VARCHAR)
SELECT COUNT(tongyong) FROM table_17015_2 WHERE hanyu = "Qiaotou"
Name the tongyong for qiaotou
CREATE TABLE table_17015_2 (tongyong VARCHAR, hanyu VARCHAR)
SELECT venue FROM table_name_86 WHERE year = "2002"
What is the venue in 2002?
CREATE TABLE table_name_86 (venue VARCHAR, year VARCHAR)
SELECT poor_law_union FROM table_28802165_1 WHERE townland = "Marshalstown"
What is the poor law union on Marshalstown?
CREATE TABLE table_28802165_1 (poor_law_union VARCHAR, townland VARCHAR)
SELECT nationality FROM table_10015132_2 WHERE player = "Muggsy Bogues"
What nationality is the player Muggsy Bogues?
CREATE TABLE table_10015132_2 (nationality VARCHAR, player VARCHAR)
SELECT player FROM table_11545282_10 WHERE no = "22" AND position = "Forward"
Which forward player has the number 22?
CREATE TABLE table_11545282_10 (player VARCHAR, no VARCHAR, position VARCHAR)
SELECT difference FROM table_name_57 WHERE position < 3 AND points = 17
What is the Difference with a position of less than 3, and, 17 points.
CREATE TABLE table_name_57 (difference VARCHAR, position VARCHAR, points VARCHAR)
SELECT SUM(form) FROM table_name_70 WHERE pages > 17 AND total_assets = "$1,801,154"
What is the sum of forms with greater than 17 pages and a total of $1,801,154?
CREATE TABLE table_name_70 (form INTEGER, pages VARCHAR, total_assets VARCHAR)
SELECT type FROM table_name_62 WHERE bie_recognised = "yes" AND year_s_ = "1960"
what is the type when the bie recognised is yes and year(s) is 1960?
CREATE TABLE table_name_62 (type VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR)
SELECT couple FROM table_26375386_16 WHERE total = 8
What couple had a total of 8?
CREATE TABLE table_26375386_16 (couple VARCHAR, total VARCHAR)
SELECT to_par FROM table_name_56 WHERE finish = "t14"
What is the To par of the player with a t14 Finish?
CREATE TABLE table_name_56 (to_par VARCHAR, finish VARCHAR)
SELECT type FROM table_name_40 WHERE formed_from = "6-pul trailer third in res unit"
Name the typed for formed from 6-pul trailer third in res unit
CREATE TABLE table_name_40 (type VARCHAR, formed_from VARCHAR)
SELECT nominating_festival FROM table_name_69 WHERE film = "adjustment"
What Nominating festival was party of the adjustment film?
CREATE TABLE table_name_69 (nominating_festival VARCHAR, film VARCHAR)
SELECT australian FROM table_name_95 WHERE examples = "amœba, anemone, ascesis"
What is Australian, when Examples is "amœba, anemone, ascesis"?
CREATE TABLE table_name_95 (australian VARCHAR, examples VARCHAR)
SELECT date FROM table_name_18 WHERE round < 10 AND circuit = "norisring"
What is Date, when Round is less than 10, and when Circuit is "Norisring"?
CREATE TABLE table_name_18 (date VARCHAR, round VARCHAR, circuit VARCHAR)
SELECT MAX(silver) FROM table_22355_71
How many silver medalist was won?
CREATE TABLE table_22355_71 (silver INTEGER)
SELECT title FROM songs WHERE title LIKE '% the %'
Find all the songs whose name contains the word "the".
CREATE TABLE songs (title VARCHAR)
SELECT venue FROM table_name_13 WHERE notes = "team" AND year < 2010
What is the venue of the team race that was before 2010?
CREATE TABLE table_name_13 (venue VARCHAR, notes VARCHAR, year VARCHAR)
SELECT MIN(points) FROM table_name_93 WHERE chassis = "dallara f303"
What are the lowest points for an engine with a Dallara F303 chassis?
CREATE TABLE table_name_93 (points INTEGER, chassis VARCHAR)
SELECT COUNT(*) FROM region
How many regions do we have?
CREATE TABLE region (Id VARCHAR)
SELECT name FROM table_27487310_5 WHERE network = "SBS 6"
What is the version aired on SBS 6 called?
CREATE TABLE table_27487310_5 (name VARCHAR, network VARCHAR)
SELECT date FROM table_name_92 WHERE week = 7
what is the date of week 7
CREATE TABLE table_name_92 (date VARCHAR, week VARCHAR)
SELECT bolton_wanderers_career FROM table_name_77 WHERE apps = 293
Which Bolton Wanderers career has 293 Apps?
CREATE TABLE table_name_77 (bolton_wanderers_career VARCHAR, apps VARCHAR)
SELECT date FROM table_name_90 WHERE opponent = "inter milan"
What is the date of the game where Inter Milan was the opponent.
CREATE TABLE table_name_90 (date VARCHAR, opponent VARCHAR)
SELECT AVG(round) FROM table_name_64 WHERE pick__number < 236 AND position = "offensive guard"
what is the round when the pick # is less than 236 and the position is offensive guard?
CREATE TABLE table_name_64 (round INTEGER, pick__number VARCHAR, position VARCHAR)
SELECT position FROM table_name_51 WHERE nationality = "canada" AND nhl_team = "boston bruins"
What position is the player that is from Canada and on the Boston Bruins
CREATE TABLE table_name_51 (position VARCHAR, nationality VARCHAR, nhl_team VARCHAR)
SELECT SUM(goals) FROM table_name_7 WHERE rank < 10 AND name = "nicolas anelka" AND appearances > 9
What is the total Goals with a Rank smaller than 10, a Name of nicolas anelka, and Appearances larger than 9?
CREATE TABLE table_name_7 (goals INTEGER, appearances VARCHAR, rank VARCHAR, name VARCHAR)
SELECT MAX(points) FROM table_name_33 WHERE chassis = "alfa romeo 177" AND year < 1979
Name the most points for years before 1979 and chassis of alfa romeo 177
CREATE TABLE table_name_33 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT DISTINCT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' OR T3.activity_name = 'Kayaking'
Find the first names of the faculty members who are playing Canoeing or Kayaking.
CREATE TABLE activity (activity_name VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR); CREATE TABLE Faculty (lname VARCHAR, facID VARCHAR)
SELECT COUNT(game) FROM table_name_42 WHERE record = "30-28-4" AND march > 1
How many games ended in a record of 30-28-4, with a March more than 1?
CREATE TABLE table_name_42 (game VARCHAR, record VARCHAR, march VARCHAR)
SELECT venue FROM table_20140132_1 WHERE team = "Terek"
What is the venue for the team Terek?
CREATE TABLE table_20140132_1 (venue VARCHAR, team VARCHAR)
SELECT home_team FROM table_name_76 WHERE away_team = "geelong"
Who was the home team when Geelong was the away team?
CREATE TABLE table_name_76 (home_team VARCHAR, away_team VARCHAR)
SELECT MAX(pick) FROM table_name_49 WHERE overall < 217 AND name = "alfred morris" AND round < 6
what is the pick for alfred morris when the overall is less than 217, and the round is smaller than 6?
CREATE TABLE table_name_49 (pick INTEGER, round VARCHAR, overall VARCHAR, name VARCHAR)
SELECT nation FROM table_name_84 WHERE performance = "9.69"
Which nation ran a time of 9.69 seconds?
CREATE TABLE table_name_84 (nation VARCHAR, performance VARCHAR)