answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT COUNT(driver___passenger) FROM table_17176509_4 WHERE position = 30
CREATE TABLE table_17176509_4 (driver___passenger VARCHAR, position VARCHAR)
Name the driver/passenger for 30
SELECT MAX(bike_no) FROM table_17176509_4 WHERE position = 30
CREATE TABLE table_17176509_4 (bike_no INTEGER, position VARCHAR)
Name the max bike number of position for 30
SELECT high_points FROM table_17190012_12 WHERE game = 4
CREATE TABLE table_17190012_12 (high_points VARCHAR, game VARCHAR)
Who had the most points in game 4?
SELECT COUNT(going_to) FROM table_17200372_2 WHERE calling_at = "Thurlby, Braceborough Spa" AND departure = "16.50"
CREATE TABLE table_17200372_2 (going_to VARCHAR, calling_at VARCHAR, departure VARCHAR)
Name the number of going to for thurlby, braceborough spa at departure being 16.50
SELECT departure FROM table_17200372_2 WHERE going_to = "Spalding"
CREATE TABLE table_17200372_2 (departure VARCHAR, going_to VARCHAR)
Name the departure for spalding
SELECT high_points FROM table_17190012_7 WHERE record = "27–5"
CREATE TABLE table_17190012_7 (high_points VARCHAR, record VARCHAR)
who scored highest points on the game with record 27–5
SELECT high_rebounds FROM table_17190012_7 WHERE score = "W 105–88 (OT)"
CREATE TABLE table_17190012_7 (high_rebounds VARCHAR, score VARCHAR)
who did highest rebounds in the game with score w 105–88 (ot)
SELECT COUNT(record) FROM table_17190012_7 WHERE score = "W 121–119 (OT)"
CREATE TABLE table_17190012_7 (record VARCHAR, score VARCHAR)
how many records were made on the game that ended with score w 121–119 (ot)
SELECT position_in_table FROM table_17201869_3 WHERE replaced_by = "Lucas Alcaraz"
CREATE TABLE table_17201869_3 (position_in_table VARCHAR, replaced_by VARCHAR)
What was the team's position when the new manager was Lucas Alcaraz?
SELECT replaced_by FROM table_17201869_3 WHERE outgoing_manager = "José Ángel Ziganda"
CREATE TABLE table_17201869_3 (replaced_by VARCHAR, outgoing_manager VARCHAR)
Who replaced outgoing manager José Ángel Ziganda?
SELECT grid FROM table_17244483_1 WHERE points = "19"
CREATE TABLE table_17244483_1 (grid VARCHAR, points VARCHAR)
What grid did the driver who earned 19 points start at?
SELECT COUNT(grid) FROM table_17244483_1 WHERE driver = "Scott Dixon"
CREATE TABLE table_17244483_1 (grid VARCHAR, driver VARCHAR)
Scott Dixon had how many Grid positions?
SELECT time_retired FROM table_17244483_1 WHERE car_no = 15
CREATE TABLE table_17244483_1 (time_retired VARCHAR, car_no VARCHAR)
Car number 15 earned what time?
SELECT COUNT(fin_pos) FROM table_17244483_1 WHERE time_retired = "+10.8098"
CREATE TABLE table_17244483_1 (fin_pos VARCHAR, time_retired VARCHAR)
How many positions did the car with a final time of +10.8098 finish in?
SELECT MIN(fin_pos) FROM table_17244483_1 WHERE driver = "Darren Manning"
CREATE TABLE table_17244483_1 (fin_pos INTEGER, driver VARCHAR)
Darren Manning finished in what position?
SELECT position FROM table_17246160_1 WHERE team = "Josef Kaufmann Racing"
CREATE TABLE table_17246160_1 (position VARCHAR, team VARCHAR)
What was the position for the Josef Kaufmann Racing team?
SELECT MAX(poles) FROM table_17246160_1 WHERE series = "Formula BMW Pacific"
CREATE TABLE table_17246160_1 (poles INTEGER, series VARCHAR)
How many poles did the player have during the Formula BMW Pacific race?
SELECT MAX(season) FROM table_17246160_1 WHERE points = 0 AND position = "31st"
CREATE TABLE table_17246160_1 (season INTEGER, points VARCHAR, position VARCHAR)
Which season did he have 0 points and 31st position?
SELECT wins FROM table_17246160_1 WHERE series = "Formula BMW World Final"
CREATE TABLE table_17246160_1 (wins VARCHAR, series VARCHAR)
How many wins did the player have in the Formula BMW World Final?
SELECT air_date FROM table_17257687_1 WHERE event_2 = "Hang Tough"
CREATE TABLE table_17257687_1 (air_date VARCHAR, event_2 VARCHAR)
On what date was the episode aired where event 2 was Hang Tough?
SELECT event_2 FROM table_17257687_1 WHERE event_4 = "Whiplash"
CREATE TABLE table_17257687_1 (event_2 VARCHAR, event_4 VARCHAR)
When event 4 was Whiplash, what was event 2?
SELECT COUNT(air_date) FROM table_17257687_1 WHERE event_1 = "Suspension Bridge"
CREATE TABLE table_17257687_1 (air_date VARCHAR, event_1 VARCHAR)
On how many different dates was event 1 Suspension Bridge?
SELECT COUNT(episode_number) FROM table_17257687_1 WHERE event_4 = "The Wall" AND event_1 = "Pendulum"
CREATE TABLE table_17257687_1 (episode_number VARCHAR, event_4 VARCHAR, event_1 VARCHAR)
On which episode number is event 4 The Wall and event 1 the Pendulum?
SELECT event_2 FROM table_17257687_1 WHERE event_1 = "Atlasphere"
CREATE TABLE table_17257687_1 (event_2 VARCHAR, event_1 VARCHAR)
What was event 2 when event 1 was Atlasphere?
SELECT car_no FROM table_17256857_1 WHERE driver = "Darren Manning"
CREATE TABLE table_17256857_1 (car_no VARCHAR, driver VARCHAR)
What is the car number driven by Darren Manning?
SELECT MAX(fin_pos) FROM table_17256857_1 WHERE points = "50"
CREATE TABLE table_17256857_1 (fin_pos INTEGER, points VARCHAR)
Which position earned 50 points?
SELECT COUNT(grid) FROM table_17256857_1 WHERE driver = "Vitor Meira"
CREATE TABLE table_17256857_1 (grid VARCHAR, driver VARCHAR)
How many drivers on the grid are called Vitor Meira?
SELECT MIN(result) FROM table_17265535_7 WHERE equation = "0 × 9² + 3 × 9 + 3"
CREATE TABLE table_17265535_7 (result INTEGER, equation VARCHAR)
If the equation is 0 × 9² + 3 × 9 + 3, what is the result?
SELECT MAX(3 AS rd_throw) FROM table_17265535_7 WHERE equation = "6 × 9² + 6 × 9 + 6"
CREATE TABLE table_17265535_7 (equation VARCHAR)
If the equation is 6 × 9² + 6 × 9 + 6, what is the 3rd throw?
SELECT MIN(2 AS nd_throw) FROM table_17265535_7 WHERE equation = "8 × 9² + 8 × 9 + 8"
CREATE TABLE table_17265535_7 (equation VARCHAR)
If the equation is 8 × 9² + 8 × 9 + 8, what is the 2nd throw?
SELECT 2 AS nd_throw FROM table_17265535_7 WHERE equation = "1 × 9² + 4 × 9 + 0"
CREATE TABLE table_17265535_7 (equation VARCHAR)
If the equation is 1 × 9² + 4 × 9 + 0, what is the 2nd throw?
SELECT MAX(2 AS nd_throw) FROM table_17265535_7 WHERE equation = "6 × 9² + 6 × 9 + 6"
CREATE TABLE table_17265535_7 (equation VARCHAR)
If the equation is 6 × 9² + 6 × 9 + 6, what is the 2nd throw?
SELECT 2 AS nd_leg FROM table_17282875_3 WHERE team__number1 = "San Lorenzo"
CREATE TABLE table_17282875_3 (team__number1 VARCHAR)
When they played San Lorenzo, what was the score of the second leg?
SELECT COUNT(1 AS st_leg) FROM table_17282875_3 WHERE team__number2 = "Universidad de Chile"
CREATE TABLE table_17282875_3 (team__number2 VARCHAR)
When they played Universidad de Chile, what was the score of the first leg?
SELECT team__number2 FROM table_17282875_3 WHERE team__number1 = "San Lorenzo"
CREATE TABLE table_17282875_3 (team__number2 VARCHAR, team__number1 VARCHAR)
Who played San Lorenzo?
SELECT team__number2 FROM table_17282875_3 WHERE team__number1 = "River Plate"
CREATE TABLE table_17282875_3 (team__number2 VARCHAR, team__number1 VARCHAR)
Who played River Plate?
SELECT COUNT(1 AS st_leg) FROM table_17282875_2 WHERE team__number2 = "Botafogo"
CREATE TABLE table_17282875_2 (team__number2 VARCHAR)
What was the score on the 1st leg if the team 2 is botafogo?
SELECT team__number2 FROM table_17282875_2 WHERE team__number1 = "Vitória"
CREATE TABLE table_17282875_2 (team__number2 VARCHAR, team__number1 VARCHAR)
Who played against team 1 Vitória?
SELECT team__number2 FROM table_17282875_2 WHERE team__number1 = "Liverpool"
CREATE TABLE table_17282875_2 (team__number2 VARCHAR, team__number1 VARCHAR)
Who played against team 1 Liverpool?
SELECT points FROM table_17282875_2 WHERE team__number2 = "Deportivo Anzoátegui"
CREATE TABLE table_17282875_2 (points VARCHAR, team__number2 VARCHAR)
What was the game's points against Team 2 Deportivo Anzoátegui?
SELECT COUNT(high_points) FROM table_17288825_10 WHERE location_attendance = "US Airways Center 18,422"
CREATE TABLE table_17288825_10 (high_points VARCHAR, location_attendance VARCHAR)
How many different items appear in the high points column when the location attendance was US Airways Center 18,422?
SELECT high_assists FROM table_17288825_10 WHERE date = "April 7"
CREATE TABLE table_17288825_10 (high_assists VARCHAR, date VARCHAR)
What was the high assists on April 7?
SELECT score FROM table_17288825_7 WHERE date = "January 25"
CREATE TABLE table_17288825_7 (score VARCHAR, date VARCHAR)
What is the score for the game played on January 25?
SELECT record FROM table_17288825_7 WHERE date = "January 19"
CREATE TABLE table_17288825_7 (record VARCHAR, date VARCHAR)
What is the record for the team on January 19?
SELECT COUNT(record) FROM table_17288825_7 WHERE high_points = "Ron Artest (24)"
CREATE TABLE table_17288825_7 (record VARCHAR, high_points VARCHAR)
How many times did Ron Artest (24) receive the record for high points?
SELECT location_attendance FROM table_17288825_7 WHERE high_assists = "Rafer Alston (10)"
CREATE TABLE table_17288825_7 (location_attendance VARCHAR, high_assists VARCHAR)
At what location and what was the attendance when Rafer Alston (10) achieved high assists?
SELECT MAX(game) FROM table_17288825_7 WHERE location_attendance = "Conseco Fieldhouse 14,486"
CREATE TABLE table_17288825_7 (game INTEGER, location_attendance VARCHAR)
At what game number was the attendance at Conseco Fieldhouse 14,486?
SELECT MAX(game) FROM table_17288845_7 WHERE date = "January 19"
CREATE TABLE table_17288845_7 (game INTEGER, date VARCHAR)
What is the number of the game that was played on January 19?
SELECT record FROM table_17288845_8 WHERE location_attendance = "Verizon Center 20,173"
CREATE TABLE table_17288845_8 (record VARCHAR, location_attendance VARCHAR)
Name the record for verizon center 20,173
SELECT date FROM table_17288845_8 WHERE score = "L 89–91 (OT)"
CREATE TABLE table_17288845_8 (date VARCHAR, score VARCHAR)
Name the date for score l 89–91 (ot)
SELECT record FROM table_17288861_5 WHERE team = "Cleveland"
CREATE TABLE table_17288861_5 (record VARCHAR, team VARCHAR)
What was the team record when the team was Cleveland?
SELECT high_assists FROM table_17288861_9 WHERE score = "L 93–103 (OT)"
CREATE TABLE table_17288861_9 (high_assists VARCHAR, score VARCHAR)
Name the high assists for l 93–103 (ot)
SELECT date FROM table_17288869_6 WHERE game = 21
CREATE TABLE table_17288869_6 (date VARCHAR, game VARCHAR)
What was the date of game 21?
SELECT round_of_32 FROM table_17289604_38 WHERE athlete = "Nicole Vaidišová"
CREATE TABLE table_17289604_38 (round_of_32 VARCHAR, athlete VARCHAR)
What were the results for round of 32 for Nicole Vaidišová?
SELECT COUNT(athlete) FROM table_17289604_38 WHERE round_of_64 = "Llagostera Vives ( ESP ) L 6–2, 3–6, 5–7"
CREATE TABLE table_17289604_38 (athlete VARCHAR, round_of_64 VARCHAR)
How many number of athletes were in round of 64 was llagostera Vives ( esp ) l 6–2, 3–6, 5–7?
SELECT round_of_16 FROM table_17289604_38 WHERE round_of_32 = "Koryttseva ( UKR ) W 2–6, 6–1, 7–5"
CREATE TABLE table_17289604_38 (round_of_16 VARCHAR, round_of_32 VARCHAR)
What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2–6, 6–1, 7–5?
SELECT round_of_64 FROM table_17289604_38 WHERE event = "Singles" AND round_of_16 = "Did not advance" AND athlete = "Iveta Benešová"
CREATE TABLE table_17289604_38 (round_of_64 VARCHAR, athlete VARCHAR, event VARCHAR, round_of_16 VARCHAR)
What was round of 64 of the singles event when the result of round 16 was did not advance and the athlete was Iveta Benešová?
SELECT quarterfinals FROM table_17289604_38 WHERE round_of_32 = "S Williams / V Williams ( USA ) L 6–4, 5–7, 1–6"
CREATE TABLE table_17289604_38 (quarterfinals VARCHAR, round_of_32 VARCHAR)
What were the quarterfinals in the round of 32 was S williams / V williams ( usa ) l 6–4, 5–7, 1–6?
SELECT date FROM table_17288869_7 WHERE high_rebounds = "Dirk Nowitzki (14)"
CREATE TABLE table_17288869_7 (date VARCHAR, high_rebounds VARCHAR)
On what day did Dirk Nowitzki (14) have a high rebound?
SELECT COUNT(high_rebounds) FROM table_17288869_7 WHERE high_points = "Josh Howard (19)"
CREATE TABLE table_17288869_7 (high_rebounds VARCHAR, high_points VARCHAR)
High points earned by Josh Howard (19) resulted in how many high rebounds?
SELECT high_assists FROM table_17288869_7 WHERE high_rebounds = "Erick Dampier (8)"
CREATE TABLE table_17288869_7 (high_assists VARCHAR, high_rebounds VARCHAR)
Who had the high assists while Erick Dampier (8) had the high rebounds?
SELECT high_points FROM table_17288869_7 WHERE high_rebounds = "Dirk Nowitzki (13)"
CREATE TABLE table_17288869_7 (high_points VARCHAR, high_rebounds VARCHAR)
Who had the high points while Dirk Nowitzki (13) had the high rebounds?
SELECT record FROM table_17288869_7 WHERE high_points = "Dirk Nowitzki (19)"
CREATE TABLE table_17288869_7 (record VARCHAR, high_points VARCHAR)
What was the final record for the game in which Dirk Nowitzki (19) had the high points?
SELECT championship FROM table_1729366_2 WHERE opponents_in_the_final = "Nathalie Dechy Andy Ram"
CREATE TABLE table_1729366_2 (championship VARCHAR, opponents_in_the_final VARCHAR)
Which championship had the final opponents of nathalie dechy andy ram?
SELECT upstream FROM table_17304621_14 WHERE price_tl = "39 TL"
CREATE TABLE table_17304621_14 (upstream VARCHAR, price_tl VARCHAR)
What is the upstream speed of the network that costs 39 tl?
SELECT COUNT(upstream) FROM table_17304621_14 WHERE downstream = "20 Mbit/s" AND bandwidth = "40 GB"
CREATE TABLE table_17304621_14 (upstream VARCHAR, downstream VARCHAR, bandwidth VARCHAR)
How many upstream speeds are there for downstream of 20 mbit/s and bandwidth of 40 gb?
SELECT upstream FROM table_17304621_14 WHERE price_tl = "89 TL"
CREATE TABLE table_17304621_14 (upstream VARCHAR, price_tl VARCHAR)
What is the upstream speed that you get for 89 tl?
SELECT bandwidth FROM table_17304621_14 WHERE downstream = "20 Mbit/s" AND price_tl = "69 TL"
CREATE TABLE table_17304621_14 (bandwidth VARCHAR, downstream VARCHAR, price_tl VARCHAR)
What is the bandwidth for downstream of 20 mbit/s for 69 tl?
SELECT year FROM table_17302440_1 WHERE west_manila = "6.5"
CREATE TABLE table_17302440_1 (year VARCHAR, west_manila VARCHAR)
What was the year when West Manila has a tariff increase of 6.5?
SELECT MAX(attendance) FROM table_17294353_1 WHERE opponent = "Cincinnati Bengals"
CREATE TABLE table_17294353_1 (attendance INTEGER, opponent VARCHAR)
Of the times the Broncos played the Cincinnati Bengals, what was the highest attendance?
SELECT date FROM table_17294353_1 WHERE opponent = "Miami Dolphins"
CREATE TABLE table_17294353_1 (date VARCHAR, opponent VARCHAR)
When did the Broncos play the Miami Dolphins?
SELECT result FROM table_17294353_1 WHERE attendance = 18304
CREATE TABLE table_17294353_1 (result VARCHAR, attendance VARCHAR)
In the game with an attendance of 18304, what was the final score?
SELECT COUNT(max_pressure) FROM table_173103_1 WHERE cartridge = ".380 ACP"
CREATE TABLE table_173103_1 (max_pressure VARCHAR, cartridge VARCHAR)
How many pressure figures are given for the .380 acp cartridge?
SELECT max_pressure FROM table_173103_1 WHERE muzzle_energy = "201ft•lbf (273 J)"
CREATE TABLE table_173103_1 (max_pressure VARCHAR, muzzle_energy VARCHAR)
What is the max pressure of the cartridge where the muzzle energy is 201ft•lbf (273 j)?
SELECT max_pressure FROM table_173103_1 WHERE cartridge = ".38 Long Colt"
CREATE TABLE table_173103_1 (max_pressure VARCHAR, cartridge VARCHAR)
What is the max pressure of the .38 long colt cartridge?
SELECT bullet_weight FROM table_173103_1 WHERE max_pressure = "12,000 CUP"
CREATE TABLE table_173103_1 (bullet_weight VARCHAR, max_pressure VARCHAR)
What is the bullet weight when the max pressure is 12,000 cup?
SELECT score FROM table_17311759_4 WHERE team = "Charlotte"
CREATE TABLE table_17311759_4 (score VARCHAR, team VARCHAR)
What are the scores made by Charlotte team
SELECT high_assists FROM table_17311759_4 WHERE high_rebounds = "Al Horford (17)"
CREATE TABLE table_17311759_4 (high_assists VARCHAR, high_rebounds VARCHAR)
Who made highest assists when high rebounds was Al Horford (17)
SELECT score FROM table_17311759_4 WHERE high_rebounds = "Zaza Pachulia (8)"
CREATE TABLE table_17311759_4 (score VARCHAR, high_rebounds VARCHAR)
Give the score when high rebounds was zaza pachulia (8)
SELECT gs FROM table_17309500_1 WHERE points = "12.1"
CREATE TABLE table_17309500_1 (gs VARCHAR, points VARCHAR)
Name the gs for points being 12.1
SELECT assists FROM table_17309500_1 WHERE games = 157
CREATE TABLE table_17309500_1 (assists VARCHAR, games VARCHAR)
Name the assists for 157 games
SELECT steals FROM table_17309500_1 WHERE season = "2007/2008"
CREATE TABLE table_17309500_1 (steals VARCHAR, season VARCHAR)
Name the steals for season 2007/2008
SELECT COUNT(assists) FROM table_17309500_1 WHERE blocks = "77"
CREATE TABLE table_17309500_1 (assists VARCHAR, blocks VARCHAR)
Name the total number of assists for 77 blocks
SELECT record FROM table_17311759_9 WHERE high_assists = "Mike Bibby (8)"
CREATE TABLE table_17311759_9 (record VARCHAR, high_assists VARCHAR)
When mike bibby (8) had the highest amount of assists what is the record?
SELECT location_attendance FROM table_17311759_9 WHERE high_assists = "Mike Bibby (9)"
CREATE TABLE table_17311759_9 (location_attendance VARCHAR, high_assists VARCHAR)
When mike bibby (9) has the highest amount of assists what is the location and attendance?
SELECT team FROM table_17311759_6 WHERE date = "January 23"
CREATE TABLE table_17311759_6 (team VARCHAR, date VARCHAR)
Who was the team played on January 23?
SELECT location_attendance FROM table_17311759_6 WHERE team = "Orlando"
CREATE TABLE table_17311759_6 (location_attendance VARCHAR, team VARCHAR)
Where was the game held and what was the attendance when they played Orlando?
SELECT MAX(game) FROM table_17311783_8 WHERE team = "Charlotte"
CREATE TABLE table_17311783_8 (game INTEGER, team VARCHAR)
In what game did Miami play Charlotte?
SELECT high_points FROM table_17311797_8 WHERE date = "February 6"
CREATE TABLE table_17311797_8 (high_points VARCHAR, date VARCHAR)
Who had the high points on February 6?
SELECT MAX(laps) AS Led FROM table_17319931_1 WHERE points = "16"
CREATE TABLE table_17319931_1 (laps INTEGER, points VARCHAR)
What is the highest number of laps led with 16 points?
SELECT COUNT(driver) FROM table_17319931_1 WHERE team = "SAMAX Motorsport"
CREATE TABLE table_17319931_1 (driver VARCHAR, team VARCHAR)
How many drivers were there for Samax Motorsport?
SELECT team FROM table_17319931_1 WHERE driver = "Jeff Simmons"
CREATE TABLE table_17319931_1 (team VARCHAR, driver VARCHAR)
What is the team whose driver Jeff Simmons?
SELECT COUNT(driver) FROM table_17319931_1 WHERE time_retired = "+3 laps" AND points = "24"
CREATE TABLE table_17319931_1 (driver VARCHAR, time_retired VARCHAR, points VARCHAR)
How many drivers where there when the time/retired +3 laps and points were 24?
SELECT MAX(laps) FROM table_17319931_1 WHERE driver = "Darren Manning"
CREATE TABLE table_17319931_1 (laps INTEGER, driver VARCHAR)
What is the highest number of laps for Darren Manning?
SELECT COUNT(car_no) FROM table_17319931_1 WHERE time_retired = "+4.0019"
CREATE TABLE table_17319931_1 (car_no VARCHAR, time_retired VARCHAR)
How many car numbers were recorded when the time/retired is +4.0019?
SELECT game FROM table_17311812_7 WHERE date = "January 28"
CREATE TABLE table_17311812_7 (game VARCHAR, date VARCHAR)
What game number was played on January 28?
SELECT high_points FROM table_17311812_8 WHERE date = "February 11"
CREATE TABLE table_17311812_8 (high_points VARCHAR, date VARCHAR)
What is the high amount of points on February 11?
SELECT high_assists FROM table_17311812_8 WHERE team = "Denver"
CREATE TABLE table_17311812_8 (high_assists VARCHAR, team VARCHAR)
Who has the most assists on Denver?
SELECT location_attendance FROM table_17322817_10 WHERE date = "April 13"
CREATE TABLE table_17322817_10 (location_attendance VARCHAR, date VARCHAR)
Name the location attendance for april 13
SELECT location_attendance FROM table_17322817_10 WHERE date = "April 5"
CREATE TABLE table_17322817_10 (location_attendance VARCHAR, date VARCHAR)
Name the location attendance for april 5