text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
If Di Drew is the director, what was the original air date for episode A Whole Lot to Lose?
### CONTEXT
CREATE TABLE table_18427769_1 (original_air_date VARCHAR, directed_by VARCHAR)
### ANSWER
SELECT original_air_date FROM table_18427769_1 WHERE directed_by = "Di Drew" | {
"answer": "SELECT original_air_date FROM table_18427769_1 WHERE directed_by = \"Di Drew\"",
"context": "CREATE TABLE table_18427769_1 (original_air_date VARCHAR, directed_by VARCHAR)",
"question": "If Di Drew is the director, what was the original air date for episode A Whole Lot to Lose?"
} |
### QUESTION
What is the average start with wins larger than 0 and 32nd position?
### CONTEXT
CREATE TABLE table_name_34 (starts INTEGER, wins VARCHAR, position VARCHAR)
### ANSWER
SELECT AVG(starts) FROM table_name_34 WHERE wins > 0 AND position = "32nd" | {
"answer": "SELECT AVG(starts) FROM table_name_34 WHERE wins > 0 AND position = \"32nd\"",
"context": "CREATE TABLE table_name_34 (starts INTEGER, wins VARCHAR, position VARCHAR)",
"question": "What is the average start with wins larger than 0 and 32nd position?"
} |
### QUESTION
How many cards does customer Art Turcotte have?
### CONTEXT
CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR)
### ANSWER
SELECT COUNT(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = "Art" AND T2.customer_last_name = "Turcotte" | {
"answer": "SELECT COUNT(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = \"Art\" AND T2.customer_last_name = \"Turcotte\"",
"context": "CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR)",
"question": "How many cards does customer Art Turcotte have?"
} |
### QUESTION
Which year's genre was jazz under the columbia label when it was nominated for the title Trio jeepy?
### CONTEXT
CREATE TABLE table_name_37 (year VARCHAR, title VARCHAR, result VARCHAR, genre VARCHAR, label VARCHAR)
### ANSWER
SELECT year FROM table_name_37 WHERE genre = "jazz" AND label = "columbia" AND result = "nominated" AND title = "trio jeepy" | {
"answer": "SELECT year FROM table_name_37 WHERE genre = \"jazz\" AND label = \"columbia\" AND result = \"nominated\" AND title = \"trio jeepy\"",
"context": "CREATE TABLE table_name_37 (year VARCHAR, title VARCHAR, result VARCHAR, genre VARCHAR, label VARCHAR)",
"question": "Which year's genre was jazz under the columbia label when it was nominated for the title Trio jeepy?"
} |
### QUESTION
What is the platform of the game from 2007?
### CONTEXT
CREATE TABLE table_name_95 (platform_s_ VARCHAR, year VARCHAR)
### ANSWER
SELECT platform_s_ FROM table_name_95 WHERE year = 2007 | {
"answer": "SELECT platform_s_ FROM table_name_95 WHERE year = 2007",
"context": "CREATE TABLE table_name_95 (platform_s_ VARCHAR, year VARCHAR)",
"question": "What is the platform of the game from 2007?"
} |
### QUESTION
Which station was opened in 2013, with no park & ride lot?
### CONTEXT
CREATE TABLE table_name_99 (station_name VARCHAR, opening_year VARCHAR, park_and_ride_lot VARCHAR)
### ANSWER
SELECT station_name FROM table_name_99 WHERE opening_year = "2013" AND park_and_ride_lot = "no" | {
"answer": "SELECT station_name FROM table_name_99 WHERE opening_year = \"2013\" AND park_and_ride_lot = \"no\"",
"context": "CREATE TABLE table_name_99 (station_name VARCHAR, opening_year VARCHAR, park_and_ride_lot VARCHAR)",
"question": "Which station was opened in 2013, with no park & ride lot?"
} |
### QUESTION
What is the sum of the round of Fred Smoot, who has a pick number greater than 14?
### CONTEXT
CREATE TABLE table_name_39 (round INTEGER, name VARCHAR, pick VARCHAR)
### ANSWER
SELECT SUM(round) FROM table_name_39 WHERE name = "fred smoot" AND pick > 14 | {
"answer": "SELECT SUM(round) FROM table_name_39 WHERE name = \"fred smoot\" AND pick > 14",
"context": "CREATE TABLE table_name_39 (round INTEGER, name VARCHAR, pick VARCHAR)",
"question": "What is the sum of the round of Fred Smoot, who has a pick number greater than 14?"
} |
### QUESTION
Find the name of dorms which have both TV Lounge and Study Room as amenities.
### CONTEXT
CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)
### ANSWER
SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge' INTERSECT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'Study Room' | {
"answer": "SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge' INTERSECT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'Study Room'",
"context": "CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)",
"question": "Find the name of dorms which have both TV Lounge and Study Room as amenities."
} |
### QUESTION
What is the starting weight if weight lost is 54.6?
### CONTEXT
CREATE TABLE table_24370270_10 (starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR)
### ANSWER
SELECT starting_weight__kg_ FROM table_24370270_10 WHERE weight_lost__kg_ = "54.6" | {
"answer": "SELECT starting_weight__kg_ FROM table_24370270_10 WHERE weight_lost__kg_ = \"54.6\"",
"context": "CREATE TABLE table_24370270_10 (starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR)",
"question": "What is the starting weight if weight lost is 54.6?"
} |
### QUESTION
In which Place was the Silver won by valeri postoianov ( urs ) later than 1969 and the Bronze won by alexander gazov ( urs )?
### CONTEXT
CREATE TABLE table_name_50 (place VARCHAR, bronze VARCHAR, silver VARCHAR, year VARCHAR)
### ANSWER
SELECT place FROM table_name_50 WHERE silver = "valeri postoianov ( urs )" AND year > 1969 AND bronze = "alexander gazov ( urs )" | {
"answer": "SELECT place FROM table_name_50 WHERE silver = \"valeri postoianov ( urs )\" AND year > 1969 AND bronze = \"alexander gazov ( urs )\"",
"context": "CREATE TABLE table_name_50 (place VARCHAR, bronze VARCHAR, silver VARCHAR, year VARCHAR)",
"question": "In which Place was the Silver won by valeri postoianov ( urs ) later than 1969 and the Bronze won by alexander gazov ( urs )?"
} |
### QUESTION
How many episodes are numbered 4 in the season?
### CONTEXT
CREATE TABLE table_26561506_1 (patient_portrayer VARCHAR, _number VARCHAR)
### ANSWER
SELECT COUNT(patient_portrayer) FROM table_26561506_1 WHERE _number = 4 | {
"answer": "SELECT COUNT(patient_portrayer) FROM table_26561506_1 WHERE _number = 4",
"context": "CREATE TABLE table_26561506_1 (patient_portrayer VARCHAR, _number VARCHAR)",
"question": "How many episodes are numbered 4 in the season?"
} |
### QUESTION
what is the display size for the calculator ti-82?
### CONTEXT
CREATE TABLE table_11703336_1 (display_size VARCHAR, calculator VARCHAR)
### ANSWER
SELECT display_size FROM table_11703336_1 WHERE calculator = "TI-82" | {
"answer": "SELECT display_size FROM table_11703336_1 WHERE calculator = \"TI-82\"",
"context": "CREATE TABLE table_11703336_1 (display_size VARCHAR, calculator VARCHAR)",
"question": "what is the display size for the calculator ti-82?"
} |
### QUESTION
Which Played has a Lost larger than 9, and a Points smaller than 15, and a Position smaller than 12, and a Drawn smaller than 2?
### CONTEXT
CREATE TABLE table_name_18 (played INTEGER, drawn VARCHAR, position VARCHAR, lost VARCHAR, points VARCHAR)
### ANSWER
SELECT AVG(played) FROM table_name_18 WHERE lost > 9 AND points < 15 AND position < 12 AND drawn < 2 | {
"answer": "SELECT AVG(played) FROM table_name_18 WHERE lost > 9 AND points < 15 AND position < 12 AND drawn < 2",
"context": "CREATE TABLE table_name_18 (played INTEGER, drawn VARCHAR, position VARCHAR, lost VARCHAR, points VARCHAR)",
"question": "Which Played has a Lost larger than 9, and a Points smaller than 15, and a Position smaller than 12, and a Drawn smaller than 2?"
} |
### QUESTION
Find the names of the top 3 departments that provide the largest amount of courses?
### CONTEXT
CREATE TABLE course (dept_name VARCHAR)
### ANSWER
SELECT dept_name FROM course GROUP BY dept_name ORDER BY COUNT(*) DESC LIMIT 3 | {
"answer": "SELECT dept_name FROM course GROUP BY dept_name ORDER BY COUNT(*) DESC LIMIT 3",
"context": "CREATE TABLE course (dept_name VARCHAR)",
"question": "Find the names of the top 3 departments that provide the largest amount of courses?"
} |
### QUESTION
Which dance style had a draw smaller than 15 and 18 points?
### CONTEXT
CREATE TABLE table_name_54 (dance_styles VARCHAR, draw VARCHAR, points VARCHAR)
### ANSWER
SELECT dance_styles FROM table_name_54 WHERE draw < 15 AND points = 18 | {
"answer": "SELECT dance_styles FROM table_name_54 WHERE draw < 15 AND points = 18",
"context": "CREATE TABLE table_name_54 (dance_styles VARCHAR, draw VARCHAR, points VARCHAR)",
"question": "Which dance style had a draw smaller than 15 and 18 points?"
} |
### QUESTION
What is the highest crowd with north melbourne as away team?
### CONTEXT
CREATE TABLE table_name_10 (crowd INTEGER, away_team VARCHAR)
### ANSWER
SELECT MAX(crowd) FROM table_name_10 WHERE away_team = "north melbourne" | {
"answer": "SELECT MAX(crowd) FROM table_name_10 WHERE away_team = \"north melbourne\"",
"context": "CREATE TABLE table_name_10 (crowd INTEGER, away_team VARCHAR)",
"question": "What is the highest crowd with north melbourne as away team?"
} |
### QUESTION
What school has the Kansas City Royals for a team?
### CONTEXT
CREATE TABLE table_name_27 (school VARCHAR, team VARCHAR)
### ANSWER
SELECT school FROM table_name_27 WHERE team = "kansas city royals" | {
"answer": "SELECT school FROM table_name_27 WHERE team = \"kansas city royals\"",
"context": "CREATE TABLE table_name_27 (school VARCHAR, team VARCHAR)",
"question": "What school has the Kansas City Royals for a team?"
} |
### QUESTION
When 2011 is the period and olympikus is the kit manufacturer how many minor sponsors are there?
### CONTEXT
CREATE TABLE table_187239_1 (minor_sponsors VARCHAR, kit_manufacturer VARCHAR, period VARCHAR)
### ANSWER
SELECT COUNT(minor_sponsors) FROM table_187239_1 WHERE kit_manufacturer = "Olympikus" AND period = "2011" | {
"answer": "SELECT COUNT(minor_sponsors) FROM table_187239_1 WHERE kit_manufacturer = \"Olympikus\" AND period = \"2011\"",
"context": "CREATE TABLE table_187239_1 (minor_sponsors VARCHAR, kit_manufacturer VARCHAR, period VARCHAR)",
"question": "When 2011 is the period and olympikus is the kit manufacturer how many minor sponsors are there?"
} |
### QUESTION
Which Against has a Drawn smaller than 5, and a Lost smaller than 6, and a Points larger than 36?
### CONTEXT
CREATE TABLE table_name_26 (against VARCHAR, points VARCHAR, drawn VARCHAR, lost VARCHAR)
### ANSWER
SELECT COUNT(against) FROM table_name_26 WHERE drawn < 5 AND lost < 6 AND points > 36 | {
"answer": "SELECT COUNT(against) FROM table_name_26 WHERE drawn < 5 AND lost < 6 AND points > 36",
"context": "CREATE TABLE table_name_26 (against VARCHAR, points VARCHAR, drawn VARCHAR, lost VARCHAR)",
"question": "Which Against has a Drawn smaller than 5, and a Lost smaller than 6, and a Points larger than 36?"
} |
### QUESTION
For how many years did Detroit have a passenger fare of $307.29?
### CONTEXT
CREATE TABLE table_name_99 (year INTEGER, detroit__dtw_ VARCHAR)
### ANSWER
SELECT SUM(year) FROM table_name_99 WHERE detroit__dtw_ = "$307.29" | {
"answer": "SELECT SUM(year) FROM table_name_99 WHERE detroit__dtw_ = \"$307.29\"",
"context": "CREATE TABLE table_name_99 (year INTEGER, detroit__dtw_ VARCHAR)",
"question": "For how many years did Detroit have a passenger fare of $307.29?"
} |
### QUESTION
What is he archive for the episode with a run time of 24:05?
### CONTEXT
CREATE TABLE table_2102714_1 (archive VARCHAR, run_time VARCHAR)
### ANSWER
SELECT archive FROM table_2102714_1 WHERE run_time = "24:05" | {
"answer": "SELECT archive FROM table_2102714_1 WHERE run_time = \"24:05\"",
"context": "CREATE TABLE table_2102714_1 (archive VARCHAR, run_time VARCHAR)",
"question": "What is he archive for the episode with a run time of 24:05?"
} |
### QUESTION
When did the Texans play BYE?
### CONTEXT
CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)
### ANSWER
SELECT date FROM table_name_8 WHERE opponent = "bye" | {
"answer": "SELECT date FROM table_name_8 WHERE opponent = \"bye\"",
"context": "CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)",
"question": "When did the Texans play BYE?"
} |
### QUESTION
Name the total number of revenue for italy with team of internazionale with operating income less than 27
### CONTEXT
CREATE TABLE table_name_21 (revenue__ VARCHAR, operating_income__$m_ VARCHAR, country VARCHAR, team VARCHAR)
### ANSWER
SELECT COUNT(revenue__) AS $m_ FROM table_name_21 WHERE country = "italy" AND team = "internazionale" AND operating_income__$m_ < 27 | {
"answer": "SELECT COUNT(revenue__) AS $m_ FROM table_name_21 WHERE country = \"italy\" AND team = \"internazionale\" AND operating_income__$m_ < 27",
"context": "CREATE TABLE table_name_21 (revenue__ VARCHAR, operating_income__$m_ VARCHAR, country VARCHAR, team VARCHAR)",
"question": "Name the total number of revenue for italy with team of internazionale with operating income less than 27"
} |
### QUESTION
What is the smallest decile with a Name of st mary's catholic school?
### CONTEXT
CREATE TABLE table_name_70 (decile INTEGER, name VARCHAR)
### ANSWER
SELECT MIN(decile) FROM table_name_70 WHERE name = "st mary's catholic school" | {
"answer": "SELECT MIN(decile) FROM table_name_70 WHERE name = \"st mary's catholic school\"",
"context": "CREATE TABLE table_name_70 (decile INTEGER, name VARCHAR)",
"question": "What is the smallest decile with a Name of st mary's catholic school?"
} |
### QUESTION
How many places are named manolo fortich?
### CONTEXT
CREATE TABLE table_261222_1 (area__km_2__ VARCHAR, city___municipality VARCHAR)
### ANSWER
SELECT COUNT(area__km_2__) FROM table_261222_1 WHERE city___municipality = "Manolo Fortich" | {
"answer": "SELECT COUNT(area__km_2__) FROM table_261222_1 WHERE city___municipality = \"Manolo Fortich\"",
"context": "CREATE TABLE table_261222_1 (area__km_2__ VARCHAR, city___municipality VARCHAR)",
"question": "How many places are named manolo fortich?"
} |
### QUESTION
What is the name of party with most number of members?
### CONTEXT
CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_id VARCHAR)
### ANSWER
SELECT T2.party_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T2.party_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_id VARCHAR)",
"question": "What is the name of party with most number of members?"
} |
### QUESTION
WHich General classification has an Asian rider classification of shinichi fukushima, and a Winner of jeremy hunt?
### CONTEXT
CREATE TABLE table_name_1 (general_classification VARCHAR, asian_rider_classification VARCHAR, winner VARCHAR)
### ANSWER
SELECT general_classification FROM table_name_1 WHERE asian_rider_classification = "shinichi fukushima" AND winner = "jeremy hunt" | {
"answer": "SELECT general_classification FROM table_name_1 WHERE asian_rider_classification = \"shinichi fukushima\" AND winner = \"jeremy hunt\"",
"context": "CREATE TABLE table_name_1 (general_classification VARCHAR, asian_rider_classification VARCHAR, winner VARCHAR)",
"question": "WHich General classification has an Asian rider classification of shinichi fukushima, and a Winner of jeremy hunt?"
} |
### QUESTION
Which game is located in Boston Garden and has a record of 49-17?
### CONTEXT
CREATE TABLE table_name_81 (game VARCHAR, location VARCHAR, record VARCHAR)
### ANSWER
SELECT game FROM table_name_81 WHERE location = "boston garden" AND record = "49-17" | {
"answer": "SELECT game FROM table_name_81 WHERE location = \"boston garden\" AND record = \"49-17\"",
"context": "CREATE TABLE table_name_81 (game VARCHAR, location VARCHAR, record VARCHAR)",
"question": "Which game is located in Boston Garden and has a record of 49-17?"
} |
### QUESTION
List the name of tracks belongs to genre Rock and whose media type is MPEG audio file.
### CONTEXT
CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR, media_type_id VARCHAR); CREATE TABLE media_types (id VARCHAR, name VARCHAR)
### ANSWER
SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = "Rock" AND T3.name = "MPEG audio file" | {
"answer": "SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = \"Rock\" AND T3.name = \"MPEG audio file\"",
"context": "CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR, media_type_id VARCHAR); CREATE TABLE media_types (id VARCHAR, name VARCHAR)",
"question": "List the name of tracks belongs to genre Rock and whose media type is MPEG audio file."
} |
### QUESTION
In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more than 6 apps?
### CONTEXT
CREATE TABLE table_name_72 (season INTEGER, apps VARCHAR, country VARCHAR, team VARCHAR)
### ANSWER
SELECT MAX(season) FROM table_name_72 WHERE country = "uzbekistan" AND team = "fc pakhtakor tashkent" AND apps > 6 | {
"answer": "SELECT MAX(season) FROM table_name_72 WHERE country = \"uzbekistan\" AND team = \"fc pakhtakor tashkent\" AND apps > 6",
"context": "CREATE TABLE table_name_72 (season INTEGER, apps VARCHAR, country VARCHAR, team VARCHAR)",
"question": "In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more than 6 apps?"
} |
### QUESTION
With a year larger than 1905, and a location of philadelphia, pennsylvania with a to par [a] of n/a and a country of scotland what is the course?
### CONTEXT
CREATE TABLE table_name_1 (course VARCHAR, location VARCHAR, year VARCHAR, country VARCHAR, to_par_ VARCHAR, a_ VARCHAR)
### ANSWER
SELECT course FROM table_name_1 WHERE to_par_[a_] = "n/a" AND country = "scotland" AND year > 1905 AND location = "philadelphia, pennsylvania" | {
"answer": "SELECT course FROM table_name_1 WHERE to_par_[a_] = \"n/a\" AND country = \"scotland\" AND year > 1905 AND location = \"philadelphia, pennsylvania\"",
"context": "CREATE TABLE table_name_1 (course VARCHAR, location VARCHAR, year VARCHAR, country VARCHAR, to_par_ VARCHAR, a_ VARCHAR)",
"question": "With a year larger than 1905, and a location of philadelphia, pennsylvania with a to par [a] of n/a and a country of scotland what is the course?"
} |
### QUESTION
When Essendon was the Home Team, what was the Away Team score?
### CONTEXT
CREATE TABLE table_name_43 (away_team VARCHAR, home_team VARCHAR)
### ANSWER
SELECT away_team AS score FROM table_name_43 WHERE home_team = "essendon" | {
"answer": "SELECT away_team AS score FROM table_name_43 WHERE home_team = \"essendon\"",
"context": "CREATE TABLE table_name_43 (away_team VARCHAR, home_team VARCHAR)",
"question": "When Essendon was the Home Team, what was the Away Team score?"
} |
### QUESTION
Find the id of routes whose source and destination airports are in the United States.
### CONTEXT
CREATE TABLE routes (rid VARCHAR, dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR); CREATE TABLE airports (rid VARCHAR, dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR)
### ANSWER
SELECT rid FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country = 'United States') AND src_apid IN (SELECT apid FROM airports WHERE country = 'United States') | {
"answer": "SELECT rid FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country = 'United States') AND src_apid IN (SELECT apid FROM airports WHERE country = 'United States')",
"context": "CREATE TABLE routes (rid VARCHAR, dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR); CREATE TABLE airports (rid VARCHAR, dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR)",
"question": "Find the id of routes whose source and destination airports are in the United States."
} |
### QUESTION
Name the ppv for sky famiglia and dar 16:9 for mtv dance
### CONTEXT
CREATE TABLE table_15887683_10 (ppv VARCHAR, television_service VARCHAR, package_option VARCHAR, dar VARCHAR)
### ANSWER
SELECT ppv FROM table_15887683_10 WHERE package_option = "Sky Famiglia" AND dar = "16:9" AND television_service = "MTV Dance" | {
"answer": "SELECT ppv FROM table_15887683_10 WHERE package_option = \"Sky Famiglia\" AND dar = \"16:9\" AND television_service = \"MTV Dance\"",
"context": "CREATE TABLE table_15887683_10 (ppv VARCHAR, television_service VARCHAR, package_option VARCHAR, dar VARCHAR)",
"question": "Name the ppv for sky famiglia and dar 16:9 for mtv dance"
} |
### QUESTION
What was the time of the car having a constructor of Renault, which went 40 laps?
### CONTEXT
CREATE TABLE table_name_96 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR)
### ANSWER
SELECT time_retired FROM table_name_96 WHERE constructor = "renault" AND laps = "40" | {
"answer": "SELECT time_retired FROM table_name_96 WHERE constructor = \"renault\" AND laps = \"40\"",
"context": "CREATE TABLE table_name_96 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR)",
"question": "What was the time of the car having a constructor of Renault, which went 40 laps?"
} |
### QUESTION
How many tracks have an unformatted capacity per side of 2000kb?
### CONTEXT
CREATE TABLE table_name_7 (tracks VARCHAR, unformatted_capacity_per_side VARCHAR)
### ANSWER
SELECT COUNT(tracks) FROM table_name_7 WHERE unformatted_capacity_per_side = "2000kb" | {
"answer": "SELECT COUNT(tracks) FROM table_name_7 WHERE unformatted_capacity_per_side = \"2000kb\"",
"context": "CREATE TABLE table_name_7 (tracks VARCHAR, unformatted_capacity_per_side VARCHAR)",
"question": "How many tracks have an unformatted capacity per side of 2000kb?"
} |
### QUESTION
Performer 1 of Stephen Frost, and a Performer 2 of Josie Lawrence, and a Date of 15 September 1995 is what performer 3?
### CONTEXT
CREATE TABLE table_name_79 (performer_3 VARCHAR, date VARCHAR, performer_1 VARCHAR, performer_2 VARCHAR)
### ANSWER
SELECT performer_3 FROM table_name_79 WHERE performer_1 = "stephen frost" AND performer_2 = "josie lawrence" AND date = "15 september 1995" | {
"answer": "SELECT performer_3 FROM table_name_79 WHERE performer_1 = \"stephen frost\" AND performer_2 = \"josie lawrence\" AND date = \"15 september 1995\"",
"context": "CREATE TABLE table_name_79 (performer_3 VARCHAR, date VARCHAR, performer_1 VARCHAR, performer_2 VARCHAR)",
"question": "Performer 1 of Stephen Frost, and a Performer 2 of Josie Lawrence, and a Date of 15 September 1995 is what performer 3?"
} |
### QUESTION
What is Opponent, when Location/Attendance is "Mellon Arena - 17,132"?
### CONTEXT
CREATE TABLE table_name_67 (opponent VARCHAR, location_attendance VARCHAR)
### ANSWER
SELECT opponent FROM table_name_67 WHERE location_attendance = "mellon arena - 17,132" | {
"answer": "SELECT opponent FROM table_name_67 WHERE location_attendance = \"mellon arena - 17,132\"",
"context": "CREATE TABLE table_name_67 (opponent VARCHAR, location_attendance VARCHAR)",
"question": "What is Opponent, when Location/Attendance is \"Mellon Arena - 17,132\"?"
} |
### QUESTION
Which area 2006 km² has a city of sopot, and an area 1996 km² smaller than 17.31?
### CONTEXT
CREATE TABLE table_name_22 (area_2006_km² INTEGER, city VARCHAR, area_1996_km² VARCHAR)
### ANSWER
SELECT MAX(area_2006_km²) FROM table_name_22 WHERE city = "sopot" AND area_1996_km² < 17.31 | {
"answer": "SELECT MAX(area_2006_km²) FROM table_name_22 WHERE city = \"sopot\" AND area_1996_km² < 17.31",
"context": "CREATE TABLE table_name_22 (area_2006_km² INTEGER, city VARCHAR, area_1996_km² VARCHAR)",
"question": "Which area 2006 km² has a city of sopot, and an area 1996 km² smaller than 17.31?"
} |
### QUESTION
Which Score has a Game larger than 7, and Points smaller than 14?
### CONTEXT
CREATE TABLE table_name_17 (score VARCHAR, game VARCHAR, points VARCHAR)
### ANSWER
SELECT score FROM table_name_17 WHERE game > 7 AND points < 14 | {
"answer": "SELECT score FROM table_name_17 WHERE game > 7 AND points < 14",
"context": "CREATE TABLE table_name_17 (score VARCHAR, game VARCHAR, points VARCHAR)",
"question": "Which Score has a Game larger than 7, and Points smaller than 14?"
} |
### QUESTION
What is the connection with Australia when the connection with America shows born in the u.s.; mother is u.s. citizen?
### CONTEXT
CREATE TABLE table_name_74 (connection_with_australia VARCHAR, connection_with_america VARCHAR)
### ANSWER
SELECT connection_with_australia FROM table_name_74 WHERE connection_with_america = "born in the u.s.; mother is u.s. citizen" | {
"answer": "SELECT connection_with_australia FROM table_name_74 WHERE connection_with_america = \"born in the u.s.; mother is u.s. citizen\"",
"context": "CREATE TABLE table_name_74 (connection_with_australia VARCHAR, connection_with_america VARCHAR)",
"question": "What is the connection with Australia when the connection with America shows born in the u.s.; mother is u.s. citizen?"
} |
### QUESTION
WHAT IS THE SUB-PARISH WITH A YEAR AFTER 1916, IN ortnevik?
### CONTEXT
CREATE TABLE table_name_41 (sub_parish__sogn_ VARCHAR, year_built VARCHAR, location_of_the_church VARCHAR)
### ANSWER
SELECT sub_parish__sogn_ FROM table_name_41 WHERE year_built > 1916 AND location_of_the_church = "ortnevik" | {
"answer": "SELECT sub_parish__sogn_ FROM table_name_41 WHERE year_built > 1916 AND location_of_the_church = \"ortnevik\"",
"context": "CREATE TABLE table_name_41 (sub_parish__sogn_ VARCHAR, year_built VARCHAR, location_of_the_church VARCHAR)",
"question": "WHAT IS THE SUB-PARISH WITH A YEAR AFTER 1916, IN ortnevik?"
} |
### QUESTION
Which Team has a Winner of craig lowndes, and a Circuit of phillip island grand prix circuit?
### CONTEXT
CREATE TABLE table_name_69 (team VARCHAR, winner VARCHAR, circuit VARCHAR)
### ANSWER
SELECT team FROM table_name_69 WHERE winner = "craig lowndes" AND circuit = "phillip island grand prix circuit" | {
"answer": "SELECT team FROM table_name_69 WHERE winner = \"craig lowndes\" AND circuit = \"phillip island grand prix circuit\"",
"context": "CREATE TABLE table_name_69 (team VARCHAR, winner VARCHAR, circuit VARCHAR)",
"question": "Which Team has a Winner of craig lowndes, and a Circuit of phillip island grand prix circuit?"
} |
### QUESTION
How many bronzes had a rank of 10 and 0 gold?
### CONTEXT
CREATE TABLE table_name_9 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
### ANSWER
SELECT SUM(bronze) FROM table_name_9 WHERE rank = "10" AND gold < 0 | {
"answer": "SELECT SUM(bronze) FROM table_name_9 WHERE rank = \"10\" AND gold < 0",
"context": "CREATE TABLE table_name_9 (bronze INTEGER, rank VARCHAR, gold VARCHAR)",
"question": "How many bronzes had a rank of 10 and 0 gold?"
} |
### QUESTION
What is Score Points, when Shooter is "Sandra Kolly ( SUI )"?
### CONTEXT
CREATE TABLE table_name_81 (score_points VARCHAR, shooter VARCHAR)
### ANSWER
SELECT score_points FROM table_name_81 WHERE shooter = "sandra kolly ( sui )" | {
"answer": "SELECT score_points FROM table_name_81 WHERE shooter = \"sandra kolly ( sui )\"",
"context": "CREATE TABLE table_name_81 (score_points VARCHAR, shooter VARCHAR)",
"question": "What is Score Points, when Shooter is \"Sandra Kolly ( SUI )\"?"
} |
### QUESTION
What is listed for the Tries against that has a Played of 22, along with a Club of Ystalyfera RFC?
### CONTEXT
CREATE TABLE table_name_95 (tries_against VARCHAR, played VARCHAR, club VARCHAR)
### ANSWER
SELECT tries_against FROM table_name_95 WHERE played = "22" AND club = "ystalyfera rfc" | {
"answer": "SELECT tries_against FROM table_name_95 WHERE played = \"22\" AND club = \"ystalyfera rfc\"",
"context": "CREATE TABLE table_name_95 (tries_against VARCHAR, played VARCHAR, club VARCHAR)",
"question": "What is listed for the Tries against that has a Played of 22, along with a Club of Ystalyfera RFC?"
} |
### QUESTION
What is the lowest round Trinity school was drafted with an overall higher than 21?
### CONTEXT
CREATE TABLE table_name_89 (round INTEGER, school_club_team VARCHAR, overall VARCHAR)
### ANSWER
SELECT MIN(round) FROM table_name_89 WHERE school_club_team = "trinity" AND overall < 21 | {
"answer": "SELECT MIN(round) FROM table_name_89 WHERE school_club_team = \"trinity\" AND overall < 21",
"context": "CREATE TABLE table_name_89 (round INTEGER, school_club_team VARCHAR, overall VARCHAR)",
"question": "What is the lowest round Trinity school was drafted with an overall higher than 21?"
} |
### QUESTION
Find all students taught by OTHA MOYER. Output the first and last names of the students.
### CONTEXT
CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)
### ANSWER
SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "OTHA" AND T2.lastname = "MOYER" | {
"answer": "SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = \"OTHA\" AND T2.lastname = \"MOYER\"",
"context": "CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)",
"question": "Find all students taught by OTHA MOYER. Output the first and last names of the students."
} |
### QUESTION
Which winner has a points classification of Tony Rominger at stage 17?
### CONTEXT
CREATE TABLE table_name_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR)
### ANSWER
SELECT winner FROM table_name_72 WHERE points_classification = "tony rominger" AND stage = "17" | {
"answer": "SELECT winner FROM table_name_72 WHERE points_classification = \"tony rominger\" AND stage = \"17\"",
"context": "CREATE TABLE table_name_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR)",
"question": "Which winner has a points classification of Tony Rominger at stage 17?"
} |
### QUESTION
What is the frequency of the radio station with a call sign of WGNR-FM?
### CONTEXT
CREATE TABLE table_name_19 (frequency VARCHAR, call_sign VARCHAR)
### ANSWER
SELECT frequency FROM table_name_19 WHERE call_sign = "wgnr-fm" | {
"answer": "SELECT frequency FROM table_name_19 WHERE call_sign = \"wgnr-fm\"",
"context": "CREATE TABLE table_name_19 (frequency VARCHAR, call_sign VARCHAR)",
"question": "What is the frequency of the radio station with a call sign of WGNR-FM?"
} |
### QUESTION
What is the minimum pick of a centre from the Czech Republic?
### CONTEXT
CREATE TABLE table_2840500_2 (pick INTEGER, position VARCHAR, nationality VARCHAR)
### ANSWER
SELECT MIN(pick) FROM table_2840500_2 WHERE position = "Centre" AND nationality = "Czech Republic" | {
"answer": "SELECT MIN(pick) FROM table_2840500_2 WHERE position = \"Centre\" AND nationality = \"Czech Republic\"",
"context": "CREATE TABLE table_2840500_2 (pick INTEGER, position VARCHAR, nationality VARCHAR)",
"question": "What is the minimum pick of a centre from the Czech Republic?"
} |
### QUESTION
Name the total number of round for against the netherlands
### CONTEXT
CREATE TABLE table_22825058_23 (round VARCHAR, against VARCHAR)
### ANSWER
SELECT COUNT(round) FROM table_22825058_23 WHERE against = "The Netherlands" | {
"answer": "SELECT COUNT(round) FROM table_22825058_23 WHERE against = \"The Netherlands\"",
"context": "CREATE TABLE table_22825058_23 (round VARCHAR, against VARCHAR)",
"question": "Name the total number of round for against the netherlands"
} |
### QUESTION
Which Margin has a Winning score of –7 (71-72-67-71=281)?
### CONTEXT
CREATE TABLE table_name_26 (margin VARCHAR, winning_score VARCHAR)
### ANSWER
SELECT margin FROM table_name_26 WHERE winning_score = –7(71 - 72 - 67 - 71 = 281) | {
"answer": "SELECT margin FROM table_name_26 WHERE winning_score = –7(71 - 72 - 67 - 71 = 281)",
"context": "CREATE TABLE table_name_26 (margin VARCHAR, winning_score VARCHAR)",
"question": "Which Margin has a Winning score of –7 (71-72-67-71=281)?"
} |
### QUESTION
Name the townland for fermoy and ballynoe
### CONTEXT
CREATE TABLE table_30120664_1 (townland VARCHAR, poor_law_union VARCHAR, civil_parish VARCHAR)
### ANSWER
SELECT townland FROM table_30120664_1 WHERE poor_law_union = "Fermoy" AND civil_parish = "Ballynoe" | {
"answer": "SELECT townland FROM table_30120664_1 WHERE poor_law_union = \"Fermoy\" AND civil_parish = \"Ballynoe\"",
"context": "CREATE TABLE table_30120664_1 (townland VARCHAR, poor_law_union VARCHAR, civil_parish VARCHAR)",
"question": "Name the townland for fermoy and ballynoe"
} |
### QUESTION
What's the Elevator that has Elevated: 1378, September 18, an Order of Cardinal-Priest, and an Elector of Poncello Orsini?
### CONTEXT
CREATE TABLE table_name_25 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, order VARCHAR)
### ANSWER
SELECT elevator FROM table_name_25 WHERE elevated = "1378, september 18" AND order = "cardinal-priest" AND elector = "poncello orsini" | {
"answer": "SELECT elevator FROM table_name_25 WHERE elevated = \"1378, september 18\" AND order = \"cardinal-priest\" AND elector = \"poncello orsini\"",
"context": "CREATE TABLE table_name_25 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, order VARCHAR)",
"question": "What's the Elevator that has Elevated: 1378, September 18, an Order of Cardinal-Priest, and an Elector of Poncello Orsini?"
} |
### QUESTION
What is the event where the opponent was Chris Barden?
### CONTEXT
CREATE TABLE table_name_12 (event VARCHAR, opponent VARCHAR)
### ANSWER
SELECT event FROM table_name_12 WHERE opponent = "chris barden" | {
"answer": "SELECT event FROM table_name_12 WHERE opponent = \"chris barden\"",
"context": "CREATE TABLE table_name_12 (event VARCHAR, opponent VARCHAR)",
"question": "What is the event where the opponent was Chris Barden?"
} |
### QUESTION
Name the presentation of credentials for appointed by of grover cleveland and representative of charles w. buck
### CONTEXT
CREATE TABLE table_name_45 (presentation_of_credentials VARCHAR, appointed_by VARCHAR, representative VARCHAR)
### ANSWER
SELECT presentation_of_credentials FROM table_name_45 WHERE appointed_by = "grover cleveland" AND representative = "charles w. buck" | {
"answer": "SELECT presentation_of_credentials FROM table_name_45 WHERE appointed_by = \"grover cleveland\" AND representative = \"charles w. buck\"",
"context": "CREATE TABLE table_name_45 (presentation_of_credentials VARCHAR, appointed_by VARCHAR, representative VARCHAR)",
"question": "Name the presentation of credentials for appointed by of grover cleveland and representative of charles w. buck"
} |
### QUESTION
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?
### CONTEXT
CREATE TABLE table_name_94 (model VARCHAR, engine_make_capacity VARCHAR, gcm__kg__technical_capacity VARCHAR, gvm__kg__technical_capacity VARCHAR)
### ANSWER
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)" | {
"answer": "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)\"",
"context": "CREATE TABLE table_name_94 (model VARCHAR, engine_make_capacity VARCHAR, gcm__kg__technical_capacity VARCHAR, gvm__kg__technical_capacity VARCHAR)",
"question": "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?"
} |
### QUESTION
give me names of all compatible browsers and accelerators in the descending order of compatible year
### CONTEXT
CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR, accelerator_id VARCHAR, compatible_since_year VARCHAR); CREATE TABLE web_client_accelerator (name VARCHAR, id VARCHAR); CREATE TABLE browser (name VARCHAR, id VARCHAR)
### ANSWER
SELECT T2.name, T3.name FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id ORDER BY T1.compatible_since_year DESC | {
"answer": "SELECT T2.name, T3.name FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id ORDER BY T1.compatible_since_year DESC",
"context": "CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR, accelerator_id VARCHAR, compatible_since_year VARCHAR); CREATE TABLE web_client_accelerator (name VARCHAR, id VARCHAR); CREATE TABLE browser (name VARCHAR, id VARCHAR)",
"question": "give me names of all compatible browsers and accelerators in the descending order of compatible year"
} |
### QUESTION
What's the latest original air date with more than 10 episodes and a DVD Region 2 release date of 23 april 2012?
### CONTEXT
CREATE TABLE table_name_17 (original_air_date INTEGER, dvd_region_2_release_date VARCHAR, number_of_episodes VARCHAR)
### ANSWER
SELECT MAX(original_air_date) FROM table_name_17 WHERE dvd_region_2_release_date = "23 april 2012" AND number_of_episodes > 10 | {
"answer": "SELECT MAX(original_air_date) FROM table_name_17 WHERE dvd_region_2_release_date = \"23 april 2012\" AND number_of_episodes > 10",
"context": "CREATE TABLE table_name_17 (original_air_date INTEGER, dvd_region_2_release_date VARCHAR, number_of_episodes VARCHAR)",
"question": "What's the latest original air date with more than 10 episodes and a DVD Region 2 release date of 23 april 2012?"
} |
### QUESTION
What's the Nordbayern with a Württemberg of Union Böckingen in the year before 1932?
### CONTEXT
CREATE TABLE table_name_92 (nordbayern VARCHAR, year VARCHAR, württemberg VARCHAR)
### ANSWER
SELECT nordbayern FROM table_name_92 WHERE year < 1932 AND württemberg = "union böckingen" | {
"answer": "SELECT nordbayern FROM table_name_92 WHERE year < 1932 AND württemberg = \"union böckingen\"",
"context": "CREATE TABLE table_name_92 (nordbayern VARCHAR, year VARCHAR, württemberg VARCHAR)",
"question": "What's the Nordbayern with a Württemberg of Union Böckingen in the year before 1932?"
} |
### QUESTION
How many different college/junior/club teams provided a player to the Washington Capitals NHL Team?
### CONTEXT
CREATE TABLE table_1013129_2 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
### ANSWER
SELECT COUNT(college_junior_club_team) FROM table_1013129_2 WHERE nhl_team = "Washington Capitals" | {
"answer": "SELECT COUNT(college_junior_club_team) FROM table_1013129_2 WHERE nhl_team = \"Washington Capitals\"",
"context": "CREATE TABLE table_1013129_2 (college_junior_club_team VARCHAR, nhl_team VARCHAR)",
"question": "How many different college/junior/club teams provided a player to the Washington Capitals NHL Team?"
} |
### QUESTION
display those departments where more than ten employees work who got a commission percentage.
### CONTEXT
CREATE TABLE employees (department_id VARCHAR, commission_pct VARCHAR)
### ANSWER
SELECT department_id FROM employees GROUP BY department_id HAVING COUNT(commission_pct) > 10 | {
"answer": "SELECT department_id FROM employees GROUP BY department_id HAVING COUNT(commission_pct) > 10",
"context": "CREATE TABLE employees (department_id VARCHAR, commission_pct VARCHAR)",
"question": "display those departments where more than ten employees work who got a commission percentage."
} |
### QUESTION
Which state contains the University of Iowa in the mideast region?
### CONTEXT
CREATE TABLE table_name_67 (state VARCHAR, region VARCHAR, host VARCHAR)
### ANSWER
SELECT state FROM table_name_67 WHERE region = "mideast" AND host = "university of iowa" | {
"answer": "SELECT state FROM table_name_67 WHERE region = \"mideast\" AND host = \"university of iowa\"",
"context": "CREATE TABLE table_name_67 (state VARCHAR, region VARCHAR, host VARCHAR)",
"question": "Which state contains the University of Iowa in the mideast region?"
} |
### QUESTION
Which tournament had a score of 6–3, 7–6?
### CONTEXT
CREATE TABLE table_name_75 (tournament VARCHAR, score VARCHAR)
### ANSWER
SELECT tournament FROM table_name_75 WHERE score = "6–3, 7–6" | {
"answer": "SELECT tournament FROM table_name_75 WHERE score = \"6–3, 7–6\"",
"context": "CREATE TABLE table_name_75 (tournament VARCHAR, score VARCHAR)",
"question": "Which tournament had a score of 6–3, 7–6?"
} |
### QUESTION
What is the average round that the player from USF was picked in when his draft pick number was less than 24?
### CONTEXT
CREATE TABLE table_name_48 (round INTEGER, college VARCHAR, pick__number VARCHAR)
### ANSWER
SELECT AVG(round) FROM table_name_48 WHERE college = "usf" AND pick__number < 24 | {
"answer": "SELECT AVG(round) FROM table_name_48 WHERE college = \"usf\" AND pick__number < 24",
"context": "CREATE TABLE table_name_48 (round INTEGER, college VARCHAR, pick__number VARCHAR)",
"question": "What is the average round that the player from USF was picked in when his draft pick number was less than 24?"
} |
### QUESTION
What is the sum of Wins, when Against is less than 1033, when Golden Rivers is "Nullawil", and when Byes is less than 2?
### CONTEXT
CREATE TABLE table_name_85 (wins INTEGER, byes VARCHAR, against VARCHAR, golden_rivers VARCHAR)
### ANSWER
SELECT SUM(wins) FROM table_name_85 WHERE against < 1033 AND golden_rivers = "nullawil" AND byes < 2 | {
"answer": "SELECT SUM(wins) FROM table_name_85 WHERE against < 1033 AND golden_rivers = \"nullawil\" AND byes < 2",
"context": "CREATE TABLE table_name_85 (wins INTEGER, byes VARCHAR, against VARCHAR, golden_rivers VARCHAR)",
"question": "What is the sum of Wins, when Against is less than 1033, when Golden Rivers is \"Nullawil\", and when Byes is less than 2?"
} |
### QUESTION
What opponent has an attendance of 20,456?
### CONTEXT
CREATE TABLE table_name_7 (opponent VARCHAR, attendance VARCHAR)
### ANSWER
SELECT opponent FROM table_name_7 WHERE attendance = "20,456" | {
"answer": "SELECT opponent FROM table_name_7 WHERE attendance = \"20,456\"",
"context": "CREATE TABLE table_name_7 (opponent VARCHAR, attendance VARCHAR)",
"question": "What opponent has an attendance of 20,456?"
} |
### QUESTION
How far did p. carbery run to get 2nd?
### CONTEXT
CREATE TABLE table_name_67 (distance VARCHAR, jockey VARCHAR, result VARCHAR)
### ANSWER
SELECT distance FROM table_name_67 WHERE jockey = "p. carbery" AND result = "2nd" | {
"answer": "SELECT distance FROM table_name_67 WHERE jockey = \"p. carbery\" AND result = \"2nd\"",
"context": "CREATE TABLE table_name_67 (distance VARCHAR, jockey VARCHAR, result VARCHAR)",
"question": "How far did p. carbery run to get 2nd?"
} |
### QUESTION
Name the points won for 1230
### CONTEXT
CREATE TABLE table_23501776_16 (points VARCHAR)
### ANSWER
SELECT points AS won FROM table_23501776_16 WHERE points = 1230 | {
"answer": "SELECT points AS won FROM table_23501776_16 WHERE points = 1230",
"context": "CREATE TABLE table_23501776_16 (points VARCHAR)",
"question": "Name the points won for 1230"
} |
### QUESTION
what's the poles with pts being 81
### CONTEXT
CREATE TABLE table_14139408_1 (poles VARCHAR, pts VARCHAR)
### ANSWER
SELECT poles FROM table_14139408_1 WHERE pts = "81" | {
"answer": "SELECT poles FROM table_14139408_1 WHERE pts = \"81\"",
"context": "CREATE TABLE table_14139408_1 (poles VARCHAR, pts VARCHAR)",
"question": "what's the poles with pts being 81"
} |
### QUESTION
Name the average points for dallara 3087 lola t88/50 and year before 1988
### CONTEXT
CREATE TABLE table_name_63 (points INTEGER, chassis VARCHAR, year VARCHAR)
### ANSWER
SELECT AVG(points) FROM table_name_63 WHERE chassis = "dallara 3087 lola t88/50" AND year < 1988 | {
"answer": "SELECT AVG(points) FROM table_name_63 WHERE chassis = \"dallara 3087 lola t88/50\" AND year < 1988",
"context": "CREATE TABLE table_name_63 (points INTEGER, chassis VARCHAR, year VARCHAR)",
"question": "Name the average points for dallara 3087 lola t88/50 and year before 1988"
} |
### QUESTION
What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners?
### CONTEXT
CREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR)
### ANSWER
SELECT score FROM table_name_77 WHERE runner_up = "utc" AND winners = "saint-gaudens bears" | {
"answer": "SELECT score FROM table_name_77 WHERE runner_up = \"utc\" AND winners = \"saint-gaudens bears\"",
"context": "CREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR)",
"question": "What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners?"
} |
### QUESTION
Which Country has a Label of Toshiba-emi and a Catalog of vjcp-68403?
### CONTEXT
CREATE TABLE table_name_95 (country VARCHAR, label VARCHAR, catalog VARCHAR)
### ANSWER
SELECT country FROM table_name_95 WHERE label = "toshiba-emi" AND catalog = "vjcp-68403" | {
"answer": "SELECT country FROM table_name_95 WHERE label = \"toshiba-emi\" AND catalog = \"vjcp-68403\"",
"context": "CREATE TABLE table_name_95 (country VARCHAR, label VARCHAR, catalog VARCHAR)",
"question": "Which Country has a Label of Toshiba-emi and a Catalog of vjcp-68403?"
} |
### QUESTION
How many assets does each third party company supply? List the count and the company id.
### CONTEXT
CREATE TABLE Assets (supplier_company_id VARCHAR); CREATE TABLE Third_Party_Companies (company_id VARCHAR)
### ANSWER
SELECT COUNT(*), T1.company_id FROM Third_Party_Companies AS T1 JOIN Assets AS T2 ON T1.company_id = T2.supplier_company_id GROUP BY T1.company_id | {
"answer": "SELECT COUNT(*), T1.company_id FROM Third_Party_Companies AS T1 JOIN Assets AS T2 ON T1.company_id = T2.supplier_company_id GROUP BY T1.company_id",
"context": "CREATE TABLE Assets (supplier_company_id VARCHAR); CREATE TABLE Third_Party_Companies (company_id VARCHAR)",
"question": "How many assets does each third party company supply? List the count and the company id."
} |
### QUESTION
Which major has least number of students? List the major and the number of students.
### CONTEXT
CREATE TABLE Student (Major VARCHAR)
### ANSWER
SELECT Major, COUNT(*) FROM Student GROUP BY Major ORDER BY COUNT(Major) LIMIT 1 | {
"answer": "SELECT Major, COUNT(*) FROM Student GROUP BY Major ORDER BY COUNT(Major) LIMIT 1",
"context": "CREATE TABLE Student (Major VARCHAR)",
"question": "Which major has least number of students? List the major and the number of students."
} |
### QUESTION
What year was Teresa Wright nominated best supporting actress?
### CONTEXT
CREATE TABLE table_18638067_1 (year__ceremony_ VARCHAR, actor_actress VARCHAR, category VARCHAR)
### ANSWER
SELECT year__ceremony_ FROM table_18638067_1 WHERE actor_actress = "Teresa Wright" AND category = "Best Supporting Actress" | {
"answer": "SELECT year__ceremony_ FROM table_18638067_1 WHERE actor_actress = \"Teresa Wright\" AND category = \"Best Supporting Actress\"",
"context": "CREATE TABLE table_18638067_1 (year__ceremony_ VARCHAR, actor_actress VARCHAR, category VARCHAR)",
"question": "What year was Teresa Wright nominated best supporting actress?"
} |
### QUESTION
Who wrote the episode with the code xle05012?
### CONTEXT
CREATE TABLE table_28348757_6 (written_by VARCHAR, production_code VARCHAR)
### ANSWER
SELECT written_by FROM table_28348757_6 WHERE production_code = "XLE05012" | {
"answer": "SELECT written_by FROM table_28348757_6 WHERE production_code = \"XLE05012\"",
"context": "CREATE TABLE table_28348757_6 (written_by VARCHAR, production_code VARCHAR)",
"question": "Who wrote the episode with the code xle05012?"
} |
### QUESTION
Find the city with the most number of stores.
### CONTEXT
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)
### ANSWER
SELECT t3.headquartered_city 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 ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT t3.headquartered_city 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 ORDER BY COUNT(*) DESC LIMIT 1",
"context": "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)",
"question": "Find the city with the most number of stores."
} |
### QUESTION
What Semimajor axis (AU) has a Companion (in order from star) of g?
### CONTEXT
CREATE TABLE table_name_86 (semimajor_axis___au__ VARCHAR, companion__in_order_from_star_ VARCHAR)
### ANSWER
SELECT semimajor_axis___au__ FROM table_name_86 WHERE companion__in_order_from_star_ = "g" | {
"answer": "SELECT semimajor_axis___au__ FROM table_name_86 WHERE companion__in_order_from_star_ = \"g\"",
"context": "CREATE TABLE table_name_86 (semimajor_axis___au__ VARCHAR, companion__in_order_from_star_ VARCHAR)",
"question": "What Semimajor axis (AU) has a Companion (in order from star) of g?"
} |
### QUESTION
When was the mcdonald's lpga championship?
### CONTEXT
CREATE TABLE table_17335602_1 (date VARCHAR, tournament VARCHAR)
### ANSWER
SELECT date FROM table_17335602_1 WHERE tournament = "McDonald's LPGA Championship" | {
"answer": "SELECT date FROM table_17335602_1 WHERE tournament = \"McDonald's LPGA Championship\"",
"context": "CREATE TABLE table_17335602_1 (date VARCHAR, tournament VARCHAR)",
"question": "When was the mcdonald's lpga championship?"
} |
### QUESTION
Give me a list of cities whose temperature in Feb is higher than that in Jun or cities that were once host cities?
### CONTEXT
CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Feb INTEGER, Jun VARCHAR)
### ANSWER
SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Feb > T2.Jun UNION SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id = T4.host_city | {
"answer": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Feb > T2.Jun UNION SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id = T4.host_city",
"context": "CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Feb INTEGER, Jun VARCHAR)",
"question": "Give me a list of cities whose temperature in Feb is higher than that in Jun or cities that were once host cities?"
} |
### QUESTION
What is listed for the Drawn that has a Tray bonus of 5 wiht Points for of 517?
### CONTEXT
CREATE TABLE table_name_23 (drawn VARCHAR, try_bonus VARCHAR, points_for VARCHAR)
### ANSWER
SELECT drawn FROM table_name_23 WHERE try_bonus = "5" AND points_for = "517" | {
"answer": "SELECT drawn FROM table_name_23 WHERE try_bonus = \"5\" AND points_for = \"517\"",
"context": "CREATE TABLE table_name_23 (drawn VARCHAR, try_bonus VARCHAR, points_for VARCHAR)",
"question": "What is listed for the Drawn that has a Tray bonus of 5 wiht Points for of 517?"
} |
### QUESTION
How many degrees were conferred in "San Jose State University" in 2000?
### CONTEXT
CREATE TABLE degrees (Id VARCHAR); CREATE TABLE campuses (Id VARCHAR)
### ANSWER
SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = "San Jose State University" AND t2.year = 2000 | {
"answer": "SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = \"San Jose State University\" AND t2.year = 2000",
"context": "CREATE TABLE degrees (Id VARCHAR); CREATE TABLE campuses (Id VARCHAR)",
"question": "How many degrees were conferred in \"San Jose State University\" in 2000?"
} |
### QUESTION
Name the Number of electorates (2009 which has a Reserved for ( SC / ST /None) of none, and a Name of jahanabad?
### CONTEXT
CREATE TABLE table_name_40 (number_of_electorates__2009_ INTEGER, reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
### ANSWER
SELECT MIN(number_of_electorates__2009_) FROM table_name_40 WHERE reserved_for___sc___st__none_ = "none" AND name = "jahanabad" | {
"answer": "SELECT MIN(number_of_electorates__2009_) FROM table_name_40 WHERE reserved_for___sc___st__none_ = \"none\" AND name = \"jahanabad\"",
"context": "CREATE TABLE table_name_40 (number_of_electorates__2009_ INTEGER, reserved_for___sc___st__none_ VARCHAR, name VARCHAR)",
"question": "Name the Number of electorates (2009 which has a Reserved for ( SC / ST /None) of none, and a Name of jahanabad?"
} |
### QUESTION
Which Laps have a Bike of kawasaki zx-6r, and a Time of +26.891?
### CONTEXT
CREATE TABLE table_name_14 (laps INTEGER, bike VARCHAR, time VARCHAR)
### ANSWER
SELECT MIN(laps) FROM table_name_14 WHERE bike = "kawasaki zx-6r" AND time = "+26.891" | {
"answer": "SELECT MIN(laps) FROM table_name_14 WHERE bike = \"kawasaki zx-6r\" AND time = \"+26.891\"",
"context": "CREATE TABLE table_name_14 (laps INTEGER, bike VARCHAR, time VARCHAR)",
"question": "Which Laps have a Bike of kawasaki zx-6r, and a Time of +26.891?"
} |
### QUESTION
What was the away team score at western oval?
### CONTEXT
CREATE TABLE table_name_46 (away_team VARCHAR, venue VARCHAR)
### ANSWER
SELECT away_team AS score FROM table_name_46 WHERE venue = "western oval" | {
"answer": "SELECT away_team AS score FROM table_name_46 WHERE venue = \"western oval\"",
"context": "CREATE TABLE table_name_46 (away_team VARCHAR, venue VARCHAR)",
"question": "What was the away team score at western oval?"
} |
### QUESTION
What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil?
### CONTEXT
CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)
### ANSWER
SELECT score FROM table_name_56 WHERE tournament = "rabat" AND opponent_in_the_final = "frederico gil" | {
"answer": "SELECT score FROM table_name_56 WHERE tournament = \"rabat\" AND opponent_in_the_final = \"frederico gil\"",
"context": "CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)",
"question": "What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil?"
} |
### QUESTION
How many different production codes are there for the episode with 4.69 million US viewers?
### CONTEXT
CREATE TABLE table_26429543_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
### ANSWER
SELECT COUNT(production_code) FROM table_26429543_1 WHERE us_viewers__millions_ = "4.69" | {
"answer": "SELECT COUNT(production_code) FROM table_26429543_1 WHERE us_viewers__millions_ = \"4.69\"",
"context": "CREATE TABLE table_26429543_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)",
"question": "How many different production codes are there for the episode with 4.69 million US viewers?"
} |
### QUESTION
What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8?
### CONTEXT
CREATE TABLE table_name_6 (year VARCHAR, wins VARCHAR, win__percentage VARCHAR, matches VARCHAR)
### ANSWER
SELECT year FROM table_name_6 WHERE win__percentage = "50.00%" AND matches > 14 AND wins > 8 | {
"answer": "SELECT year FROM table_name_6 WHERE win__percentage = \"50.00%\" AND matches > 14 AND wins > 8",
"context": "CREATE TABLE table_name_6 (year VARCHAR, wins VARCHAR, win__percentage VARCHAR, matches VARCHAR)",
"question": "What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8?"
} |
### QUESTION
What is the Result of the AFG Arena, St. Gallen Competition with a Score of 1–0?
### CONTEXT
CREATE TABLE table_name_92 (result VARCHAR, venue VARCHAR, score VARCHAR)
### ANSWER
SELECT result FROM table_name_92 WHERE venue = "afg arena, st. gallen" AND score = "1–0" | {
"answer": "SELECT result FROM table_name_92 WHERE venue = \"afg arena, st. gallen\" AND score = \"1–0\"",
"context": "CREATE TABLE table_name_92 (result VARCHAR, venue VARCHAR, score VARCHAR)",
"question": "What is the Result of the AFG Arena, St. Gallen Competition with a Score of 1–0?"
} |
### QUESTION
What Frequency's Branding is Your Cure for Corporate Radio?
### CONTEXT
CREATE TABLE table_name_23 (frequency VARCHAR, branding VARCHAR)
### ANSWER
SELECT frequency FROM table_name_23 WHERE branding = "your cure for corporate radio" | {
"answer": "SELECT frequency FROM table_name_23 WHERE branding = \"your cure for corporate radio\"",
"context": "CREATE TABLE table_name_23 (frequency VARCHAR, branding VARCHAR)",
"question": "What Frequency's Branding is Your Cure for Corporate Radio?"
} |
### QUESTION
What is the date of vacancy for 10 december 2007 when quit?
### CONTEXT
CREATE TABLE table_11713303_2 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR)
### ANSWER
SELECT date_of_vacancy FROM table_11713303_2 WHERE date_of_appointment = "10 December 2007" AND manner_of_departure = "Quit" | {
"answer": "SELECT date_of_vacancy FROM table_11713303_2 WHERE date_of_appointment = \"10 December 2007\" AND manner_of_departure = \"Quit\"",
"context": "CREATE TABLE table_11713303_2 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR)",
"question": "What is the date of vacancy for 10 december 2007 when quit?"
} |
### QUESTION
What is Pos., when Height is "m (ft 10in)", and when Date of Birth is "1983-05-29"?
### CONTEXT
CREATE TABLE table_name_45 (pos VARCHAR, height VARCHAR, date_of_birth VARCHAR)
### ANSWER
SELECT pos FROM table_name_45 WHERE height = "m (ft 10in)" AND date_of_birth = "1983-05-29" | {
"answer": "SELECT pos FROM table_name_45 WHERE height = \"m (ft 10in)\" AND date_of_birth = \"1983-05-29\"",
"context": "CREATE TABLE table_name_45 (pos VARCHAR, height VARCHAR, date_of_birth VARCHAR)",
"question": "What is Pos., when Height is \"m (ft 10in)\", and when Date of Birth is \"1983-05-29\"?"
} |
### QUESTION
Which Partner has an Opponents of wayne arthurs sandon stolle?
### CONTEXT
CREATE TABLE table_name_24 (partner VARCHAR, opponents VARCHAR)
### ANSWER
SELECT partner FROM table_name_24 WHERE opponents = "wayne arthurs sandon stolle" | {
"answer": "SELECT partner FROM table_name_24 WHERE opponents = \"wayne arthurs sandon stolle\"",
"context": "CREATE TABLE table_name_24 (partner VARCHAR, opponents VARCHAR)",
"question": "Which Partner has an Opponents of wayne arthurs sandon stolle?"
} |
### QUESTION
What is the Political group for p. maelius capitolinus?
### CONTEXT
CREATE TABLE table_name_58 (political_group VARCHAR, name VARCHAR)
### ANSWER
SELECT political_group FROM table_name_58 WHERE name = "p. maelius capitolinus" | {
"answer": "SELECT political_group FROM table_name_58 WHERE name = \"p. maelius capitolinus\"",
"context": "CREATE TABLE table_name_58 (political_group VARCHAR, name VARCHAR)",
"question": "What is the Political group for p. maelius capitolinus?"
} |
### QUESTION
What is the result for 2004 when A is the result for 2005, and the result of q1 when 2009?
### CONTEXT
CREATE TABLE table_name_32 (Id VARCHAR)
### ANSWER
SELECT 2004 FROM table_name_32 WHERE 2005 = "a" AND 2009 = "q1" | {
"answer": "SELECT 2004 FROM table_name_32 WHERE 2005 = \"a\" AND 2009 = \"q1\"",
"context": "CREATE TABLE table_name_32 (Id VARCHAR)",
"question": "What is the result for 2004 when A is the result for 2005, and the result of q1 when 2009?"
} |
### QUESTION
What's the position listed for the east carolina team?
### CONTEXT
CREATE TABLE table_name_81 (position VARCHAR, school_club_team VARCHAR)
### ANSWER
SELECT position FROM table_name_81 WHERE school_club_team = "east carolina" | {
"answer": "SELECT position FROM table_name_81 WHERE school_club_team = \"east carolina\"",
"context": "CREATE TABLE table_name_81 (position VARCHAR, school_club_team VARCHAR)",
"question": "What's the position listed for the east carolina team?"
} |
### QUESTION
Which song by David Essex spent 2 weeks on top of the charts?
### CONTEXT
CREATE TABLE table_name_1 (song VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)
### ANSWER
SELECT song FROM table_name_1 WHERE weeks_on_top = 2 AND artist = "david essex" | {
"answer": "SELECT song FROM table_name_1 WHERE weeks_on_top = 2 AND artist = \"david essex\"",
"context": "CREATE TABLE table_name_1 (song VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)",
"question": "Which song by David Essex spent 2 weeks on top of the charts?"
} |
### QUESTION
Show the album names, ids and the number of tracks for each album.
### CONTEXT
CREATE TABLE ALBUM (Title VARCHAR, AlbumId VARCHAR); CREATE TABLE TRACK (AlbumID VARCHAR, AlbumId VARCHAR)
### ANSWER
SELECT T1.Title, T2.AlbumID, COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId GROUP BY T2.AlbumID | {
"answer": "SELECT T1.Title, T2.AlbumID, COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId GROUP BY T2.AlbumID",
"context": "CREATE TABLE ALBUM (Title VARCHAR, AlbumId VARCHAR); CREATE TABLE TRACK (AlbumID VARCHAR, AlbumId VARCHAR)",
"question": "Show the album names, ids and the number of tracks for each album."
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.