text
stringlengths
146
1.06k
source
dict
### QUESTION What is the high average that has a Finale larger than 35, a HK viewers of 2.12 million, and a Peak larger than 40? ### CONTEXT CREATE TABLE table_name_36 (average INTEGER, peak VARCHAR, finale VARCHAR, hk_viewers VARCHAR) ### ANSWER SELECT MAX(average) FROM table_name_36 WHERE finale > 35 AND hk_viewers = "2.12 million" AND peak > 40
{ "answer": "SELECT MAX(average) FROM table_name_36 WHERE finale > 35 AND hk_viewers = \"2.12 million\" AND peak > 40", "context": "CREATE TABLE table_name_36 (average INTEGER, peak VARCHAR, finale VARCHAR, hk_viewers VARCHAR)", "question": "What is the high average that has a Finale larger than 35, a HK viewers of 2.12 million, and a Peak larger than 40?" }
### QUESTION What address was the document with id 4 mailed to? ### CONTEXT CREATE TABLE Addresses (document_id VARCHAR); CREATE TABLE Documents_Mailed (document_id VARCHAR) ### ANSWER SELECT Addresses.address_details FROM Addresses JOIN Documents_Mailed ON Documents_Mailed.mailed_to_address_id = Addresses.address_id WHERE document_id = 4
{ "answer": "SELECT Addresses.address_details FROM Addresses JOIN Documents_Mailed ON Documents_Mailed.mailed_to_address_id = Addresses.address_id WHERE document_id = 4", "context": "CREATE TABLE Addresses (document_id VARCHAR); CREATE TABLE Documents_Mailed (document_id VARCHAR)", "question": "What address was the document with id 4 mailed to?" }
### QUESTION Which Record has a Kickoff of 12:00pm cst, and a Game site of arrowhead stadium, and a Week of 15? ### CONTEXT CREATE TABLE table_name_41 (record VARCHAR, week VARCHAR, kickoff VARCHAR, game_site VARCHAR) ### ANSWER SELECT record FROM table_name_41 WHERE kickoff = "12:00pm cst" AND game_site = "arrowhead stadium" AND week = "15"
{ "answer": "SELECT record FROM table_name_41 WHERE kickoff = \"12:00pm cst\" AND game_site = \"arrowhead stadium\" AND week = \"15\"", "context": "CREATE TABLE table_name_41 (record VARCHAR, week VARCHAR, kickoff VARCHAR, game_site VARCHAR)", "question": "Which Record has a Kickoff of 12:00pm cst, and a Game site of arrowhead stadium, and a Week of 15?" }
### QUESTION What was the date that construction was finished when the unit was greifswald - 4 (kgr 4)? ### CONTEXT CREATE TABLE table_name_28 (finish_construction VARCHAR, unit VARCHAR) ### ANSWER SELECT finish_construction FROM table_name_28 WHERE unit = "greifswald - 4 (kgr 4)"
{ "answer": "SELECT finish_construction FROM table_name_28 WHERE unit = \"greifswald - 4 (kgr 4)\"", "context": "CREATE TABLE table_name_28 (finish_construction VARCHAR, unit VARCHAR)", "question": "What was the date that construction was finished when the unit was greifswald - 4 (kgr 4)?" }
### QUESTION What was the winner's share in the wegmans lpga championship? ### CONTEXT CREATE TABLE table_17335602_1 (winners_share___ INTEGER, tournament VARCHAR) ### ANSWER SELECT MAX(winners_share___) AS $__ FROM table_17335602_1 WHERE tournament = "Wegmans LPGA Championship"
{ "answer": "SELECT MAX(winners_share___) AS $__ FROM table_17335602_1 WHERE tournament = \"Wegmans LPGA Championship\"", "context": "CREATE TABLE table_17335602_1 (winners_share___ INTEGER, tournament VARCHAR)", "question": "What was the winner's share in the wegmans lpga championship?" }
### QUESTION What is the average number of goals of park sung-ho at the k-league competition, which has the pohang steelers team and less than 46 total Gs? ### CONTEXT CREATE TABLE table_name_65 (goals INTEGER, total_gs VARCHAR, name VARCHAR, competition VARCHAR, team VARCHAR) ### ANSWER SELECT AVG(goals) FROM table_name_65 WHERE competition = "k-league" AND team = "pohang steelers" AND name = "park sung-ho" AND total_gs < 46
{ "answer": "SELECT AVG(goals) FROM table_name_65 WHERE competition = \"k-league\" AND team = \"pohang steelers\" AND name = \"park sung-ho\" AND total_gs < 46", "context": "CREATE TABLE table_name_65 (goals INTEGER, total_gs VARCHAR, name VARCHAR, competition VARCHAR, team VARCHAR)", "question": "What is the average number of goals of park sung-ho at the k-league competition, which has the pohang steelers team and less than 46 total Gs?" }
### QUESTION What is the designation of material or non-material for either positional or automatic with no rectified count and either opponent? ### CONTEXT CREATE TABLE table_name_36 (material_or_non_material VARCHAR, opponents VARCHAR, positional_or_automatic VARCHAR, count_rectified VARCHAR) ### ANSWER SELECT material_or_non_material FROM table_name_36 WHERE positional_or_automatic = "either" AND count_rectified = "no" AND opponents = "either"
{ "answer": "SELECT material_or_non_material FROM table_name_36 WHERE positional_or_automatic = \"either\" AND count_rectified = \"no\" AND opponents = \"either\"", "context": "CREATE TABLE table_name_36 (material_or_non_material VARCHAR, opponents VARCHAR, positional_or_automatic VARCHAR, count_rectified VARCHAR)", "question": "What is the designation of material or non-material for either positional or automatic with no rectified count and either opponent?" }
### QUESTION What is the Cargo Ship located at Birkenhead? ### CONTEXT CREATE TABLE table_name_66 (ship VARCHAR, class___type VARCHAR, location VARCHAR) ### ANSWER SELECT ship FROM table_name_66 WHERE class___type = "cargo ship" AND location = "birkenhead"
{ "answer": "SELECT ship FROM table_name_66 WHERE class___type = \"cargo ship\" AND location = \"birkenhead\"", "context": "CREATE TABLE table_name_66 (ship VARCHAR, class___type VARCHAR, location VARCHAR)", "question": "What is the Cargo Ship located at Birkenhead?" }
### QUESTION What is the lowest attendance on Monday, November 10 when linköpings hc was the home team and there were more than 18 rounds? ### CONTEXT CREATE TABLE table_name_30 (attendance INTEGER, round VARCHAR, home VARCHAR, date VARCHAR) ### ANSWER SELECT MIN(attendance) FROM table_name_30 WHERE home = "linköpings hc" AND date = "monday, november 10" AND round > 18
{ "answer": "SELECT MIN(attendance) FROM table_name_30 WHERE home = \"linköpings hc\" AND date = \"monday, november 10\" AND round > 18", "context": "CREATE TABLE table_name_30 (attendance INTEGER, round VARCHAR, home VARCHAR, date VARCHAR)", "question": "What is the lowest attendance on Monday, November 10 when linköpings hc was the home team and there were more than 18 rounds?" }
### QUESTION How many values of last year in QLD Cup if QLD Cup Premierships is 1996, 2001? ### CONTEXT CREATE TABLE table_2383498_4 (last_year_in_qld_cup VARCHAR, qld_cup_premierships VARCHAR) ### ANSWER SELECT COUNT(last_year_in_qld_cup) FROM table_2383498_4 WHERE qld_cup_premierships = "1996, 2001"
{ "answer": "SELECT COUNT(last_year_in_qld_cup) FROM table_2383498_4 WHERE qld_cup_premierships = \"1996, 2001\"", "context": "CREATE TABLE table_2383498_4 (last_year_in_qld_cup VARCHAR, qld_cup_premierships VARCHAR)", "question": "How many values of last year in QLD Cup if QLD Cup Premierships is 1996, 2001?" }
### QUESTION What is the value for the byte string when the memory map, decimal, and floating points are all standard and the max memory is smaller than 512? ### CONTEXT CREATE TABLE table_name_23 (byte_string VARCHAR, max_memory__kwords_ VARCHAR, floating_point VARCHAR, memory_map VARCHAR, decimal VARCHAR) ### ANSWER SELECT byte_string FROM table_name_23 WHERE memory_map = "standard" AND decimal = "standard" AND floating_point = "standard" AND max_memory__kwords_ < 512
{ "answer": "SELECT byte_string FROM table_name_23 WHERE memory_map = \"standard\" AND decimal = \"standard\" AND floating_point = \"standard\" AND max_memory__kwords_ < 512", "context": "CREATE TABLE table_name_23 (byte_string VARCHAR, max_memory__kwords_ VARCHAR, floating_point VARCHAR, memory_map VARCHAR, decimal VARCHAR)", "question": "What is the value for the byte string when the memory map, decimal, and floating points are all standard and the max memory is smaller than 512?" }
### QUESTION Which name was in a position less than 4 with 2 losses? ### CONTEXT CREATE TABLE table_name_78 (name VARCHAR, position VARCHAR, lost VARCHAR) ### ANSWER SELECT name FROM table_name_78 WHERE position < 4 AND lost = 2
{ "answer": "SELECT name FROM table_name_78 WHERE position < 4 AND lost = 2", "context": "CREATE TABLE table_name_78 (name VARCHAR, position VARCHAR, lost VARCHAR)", "question": "Which name was in a position less than 4 with 2 losses?" }
### QUESTION What country has a Transfer fee of —, and a Transfer window of summer, and the Status of loaned out, and a Name of gonzález? ### CONTEXT CREATE TABLE table_name_39 (country VARCHAR, name VARCHAR, status VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR) ### ANSWER SELECT country FROM table_name_39 WHERE transfer_fee = "—" AND transfer_window = "summer" AND status = "loaned out" AND name = "gonzález"
{ "answer": "SELECT country FROM table_name_39 WHERE transfer_fee = \"—\" AND transfer_window = \"summer\" AND status = \"loaned out\" AND name = \"gonzález\"", "context": "CREATE TABLE table_name_39 (country VARCHAR, name VARCHAR, status VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR)", "question": "What country has a Transfer fee of —, and a Transfer window of summer, and the Status of loaned out, and a Name of gonzález?" }
### QUESTION In which city is the network with the callsign kgns-dt3 licensed? ### CONTEXT CREATE TABLE table_name_71 (city_of_license VARCHAR, callsign VARCHAR) ### ANSWER SELECT city_of_license FROM table_name_71 WHERE callsign = "kgns-dt3"
{ "answer": "SELECT city_of_license FROM table_name_71 WHERE callsign = \"kgns-dt3\"", "context": "CREATE TABLE table_name_71 (city_of_license VARCHAR, callsign VARCHAR)", "question": "In which city is the network with the callsign kgns-dt3 licensed?" }
### QUESTION In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)? ### CONTEXT CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR) ### ANSWER SELECT total_freshwater_withdrawal__km_3__yr_ FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "1029(96%)"
{ "answer": "SELECT total_freshwater_withdrawal__km_3__yr_ FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = \"1029(96%)\"", "context": "CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)", "question": "In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)?" }
### QUESTION Which Country has a Place of t9, and a Score of 71-71-72=214, and a Player of ernie els? ### CONTEXT CREATE TABLE table_name_95 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR) ### ANSWER SELECT country FROM table_name_95 WHERE place = "t9" AND score = 71 - 71 - 72 = 214 AND player = "ernie els"
{ "answer": "SELECT country FROM table_name_95 WHERE place = \"t9\" AND score = 71 - 71 - 72 = 214 AND player = \"ernie els\"", "context": "CREATE TABLE table_name_95 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR)", "question": "Which Country has a Place of t9, and a Score of 71-71-72=214, and a Player of ernie els?" }
### QUESTION What are the coupon amount of the coupons owned by both good and bad customers? ### CONTEXT CREATE TABLE Discount_Coupons (coupon_amount VARCHAR, coupon_id VARCHAR); CREATE TABLE customers (coupon_id VARCHAR, good_or_bad_customer VARCHAR) ### ANSWER SELECT T1.coupon_amount FROM Discount_Coupons AS T1 JOIN customers AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.good_or_bad_customer = 'good' INTERSECT SELECT T1.coupon_amount FROM Discount_Coupons AS T1 JOIN customers AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.good_or_bad_customer = 'bad'
{ "answer": "SELECT T1.coupon_amount FROM Discount_Coupons AS T1 JOIN customers AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.good_or_bad_customer = 'good' INTERSECT SELECT T1.coupon_amount FROM Discount_Coupons AS T1 JOIN customers AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.good_or_bad_customer = 'bad'", "context": "CREATE TABLE Discount_Coupons (coupon_amount VARCHAR, coupon_id VARCHAR); CREATE TABLE customers (coupon_id VARCHAR, good_or_bad_customer VARCHAR)", "question": "What are the coupon amount of the coupons owned by both good and bad customers?" }
### QUESTION Find the name and active date of the customer that use email as the contact channel. ### CONTEXT CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_contact_channels (active_from_date VARCHAR, customer_id VARCHAR, channel_code VARCHAR) ### ANSWER SELECT t1.customer_name, t2.active_from_date FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id = t2.customer_id WHERE t2.channel_code = 'Email'
{ "answer": "SELECT t1.customer_name, t2.active_from_date FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id = t2.customer_id WHERE t2.channel_code = 'Email'", "context": "CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_contact_channels (active_from_date VARCHAR, customer_id VARCHAR, channel_code VARCHAR)", "question": "Find the name and active date of the customer that use email as the contact channel." }
### QUESTION What's the lowest squad number with more than 6 goals, fewer than 8 league goals, and more than 0 playoff goals? ### CONTEXT CREATE TABLE table_name_28 (squad_no INTEGER, playoff_goals VARCHAR, total_goals VARCHAR, league_goals VARCHAR) ### ANSWER SELECT MIN(squad_no) FROM table_name_28 WHERE total_goals > 6 AND league_goals < 8 AND playoff_goals > 0
{ "answer": "SELECT MIN(squad_no) FROM table_name_28 WHERE total_goals > 6 AND league_goals < 8 AND playoff_goals > 0", "context": "CREATE TABLE table_name_28 (squad_no INTEGER, playoff_goals VARCHAR, total_goals VARCHAR, league_goals VARCHAR)", "question": "What's the lowest squad number with more than 6 goals, fewer than 8 league goals, and more than 0 playoff goals?" }
### QUESTION For opponent is sandra kristjánsdóttir, outcome is winner and edition is 2009 europe/africa group iiib mention all the opponent team. ### CONTEXT CREATE TABLE table_27877656_7 (opponent_team VARCHAR, opponent VARCHAR, edition VARCHAR, outcome VARCHAR) ### ANSWER SELECT opponent_team FROM table_27877656_7 WHERE edition = "2009 Europe/Africa Group IIIB" AND outcome = "Winner" AND opponent = "Sandra Kristjánsdóttir"
{ "answer": "SELECT opponent_team FROM table_27877656_7 WHERE edition = \"2009 Europe/Africa Group IIIB\" AND outcome = \"Winner\" AND opponent = \"Sandra Kristjánsdóttir\"", "context": "CREATE TABLE table_27877656_7 (opponent_team VARCHAR, opponent VARCHAR, edition VARCHAR, outcome VARCHAR)", "question": "For opponent is sandra kristjánsdóttir, outcome is winner and edition is 2009 europe/africa group iiib mention all the opponent team." }
### QUESTION Name the most wins total with wins indoor of 0 and wins outdoor of 1 with rank less than 7 ### CONTEXT CREATE TABLE table_name_68 (wins__total_ INTEGER, rank VARCHAR, wins__indoor_ VARCHAR, wins__outdoor_ VARCHAR) ### ANSWER SELECT MAX(wins__total_) FROM table_name_68 WHERE wins__indoor_ = 0 AND wins__outdoor_ = 1 AND rank < 7
{ "answer": "SELECT MAX(wins__total_) FROM table_name_68 WHERE wins__indoor_ = 0 AND wins__outdoor_ = 1 AND rank < 7", "context": "CREATE TABLE table_name_68 (wins__total_ INTEGER, rank VARCHAR, wins__indoor_ VARCHAR, wins__outdoor_ VARCHAR)", "question": "Name the most wins total with wins indoor of 0 and wins outdoor of 1 with rank less than 7" }
### QUESTION What time did bruce anstey complete in a honda 1000cc? ### CONTEXT CREATE TABLE table_name_88 (time VARCHAR, machine VARCHAR, rider_s_ VARCHAR) ### ANSWER SELECT time FROM table_name_88 WHERE machine = "honda 1000cc" AND rider_s_ = "bruce anstey"
{ "answer": "SELECT time FROM table_name_88 WHERE machine = \"honda 1000cc\" AND rider_s_ = \"bruce anstey\"", "context": "CREATE TABLE table_name_88 (time VARCHAR, machine VARCHAR, rider_s_ VARCHAR)", "question": "What time did bruce anstey complete in a honda 1000cc?" }
### QUESTION What are all the section titles of the document named "David CV"? ### CONTEXT CREATE TABLE documents (document_code VARCHAR, document_name VARCHAR); CREATE TABLE document_sections (section_title VARCHAR, document_code VARCHAR) ### ANSWER SELECT t2.section_title FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code = t2.document_code WHERE t1.document_name = "David CV"
{ "answer": "SELECT t2.section_title FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code = t2.document_code WHERE t1.document_name = \"David CV\"", "context": "CREATE TABLE documents (document_code VARCHAR, document_name VARCHAR); CREATE TABLE document_sections (section_title VARCHAR, document_code VARCHAR)", "question": "What are all the section titles of the document named \"David CV\"?" }
### QUESTION Which vocal type has the band mate with first name "Solveig" played the most? ### CONTEXT CREATE TABLE vocals (bandmate VARCHAR); CREATE TABLE band (id VARCHAR) ### ANSWER SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE firstname = "Solveig" GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE firstname = \"Solveig\" GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE vocals (bandmate VARCHAR); CREATE TABLE band (id VARCHAR)", "question": "Which vocal type has the band mate with first name \"Solveig\" played the most?" }
### QUESTION How many vieweres for the episode with a share of 1, a Rating larger than 0.7000000000000001, and a Rank (#) of 100/102? ### CONTEXT CREATE TABLE table_name_73 (viewers__m_ VARCHAR, rank___number_ VARCHAR, share VARCHAR, rating VARCHAR) ### ANSWER SELECT viewers__m_ FROM table_name_73 WHERE share = 1 AND rating > 0.7000000000000001 AND rank___number_ = "100/102"
{ "answer": "SELECT viewers__m_ FROM table_name_73 WHERE share = 1 AND rating > 0.7000000000000001 AND rank___number_ = \"100/102\"", "context": "CREATE TABLE table_name_73 (viewers__m_ VARCHAR, rank___number_ VARCHAR, share VARCHAR, rating VARCHAR)", "question": "How many vieweres for the episode with a share of 1, a Rating larger than 0.7000000000000001, and a Rank (#) of 100/102?" }
### QUESTION Which template type code is used by most number of documents? ### CONTEXT CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_type_code VARCHAR, template_id VARCHAR) ### ANSWER SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_type_code VARCHAR, template_id VARCHAR)", "question": "Which template type code is used by most number of documents?" }
### QUESTION Please show the name of the conductor that has conducted orchestras founded after 2008. ### CONTEXT CREATE TABLE orchestra (Conductor_ID VARCHAR); CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR) ### ANSWER SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID WHERE Year_of_Founded > 2008
{ "answer": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID WHERE Year_of_Founded > 2008", "context": "CREATE TABLE orchestra (Conductor_ID VARCHAR); CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR)", "question": "Please show the name of the conductor that has conducted orchestras founded after 2008." }
### QUESTION What is the highest poll of the advocate Andy Kindler with poll losses greater than 2 and ties less than 0? ### CONTEXT CREATE TABLE table_name_49 (poll_wins INTEGER, ties VARCHAR, poll_losses VARCHAR, advocate VARCHAR) ### ANSWER SELECT MAX(poll_wins) FROM table_name_49 WHERE poll_losses > 2 AND advocate = "andy kindler" AND ties < 0
{ "answer": "SELECT MAX(poll_wins) FROM table_name_49 WHERE poll_losses > 2 AND advocate = \"andy kindler\" AND ties < 0", "context": "CREATE TABLE table_name_49 (poll_wins INTEGER, ties VARCHAR, poll_losses VARCHAR, advocate VARCHAR)", "question": "What is the highest poll of the advocate Andy Kindler with poll losses greater than 2 and ties less than 0?" }
### QUESTION What was the number of draws when the Elche CF club played 38 and had a goal difference of -16? ### CONTEXT CREATE TABLE table_name_86 (draws INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR) ### ANSWER SELECT MIN(draws) FROM table_name_86 WHERE goal_difference > -16 AND club = "elche cf" AND played > 38
{ "answer": "SELECT MIN(draws) FROM table_name_86 WHERE goal_difference > -16 AND club = \"elche cf\" AND played > 38", "context": "CREATE TABLE table_name_86 (draws INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)", "question": "What was the number of draws when the Elche CF club played 38 and had a goal difference of -16?" }
### QUESTION What is the average grid number with a ferrari and a time or retired time of 1:32:35.101? ### CONTEXT CREATE TABLE table_name_10 (grid INTEGER, constructor VARCHAR, time_retired VARCHAR) ### ANSWER SELECT AVG(grid) FROM table_name_10 WHERE constructor = "ferrari" AND time_retired = "1:32:35.101"
{ "answer": "SELECT AVG(grid) FROM table_name_10 WHERE constructor = \"ferrari\" AND time_retired = \"1:32:35.101\"", "context": "CREATE TABLE table_name_10 (grid INTEGER, constructor VARCHAR, time_retired VARCHAR)", "question": "What is the average grid number with a ferrari and a time or retired time of 1:32:35.101?" }
### QUESTION Show cinema name, film title, date, and price for each record in schedule. ### CONTEXT CREATE TABLE schedule (date VARCHAR, price VARCHAR, film_id VARCHAR, cinema_id VARCHAR); CREATE TABLE cinema (name VARCHAR, cinema_id VARCHAR); CREATE TABLE film (title VARCHAR, film_id VARCHAR) ### ANSWER SELECT T3.name, T2.title, T1.date, T1.price FROM schedule AS T1 JOIN film AS T2 ON T1.film_id = T2.film_id JOIN cinema AS T3 ON T1.cinema_id = T3.cinema_id
{ "answer": "SELECT T3.name, T2.title, T1.date, T1.price FROM schedule AS T1 JOIN film AS T2 ON T1.film_id = T2.film_id JOIN cinema AS T3 ON T1.cinema_id = T3.cinema_id", "context": "CREATE TABLE schedule (date VARCHAR, price VARCHAR, film_id VARCHAR, cinema_id VARCHAR); CREATE TABLE cinema (name VARCHAR, cinema_id VARCHAR); CREATE TABLE film (title VARCHAR, film_id VARCHAR)", "question": "Show cinema name, film title, date, and price for each record in schedule." }
### QUESTION Which Place is the highest one that has an Artist of nikolas metaxas, and a Televote larger than 60? ### CONTEXT CREATE TABLE table_name_65 (place INTEGER, artist VARCHAR, televote VARCHAR) ### ANSWER SELECT MAX(place) FROM table_name_65 WHERE artist = "nikolas metaxas" AND televote > 60
{ "answer": "SELECT MAX(place) FROM table_name_65 WHERE artist = \"nikolas metaxas\" AND televote > 60", "context": "CREATE TABLE table_name_65 (place INTEGER, artist VARCHAR, televote VARCHAR)", "question": "Which Place is the highest one that has an Artist of nikolas metaxas, and a Televote larger than 60?" }
### QUESTION What is the coverage of relay 5kw of dyfj-tv? ### CONTEXT CREATE TABLE table_12379297_1 (coverage__transmitter_site_ VARCHAR, callsign VARCHAR, station_type VARCHAR, power__kw_ VARCHAR) ### ANSWER SELECT coverage__transmitter_site_ FROM table_12379297_1 WHERE station_type = "Relay" AND power__kw_ = "5kW" AND callsign = "DYFJ-TV"
{ "answer": "SELECT coverage__transmitter_site_ FROM table_12379297_1 WHERE station_type = \"Relay\" AND power__kw_ = \"5kW\" AND callsign = \"DYFJ-TV\"", "context": "CREATE TABLE table_12379297_1 (coverage__transmitter_site_ VARCHAR, callsign VARCHAR, station_type VARCHAR, power__kw_ VARCHAR)", "question": "What is the coverage of relay 5kw of dyfj-tv?" }
### QUESTION What is the # for the episode with a Production code of 3T7057? ### CONTEXT CREATE TABLE table_13183076_3 (_number VARCHAR, production_code VARCHAR) ### ANSWER SELECT _number FROM table_13183076_3 WHERE production_code = "3T7057"
{ "answer": "SELECT _number FROM table_13183076_3 WHERE production_code = \"3T7057\"", "context": "CREATE TABLE table_13183076_3 (_number VARCHAR, production_code VARCHAR)", "question": "What is the # for the episode with a Production code of 3T7057?" }
### QUESTION Show names of technicians in ascending order of quality rank of the machine they are assigned. ### CONTEXT CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE machine (machine_id VARCHAR, quality_rank VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR) ### ANSWER SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID ORDER BY T2.quality_rank
{ "answer": "SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID ORDER BY T2.quality_rank", "context": "CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE machine (machine_id VARCHAR, quality_rank VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)", "question": "Show names of technicians in ascending order of quality rank of the machine they are assigned." }
### QUESTION Show the most common apartment type code among apartments with more than 1 bathroom. ### CONTEXT CREATE TABLE Apartments (apt_type_code VARCHAR, bathroom_count INTEGER) ### ANSWER SELECT apt_type_code FROM Apartments WHERE bathroom_count > 1 GROUP BY apt_type_code ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT apt_type_code FROM Apartments WHERE bathroom_count > 1 GROUP BY apt_type_code ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Apartments (apt_type_code VARCHAR, bathroom_count INTEGER)", "question": "Show the most common apartment type code among apartments with more than 1 bathroom." }
### QUESTION What is the sum of losses for Geelong Amateur, with 0 byes? ### CONTEXT CREATE TABLE table_name_95 (losses INTEGER, bellarine_fl VARCHAR, byes VARCHAR) ### ANSWER SELECT SUM(losses) FROM table_name_95 WHERE bellarine_fl = "geelong amateur" AND byes < 0
{ "answer": "SELECT SUM(losses) FROM table_name_95 WHERE bellarine_fl = \"geelong amateur\" AND byes < 0", "context": "CREATE TABLE table_name_95 (losses INTEGER, bellarine_fl VARCHAR, byes VARCHAR)", "question": "What is the sum of losses for Geelong Amateur, with 0 byes?" }
### QUESTION What is the number of deputies with 94.2% of the votes? ### CONTEXT CREATE TABLE table_name_74 (number_of_deputies INTEGER, percentage_of_votes VARCHAR) ### ANSWER SELECT SUM(number_of_deputies) FROM table_name_74 WHERE percentage_of_votes = "94.2%"
{ "answer": "SELECT SUM(number_of_deputies) FROM table_name_74 WHERE percentage_of_votes = \"94.2%\"", "context": "CREATE TABLE table_name_74 (number_of_deputies INTEGER, percentage_of_votes VARCHAR)", "question": "What is the number of deputies with 94.2% of the votes?" }
### QUESTION what is the total sack when totaltk is 1 and asst. is more than 0? ### CONTEXT CREATE TABLE table_name_86 (sack INTEGER, totaltk VARCHAR, asst VARCHAR) ### ANSWER SELECT SUM(sack) FROM table_name_86 WHERE totaltk = 1 AND asst > 0
{ "answer": "SELECT SUM(sack) FROM table_name_86 WHERE totaltk = 1 AND asst > 0", "context": "CREATE TABLE table_name_86 (sack INTEGER, totaltk VARCHAR, asst VARCHAR)", "question": "what is the total sack when totaltk is 1 and asst. is more than 0?" }
### QUESTION When Mark Cavendish wins sprint classification and Maarten Tjallingii wins most courageous, who wins youth classification? ### CONTEXT CREATE TABLE table_25055040_22 (youth_classification VARCHAR, sprint_classification VARCHAR, most_courageous VARCHAR) ### ANSWER SELECT youth_classification FROM table_25055040_22 WHERE sprint_classification = "Mark Cavendish" AND most_courageous = "Maarten Tjallingii"
{ "answer": "SELECT youth_classification FROM table_25055040_22 WHERE sprint_classification = \"Mark Cavendish\" AND most_courageous = \"Maarten Tjallingii\"", "context": "CREATE TABLE table_25055040_22 (youth_classification VARCHAR, sprint_classification VARCHAR, most_courageous VARCHAR)", "question": "When Mark Cavendish wins sprint classification and Maarten Tjallingii wins most courageous, who wins youth classification?" }
### QUESTION Name the total number of population for 1991 for 9564 for 2011 ### CONTEXT CREATE TABLE table_2562572_5 (population__1991_ VARCHAR, population__2011_ VARCHAR) ### ANSWER SELECT COUNT(population__1991_) FROM table_2562572_5 WHERE population__2011_ = 9564
{ "answer": "SELECT COUNT(population__1991_) FROM table_2562572_5 WHERE population__2011_ = 9564", "context": "CREATE TABLE table_2562572_5 (population__1991_ VARCHAR, population__2011_ VARCHAR)", "question": "Name the total number of population for 1991 for 9564 for 2011" }
### QUESTION Who did the Rangers play in a game that was later than 72 when the team record was 39-27-9? ### CONTEXT CREATE TABLE table_name_93 (opponent VARCHAR, game VARCHAR, record VARCHAR) ### ANSWER SELECT opponent FROM table_name_93 WHERE game > 72 AND record = "39-27-9"
{ "answer": "SELECT opponent FROM table_name_93 WHERE game > 72 AND record = \"39-27-9\"", "context": "CREATE TABLE table_name_93 (opponent VARCHAR, game VARCHAR, record VARCHAR)", "question": "Who did the Rangers play in a game that was later than 72 when the team record was 39-27-9?" }
### QUESTION what is the average specific impulse for engines that have a SFC in lb/(lbf·h) of 7.95, and a Effective exhaust velocity (m/s) larger than 4,423 ### CONTEXT CREATE TABLE table_name_66 (specific_impulse__s_ INTEGER, sfc_in_lb__lbf·h_ VARCHAR, effective_exhaust_velocity__m_s_ VARCHAR) ### ANSWER SELECT AVG(specific_impulse__s_) FROM table_name_66 WHERE sfc_in_lb__lbf·h_ = 7.95 AND effective_exhaust_velocity__m_s_ > 4 OFFSET 423
{ "answer": "SELECT AVG(specific_impulse__s_) FROM table_name_66 WHERE sfc_in_lb__lbf·h_ = 7.95 AND effective_exhaust_velocity__m_s_ > 4 OFFSET 423", "context": "CREATE TABLE table_name_66 (specific_impulse__s_ INTEGER, sfc_in_lb__lbf·h_ VARCHAR, effective_exhaust_velocity__m_s_ VARCHAR)", "question": "what is the average specific impulse for engines that have a SFC in lb/(lbf·h) of 7.95, and a Effective exhaust velocity (m/s) larger than 4,423" }
### QUESTION what's the margin where runner(s)-up is phil mickelson ### CONTEXT CREATE TABLE table_11570261_1 (margin VARCHAR, runner_s__up VARCHAR) ### ANSWER SELECT margin FROM table_11570261_1 WHERE runner_s__up = "Phil Mickelson"
{ "answer": "SELECT margin FROM table_11570261_1 WHERE runner_s__up = \"Phil Mickelson\"", "context": "CREATE TABLE table_11570261_1 (margin VARCHAR, runner_s__up VARCHAR)", "question": " what's the margin where runner(s)-up is phil mickelson" }
### QUESTION Which Year has a Venue of bydgoszcz, poland, and an Event of junior team? ### CONTEXT CREATE TABLE table_name_75 (year INTEGER, venue VARCHAR, event VARCHAR) ### ANSWER SELECT AVG(year) FROM table_name_75 WHERE venue = "bydgoszcz, poland" AND event = "junior team"
{ "answer": "SELECT AVG(year) FROM table_name_75 WHERE venue = \"bydgoszcz, poland\" AND event = \"junior team\"", "context": "CREATE TABLE table_name_75 (year INTEGER, venue VARCHAR, event VARCHAR)", "question": "Which Year has a Venue of bydgoszcz, poland, and an Event of junior team?" }
### QUESTION What's the Years as tallest with a Street address of 324 E. 11th Street? ### CONTEXT CREATE TABLE table_name_12 (years_as_tallest VARCHAR, street_address VARCHAR) ### ANSWER SELECT years_as_tallest FROM table_name_12 WHERE street_address = "324 e. 11th street"
{ "answer": "SELECT years_as_tallest FROM table_name_12 WHERE street_address = \"324 e. 11th street\"", "context": "CREATE TABLE table_name_12 (years_as_tallest VARCHAR, street_address VARCHAR)", "question": "What's the Years as tallest with a Street address of 324 E. 11th Street?" }
### QUESTION Which Show has an Award of indian television academy awards? ### CONTEXT CREATE TABLE table_name_77 (show VARCHAR, award VARCHAR) ### ANSWER SELECT show FROM table_name_77 WHERE award = "indian television academy awards"
{ "answer": "SELECT show FROM table_name_77 WHERE award = \"indian television academy awards\"", "context": "CREATE TABLE table_name_77 (show VARCHAR, award VARCHAR)", "question": "Which Show has an Award of indian television academy awards?" }
### QUESTION What rank was Core Districts + Inner Suburbs and had a population of 10123000? ### CONTEXT CREATE TABLE table_name_37 (rank INTEGER, definition VARCHAR, population VARCHAR) ### ANSWER SELECT MAX(rank) FROM table_name_37 WHERE definition = "core districts + inner suburbs" AND population = "10123000"
{ "answer": "SELECT MAX(rank) FROM table_name_37 WHERE definition = \"core districts + inner suburbs\" AND population = \"10123000\"", "context": "CREATE TABLE table_name_37 (rank INTEGER, definition VARCHAR, population VARCHAR)", "question": "What rank was Core Districts + Inner Suburbs and had a population of 10123000?" }
### QUESTION Name the opponent when the result is w 16-15 and has home/away of home ### CONTEXT CREATE TABLE table_name_37 (opponent VARCHAR, home_away VARCHAR, result VARCHAR) ### ANSWER SELECT opponent FROM table_name_37 WHERE home_away = "home" AND result = "w 16-15"
{ "answer": "SELECT opponent FROM table_name_37 WHERE home_away = \"home\" AND result = \"w 16-15\"", "context": "CREATE TABLE table_name_37 (opponent VARCHAR, home_away VARCHAR, result VARCHAR)", "question": "Name the opponent when the result is w 16-15 and has home/away of home" }
### QUESTION What is the series # when the director is john showalter? ### CONTEXT CREATE TABLE table_29747178_2 (series__number VARCHAR, directed_by VARCHAR) ### ANSWER SELECT series__number FROM table_29747178_2 WHERE directed_by = "John Showalter"
{ "answer": "SELECT series__number FROM table_29747178_2 WHERE directed_by = \"John Showalter\"", "context": "CREATE TABLE table_29747178_2 (series__number VARCHAR, directed_by VARCHAR)", "question": "What is the series # when the director is john showalter?" }
### QUESTION what is the most silver when the event is 2008 summer paralympics and bronze is less than 1? ### CONTEXT CREATE TABLE table_name_86 (silver INTEGER, event VARCHAR, bronze VARCHAR) ### ANSWER SELECT MAX(silver) FROM table_name_86 WHERE event = "2008 summer paralympics" AND bronze < 1
{ "answer": "SELECT MAX(silver) FROM table_name_86 WHERE event = \"2008 summer paralympics\" AND bronze < 1", "context": "CREATE TABLE table_name_86 (silver INTEGER, event VARCHAR, bronze VARCHAR)", "question": "what is the most silver when the event is 2008 summer paralympics and bronze is less than 1?" }
### QUESTION What series had a high points of Prince (23)? ### CONTEXT CREATE TABLE table_name_32 (series VARCHAR, high_points VARCHAR) ### ANSWER SELECT series FROM table_name_32 WHERE high_points = "prince (23)"
{ "answer": "SELECT series FROM table_name_32 WHERE high_points = \"prince (23)\"", "context": "CREATE TABLE table_name_32 (series VARCHAR, high_points VARCHAR)", "question": "What series had a high points of Prince (23)?" }
### QUESTION What was the round when nueza silva played against greece? ### CONTEXT CREATE TABLE table_name_31 (round VARCHAR, against VARCHAR) ### ANSWER SELECT round FROM table_name_31 WHERE against = "greece"
{ "answer": "SELECT round FROM table_name_31 WHERE against = \"greece\"", "context": "CREATE TABLE table_name_31 (round VARCHAR, against VARCHAR)", "question": "What was the round when nueza silva played against greece?" }
### QUESTION Name all the candidates that ran for the seat where Harold D. Cooley is the incumbent? ### CONTEXT CREATE TABLE table_1342256_33 (candidates VARCHAR, incumbent VARCHAR) ### ANSWER SELECT candidates FROM table_1342256_33 WHERE incumbent = "Harold D. Cooley"
{ "answer": "SELECT candidates FROM table_1342256_33 WHERE incumbent = \"Harold D. Cooley\"", "context": "CREATE TABLE table_1342256_33 (candidates VARCHAR, incumbent VARCHAR)", "question": "Name all the candidates that ran for the seat where Harold D. Cooley is the incumbent?" }
### QUESTION How many appearances were made by people that had 5 goals and less than 7 rank? ### CONTEXT CREATE TABLE table_name_95 (appearances VARCHAR, goals VARCHAR, rank VARCHAR) ### ANSWER SELECT COUNT(appearances) FROM table_name_95 WHERE goals = 5 AND rank < 7
{ "answer": "SELECT COUNT(appearances) FROM table_name_95 WHERE goals = 5 AND rank < 7", "context": "CREATE TABLE table_name_95 (appearances VARCHAR, goals VARCHAR, rank VARCHAR)", "question": "How many appearances were made by people that had 5 goals and less than 7 rank?" }
### QUESTION What was the score in the episode with john barrowman and vic reeves on sean's team? ### CONTEXT CREATE TABLE table_23292220_4 (scores VARCHAR, seans_team VARCHAR) ### ANSWER SELECT scores FROM table_23292220_4 WHERE seans_team = "John Barrowman and Vic Reeves"
{ "answer": "SELECT scores FROM table_23292220_4 WHERE seans_team = \"John Barrowman and Vic Reeves\"", "context": "CREATE TABLE table_23292220_4 (scores VARCHAR, seans_team VARCHAR)", "question": "What was the score in the episode with john barrowman and vic reeves on sean's team?" }
### QUESTION How many grids had a constructor of renault and less than 4 laps? ### CONTEXT CREATE TABLE table_name_35 (grid INTEGER, constructor VARCHAR, laps VARCHAR) ### ANSWER SELECT SUM(grid) FROM table_name_35 WHERE constructor = "renault" AND laps < 4
{ "answer": "SELECT SUM(grid) FROM table_name_35 WHERE constructor = \"renault\" AND laps < 4", "context": "CREATE TABLE table_name_35 (grid INTEGER, constructor VARCHAR, laps VARCHAR)", "question": "How many grids had a constructor of renault and less than 4 laps?" }
### QUESTION how many games have a location of memorial stadium and a time of 2:27? ### CONTEXT CREATE TABLE table_name_95 (game VARCHAR, location VARCHAR, time VARCHAR) ### ANSWER SELECT COUNT(game) FROM table_name_95 WHERE location = "memorial stadium" AND time = "2:27"
{ "answer": "SELECT COUNT(game) FROM table_name_95 WHERE location = \"memorial stadium\" AND time = \"2:27\"", "context": "CREATE TABLE table_name_95 (game VARCHAR, location VARCHAR, time VARCHAR)", "question": "how many games have a location of memorial stadium and a time of 2:27?" }
### QUESTION What is the Location of the Hietalahti Stadium? ### CONTEXT CREATE TABLE table_name_46 (location VARCHAR, stadium VARCHAR) ### ANSWER SELECT location FROM table_name_46 WHERE stadium = "hietalahti stadium"
{ "answer": "SELECT location FROM table_name_46 WHERE stadium = \"hietalahti stadium\"", "context": "CREATE TABLE table_name_46 (location VARCHAR, stadium VARCHAR)", "question": "What is the Location of the Hietalahti Stadium?" }
### QUESTION What's the lane number when time was 20.45 and the react was less than 0.164? ### CONTEXT CREATE TABLE table_name_85 (lane INTEGER, react VARCHAR, time VARCHAR) ### ANSWER SELECT MAX(lane) FROM table_name_85 WHERE react < 0.164 AND time = "20.45"
{ "answer": "SELECT MAX(lane) FROM table_name_85 WHERE react < 0.164 AND time = \"20.45\"", "context": "CREATE TABLE table_name_85 (lane INTEGER, react VARCHAR, time VARCHAR)", "question": "What's the lane number when time was 20.45 and the react was less than 0.164?" }
### QUESTION What is the sum of Games for Allofs, Klaus, with Goals less than 177? ### CONTEXT CREATE TABLE table_name_53 (games INTEGER, name VARCHAR, goals VARCHAR) ### ANSWER SELECT SUM(games) FROM table_name_53 WHERE name = "allofs, klaus" AND goals < 177
{ "answer": "SELECT SUM(games) FROM table_name_53 WHERE name = \"allofs, klaus\" AND goals < 177", "context": "CREATE TABLE table_name_53 (games INTEGER, name VARCHAR, goals VARCHAR)", "question": "What is the sum of Games for Allofs, Klaus, with Goals less than 177?" }
### QUESTION What is the Entered service date of the T413? ### CONTEXT CREATE TABLE table_name_32 (entered_service VARCHAR, delivered_as VARCHAR) ### ANSWER SELECT entered_service FROM table_name_32 WHERE delivered_as = "t413"
{ "answer": "SELECT entered_service FROM table_name_32 WHERE delivered_as = \"t413\"", "context": "CREATE TABLE table_name_32 (entered_service VARCHAR, delivered_as VARCHAR)", "question": "What is the Entered service date of the T413?" }
### QUESTION What is the covalent (single bond) value of sodium? ### CONTEXT CREATE TABLE table_name_21 (covalent__single_bond_ VARCHAR, name VARCHAR) ### ANSWER SELECT covalent__single_bond_ FROM table_name_21 WHERE name = "sodium"
{ "answer": "SELECT covalent__single_bond_ FROM table_name_21 WHERE name = \"sodium\"", "context": "CREATE TABLE table_name_21 (covalent__single_bond_ VARCHAR, name VARCHAR)", "question": "What is the covalent (single bond) value of sodium?" }
### QUESTION What was the date of the Ace Group Classic tournament with a 1 stroke margin of victory? ### CONTEXT CREATE TABLE table_name_24 (date VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) ### ANSWER SELECT date FROM table_name_24 WHERE margin_of_victory = "1 stroke" AND tournament = "the ace group classic"
{ "answer": "SELECT date FROM table_name_24 WHERE margin_of_victory = \"1 stroke\" AND tournament = \"the ace group classic\"", "context": "CREATE TABLE table_name_24 (date VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)", "question": "What was the date of the Ace Group Classic tournament with a 1 stroke margin of victory?" }
### QUESTION For a processor with part number cy80632007221ab and TDP of 3.6 W, What are the available GPU frequencies? ### CONTEXT CREATE TABLE table_16729930_18 (gpu_frequency VARCHAR, tdp VARCHAR, part_number_s_ VARCHAR) ### ANSWER SELECT gpu_frequency FROM table_16729930_18 WHERE tdp = "3.6 W" AND part_number_s_ = "CY80632007221AB"
{ "answer": "SELECT gpu_frequency FROM table_16729930_18 WHERE tdp = \"3.6 W\" AND part_number_s_ = \"CY80632007221AB\"", "context": "CREATE TABLE table_16729930_18 (gpu_frequency VARCHAR, tdp VARCHAR, part_number_s_ VARCHAR)", "question": "For a processor with part number cy80632007221ab and TDP of 3.6 W, What are the available GPU frequencies?" }
### QUESTION Name the lmp 1 winning team for rnd being 2 and adrian fernández luis díaz ### CONTEXT CREATE TABLE table_19598014_2 (lmp1_winning_team VARCHAR, rnd VARCHAR, lmp2_winning_team VARCHAR) ### ANSWER SELECT lmp1_winning_team FROM table_19598014_2 WHERE rnd = 2 AND lmp2_winning_team = "Adrian Fernández Luis Díaz"
{ "answer": "SELECT lmp1_winning_team FROM table_19598014_2 WHERE rnd = 2 AND lmp2_winning_team = \"Adrian Fernández Luis Díaz\"", "context": "CREATE TABLE table_19598014_2 (lmp1_winning_team VARCHAR, rnd VARCHAR, lmp2_winning_team VARCHAR)", "question": "Name the lmp 1 winning team for rnd being 2 and adrian fernández luis díaz" }
### QUESTION How many times is avg/g 2? ### CONTEXT CREATE TABLE table_name_82 (receptions VARCHAR, avg_g VARCHAR) ### ANSWER SELECT COUNT(receptions) FROM table_name_82 WHERE avg_g = 2
{ "answer": "SELECT COUNT(receptions) FROM table_name_82 WHERE avg_g = 2", "context": "CREATE TABLE table_name_82 (receptions VARCHAR, avg_g VARCHAR)", "question": "How many times is avg/g 2?" }
### QUESTION Name the averae top 25 with events less than 0 ### CONTEXT CREATE TABLE table_name_31 (top_25 INTEGER, events INTEGER) ### ANSWER SELECT AVG(top_25) FROM table_name_31 WHERE events < 0
{ "answer": "SELECT AVG(top_25) FROM table_name_31 WHERE events < 0", "context": "CREATE TABLE table_name_31 (top_25 INTEGER, events INTEGER)", "question": "Name the averae top 25 with events less than 0" }
### QUESTION What is the date of the match against John McEnroe with a Score of 3–6, 6–3, 2–6? ### CONTEXT CREATE TABLE table_name_73 (date VARCHAR, opponent VARCHAR, score VARCHAR) ### ANSWER SELECT date FROM table_name_73 WHERE opponent = "john mcenroe" AND score = "3–6, 6–3, 2–6"
{ "answer": "SELECT date FROM table_name_73 WHERE opponent = \"john mcenroe\" AND score = \"3–6, 6–3, 2–6\"", "context": "CREATE TABLE table_name_73 (date VARCHAR, opponent VARCHAR, score VARCHAR)", "question": "What is the date of the match against John McEnroe with a Score of 3–6, 6–3, 2–6?" }
### QUESTION Name the three for william prewett for four and five being richard ellis with seven being nicholas king on 5 november 1693 ### CONTEXT CREATE TABLE table_name_83 (three VARCHAR, date VARCHAR, seven VARCHAR, four VARCHAR, five VARCHAR) ### ANSWER SELECT three FROM table_name_83 WHERE four = "william prewett" AND five = "richard ellis" AND seven = "nicholas king" AND date = "5 november 1693"
{ "answer": "SELECT three FROM table_name_83 WHERE four = \"william prewett\" AND five = \"richard ellis\" AND seven = \"nicholas king\" AND date = \"5 november 1693\"", "context": "CREATE TABLE table_name_83 (three VARCHAR, date VARCHAR, seven VARCHAR, four VARCHAR, five VARCHAR)", "question": "Name the three for william prewett for four and five being richard ellis with seven being nicholas king on 5 november 1693" }
### QUESTION What is the average membership with 3.33% LDS and less than 47 branches? ### CONTEXT CREATE TABLE table_name_15 (membership INTEGER, _percentage_lds VARCHAR, branches VARCHAR) ### ANSWER SELECT AVG(membership) FROM table_name_15 WHERE _percentage_lds = "3.33%" AND branches < 47
{ "answer": "SELECT AVG(membership) FROM table_name_15 WHERE _percentage_lds = \"3.33%\" AND branches < 47", "context": "CREATE TABLE table_name_15 (membership INTEGER, _percentage_lds VARCHAR, branches VARCHAR)", "question": "What is the average membership with 3.33% LDS and less than 47 branches?" }
### QUESTION How much is the total assets of a company based in Stockholm, Sweden with a market capitalization smaller than 39.8 with revenues greater than 5.8 and profit of 1.1? ### CONTEXT CREATE TABLE table_name_14 (s_asset__billion_ VARCHAR, profits__billion_$_ VARCHAR, revenue__billion_$__ VARCHAR, headquarters VARCHAR, market_value__billion_$_ VARCHAR) ### ANSWER SELECT COUNT(s_asset__billion_) AS $_ FROM table_name_14 WHERE headquarters = "stockholm, sweden" AND market_value__billion_$_ < 39.8 AND revenue__billion_$__ > 5.8 AND profits__billion_$_ = 1.1
{ "answer": "SELECT COUNT(s_asset__billion_) AS $_ FROM table_name_14 WHERE headquarters = \"stockholm, sweden\" AND market_value__billion_$_ < 39.8 AND revenue__billion_$__ > 5.8 AND profits__billion_$_ = 1.1", "context": "CREATE TABLE table_name_14 (s_asset__billion_ VARCHAR, profits__billion_$_ VARCHAR, revenue__billion_$__ VARCHAR, headquarters VARCHAR, market_value__billion_$_ VARCHAR)", "question": "How much is the total assets of a company based in Stockholm, Sweden with a market capitalization smaller than 39.8 with revenues greater than 5.8 and profit of 1.1?" }
### QUESTION For the club Minija Kretinga, what's the lowest number of wins with points smaller than 25, goals at 22 and goals conceded below 39? ### CONTEXT CREATE TABLE table_name_60 (wins INTEGER, goals_conceded VARCHAR, club VARCHAR, points VARCHAR, goals_scored VARCHAR) ### ANSWER SELECT MIN(wins) FROM table_name_60 WHERE points < 25 AND goals_scored = 22 AND club = "minija kretinga" AND goals_conceded < 39
{ "answer": "SELECT MIN(wins) FROM table_name_60 WHERE points < 25 AND goals_scored = 22 AND club = \"minija kretinga\" AND goals_conceded < 39", "context": "CREATE TABLE table_name_60 (wins INTEGER, goals_conceded VARCHAR, club VARCHAR, points VARCHAR, goals_scored VARCHAR)", "question": "For the club Minija Kretinga, what's the lowest number of wins with points smaller than 25, goals at 22 and goals conceded below 39?" }
### QUESTION How many attendance numbers are associated with the site of Veterans Stadium before week 1? ### CONTEXT CREATE TABLE table_name_59 (attendance VARCHAR, game_site VARCHAR, week VARCHAR) ### ANSWER SELECT COUNT(attendance) FROM table_name_59 WHERE game_site = "veterans stadium" AND week < 1
{ "answer": "SELECT COUNT(attendance) FROM table_name_59 WHERE game_site = \"veterans stadium\" AND week < 1", "context": "CREATE TABLE table_name_59 (attendance VARCHAR, game_site VARCHAR, week VARCHAR)", "question": "How many attendance numbers are associated with the site of Veterans Stadium before week 1?" }
### QUESTION What is the lowest nightly rank for an episode after episode 1 with a rating/share of 2.6/8? ### CONTEXT CREATE TABLE table_name_91 (rank__night_ INTEGER, episode VARCHAR, rating VARCHAR) ### ANSWER SELECT MIN(rank__night_) FROM table_name_91 WHERE rating / SHARE(18 - 49) = 2.6 / 8 AND episode > 1
{ "answer": "SELECT MIN(rank__night_) FROM table_name_91 WHERE rating / SHARE(18 - 49) = 2.6 / 8 AND episode > 1", "context": "CREATE TABLE table_name_91 (rank__night_ INTEGER, episode VARCHAR, rating VARCHAR)", "question": "What is the lowest nightly rank for an episode after episode 1 with a rating/share of 2.6/8?" }
### QUESTION Tell me what was commissioned december 30, 1965 ### CONTEXT CREATE TABLE table_name_12 (commissioned VARCHAR, launched VARCHAR) ### ANSWER SELECT commissioned FROM table_name_12 WHERE launched = "december 30, 1965"
{ "answer": "SELECT commissioned FROM table_name_12 WHERE launched = \"december 30, 1965\"", "context": "CREATE TABLE table_name_12 (commissioned VARCHAR, launched VARCHAR)", "question": "Tell me what was commissioned december 30, 1965" }
### QUESTION Which claim incurred the most number of settlements? List the claim id, the date the claim was made, and the number. ### CONTEXT CREATE TABLE Claims (claim_id VARCHAR, date_claim_made VARCHAR); CREATE TABLE Settlements (claim_id VARCHAR) ### ANSWER SELECT T1.claim_id, T1.date_claim_made, COUNT(*) FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id = T2.claim_id GROUP BY T1.claim_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.claim_id, T1.date_claim_made, COUNT(*) FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id = T2.claim_id GROUP BY T1.claim_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Claims (claim_id VARCHAR, date_claim_made VARCHAR); CREATE TABLE Settlements (claim_id VARCHAR)", "question": "Which claim incurred the most number of settlements? List the claim id, the date the claim was made, and the number." }
### QUESTION What's the Result for the Competition of 1994 FIFA World Cup Qualification, with the Date of May 15, 1993? ### CONTEXT CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR, date VARCHAR) ### ANSWER SELECT result FROM table_name_14 WHERE competition = "1994 fifa world cup qualification" AND date = "may 15, 1993"
{ "answer": "SELECT result FROM table_name_14 WHERE competition = \"1994 fifa world cup qualification\" AND date = \"may 15, 1993\"", "context": "CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR, date VARCHAR)", "question": "What's the Result for the Competition of 1994 FIFA World Cup Qualification, with the Date of May 15, 1993?" }
### QUESTION What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3? ### CONTEXT CREATE TABLE table_name_33 (record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR) ### ANSWER SELECT record_medal_event FROM table_name_33 WHERE sport = "athletics" AND athlete = "robert garrett" AND medal_count < 3
{ "answer": "SELECT record_medal_event FROM table_name_33 WHERE sport = \"athletics\" AND athlete = \"robert garrett\" AND medal_count < 3", "context": "CREATE TABLE table_name_33 (record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR)", "question": "What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3?" }
### QUESTION Which Fate has a Nationality of united kingdom, and a Tonnage of 1,809? ### CONTEXT CREATE TABLE table_name_4 (fate VARCHAR, nationality VARCHAR, tonnage VARCHAR) ### ANSWER SELECT fate FROM table_name_4 WHERE nationality = "united kingdom" AND tonnage = "1,809"
{ "answer": "SELECT fate FROM table_name_4 WHERE nationality = \"united kingdom\" AND tonnage = \"1,809\"", "context": "CREATE TABLE table_name_4 (fate VARCHAR, nationality VARCHAR, tonnage VARCHAR)", "question": "Which Fate has a Nationality of united kingdom, and a Tonnage of 1,809?" }
### QUESTION What is the winning coach total number if the top team in regular season (points) is the Kansas City Spurs (110 points)? ### CONTEXT CREATE TABLE table_237757_3 (winning_coach VARCHAR, top_team_in_regular_season__points_ VARCHAR) ### ANSWER SELECT COUNT(winning_coach) FROM table_237757_3 WHERE top_team_in_regular_season__points_ = "Kansas City Spurs (110 points)"
{ "answer": "SELECT COUNT(winning_coach) FROM table_237757_3 WHERE top_team_in_regular_season__points_ = \"Kansas City Spurs (110 points)\"", "context": "CREATE TABLE table_237757_3 (winning_coach VARCHAR, top_team_in_regular_season__points_ VARCHAR)", "question": "What is the winning coach total number if the top team in regular season (points) is the Kansas City Spurs (110 points)?" }
### QUESTION What is the to par of the player with a t4 place and a score of 75-69-74-72=290? ### CONTEXT CREATE TABLE table_name_46 (to_par VARCHAR, place VARCHAR, score VARCHAR) ### ANSWER SELECT to_par FROM table_name_46 WHERE place = "t4" AND score = 75 - 69 - 74 - 72 = 290
{ "answer": "SELECT to_par FROM table_name_46 WHERE place = \"t4\" AND score = 75 - 69 - 74 - 72 = 290", "context": "CREATE TABLE table_name_46 (to_par VARCHAR, place VARCHAR, score VARCHAR)", "question": "What is the to par of the player with a t4 place and a score of 75-69-74-72=290?" }
### QUESTION Name the record for attendance location of palace of auburn hills 15,210 ### CONTEXT CREATE TABLE table_17103729_8 (record VARCHAR, location_attendance VARCHAR) ### ANSWER SELECT record FROM table_17103729_8 WHERE location_attendance = "Palace of Auburn Hills 15,210"
{ "answer": "SELECT record FROM table_17103729_8 WHERE location_attendance = \"Palace of Auburn Hills 15,210\"", "context": "CREATE TABLE table_17103729_8 (record VARCHAR, location_attendance VARCHAR)", "question": "Name the record for attendance location of palace of auburn hills 15,210" }
### QUESTION Played that has a Points of 38, and a B.P. larger than 5 has what sum? ### CONTEXT CREATE TABLE table_name_52 (played INTEGER, points VARCHAR, bp VARCHAR) ### ANSWER SELECT SUM(played) FROM table_name_52 WHERE points = 38 AND bp > 5
{ "answer": "SELECT SUM(played) FROM table_name_52 WHERE points = 38 AND bp > 5", "context": "CREATE TABLE table_name_52 (played INTEGER, points VARCHAR, bp VARCHAR)", "question": "Played that has a Points of 38, and a B.P. larger than 5 has what sum?" }
### QUESTION What was the score in the final, that Víctor Pecci was the opponent and winner after 1984? ### CONTEXT CREATE TABLE table_name_92 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR) ### ANSWER SELECT score_in_the_final FROM table_name_92 WHERE date > 1984 AND outcome = "winner" AND opponent_in_the_final = "víctor pecci"
{ "answer": "SELECT score_in_the_final FROM table_name_92 WHERE date > 1984 AND outcome = \"winner\" AND opponent_in_the_final = \"víctor pecci\"", "context": "CREATE TABLE table_name_92 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR)", "question": "What was the score in the final, that Víctor Pecci was the opponent and winner after 1984?" }
### QUESTION When Mark O'meara was the senior player champion in a year greater than 1998, who was the tradition? ### CONTEXT CREATE TABLE table_name_14 (the_tradition VARCHAR, year VARCHAR, senior_players_championship VARCHAR) ### ANSWER SELECT the_tradition FROM table_name_14 WHERE year > 1998 AND senior_players_championship = "mark o'meara"
{ "answer": "SELECT the_tradition FROM table_name_14 WHERE year > 1998 AND senior_players_championship = \"mark o'meara\"", "context": "CREATE TABLE table_name_14 (the_tradition VARCHAR, year VARCHAR, senior_players_championship VARCHAR)", "question": "When Mark O'meara was the senior player champion in a year greater than 1998, who was the tradition?" }
### QUESTION Which club/province has more than 9 caps and Ben Franks as a player? ### CONTEXT CREATE TABLE table_name_44 (club_province VARCHAR, caps VARCHAR, player VARCHAR) ### ANSWER SELECT club_province FROM table_name_44 WHERE caps > 9 AND player = "ben franks"
{ "answer": "SELECT club_province FROM table_name_44 WHERE caps > 9 AND player = \"ben franks\"", "context": "CREATE TABLE table_name_44 (club_province VARCHAR, caps VARCHAR, player VARCHAR)", "question": "Which club/province has more than 9 caps and Ben Franks as a player?" }
### QUESTION If the reader is Syal, Meera Meera Syal, what was the release date? ### CONTEXT CREATE TABLE table_20174050_7 (release_date VARCHAR, reader VARCHAR) ### ANSWER SELECT release_date FROM table_20174050_7 WHERE reader = "Syal, Meera Meera Syal"
{ "answer": "SELECT release_date FROM table_20174050_7 WHERE reader = \"Syal, Meera Meera Syal\"", "context": "CREATE TABLE table_20174050_7 (release_date VARCHAR, reader VARCHAR)", "question": "If the reader is Syal, Meera Meera Syal, what was the release date?" }
### QUESTION What is the Max Aggregate bandwidth with a HyperTransport of 2? ### CONTEXT CREATE TABLE table_name_17 (max_aggregate_bandwidth__bi_directional_ VARCHAR, hypertransport_version VARCHAR) ### ANSWER SELECT max_aggregate_bandwidth__bi_directional_ FROM table_name_17 WHERE hypertransport_version = 2
{ "answer": "SELECT max_aggregate_bandwidth__bi_directional_ FROM table_name_17 WHERE hypertransport_version = 2", "context": "CREATE TABLE table_name_17 (max_aggregate_bandwidth__bi_directional_ VARCHAR, hypertransport_version VARCHAR)", "question": "What is the Max Aggregate bandwidth with a HyperTransport of 2?" }
### QUESTION When was the film released that a less than 5038 production number and was of the character Bosko? ### CONTEXT CREATE TABLE table_name_21 (release_date VARCHAR, production_num VARCHAR, characters VARCHAR) ### ANSWER SELECT release_date FROM table_name_21 WHERE production_num < 5038 AND characters = "bosko"
{ "answer": "SELECT release_date FROM table_name_21 WHERE production_num < 5038 AND characters = \"bosko\"", "context": "CREATE TABLE table_name_21 (release_date VARCHAR, production_num VARCHAR, characters VARCHAR)", "question": "When was the film released that a less than 5038 production number and was of the character Bosko?" }
### QUESTION What date was the match on a clay surface against Andrea Hlaváčková? ### CONTEXT CREATE TABLE table_name_55 (date VARCHAR, surface VARCHAR, opponent VARCHAR) ### ANSWER SELECT date FROM table_name_55 WHERE surface = "clay" AND opponent = "andrea hlaváčková"
{ "answer": "SELECT date FROM table_name_55 WHERE surface = \"clay\" AND opponent = \"andrea hlaváčková\"", "context": "CREATE TABLE table_name_55 (date VARCHAR, surface VARCHAR, opponent VARCHAR)", "question": "What date was the match on a clay surface against Andrea Hlaváčková?" }
### QUESTION What is Zamri Hassan's lowest Malaysia Cup when there were an FA Cup of 0? ### CONTEXT CREATE TABLE table_name_74 (malaysia_cup INTEGER, player VARCHAR, fa_cup VARCHAR) ### ANSWER SELECT MIN(malaysia_cup) FROM table_name_74 WHERE player = "zamri hassan" AND fa_cup < 0
{ "answer": "SELECT MIN(malaysia_cup) FROM table_name_74 WHERE player = \"zamri hassan\" AND fa_cup < 0", "context": "CREATE TABLE table_name_74 (malaysia_cup INTEGER, player VARCHAR, fa_cup VARCHAR)", "question": "What is Zamri Hassan's lowest Malaysia Cup when there were an FA Cup of 0?" }
### QUESTION What are the code and description of the most frequent behavior incident type? ### CONTEXT CREATE TABLE Ref_Incident_Type (incident_type_description VARCHAR, incident_type_code VARCHAR); CREATE TABLE Behavior_Incident (incident_type_code VARCHAR) ### ANSWER SELECT T1.incident_type_code, T2.incident_type_description FROM Behavior_Incident AS T1 JOIN Ref_Incident_Type AS T2 ON T1.incident_type_code = T2.incident_type_code GROUP BY T1.incident_type_code ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.incident_type_code, T2.incident_type_description FROM Behavior_Incident AS T1 JOIN Ref_Incident_Type AS T2 ON T1.incident_type_code = T2.incident_type_code GROUP BY T1.incident_type_code ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Ref_Incident_Type (incident_type_description VARCHAR, incident_type_code VARCHAR); CREATE TABLE Behavior_Incident (incident_type_code VARCHAR)", "question": "What are the code and description of the most frequent behavior incident type?" }
### QUESTION What are the names of nations speak both English and French? ### CONTEXT CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR) ### ANSWER SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "French"
{ "answer": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"French\"", "context": "CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR)", "question": "What are the names of nations speak both English and French?" }
### QUESTION Find the name of the instructors who taught C Programming course before. ### CONTEXT CREATE TABLE teaches (id VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR) ### ANSWER SELECT T1.name FROM instructor AS T1 JOIN teaches AS T2 ON T1.id = T2.id JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T3.title = 'C Programming'
{ "answer": "SELECT T1.name FROM instructor AS T1 JOIN teaches AS T2 ON T1.id = T2.id JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T3.title = 'C Programming'", "context": "CREATE TABLE teaches (id VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR)", "question": "Find the name of the instructors who taught C Programming course before." }
### QUESTION What is the total number of playoff games played by the Seattle Thunderbirds team where the number of regular games played is less than 5 and pick number is less than 131? ### CONTEXT CREATE TABLE table_name_16 (pl_gp VARCHAR, pick__number VARCHAR, reg_gp VARCHAR, team__league_ VARCHAR) ### ANSWER SELECT COUNT(pl_gp) FROM table_name_16 WHERE reg_gp < 5 AND team__league_ = "seattle thunderbirds" AND pick__number < 131
{ "answer": "SELECT COUNT(pl_gp) FROM table_name_16 WHERE reg_gp < 5 AND team__league_ = \"seattle thunderbirds\" AND pick__number < 131", "context": "CREATE TABLE table_name_16 (pl_gp VARCHAR, pick__number VARCHAR, reg_gp VARCHAR, team__league_ VARCHAR)", "question": "What is the total number of playoff games played by the Seattle Thunderbirds team where the number of regular games played is less than 5 and pick number is less than 131?" }
### QUESTION What is the venue of teh carfax 250 race? ### CONTEXT CREATE TABLE table_name_62 (venue VARCHAR, race VARCHAR) ### ANSWER SELECT venue FROM table_name_62 WHERE race = "carfax 250"
{ "answer": "SELECT venue FROM table_name_62 WHERE race = \"carfax 250\"", "context": "CREATE TABLE table_name_62 (venue VARCHAR, race VARCHAR)", "question": "What is the venue of teh carfax 250 race?" }
### QUESTION How many assists were in the k-league competition, which has more than 20 total Gs, the pohang steelers team, and chunnam dragons as the opponent? ### CONTEXT CREATE TABLE table_name_90 (assists VARCHAR, opponent VARCHAR, team VARCHAR, competition VARCHAR, total_gs VARCHAR) ### ANSWER SELECT assists FROM table_name_90 WHERE competition = "k-league" AND total_gs > 20 AND team = "pohang steelers" AND opponent = "chunnam dragons"
{ "answer": "SELECT assists FROM table_name_90 WHERE competition = \"k-league\" AND total_gs > 20 AND team = \"pohang steelers\" AND opponent = \"chunnam dragons\"", "context": "CREATE TABLE table_name_90 (assists VARCHAR, opponent VARCHAR, team VARCHAR, competition VARCHAR, total_gs VARCHAR)", "question": "How many assists were in the k-league competition, which has more than 20 total Gs, the pohang steelers team, and chunnam dragons as the opponent?" }
### QUESTION How many date of successor seated is new jersey 2nd in the district? ### CONTEXT CREATE TABLE table_225205_4 (date_successor_seated VARCHAR, district VARCHAR) ### ANSWER SELECT COUNT(date_successor_seated) FROM table_225205_4 WHERE district = "New Jersey 2nd"
{ "answer": "SELECT COUNT(date_successor_seated) FROM table_225205_4 WHERE district = \"New Jersey 2nd\"", "context": "CREATE TABLE table_225205_4 (date_successor_seated VARCHAR, district VARCHAR)", "question": "How many date of successor seated is new jersey 2nd in the district?" }
### QUESTION List the hardware model name for the phones that were produced by "Nokia Corporation" or whose screen mode type is "Graphics." ### CONTEXT CREATE TABLE phone (Hardware_Model_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, Type VARCHAR) ### ANSWER SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type = "Graphics" OR t2.Company_name = "Nokia Corporation"
{ "answer": "SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type = \"Graphics\" OR t2.Company_name = \"Nokia Corporation\"", "context": "CREATE TABLE phone (Hardware_Model_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, Type VARCHAR)", "question": "List the hardware model name for the phones that were produced by \"Nokia Corporation\" or whose screen mode type is \"Graphics.\"" }