text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
What was the date of release for the episode sorted value of 6Y/AA?
### CONTEXT
CREATE TABLE table_name_13 (released VARCHAR, series_sorted VARCHAR)
### ANSWER
SELECT released FROM table_name_13 WHERE series_sorted = "6y/aa" | {
"answer": "SELECT released FROM table_name_13 WHERE series_sorted = \"6y/aa\"",
"context": "CREATE TABLE table_name_13 (released VARCHAR, series_sorted VARCHAR)",
"question": "What was the date of release for the episode sorted value of 6Y/AA?"
} |
### QUESTION
What is the year built of the home with a built status and a 42 m. height?
### CONTEXT
CREATE TABLE table_name_41 (status VARCHAR, height VARCHAR)
### ANSWER
SELECT "built" FROM table_name_41 WHERE status = "built" AND height = "42 m." | {
"answer": "SELECT \"built\" FROM table_name_41 WHERE status = \"built\" AND height = \"42 m.\"",
"context": "CREATE TABLE table_name_41 (status VARCHAR, height VARCHAR)",
"question": "What is the year built of the home with a built status and a 42 m. height?"
} |
### QUESTION
Who was the Winner at Campbelltown Sports Stadium?
### CONTEXT
CREATE TABLE table_name_74 (winner VARCHAR, venue VARCHAR)
### ANSWER
SELECT winner FROM table_name_74 WHERE venue = "campbelltown sports stadium" | {
"answer": "SELECT winner FROM table_name_74 WHERE venue = \"campbelltown sports stadium\"",
"context": "CREATE TABLE table_name_74 (winner VARCHAR, venue VARCHAR)",
"question": "Who was the Winner at Campbelltown Sports Stadium?"
} |
### QUESTION
Name the brighton cast for jerry cruncher
### CONTEXT
CREATE TABLE table_17085724_1 (brighton_cast VARCHAR, character VARCHAR)
### ANSWER
SELECT brighton_cast FROM table_17085724_1 WHERE character = "Jerry Cruncher" | {
"answer": "SELECT brighton_cast FROM table_17085724_1 WHERE character = \"Jerry Cruncher\"",
"context": "CREATE TABLE table_17085724_1 (brighton_cast VARCHAR, character VARCHAR)",
"question": "Name the brighton cast for jerry cruncher"
} |
### QUESTION
What is the total number of Area (km²), when Population (2007) is 6,176?
### CONTEXT
CREATE TABLE table_name_13 (area__km²_ VARCHAR, population__2007_ VARCHAR)
### ANSWER
SELECT COUNT(area__km²_) FROM table_name_13 WHERE population__2007_ = 6 OFFSET 176 | {
"answer": "SELECT COUNT(area__km²_) FROM table_name_13 WHERE population__2007_ = 6 OFFSET 176",
"context": "CREATE TABLE table_name_13 (area__km²_ VARCHAR, population__2007_ VARCHAR)",
"question": "What is the total number of Area (km²), when Population (2007) is 6,176?"
} |
### QUESTION
Find the names of the channels that are broadcast in the morning.
### CONTEXT
CREATE TABLE channel (name VARCHAR, channel_id VARCHAR); CREATE TABLE broadcast (channel_id VARCHAR, time_of_day VARCHAR)
### ANSWER
SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id WHERE t2.time_of_day = 'Morning' | {
"answer": "SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id WHERE t2.time_of_day = 'Morning'",
"context": "CREATE TABLE channel (name VARCHAR, channel_id VARCHAR); CREATE TABLE broadcast (channel_id VARCHAR, time_of_day VARCHAR)",
"question": "Find the names of the channels that are broadcast in the morning."
} |
### QUESTION
What is the time/retired for a grid over 17 with 74 laps?
### CONTEXT
CREATE TABLE table_name_31 (time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
### ANSWER
SELECT time_retired FROM table_name_31 WHERE grid > 17 AND laps = 74 | {
"answer": "SELECT time_retired FROM table_name_31 WHERE grid > 17 AND laps = 74",
"context": "CREATE TABLE table_name_31 (time_retired VARCHAR, grid VARCHAR, laps VARCHAR)",
"question": "What is the time/retired for a grid over 17 with 74 laps?"
} |
### QUESTION
What is the overall pick number for a draft pick smaller than 9, named buck mystrom from Michigan State college?
### CONTEXT
CREATE TABLE table_name_72 (overall VARCHAR, name VARCHAR, pick VARCHAR, college VARCHAR)
### ANSWER
SELECT overall FROM table_name_72 WHERE pick < 9 AND college = "michigan state" AND name = "buck mystrom" | {
"answer": "SELECT overall FROM table_name_72 WHERE pick < 9 AND college = \"michigan state\" AND name = \"buck mystrom\"",
"context": "CREATE TABLE table_name_72 (overall VARCHAR, name VARCHAR, pick VARCHAR, college VARCHAR)",
"question": "What is the overall pick number for a draft pick smaller than 9, named buck mystrom from Michigan State college?"
} |
### QUESTION
What city is east region venue University Hall (University of Virginia) in?
### CONTEXT
CREATE TABLE table_name_10 (city VARCHAR, region VARCHAR, venue VARCHAR)
### ANSWER
SELECT city FROM table_name_10 WHERE region = "east" AND venue = "university hall (university of virginia)" | {
"answer": "SELECT city FROM table_name_10 WHERE region = \"east\" AND venue = \"university hall (university of virginia)\"",
"context": "CREATE TABLE table_name_10 (city VARCHAR, region VARCHAR, venue VARCHAR)",
"question": "What city is east region venue University Hall (University of Virginia) in?"
} |
### QUESTION
Show the name of the shop that have the largest quantity of devices in stock.
### CONTEXT
CREATE TABLE stock (Shop_ID VARCHAR, quantity INTEGER); CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR)
### ANSWER
SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1 | {
"answer": "SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1",
"context": "CREATE TABLE stock (Shop_ID VARCHAR, quantity INTEGER); CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR)",
"question": "Show the name of the shop that have the largest quantity of devices in stock."
} |
### QUESTION
What is the civil parish of the cappanaboul townland?
### CONTEXT
CREATE TABLE table_30120547_1 (civil_parish VARCHAR, townland VARCHAR)
### ANSWER
SELECT civil_parish FROM table_30120547_1 WHERE townland = "Cappanaboul" | {
"answer": "SELECT civil_parish FROM table_30120547_1 WHERE townland = \"Cappanaboul\"",
"context": "CREATE TABLE table_30120547_1 (civil_parish VARCHAR, townland VARCHAR)",
"question": "What is the civil parish of the cappanaboul townland?"
} |
### QUESTION
Which Height Metres / feet has a Rank of 8, and Floors of 3x17?
### CONTEXT
CREATE TABLE table_name_18 (height_metres___feet VARCHAR, rank VARCHAR, floors VARCHAR)
### ANSWER
SELECT height_metres___feet FROM table_name_18 WHERE rank = 8 AND floors = "3x17" | {
"answer": "SELECT height_metres___feet FROM table_name_18 WHERE rank = 8 AND floors = \"3x17\"",
"context": "CREATE TABLE table_name_18 (height_metres___feet VARCHAR, rank VARCHAR, floors VARCHAR)",
"question": "Which Height Metres / feet has a Rank of 8, and Floors of 3x17?"
} |
### QUESTION
Which Venue has a Sport of baseball, Championships (Years) of 0, a League of milb, florida state league, and a Club of jupiter hammerheads?
### CONTEXT
CREATE TABLE table_name_38 (venue VARCHAR, club VARCHAR, league VARCHAR, sport VARCHAR, championships__years_ VARCHAR)
### ANSWER
SELECT venue FROM table_name_38 WHERE sport = "baseball" AND championships__years_ = "0" AND league = "milb, florida state league" AND club = "jupiter hammerheads" | {
"answer": "SELECT venue FROM table_name_38 WHERE sport = \"baseball\" AND championships__years_ = \"0\" AND league = \"milb, florida state league\" AND club = \"jupiter hammerheads\"",
"context": "CREATE TABLE table_name_38 (venue VARCHAR, club VARCHAR, league VARCHAR, sport VARCHAR, championships__years_ VARCHAR)",
"question": "Which Venue has a Sport of baseball, Championships (Years) of 0, a League of milb, florida state league, and a Club of jupiter hammerheads?"
} |
### QUESTION
where is team player mike mcniven played for?
### CONTEXT
CREATE TABLE table_1213511_5 (college_junior_club_team VARCHAR, player VARCHAR)
### ANSWER
SELECT college_junior_club_team FROM table_1213511_5 WHERE player = "Mike McNiven" | {
"answer": "SELECT college_junior_club_team FROM table_1213511_5 WHERE player = \"Mike McNiven\"",
"context": "CREATE TABLE table_1213511_5 (college_junior_club_team VARCHAR, player VARCHAR)",
"question": "where is team player mike mcniven played for?"
} |
### QUESTION
What is the payment method of the customer that has purchased the least quantity of items?
### CONTEXT
CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (payment_method VARCHAR, customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)
### ANSWER
SELECT t1.payment_method FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id GROUP BY t1.customer_name ORDER BY SUM(t3.order_quantity) LIMIT 1 | {
"answer": "SELECT t1.payment_method FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id GROUP BY t1.customer_name ORDER BY SUM(t3.order_quantity) LIMIT 1",
"context": "CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (payment_method VARCHAR, customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)",
"question": "What is the payment method of the customer that has purchased the least quantity of items?"
} |
### QUESTION
Name the points classification for predictor-lotto and stage 1
### CONTEXT
CREATE TABLE table_name_65 (points_classification VARCHAR, team_classification VARCHAR, stage VARCHAR)
### ANSWER
SELECT points_classification FROM table_name_65 WHERE team_classification = "predictor-lotto" AND stage = "1" | {
"answer": "SELECT points_classification FROM table_name_65 WHERE team_classification = \"predictor-lotto\" AND stage = \"1\"",
"context": "CREATE TABLE table_name_65 (points_classification VARCHAR, team_classification VARCHAR, stage VARCHAR)",
"question": "Name the points classification for predictor-lotto and stage 1"
} |
### QUESTION
When 17,874 (33.2) is the percentage against what is the percentage for?
### CONTEXT
CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, against___percentage_ VARCHAR)
### ANSWER
SELECT for___percentage_ FROM table_20683381_3 WHERE against___percentage_ = "17,874 (33.2)" | {
"answer": "SELECT for___percentage_ FROM table_20683381_3 WHERE against___percentage_ = \"17,874 (33.2)\"",
"context": "CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, against___percentage_ VARCHAR)",
"question": "When 17,874 (33.2) is the percentage against what is the percentage for?"
} |
### QUESTION
What was the away team score at Corio Oval?
### CONTEXT
CREATE TABLE table_name_42 (away_team VARCHAR, venue VARCHAR)
### ANSWER
SELECT away_team AS score FROM table_name_42 WHERE venue = "corio oval" | {
"answer": "SELECT away_team AS score FROM table_name_42 WHERE venue = \"corio oval\"",
"context": "CREATE TABLE table_name_42 (away_team VARCHAR, venue VARCHAR)",
"question": "What was the away team score at Corio Oval?"
} |
### QUESTION
Which Player has a Nationality of united states, and an Overall of 61 (from boston)?
### CONTEXT
CREATE TABLE table_name_79 (player VARCHAR, nationality VARCHAR, overall VARCHAR)
### ANSWER
SELECT player FROM table_name_79 WHERE nationality = "united states" AND overall = "61 (from boston)" | {
"answer": "SELECT player FROM table_name_79 WHERE nationality = \"united states\" AND overall = \"61 (from boston)\"",
"context": "CREATE TABLE table_name_79 (player VARCHAR, nationality VARCHAR, overall VARCHAR)",
"question": "Which Player has a Nationality of united states, and an Overall of 61 (from boston)?"
} |
### QUESTION
How many distinct locations have the things with service detail 'Unsatisfied' been located in?
### CONTEXT
CREATE TABLE Timed_Locations_of_Things (Location_Code VARCHAR, thing_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, service_details VARCHAR)
### ANSWER
SELECT COUNT(DISTINCT T2.Location_Code) FROM Things AS T1 JOIN Timed_Locations_of_Things AS T2 ON T1.thing_id = T2.thing_id WHERE T1.service_details = 'Unsatisfied' | {
"answer": "SELECT COUNT(DISTINCT T2.Location_Code) FROM Things AS T1 JOIN Timed_Locations_of_Things AS T2 ON T1.thing_id = T2.thing_id WHERE T1.service_details = 'Unsatisfied'",
"context": "CREATE TABLE Timed_Locations_of_Things (Location_Code VARCHAR, thing_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, service_details VARCHAR)",
"question": "How many distinct locations have the things with service detail 'Unsatisfied' been located in?"
} |
### QUESTION
What is the national change where crude birth rate is less than 11.4, crude death rate is more than 12.1 and deaths are 4 376?
### CONTEXT
CREATE TABLE table_name_96 (natural_change VARCHAR, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR, crude_death_rate__per_1000_ VARCHAR)
### ANSWER
SELECT natural_change FROM table_name_96 WHERE crude_birth_rate__per_1000_ < 11.4 AND crude_death_rate__per_1000_ > 12.1 AND deaths = "4 376" | {
"answer": "SELECT natural_change FROM table_name_96 WHERE crude_birth_rate__per_1000_ < 11.4 AND crude_death_rate__per_1000_ > 12.1 AND deaths = \"4 376\"",
"context": "CREATE TABLE table_name_96 (natural_change VARCHAR, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR, crude_death_rate__per_1000_ VARCHAR)",
"question": "What is the national change where crude birth rate is less than 11.4, crude death rate is more than 12.1 and deaths are 4 376?"
} |
### QUESTION
For how many years did the song "Lost Without Your Love" win the gold RIAA Sales Certification, and have a Billboard 200 Peak greater than 26?
### CONTEXT
CREATE TABLE table_name_80 (year INTEGER, billboard_200_peak VARCHAR, riaa_sales_certification VARCHAR, title VARCHAR)
### ANSWER
SELECT SUM(year) FROM table_name_80 WHERE riaa_sales_certification = "gold" AND title = "lost without your love" AND billboard_200_peak > 26 | {
"answer": "SELECT SUM(year) FROM table_name_80 WHERE riaa_sales_certification = \"gold\" AND title = \"lost without your love\" AND billboard_200_peak > 26",
"context": "CREATE TABLE table_name_80 (year INTEGER, billboard_200_peak VARCHAR, riaa_sales_certification VARCHAR, title VARCHAR)",
"question": "For how many years did the song \"Lost Without Your Love\" win the gold RIAA Sales Certification, and have a Billboard 200 Peak greater than 26?"
} |
### QUESTION
Tell me the league apps with league goals less than 2 and position of df and FA cup apps of 5
### CONTEXT
CREATE TABLE table_name_35 (league_apps VARCHAR, fa_cup_apps VARCHAR, league_goals VARCHAR, position VARCHAR)
### ANSWER
SELECT league_apps FROM table_name_35 WHERE league_goals < 2 AND position = "df" AND fa_cup_apps = "5" | {
"answer": "SELECT league_apps FROM table_name_35 WHERE league_goals < 2 AND position = \"df\" AND fa_cup_apps = \"5\"",
"context": "CREATE TABLE table_name_35 (league_apps VARCHAR, fa_cup_apps VARCHAR, league_goals VARCHAR, position VARCHAR)",
"question": "Tell me the league apps with league goals less than 2 and position of df and FA cup apps of 5"
} |
### QUESTION
What's the least amount of laps that George Eaton completed that has a time/retired engine and a grid larger than 8?
### CONTEXT
CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR, time_retired VARCHAR, grid VARCHAR)
### ANSWER
SELECT MIN(laps) FROM table_name_20 WHERE time_retired = "engine" AND grid > 8 AND driver = "george eaton" | {
"answer": "SELECT MIN(laps) FROM table_name_20 WHERE time_retired = \"engine\" AND grid > 8 AND driver = \"george eaton\"",
"context": "CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR, time_retired VARCHAR, grid VARCHAR)",
"question": "What's the least amount of laps that George Eaton completed that has a time/retired engine and a grid larger than 8?"
} |
### QUESTION
How much Attendance has an Opponent of rockies, and a Record of 32-30?
### CONTEXT
CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR)
### ANSWER
SELECT SUM(attendance) FROM table_name_34 WHERE opponent = "rockies" AND record = "32-30" | {
"answer": "SELECT SUM(attendance) FROM table_name_34 WHERE opponent = \"rockies\" AND record = \"32-30\"",
"context": "CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR)",
"question": "How much Attendance has an Opponent of rockies, and a Record of 32-30?"
} |
### QUESTION
How many people attended on december 26, 1982?
### CONTEXT
CREATE TABLE table_name_78 (attendance VARCHAR, date VARCHAR)
### ANSWER
SELECT attendance FROM table_name_78 WHERE date = "december 26, 1982" | {
"answer": "SELECT attendance FROM table_name_78 WHERE date = \"december 26, 1982\"",
"context": "CREATE TABLE table_name_78 (attendance VARCHAR, date VARCHAR)",
"question": "How many people attended on december 26, 1982?"
} |
### QUESTION
How many 'United Airlines' flights go to Airport 'ASY'?
### CONTEXT
CREATE TABLE FLIGHTS (Airline VARCHAR, DestAirport VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR)
### ANSWER
SELECT COUNT(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = "United Airlines" AND T2.DestAirport = "ASY" | {
"answer": "SELECT COUNT(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = \"United Airlines\" AND T2.DestAirport = \"ASY\"",
"context": "CREATE TABLE FLIGHTS (Airline VARCHAR, DestAirport VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR)",
"question": "How many 'United Airlines' flights go to Airport 'ASY'?"
} |
### QUESTION
What is NiCd, when Type is "Capacity under 500mA constant Drain"?
### CONTEXT
CREATE TABLE table_name_23 (nicd VARCHAR, type VARCHAR)
### ANSWER
SELECT nicd FROM table_name_23 WHERE type = "capacity under 500ma constant drain" | {
"answer": "SELECT nicd FROM table_name_23 WHERE type = \"capacity under 500ma constant drain\"",
"context": "CREATE TABLE table_name_23 (nicd VARCHAR, type VARCHAR)",
"question": "What is NiCd, when Type is \"Capacity under 500mA constant Drain\"?"
} |
### QUESTION
What is the id and trade name of the medicines can interact with at least 3 enzymes?
### CONTEXT
CREATE TABLE medicine (id VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR)
### ANSWER
SELECT T1.id, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 3 | {
"answer": "SELECT T1.id, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 3",
"context": "CREATE TABLE medicine (id VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR)",
"question": "What is the id and trade name of the medicines can interact with at least 3 enzymes?"
} |
### QUESTION
where pageant is elite model look and year is bigger than 1993.0, who is the delegate?
### CONTEXT
CREATE TABLE table_1825751_14 (delegate VARCHAR, pageant VARCHAR, year VARCHAR)
### ANSWER
SELECT delegate FROM table_1825751_14 WHERE pageant = "Elite Model Look" AND year > 1993.0 | {
"answer": "SELECT delegate FROM table_1825751_14 WHERE pageant = \"Elite Model Look\" AND year > 1993.0",
"context": "CREATE TABLE table_1825751_14 (delegate VARCHAR, pageant VARCHAR, year VARCHAR)",
"question": "where pageant is elite model look and year is bigger than 1993.0, who is the delegate?"
} |
### QUESTION
What is the date when the high points is michael beasley , martell webster (16)?
### CONTEXT
CREATE TABLE table_27756314_10 (date VARCHAR, high_points VARCHAR)
### ANSWER
SELECT date FROM table_27756314_10 WHERE high_points = "Michael Beasley , Martell Webster (16)" | {
"answer": "SELECT date FROM table_27756314_10 WHERE high_points = \"Michael Beasley , Martell Webster (16)\"",
"context": "CREATE TABLE table_27756314_10 (date VARCHAR, high_points VARCHAR)",
"question": "What is the date when the high points is michael beasley , martell webster (16)?"
} |
### QUESTION
Show the names of pilots and the number of records they have.
### CONTEXT
CREATE TABLE pilot (Pilot_name VARCHAR, pilot_ID VARCHAR); CREATE TABLE pilot_record (pilot_ID VARCHAR)
### ANSWER
SELECT T2.Pilot_name, COUNT(*) FROM pilot_record AS T1 JOIN pilot AS T2 ON T1.pilot_ID = T2.pilot_ID GROUP BY T2.Pilot_name | {
"answer": "SELECT T2.Pilot_name, COUNT(*) FROM pilot_record AS T1 JOIN pilot AS T2 ON T1.pilot_ID = T2.pilot_ID GROUP BY T2.Pilot_name",
"context": "CREATE TABLE pilot (Pilot_name VARCHAR, pilot_ID VARCHAR); CREATE TABLE pilot_record (pilot_ID VARCHAR)",
"question": "Show the names of pilots and the number of records they have."
} |
### QUESTION
What is the frequency for I/O bus of DMI, voltage of 0.725–1.4v and part cn80617004458ab?
### CONTEXT
CREATE TABLE table_name_4 (frequency VARCHAR, part_number_s_ VARCHAR, i_o_bus VARCHAR, voltage VARCHAR)
### ANSWER
SELECT frequency FROM table_name_4 WHERE i_o_bus = "dmi" AND voltage = "0.725–1.4v" AND part_number_s_ = "cn80617004458ab" | {
"answer": "SELECT frequency FROM table_name_4 WHERE i_o_bus = \"dmi\" AND voltage = \"0.725–1.4v\" AND part_number_s_ = \"cn80617004458ab\"",
"context": "CREATE TABLE table_name_4 (frequency VARCHAR, part_number_s_ VARCHAR, i_o_bus VARCHAR, voltage VARCHAR)",
"question": "What is the frequency for I/O bus of DMI, voltage of 0.725–1.4v and part cn80617004458ab?"
} |
### QUESTION
What season has an episode written by john o'bryan and directed by ethan spaulding?
### CONTEXT
CREATE TABLE table_15185133_1 (no_in_season VARCHAR, written_by VARCHAR, directed_by VARCHAR)
### ANSWER
SELECT no_in_season FROM table_15185133_1 WHERE written_by = "John O'Bryan" AND directed_by = "Ethan Spaulding" | {
"answer": "SELECT no_in_season FROM table_15185133_1 WHERE written_by = \"John O'Bryan\" AND directed_by = \"Ethan Spaulding\"",
"context": "CREATE TABLE table_15185133_1 (no_in_season VARCHAR, written_by VARCHAR, directed_by VARCHAR)",
"question": "What season has an episode written by john o'bryan and directed by ethan spaulding?"
} |
### QUESTION
How many first games are associated with 5 games played and under 3 games lost?
### CONTEXT
CREATE TABLE table_name_85 (first_game INTEGER, played VARCHAR, lost VARCHAR)
### ANSWER
SELECT SUM(first_game) FROM table_name_85 WHERE played = 5 AND lost < 3 | {
"answer": "SELECT SUM(first_game) FROM table_name_85 WHERE played = 5 AND lost < 3",
"context": "CREATE TABLE table_name_85 (first_game INTEGER, played VARCHAR, lost VARCHAR)",
"question": "How many first games are associated with 5 games played and under 3 games lost?"
} |
### QUESTION
How many students are enrolled in the class taught by some professor from the accounting department?
### CONTEXT
CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR)
### ANSWER
SELECT COUNT(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN department AS T4 ON T3.dept_code = T4.dept_code WHERE T4.dept_name = 'Accounting' | {
"answer": "SELECT COUNT(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN department AS T4 ON T3.dept_code = T4.dept_code WHERE T4.dept_name = 'Accounting'",
"context": "CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR)",
"question": "How many students are enrolled in the class taught by some professor from the accounting department?"
} |
### QUESTION
What is the lowest Bronze with a Nation of egypt (egy) and with a Gold that is smaller than 2?
### CONTEXT
CREATE TABLE table_name_56 (bronze INTEGER, nation VARCHAR, gold VARCHAR)
### ANSWER
SELECT MIN(bronze) FROM table_name_56 WHERE nation = "egypt (egy)" AND gold < 2 | {
"answer": "SELECT MIN(bronze) FROM table_name_56 WHERE nation = \"egypt (egy)\" AND gold < 2",
"context": "CREATE TABLE table_name_56 (bronze INTEGER, nation VARCHAR, gold VARCHAR)",
"question": "What is the lowest Bronze with a Nation of egypt (egy) and with a Gold that is smaller than 2?"
} |
### QUESTION
List the name of all projects that are operated longer than the average working hours of all projects.
### CONTEXT
CREATE TABLE projects (name VARCHAR, hours INTEGER)
### ANSWER
SELECT name FROM projects WHERE hours > (SELECT AVG(hours) FROM projects) | {
"answer": "SELECT name FROM projects WHERE hours > (SELECT AVG(hours) FROM projects)",
"context": "CREATE TABLE projects (name VARCHAR, hours INTEGER)",
"question": "List the name of all projects that are operated longer than the average working hours of all projects."
} |
### QUESTION
Show all dates of transactions whose type code is "SALE".
### CONTEXT
CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, transaction_type_code VARCHAR)
### ANSWER
SELECT date_of_transaction FROM TRANSACTIONS WHERE transaction_type_code = "SALE" | {
"answer": "SELECT date_of_transaction FROM TRANSACTIONS WHERE transaction_type_code = \"SALE\"",
"context": "CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, transaction_type_code VARCHAR)",
"question": "Show all dates of transactions whose type code is \"SALE\"."
} |
### QUESTION
Which Venue has an Away team of south melbourne?
### CONTEXT
CREATE TABLE table_name_89 (venue VARCHAR, away_team VARCHAR)
### ANSWER
SELECT venue FROM table_name_89 WHERE away_team = "south melbourne" | {
"answer": "SELECT venue FROM table_name_89 WHERE away_team = \"south melbourne\"",
"context": "CREATE TABLE table_name_89 (venue VARCHAR, away_team VARCHAR)",
"question": "Which Venue has an Away team of south melbourne?"
} |
### QUESTION
Who did Bruno Soares and a partner face in the finals on a clay surface on August 1, 2010?
### CONTEXT
CREATE TABLE table_name_37 (opponents_in_the_final VARCHAR, date VARCHAR, partnering VARCHAR, surface VARCHAR)
### ANSWER
SELECT opponents_in_the_final FROM table_name_37 WHERE partnering = "bruno soares" AND surface = "clay" AND date = "august 1, 2010" | {
"answer": "SELECT opponents_in_the_final FROM table_name_37 WHERE partnering = \"bruno soares\" AND surface = \"clay\" AND date = \"august 1, 2010\"",
"context": "CREATE TABLE table_name_37 (opponents_in_the_final VARCHAR, date VARCHAR, partnering VARCHAR, surface VARCHAR)",
"question": "Who did Bruno Soares and a partner face in the finals on a clay surface on August 1, 2010?"
} |
### QUESTION
What are the order details of the products with price higher than 2000?
### CONTEXT
CREATE TABLE Products (Product_ID VARCHAR, Product_price INTEGER); CREATE TABLE ORDER_ITEMS (Other_Item_Details VARCHAR, Product_ID VARCHAR)
### ANSWER
SELECT T1.Other_Item_Details FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID = T2.Product_ID WHERE T2.Product_price > 2000 | {
"answer": "SELECT T1.Other_Item_Details FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID = T2.Product_ID WHERE T2.Product_price > 2000",
"context": "CREATE TABLE Products (Product_ID VARCHAR, Product_price INTEGER); CREATE TABLE ORDER_ITEMS (Other_Item_Details VARCHAR, Product_ID VARCHAR)",
"question": "What are the order details of the products with price higher than 2000?"
} |
### QUESTION
Show all city with a branch opened in 2001 and a branch with more than 100 membership.
### CONTEXT
CREATE TABLE branch (city VARCHAR, open_year VARCHAR, membership_amount VARCHAR)
### ANSWER
SELECT city FROM branch WHERE open_year = 2001 AND membership_amount > 100 | {
"answer": "SELECT city FROM branch WHERE open_year = 2001 AND membership_amount > 100",
"context": "CREATE TABLE branch (city VARCHAR, open_year VARCHAR, membership_amount VARCHAR)",
"question": "Show all city with a branch opened in 2001 and a branch with more than 100 membership."
} |
### QUESTION
What are the names and descriptions of the products that are of 'Cutlery' type and have daily hire cost lower than 20?
### CONTEXT
CREATE TABLE products_for_hire (product_name VARCHAR, product_description VARCHAR, product_type_code VARCHAR, daily_hire_cost VARCHAR)
### ANSWER
SELECT product_name, product_description FROM products_for_hire WHERE product_type_code = 'Cutlery' AND daily_hire_cost < 20 | {
"answer": "SELECT product_name, product_description FROM products_for_hire WHERE product_type_code = 'Cutlery' AND daily_hire_cost < 20",
"context": "CREATE TABLE products_for_hire (product_name VARCHAR, product_description VARCHAR, product_type_code VARCHAR, daily_hire_cost VARCHAR)",
"question": "What are the names and descriptions of the products that are of 'Cutlery' type and have daily hire cost lower than 20?"
} |
### QUESTION
What is the School/Junior/Club Group (Association) that has a Round bigger than 6, and a Place of winger, and a Player of evgeny afanasiev?
### CONTEXT
CREATE TABLE table_name_49 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)
### ANSWER
SELECT college_junior_club_team__league_ FROM table_name_49 WHERE round > 6 AND position = "winger" AND player = "evgeny afanasiev" | {
"answer": "SELECT college_junior_club_team__league_ FROM table_name_49 WHERE round > 6 AND position = \"winger\" AND player = \"evgeny afanasiev\"",
"context": "CREATE TABLE table_name_49 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)",
"question": "What is the School/Junior/Club Group (Association) that has a Round bigger than 6, and a Place of winger, and a Player of evgeny afanasiev?"
} |
### QUESTION
Find the physician who was trained in the most expensive procedure?
### CONTEXT
CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE physician (name VARCHAR, employeeid VARCHAR); CREATE TABLE procedures (code VARCHAR, cost VARCHAR)
### ANSWER
SELECT T1.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment ORDER BY T3.cost DESC LIMIT 1 | {
"answer": "SELECT T1.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment ORDER BY T3.cost DESC LIMIT 1",
"context": "CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE physician (name VARCHAR, employeeid VARCHAR); CREATE TABLE procedures (code VARCHAR, cost VARCHAR)",
"question": "Find the physician who was trained in the most expensive procedure?"
} |
### QUESTION
What is the hometown of Bubba Starling?
### CONTEXT
CREATE TABLE table_11677100_17 (hometown VARCHAR, player VARCHAR)
### ANSWER
SELECT hometown FROM table_11677100_17 WHERE player = "Bubba Starling" | {
"answer": "SELECT hometown FROM table_11677100_17 WHERE player = \"Bubba Starling\"",
"context": "CREATE TABLE table_11677100_17 (hometown VARCHAR, player VARCHAR)",
"question": "What is the hometown of Bubba Starling?"
} |
### QUESTION
What is the method of resolution for the fight that had a time of 5:00 and a record of 5-0?
### CONTEXT
CREATE TABLE table_name_57 (method VARCHAR, time VARCHAR, record VARCHAR)
### ANSWER
SELECT method FROM table_name_57 WHERE time = "5:00" AND record = "5-0" | {
"answer": "SELECT method FROM table_name_57 WHERE time = \"5:00\" AND record = \"5-0\"",
"context": "CREATE TABLE table_name_57 (method VARCHAR, time VARCHAR, record VARCHAR)",
"question": "What is the method of resolution for the fight that had a time of 5:00 and a record of 5-0?"
} |
### QUESTION
What is the Venue with a Result of 3–0, and a Competition with 2006 fifa world cup qualifier, and with a Score of 3–0?
### CONTEXT
CREATE TABLE table_name_22 (venue VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)
### ANSWER
SELECT venue FROM table_name_22 WHERE result = "3–0" AND competition = "2006 fifa world cup qualifier" AND score = "3–0" | {
"answer": "SELECT venue FROM table_name_22 WHERE result = \"3–0\" AND competition = \"2006 fifa world cup qualifier\" AND score = \"3–0\"",
"context": "CREATE TABLE table_name_22 (venue VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)",
"question": "What is the Venue with a Result of 3–0, and a Competition with 2006 fifa world cup qualifier, and with a Score of 3–0?"
} |
### QUESTION
What is the smallest ANSI code for adler township when Longitude is more than -101.333926, GEO ID is less than 3806700900, and Land ( sqmi ) is more than 35.84?
### CONTEXT
CREATE TABLE table_name_18 (ansi_code INTEGER, land___sqmi__ VARCHAR, township VARCHAR, longitude VARCHAR, geo_id VARCHAR)
### ANSWER
SELECT MIN(ansi_code) FROM table_name_18 WHERE longitude > -101.333926 AND geo_id < 3806700900 AND township = "adler" AND land___sqmi__ > 35.84 | {
"answer": "SELECT MIN(ansi_code) FROM table_name_18 WHERE longitude > -101.333926 AND geo_id < 3806700900 AND township = \"adler\" AND land___sqmi__ > 35.84",
"context": "CREATE TABLE table_name_18 (ansi_code INTEGER, land___sqmi__ VARCHAR, township VARCHAR, longitude VARCHAR, geo_id VARCHAR)",
"question": "What is the smallest ANSI code for adler township when Longitude is more than -101.333926, GEO ID is less than 3806700900, and Land ( sqmi ) is more than 35.84?"
} |
### QUESTION
What is the highest birth/2013 when the death/2012 is 14,1?
### CONTEXT
CREATE TABLE table_25703_1 (birth_2013 INTEGER, death_2012 VARCHAR)
### ANSWER
SELECT MAX(birth_2013) FROM table_25703_1 WHERE death_2012 = "14,1" | {
"answer": "SELECT MAX(birth_2013) FROM table_25703_1 WHERE death_2012 = \"14,1\"",
"context": "CREATE TABLE table_25703_1 (birth_2013 INTEGER, death_2012 VARCHAR)",
"question": "What is the highest birth/2013 when the death/2012 is 14,1?"
} |
### QUESTION
What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records?
### CONTEXT
CREATE TABLE table_name_63 (year_of_recording INTEGER, orchestra VARCHAR, record_company VARCHAR)
### ANSWER
SELECT MIN(year_of_recording) FROM table_name_63 WHERE orchestra = "royal philharmonic orchestra" AND record_company = "decca records" | {
"answer": "SELECT MIN(year_of_recording) FROM table_name_63 WHERE orchestra = \"royal philharmonic orchestra\" AND record_company = \"decca records\"",
"context": "CREATE TABLE table_name_63 (year_of_recording INTEGER, orchestra VARCHAR, record_company VARCHAR)",
"question": "What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records?"
} |
### QUESTION
what are the details of the cmi masters that have the cross reference code 'Tax'?
### CONTEXT
CREATE TABLE CMI_Cross_References (master_customer_id VARCHAR, source_system_code VARCHAR); CREATE TABLE Customer_Master_Index (cmi_details VARCHAR, master_customer_id VARCHAR)
### ANSWER
SELECT T1.cmi_details FROM Customer_Master_Index AS T1 JOIN CMI_Cross_References AS T2 ON T1.master_customer_id = T2.master_customer_id WHERE T2.source_system_code = 'Tax' | {
"answer": "SELECT T1.cmi_details FROM Customer_Master_Index AS T1 JOIN CMI_Cross_References AS T2 ON T1.master_customer_id = T2.master_customer_id WHERE T2.source_system_code = 'Tax'",
"context": "CREATE TABLE CMI_Cross_References (master_customer_id VARCHAR, source_system_code VARCHAR); CREATE TABLE Customer_Master_Index (cmi_details VARCHAR, master_customer_id VARCHAR)",
"question": "what are the details of the cmi masters that have the cross reference code 'Tax'?"
} |
### QUESTION
What is the sum of Asian or Amerindian (%), when State is Sergipe, and when Brown (%) is greater than 61,3?
### CONTEXT
CREATE TABLE table_name_44 (asian_or_amerindian___percentage_ INTEGER, state VARCHAR, brown___percentage_ VARCHAR)
### ANSWER
SELECT SUM(asian_or_amerindian___percentage_) FROM table_name_44 WHERE state = "sergipe" AND brown___percentage_ > 61 OFFSET 3 | {
"answer": "SELECT SUM(asian_or_amerindian___percentage_) FROM table_name_44 WHERE state = \"sergipe\" AND brown___percentage_ > 61 OFFSET 3",
"context": "CREATE TABLE table_name_44 (asian_or_amerindian___percentage_ INTEGER, state VARCHAR, brown___percentage_ VARCHAR)",
"question": "What is the sum of Asian or Amerindian (%), when State is Sergipe, and when Brown (%) is greater than 61,3?"
} |
### QUESTION
How many votes did 3rd ranking candidate Mary Louise Lorefice receive?
### CONTEXT
CREATE TABLE table_name_48 (votes VARCHAR, rank VARCHAR, candidate VARCHAR)
### ANSWER
SELECT COUNT(votes) FROM table_name_48 WHERE rank = "3rd" AND candidate = "mary louise lorefice" | {
"answer": "SELECT COUNT(votes) FROM table_name_48 WHERE rank = \"3rd\" AND candidate = \"mary louise lorefice\"",
"context": "CREATE TABLE table_name_48 (votes VARCHAR, rank VARCHAR, candidate VARCHAR)",
"question": "How many votes did 3rd ranking candidate Mary Louise Lorefice receive?"
} |
### QUESTION
What date was Montreal the visitor?
### CONTEXT
CREATE TABLE table_name_50 (date VARCHAR, visitor VARCHAR)
### ANSWER
SELECT date FROM table_name_50 WHERE visitor = "montreal" | {
"answer": "SELECT date FROM table_name_50 WHERE visitor = \"montreal\"",
"context": "CREATE TABLE table_name_50 (date VARCHAR, visitor VARCHAR)",
"question": "What date was Montreal the visitor?"
} |
### QUESTION
Find names of instructors with salary greater than that of some (at least one) instructor in the Biology department.
### CONTEXT
CREATE TABLE instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR)
### ANSWER
SELECT name FROM instructor WHERE salary > (SELECT MIN(salary) FROM instructor WHERE dept_name = 'Biology') | {
"answer": "SELECT name FROM instructor WHERE salary > (SELECT MIN(salary) FROM instructor WHERE dept_name = 'Biology')",
"context": "CREATE TABLE instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR)",
"question": "Find names of instructors with salary greater than that of some (at least one) instructor in the Biology department."
} |
### QUESTION
Show the id of each employee and the number of document destruction authorised by that employee.
### CONTEXT
CREATE TABLE Documents_to_be_destroyed (Destruction_Authorised_by_Employee_ID VARCHAR)
### ANSWER
SELECT Destruction_Authorised_by_Employee_ID, COUNT(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID | {
"answer": "SELECT Destruction_Authorised_by_Employee_ID, COUNT(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID",
"context": "CREATE TABLE Documents_to_be_destroyed (Destruction_Authorised_by_Employee_ID VARCHAR)",
"question": "Show the id of each employee and the number of document destruction authorised by that employee."
} |
### QUESTION
how many points for with points against being 177
### CONTEXT
CREATE TABLE table_14058433_5 (points_for VARCHAR, points_against VARCHAR)
### ANSWER
SELECT COUNT(points_for) FROM table_14058433_5 WHERE points_against = "177" | {
"answer": "SELECT COUNT(points_for) FROM table_14058433_5 WHERE points_against = \"177\"",
"context": "CREATE TABLE table_14058433_5 (points_for VARCHAR, points_against VARCHAR)",
"question": " how many points for with points against being 177"
} |
### QUESTION
what is the latitude of the feature of longitude 80.0e
### CONTEXT
CREATE TABLE table_16799784_7 (latitude VARCHAR, longitude VARCHAR)
### ANSWER
SELECT latitude FROM table_16799784_7 WHERE longitude = "80.0E" | {
"answer": "SELECT latitude FROM table_16799784_7 WHERE longitude = \"80.0E\"",
"context": "CREATE TABLE table_16799784_7 (latitude VARCHAR, longitude VARCHAR)",
"question": "what is the latitude of the feature of longitude 80.0e"
} |
### QUESTION
If the population is 2188, what was the median household income?
### CONTEXT
CREATE TABLE table_1840495_2 (median_house__hold_income VARCHAR, population VARCHAR)
### ANSWER
SELECT median_house__hold_income FROM table_1840495_2 WHERE population = 2188 | {
"answer": "SELECT median_house__hold_income FROM table_1840495_2 WHERE population = 2188",
"context": "CREATE TABLE table_1840495_2 (median_house__hold_income VARCHAR, population VARCHAR)",
"question": "If the population is 2188, what was the median household income?"
} |
### QUESTION
what is the release date when the sspec number is sr15h(c0)?
### CONTEXT
CREATE TABLE table_name_98 (release_date VARCHAR, sspec_number VARCHAR)
### ANSWER
SELECT release_date FROM table_name_98 WHERE sspec_number = "sr15h(c0)" | {
"answer": "SELECT release_date FROM table_name_98 WHERE sspec_number = \"sr15h(c0)\"",
"context": "CREATE TABLE table_name_98 (release_date VARCHAR, sspec_number VARCHAR)",
"question": "what is the release date when the sspec number is sr15h(c0)?"
} |
### QUESTION
What was the original airdate for the episode written by daisuke habara and directed by akimitsu sasaki
### CONTEXT
CREATE TABLE table_29039942_1 (original_airdate VARCHAR, writer VARCHAR, director VARCHAR)
### ANSWER
SELECT original_airdate FROM table_29039942_1 WHERE writer = "Daisuke Habara" AND director = "Akimitsu Sasaki" | {
"answer": "SELECT original_airdate FROM table_29039942_1 WHERE writer = \"Daisuke Habara\" AND director = \"Akimitsu Sasaki\"",
"context": "CREATE TABLE table_29039942_1 (original_airdate VARCHAR, writer VARCHAR, director VARCHAR)",
"question": "What was the original airdate for the episode written by daisuke habara and directed by akimitsu sasaki"
} |
### QUESTION
How many losses altogether were had by teams that won 12 times, had 40-4 points, and more than 57 goals?
### CONTEXT
CREATE TABLE table_name_11 (losses INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR)
### ANSWER
SELECT SUM(losses) FROM table_name_11 WHERE wins = 12 AND points = "40-4" AND goals_for > 57 | {
"answer": "SELECT SUM(losses) FROM table_name_11 WHERE wins = 12 AND points = \"40-4\" AND goals_for > 57",
"context": "CREATE TABLE table_name_11 (losses INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR)",
"question": "How many losses altogether were had by teams that won 12 times, had 40-4 points, and more than 57 goals?"
} |
### QUESTION
Which Condition has an unaffected Partial thromboplastin time, Platelet count, and a Prothrombin time?
### CONTEXT
CREATE TABLE table_name_46 (condition VARCHAR, prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
### ANSWER
SELECT condition FROM table_name_46 WHERE partial_thromboplastin_time = "unaffected" AND platelet_count = "unaffected" AND prothrombin_time = "unaffected" | {
"answer": "SELECT condition FROM table_name_46 WHERE partial_thromboplastin_time = \"unaffected\" AND platelet_count = \"unaffected\" AND prothrombin_time = \"unaffected\"",
"context": "CREATE TABLE table_name_46 (condition VARCHAR, prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)",
"question": "Which Condition has an unaffected Partial thromboplastin time, Platelet count, and a Prothrombin time?"
} |
### QUESTION
What is the venue of the game with Man of the Match Vaclav Zavoral?
### CONTEXT
CREATE TABLE table_17120964_8 (venue VARCHAR, man_of_the_match VARCHAR)
### ANSWER
SELECT venue FROM table_17120964_8 WHERE man_of_the_match = "Vaclav Zavoral" | {
"answer": "SELECT venue FROM table_17120964_8 WHERE man_of_the_match = \"Vaclav Zavoral\"",
"context": "CREATE TABLE table_17120964_8 (venue VARCHAR, man_of_the_match VARCHAR)",
"question": "What is the venue of the game with Man of the Match Vaclav Zavoral?"
} |
### QUESTION
What is the average day in December with a Record of 16-3-4 and a Game smaller than 23?
### CONTEXT
CREATE TABLE table_name_84 (december INTEGER, record VARCHAR, game VARCHAR)
### ANSWER
SELECT AVG(december) FROM table_name_84 WHERE record = "16-3-4" AND game < 23 | {
"answer": "SELECT AVG(december) FROM table_name_84 WHERE record = \"16-3-4\" AND game < 23",
"context": "CREATE TABLE table_name_84 (december INTEGER, record VARCHAR, game VARCHAR)",
"question": "What is the average day in December with a Record of 16-3-4 and a Game smaller than 23?"
} |
### QUESTION
Find the first name of students who are living in the Smith Hall.
### CONTEXT
CREATE TABLE student (fname VARCHAR, stuid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)
### ANSWER
SELECT T1.fname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' | {
"answer": "SELECT T1.fname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall'",
"context": "CREATE TABLE student (fname VARCHAR, stuid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)",
"question": "Find the first name of students who are living in the Smith Hall."
} |
### QUESTION
what is the sum of the wkts when the ovrs were bigger than 2 and econ was bigger than 7.84?
### CONTEXT
CREATE TABLE table_name_46 (wkts INTEGER, ovrs VARCHAR, econ VARCHAR)
### ANSWER
SELECT SUM(wkts) FROM table_name_46 WHERE ovrs > 2 AND econ > 7.84 | {
"answer": "SELECT SUM(wkts) FROM table_name_46 WHERE ovrs > 2 AND econ > 7.84",
"context": "CREATE TABLE table_name_46 (wkts INTEGER, ovrs VARCHAR, econ VARCHAR)",
"question": "what is the sum of the wkts when the ovrs were bigger than 2 and econ was bigger than 7.84?"
} |
### QUESTION
Find the number of students taught by TARRING LEIA.
### CONTEXT
CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)
### ANSWER
SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "TARRING" AND T2.lastname = "LEIA" | {
"answer": "SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = \"TARRING\" AND T2.lastname = \"LEIA\"",
"context": "CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)",
"question": "Find the number of students taught by TARRING LEIA."
} |
### QUESTION
What was the oilers record for the game on November 27 when the Edmonton oilers were playing at home and the Chicago Blackhawks were the visiting team?
### CONTEXT
CREATE TABLE table_name_85 (record VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)
### ANSWER
SELECT record FROM table_name_85 WHERE home = "edmonton oilers" AND visitor = "chicago blackhawks" AND date = "november 27" | {
"answer": "SELECT record FROM table_name_85 WHERE home = \"edmonton oilers\" AND visitor = \"chicago blackhawks\" AND date = \"november 27\"",
"context": "CREATE TABLE table_name_85 (record VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)",
"question": "What was the oilers record for the game on November 27 when the Edmonton oilers were playing at home and the Chicago Blackhawks were the visiting team?"
} |
### QUESTION
Show all storm names affecting region "Denmark".
### CONTEXT
CREATE TABLE region (region_id VARCHAR, region_name VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR)
### ANSWER
SELECT T3.name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id WHERE T2.region_name = 'Denmark' | {
"answer": "SELECT T3.name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id WHERE T2.region_name = 'Denmark'",
"context": "CREATE TABLE region (region_id VARCHAR, region_name VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR)",
"question": "Show all storm names affecting region \"Denmark\"."
} |
### QUESTION
How many weeks did the single that entered the charts 14 september 2002 stay on the charts ?
### CONTEXT
CREATE TABLE table_name_30 (weeks_on_chart__uk_ VARCHAR, entered_chart__uk_ VARCHAR)
### ANSWER
SELECT COUNT(weeks_on_chart__uk_) FROM table_name_30 WHERE entered_chart__uk_ = "14 september 2002" | {
"answer": "SELECT COUNT(weeks_on_chart__uk_) FROM table_name_30 WHERE entered_chart__uk_ = \"14 september 2002\"",
"context": "CREATE TABLE table_name_30 (weeks_on_chart__uk_ VARCHAR, entered_chart__uk_ VARCHAR)",
"question": "How many weeks did the single that entered the charts 14 september 2002 stay on the charts ?"
} |
### QUESTION
Where was the game that the Indianapolis Colts lost 24-14?
### CONTEXT
CREATE TABLE table_name_23 (location VARCHAR, loser VARCHAR, result VARCHAR)
### ANSWER
SELECT location FROM table_name_23 WHERE loser = "indianapolis colts" AND result = "24-14" | {
"answer": "SELECT location FROM table_name_23 WHERE loser = \"indianapolis colts\" AND result = \"24-14\"",
"context": "CREATE TABLE table_name_23 (location VARCHAR, loser VARCHAR, result VARCHAR)",
"question": "Where was the game that the Indianapolis Colts lost 24-14?"
} |
### QUESTION
what is the series number where the date of first broadcast is 16 october 2008?
### CONTEXT
CREATE TABLE table_12995531_3 (series_number VARCHAR, date_of_first_broadcast VARCHAR)
### ANSWER
SELECT series_number FROM table_12995531_3 WHERE date_of_first_broadcast = "16 October 2008" | {
"answer": "SELECT series_number FROM table_12995531_3 WHERE date_of_first_broadcast = \"16 October 2008\"",
"context": "CREATE TABLE table_12995531_3 (series_number VARCHAR, date_of_first_broadcast VARCHAR)",
"question": "what is the series number where the date of first broadcast is 16 october 2008?"
} |
### QUESTION
What was the score for Groves High School when the high assist was Giovanni Riley (9)?
### CONTEXT
CREATE TABLE table_name_21 (score VARCHAR, location_attendance VARCHAR, high_assists VARCHAR)
### ANSWER
SELECT score FROM table_name_21 WHERE location_attendance = "groves high school" AND high_assists = "giovanni riley (9)" | {
"answer": "SELECT score FROM table_name_21 WHERE location_attendance = \"groves high school\" AND high_assists = \"giovanni riley (9)\"",
"context": "CREATE TABLE table_name_21 (score VARCHAR, location_attendance VARCHAR, high_assists VARCHAR)",
"question": "What was the score for Groves High School when the high assist was Giovanni Riley (9)?"
} |
### QUESTION
What is the total enrollment for a private/catholic affiliation and founded after 1842?
### CONTEXT
CREATE TABLE table_name_1 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR)
### ANSWER
SELECT COUNT(enrollment) FROM table_name_1 WHERE affiliation = "private/catholic" AND founded > 1842 | {
"answer": "SELECT COUNT(enrollment) FROM table_name_1 WHERE affiliation = \"private/catholic\" AND founded > 1842",
"context": "CREATE TABLE table_name_1 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR)",
"question": "What is the total enrollment for a private/catholic affiliation and founded after 1842?"
} |
### QUESTION
what is the year when the notes is 5000 m and the competition is world junior championships in athletics?
### CONTEXT
CREATE TABLE table_name_36 (year VARCHAR, notes VARCHAR, competition VARCHAR)
### ANSWER
SELECT COUNT(year) FROM table_name_36 WHERE notes = "5000 m" AND competition = "world junior championships in athletics" | {
"answer": "SELECT COUNT(year) FROM table_name_36 WHERE notes = \"5000 m\" AND competition = \"world junior championships in athletics\"",
"context": "CREATE TABLE table_name_36 (year VARCHAR, notes VARCHAR, competition VARCHAR)",
"question": "what is the year when the notes is 5000 m and the competition is world junior championships in athletics?"
} |
### QUESTION
What season did the player who had the number 26 play on who came from far eastern?
### CONTEXT
CREATE TABLE table_name_26 (season VARCHAR, school_club_team VARCHAR, number VARCHAR)
### ANSWER
SELECT season FROM table_name_26 WHERE school_club_team = "far eastern" AND number = 26 | {
"answer": "SELECT season FROM table_name_26 WHERE school_club_team = \"far eastern\" AND number = 26",
"context": "CREATE TABLE table_name_26 (season VARCHAR, school_club_team VARCHAR, number VARCHAR)",
"question": "What season did the player who had the number 26 play on who came from far eastern?"
} |
### QUESTION
What is south africa's margin of victory?
### CONTEXT
CREATE TABLE table_name_29 (margin_of_victory VARCHAR, country VARCHAR)
### ANSWER
SELECT margin_of_victory FROM table_name_29 WHERE country = "south africa" | {
"answer": "SELECT margin_of_victory FROM table_name_29 WHERE country = \"south africa\"",
"context": "CREATE TABLE table_name_29 (margin_of_victory VARCHAR, country VARCHAR)",
"question": "What is south africa's margin of victory?"
} |
### QUESTION
display all the information for all employees who have the letters D or S in their first name and also arrange the result in descending order by salary.
### CONTEXT
CREATE TABLE employees (salary VARCHAR, first_name VARCHAR)
### ANSWER
SELECT * FROM employees WHERE first_name LIKE '%D%' OR first_name LIKE '%S%' ORDER BY salary DESC | {
"answer": "SELECT * FROM employees WHERE first_name LIKE '%D%' OR first_name LIKE '%S%' ORDER BY salary DESC",
"context": "CREATE TABLE employees (salary VARCHAR, first_name VARCHAR)",
"question": "display all the information for all employees who have the letters D or S in their first name and also arrange the result in descending order by salary."
} |
### QUESTION
If the radio stations is radio nou si radio radio nou música; what were the total number of television channels?
### CONTEXT
CREATE TABLE table_23143607_1 (television_channels VARCHAR, radio_stations VARCHAR)
### ANSWER
SELECT COUNT(television_channels) FROM table_23143607_1 WHERE radio_stations = "Radio Nou Si Radio Radio Nou Música" | {
"answer": "SELECT COUNT(television_channels) FROM table_23143607_1 WHERE radio_stations = \"Radio Nou Si Radio Radio Nou Música\"",
"context": "CREATE TABLE table_23143607_1 (television_channels VARCHAR, radio_stations VARCHAR)",
"question": "If the radio stations is radio nou si radio radio nou música; what were the total number of television channels?"
} |
### QUESTION
Show the times used by climbers to climb mountains in Country Uganda.
### CONTEXT
CREATE TABLE mountain (Mountain_ID VARCHAR, Country VARCHAR); CREATE TABLE climber (Time VARCHAR, Mountain_ID VARCHAR)
### ANSWER
SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T2.Country = "Uganda" | {
"answer": "SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T2.Country = \"Uganda\"",
"context": "CREATE TABLE mountain (Mountain_ID VARCHAR, Country VARCHAR); CREATE TABLE climber (Time VARCHAR, Mountain_ID VARCHAR)",
"question": "Show the times used by climbers to climb mountains in Country Uganda."
} |
### QUESTION
Who had pole position for the races in Braselton, Georgia where Victor Carbone had fastest lap?
### CONTEXT
CREATE TABLE table_25773116_2 (pole_position VARCHAR, fastest_lap VARCHAR, location VARCHAR)
### ANSWER
SELECT pole_position FROM table_25773116_2 WHERE fastest_lap = "Victor Carbone" AND location = "Braselton, Georgia" | {
"answer": "SELECT pole_position FROM table_25773116_2 WHERE fastest_lap = \"Victor Carbone\" AND location = \"Braselton, Georgia\"",
"context": "CREATE TABLE table_25773116_2 (pole_position VARCHAR, fastest_lap VARCHAR, location VARCHAR)",
"question": "Who had pole position for the races in Braselton, Georgia where Victor Carbone had fastest lap?"
} |
### QUESTION
What was the pick# for Lorenzo Freeman as defensive tackle?
### CONTEXT
CREATE TABLE table_name_97 (pick__number VARCHAR, position VARCHAR, player VARCHAR)
### ANSWER
SELECT pick__number FROM table_name_97 WHERE position = "defensive tackle" AND player = "lorenzo freeman" | {
"answer": "SELECT pick__number FROM table_name_97 WHERE position = \"defensive tackle\" AND player = \"lorenzo freeman\"",
"context": "CREATE TABLE table_name_97 (pick__number VARCHAR, position VARCHAR, player VARCHAR)",
"question": "What was the pick# for Lorenzo Freeman as defensive tackle?"
} |
### QUESTION
What is the smallest withdrawn value with a GNRI greater than 172, name of Croagh Patrick and was rebuilt before 1939?
### CONTEXT
CREATE TABLE table_name_10 (withdrawn INTEGER, rebuilt VARCHAR, gnri_no VARCHAR, name VARCHAR)
### ANSWER
SELECT MIN(withdrawn) FROM table_name_10 WHERE gnri_no > 172 AND name = "croagh patrick" AND rebuilt < 1939 | {
"answer": "SELECT MIN(withdrawn) FROM table_name_10 WHERE gnri_no > 172 AND name = \"croagh patrick\" AND rebuilt < 1939",
"context": "CREATE TABLE table_name_10 (withdrawn INTEGER, rebuilt VARCHAR, gnri_no VARCHAR, name VARCHAR)",
"question": "What is the smallest withdrawn value with a GNRI greater than 172, name of Croagh Patrick and was rebuilt before 1939?"
} |
### QUESTION
What is the total number of years won by Justin Leonard with a to par under 9?
### CONTEXT
CREATE TABLE table_name_95 (year_s__won VARCHAR, player VARCHAR, to_par VARCHAR)
### ANSWER
SELECT COUNT(year_s__won) FROM table_name_95 WHERE player = "justin leonard" AND to_par < 9 | {
"answer": "SELECT COUNT(year_s__won) FROM table_name_95 WHERE player = \"justin leonard\" AND to_par < 9",
"context": "CREATE TABLE table_name_95 (year_s__won VARCHAR, player VARCHAR, to_par VARCHAR)",
"question": "What is the total number of years won by Justin Leonard with a to par under 9?"
} |
### QUESTION
What is the highest Round, when Draft is greater than 1980, and when Player is "Shane Doan Category:Articles with hCards"?
### CONTEXT
CREATE TABLE table_name_46 (round INTEGER, draft VARCHAR, player VARCHAR)
### ANSWER
SELECT MAX(round) FROM table_name_46 WHERE draft > 1980 AND player = "shane doan category:articles with hcards" | {
"answer": "SELECT MAX(round) FROM table_name_46 WHERE draft > 1980 AND player = \"shane doan category:articles with hcards\"",
"context": "CREATE TABLE table_name_46 (round INTEGER, draft VARCHAR, player VARCHAR)",
"question": "What is the highest Round, when Draft is greater than 1980, and when Player is \"Shane Doan Category:Articles with hCards\"?"
} |
### QUESTION
What was the Winning Score on May 29, 1977?
### CONTEXT
CREATE TABLE table_name_2 (winning_score VARCHAR, date VARCHAR)
### ANSWER
SELECT winning_score FROM table_name_2 WHERE date = "may 29, 1977" | {
"answer": "SELECT winning_score FROM table_name_2 WHERE date = \"may 29, 1977\"",
"context": "CREATE TABLE table_name_2 (winning_score VARCHAR, date VARCHAR)",
"question": "What was the Winning Score on May 29, 1977?"
} |
### QUESTION
What is the invoice number and invoice date for the invoice with most number of transactions?
### CONTEXT
CREATE TABLE Invoices (invoice_number VARCHAR, invoice_date VARCHAR); CREATE TABLE Financial_transactions (invoice_number VARCHAR)
### ANSWER
SELECT T2.invoice_number, T2.invoice_date FROM Financial_transactions AS T1 JOIN Invoices AS T2 ON T1.invoice_number = T2.invoice_number GROUP BY T1.invoice_number ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T2.invoice_number, T2.invoice_date FROM Financial_transactions AS T1 JOIN Invoices AS T2 ON T1.invoice_number = T2.invoice_number GROUP BY T1.invoice_number ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE Invoices (invoice_number VARCHAR, invoice_date VARCHAR); CREATE TABLE Financial_transactions (invoice_number VARCHAR)",
"question": "What is the invoice number and invoice date for the invoice with most number of transactions?"
} |
### QUESTION
Find all airlines that have flights from both airports 'APG' and 'CVO'.
### CONTEXT
CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR); CREATE TABLE FLIGHTS (Airline VARCHAR, SourceAirport VARCHAR)
### ANSWER
SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = "APG" INTERSECT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = "CVO" | {
"answer": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\" INTERSECT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\"",
"context": "CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR); CREATE TABLE FLIGHTS (Airline VARCHAR, SourceAirport VARCHAR)",
"question": "Find all airlines that have flights from both airports 'APG' and 'CVO'."
} |
### QUESTION
what last performance has past status, ballet as style and tommy batchelor?
### CONTEXT
CREATE TABLE table_name_7 (last_performance VARCHAR, name VARCHAR, status VARCHAR, style VARCHAR)
### ANSWER
SELECT last_performance FROM table_name_7 WHERE status = "past" AND style = "ballet" AND name = "tommy batchelor" | {
"answer": "SELECT last_performance FROM table_name_7 WHERE status = \"past\" AND style = \"ballet\" AND name = \"tommy batchelor\"",
"context": "CREATE TABLE table_name_7 (last_performance VARCHAR, name VARCHAR, status VARCHAR, style VARCHAR)",
"question": "what last performance has past status, ballet as style and tommy batchelor?"
} |
### QUESTION
What are the dates of leaving office for politician from the province of Seville?
### CONTEXT
CREATE TABLE table_26362472_1 (left_office VARCHAR, province VARCHAR)
### ANSWER
SELECT left_office FROM table_26362472_1 WHERE province = "Seville" | {
"answer": "SELECT left_office FROM table_26362472_1 WHERE province = \"Seville\"",
"context": "CREATE TABLE table_26362472_1 (left_office VARCHAR, province VARCHAR)",
"question": "What are the dates of leaving office for politician from the province of Seville?"
} |
### QUESTION
How much Goal Difference has less than 9 Losses, and 8 Draws, and more than 40 points?
### CONTEXT
CREATE TABLE table_name_22 (goal_difference INTEGER, points VARCHAR, losses VARCHAR, draws VARCHAR)
### ANSWER
SELECT SUM(goal_difference) FROM table_name_22 WHERE losses < 9 AND draws = 8 AND points > 40 | {
"answer": "SELECT SUM(goal_difference) FROM table_name_22 WHERE losses < 9 AND draws = 8 AND points > 40",
"context": "CREATE TABLE table_name_22 (goal_difference INTEGER, points VARCHAR, losses VARCHAR, draws VARCHAR)",
"question": "How much Goal Difference has less than 9 Losses, and 8 Draws, and more than 40 points?"
} |
### QUESTION
What is the average goals when the last appearance was before 1984, there were more than 17 appearances, the first appearance was before 1961 and the position was mf?
### CONTEXT
CREATE TABLE table_name_52 (goals INTEGER, position VARCHAR, first_appearance VARCHAR, last_appearance VARCHAR, appearances VARCHAR)
### ANSWER
SELECT AVG(goals) FROM table_name_52 WHERE last_appearance < 1984 AND appearances > 17 AND first_appearance < 1961 AND position = "mf" | {
"answer": "SELECT AVG(goals) FROM table_name_52 WHERE last_appearance < 1984 AND appearances > 17 AND first_appearance < 1961 AND position = \"mf\"",
"context": "CREATE TABLE table_name_52 (goals INTEGER, position VARCHAR, first_appearance VARCHAR, last_appearance VARCHAR, appearances VARCHAR)",
"question": "What is the average goals when the last appearance was before 1984, there were more than 17 appearances, the first appearance was before 1961 and the position was mf?"
} |
### QUESTION
Who was the successor for vacant louisiana 5th
### CONTEXT
CREATE TABLE table_2417340_4 (successor VARCHAR, vacator VARCHAR, district VARCHAR)
### ANSWER
SELECT successor FROM table_2417340_4 WHERE vacator = "Vacant" AND district = "Louisiana 5th" | {
"answer": "SELECT successor FROM table_2417340_4 WHERE vacator = \"Vacant\" AND district = \"Louisiana 5th\"",
"context": "CREATE TABLE table_2417340_4 (successor VARCHAR, vacator VARCHAR, district VARCHAR)",
"question": "Who was the successor for vacant louisiana 5th"
} |
### QUESTION
Find the number of stores in each city.
### 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, COUNT(*) FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id GROUP BY t3.headquartered_city | {
"answer": "SELECT t3.headquartered_city, COUNT(*) FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id GROUP BY t3.headquartered_city",
"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 number of stores in each city."
} |
### QUESTION
What Hometown/School had a pick above 30, position of OF and team of Cleveland Indians?
### CONTEXT
CREATE TABLE table_name_79 (hometown_school VARCHAR, team VARCHAR, pick VARCHAR, position VARCHAR)
### ANSWER
SELECT hometown_school FROM table_name_79 WHERE pick > 30 AND position = "of" AND team = "cleveland indians" | {
"answer": "SELECT hometown_school FROM table_name_79 WHERE pick > 30 AND position = \"of\" AND team = \"cleveland indians\"",
"context": "CREATE TABLE table_name_79 (hometown_school VARCHAR, team VARCHAR, pick VARCHAR, position VARCHAR)",
"question": "What Hometown/School had a pick above 30, position of OF and team of Cleveland Indians?"
} |
### QUESTION
Name the number of names for exeter chiefs
### CONTEXT
CREATE TABLE table_22977424_8 (name VARCHAR, promoted_from_league VARCHAR)
### ANSWER
SELECT COUNT(name) FROM table_22977424_8 WHERE promoted_from_league = "Exeter Chiefs" | {
"answer": "SELECT COUNT(name) FROM table_22977424_8 WHERE promoted_from_league = \"Exeter Chiefs\"",
"context": "CREATE TABLE table_22977424_8 (name VARCHAR, promoted_from_league VARCHAR)",
"question": "Name the number of names for exeter chiefs"
} |
### QUESTION
What is the Score for the Game less than 21, and of antonio davis (12)had the High rebounds?
### CONTEXT
CREATE TABLE table_name_87 (score VARCHAR, game VARCHAR, high_rebounds VARCHAR)
### ANSWER
SELECT score FROM table_name_87 WHERE game < 21 AND high_rebounds = "antonio davis (12)" | {
"answer": "SELECT score FROM table_name_87 WHERE game < 21 AND high_rebounds = \"antonio davis (12)\"",
"context": "CREATE TABLE table_name_87 (score VARCHAR, game VARCHAR, high_rebounds VARCHAR)",
"question": "What is the Score for the Game less than 21, and of antonio davis (12)had the High rebounds?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.