text stringlengths 146 1.06k | source dict |
|---|---|
### QUESTION
Who was the player in Position G on the Petron Blaze Boosters and retired in 2000?
### CONTEXT
CREATE TABLE table_name_61 (name VARCHAR, year_retired VARCHAR, position VARCHAR, team VARCHAR)
### ANSWER
SELECT name FROM table_name_61 WHERE position = "g" AND team = "petron blaze boosters" AND year_retired... | {
"answer": "SELECT name FROM table_name_61 WHERE position = \"g\" AND team = \"petron blaze boosters\" AND year_retired = \"2000\"",
"context": "CREATE TABLE table_name_61 (name VARCHAR, year_retired VARCHAR, position VARCHAR, team VARCHAR)",
"question": "Who was the player in Position G on the Petron Blaze Boos... |
### QUESTION
List all company names with a book published by Alyson.
### CONTEXT
CREATE TABLE culture_company (company_name VARCHAR, book_club_id VARCHAR); CREATE TABLE book_club (book_club_id VARCHAR, publisher VARCHAR)
### ANSWER
SELECT T1.company_name FROM culture_company AS T1 JOIN book_club AS T2 ON T1.book_club... | {
"answer": "SELECT T1.company_name FROM culture_company AS T1 JOIN book_club AS T2 ON T1.book_club_id = T2.book_club_id WHERE T2.publisher = 'Alyson'",
"context": "CREATE TABLE culture_company (company_name VARCHAR, book_club_id VARCHAR); CREATE TABLE book_club (book_club_id VARCHAR, publisher VARCHAR)",
"questi... |
### QUESTION
What is the lowest number of Electorates (2003) in District bhind, Reserved for none, and Constituency Number 11?
### CONTEXT
CREATE TABLE table_name_85 (number_of_electorates__2003_ INTEGER, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
### ANSWER
SELECT MIN(numbe... | {
"answer": "SELECT MIN(number_of_electorates__2003_) FROM table_name_85 WHERE district = \"bhind\" AND reserved_for___sc___st__none_ = \"none\" AND constituency_number = \"11\"",
"context": "CREATE TABLE table_name_85 (number_of_electorates__2003_ INTEGER, constituency_number VARCHAR, district VARCHAR, reserved_fo... |
### QUESTION
Name the name of the state
### CONTEXT
CREATE TABLE table_15463188_7 (name VARCHAR, school_club_team VARCHAR)
### ANSWER
SELECT name FROM table_15463188_7 WHERE school_club_team = "State" | {
"answer": "SELECT name FROM table_15463188_7 WHERE school_club_team = \"State\"",
"context": "CREATE TABLE table_15463188_7 (name VARCHAR, school_club_team VARCHAR)",
"question": "Name the name of the state"
} |
### QUESTION
What are the first names of the professors who do not teach a class.
### CONTEXT
CREATE TABLE employee (emp_fname VARCHAR, emp_jobcode VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)
### ANSWER
SELECT emp_fname FROM employee WHERE emp_jobcode = ... | {
"answer": "SELECT emp_fname FROM employee WHERE emp_jobcode = 'PROF' EXCEPT SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num = T2.prof_num",
"context": "CREATE TABLE employee (emp_fname VARCHAR, emp_jobcode VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR); CREATE TABLE employee (emp_fname VAR... |
### QUESTION
What's the rank of the Tau Cerámica that has 377 points and more than 21 games?
### CONTEXT
CREATE TABLE table_name_62 (rank VARCHAR, games VARCHAR, team VARCHAR, points VARCHAR)
### ANSWER
SELECT COUNT(rank) FROM table_name_62 WHERE team = "tau cerámica" AND points = 377 AND games > 21 | {
"answer": "SELECT COUNT(rank) FROM table_name_62 WHERE team = \"tau cerámica\" AND points = 377 AND games > 21",
"context": "CREATE TABLE table_name_62 (rank VARCHAR, games VARCHAR, team VARCHAR, points VARCHAR)",
"question": "What's the rank of the Tau Cerámica that has 377 points and more than 21 games?"
} |
### QUESTION
What is the U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars?
### CONTEXT
CREATE TABLE table_name_98 (us_rap VARCHAR, album VARCHAR)
### ANSWER
SELECT us_rap FROM table_name_98 WHERE album = "west coast bad boyz, vol. 3: poppin' collars" | {
"answer": "SELECT us_rap FROM table_name_98 WHERE album = \"west coast bad boyz, vol. 3: poppin' collars\"",
"context": "CREATE TABLE table_name_98 (us_rap VARCHAR, album VARCHAR)",
"question": "What is the U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars?"
} |
### QUESTION
How many people led in assists on game 71?
### CONTEXT
CREATE TABLE table_23248940_10 (high_assists VARCHAR, game VARCHAR)
### ANSWER
SELECT COUNT(high_assists) FROM table_23248940_10 WHERE game = 71 | {
"answer": "SELECT COUNT(high_assists) FROM table_23248940_10 WHERE game = 71",
"context": "CREATE TABLE table_23248940_10 (high_assists VARCHAR, game VARCHAR)",
"question": "How many people led in assists on game 71?"
} |
### QUESTION
Name the opponent when the field is mitchel athletic complex
### CONTEXT
CREATE TABLE table_name_69 (opponent VARCHAR, field VARCHAR)
### ANSWER
SELECT opponent FROM table_name_69 WHERE field = "mitchel athletic complex" | {
"answer": "SELECT opponent FROM table_name_69 WHERE field = \"mitchel athletic complex\"",
"context": "CREATE TABLE table_name_69 (opponent VARCHAR, field VARCHAR)",
"question": "Name the opponent when the field is mitchel athletic complex"
} |
### QUESTION
Which polling institute showed a lead of 12% and a Labour share of the poll at 40.2%?
### CONTEXT
CREATE TABLE table_name_46 (polling_institute VARCHAR, lead VARCHAR, labour VARCHAR)
### ANSWER
SELECT polling_institute FROM table_name_46 WHERE lead = "12%" AND labour = "40.2%" | {
"answer": "SELECT polling_institute FROM table_name_46 WHERE lead = \"12%\" AND labour = \"40.2%\"",
"context": "CREATE TABLE table_name_46 (polling_institute VARCHAR, lead VARCHAR, labour VARCHAR)",
"question": "Which polling institute showed a lead of 12% and a Labour share of the poll at 40.2%?"
} |
### QUESTION
What is the Airport with the ICAO fo KSEA?
### CONTEXT
CREATE TABLE table_name_10 (airport VARCHAR, icao VARCHAR)
### ANSWER
SELECT airport FROM table_name_10 WHERE icao = "ksea" | {
"answer": "SELECT airport FROM table_name_10 WHERE icao = \"ksea\"",
"context": "CREATE TABLE table_name_10 (airport VARCHAR, icao VARCHAR)",
"question": "What is the Airport with the ICAO fo KSEA?"
} |
### QUESTION
What is the largest decile with a Roll larger than 34, a Gender of coed, and an Authority of state integrated, and an Area of georgetown?
### CONTEXT
CREATE TABLE table_name_47 (decile INTEGER, area VARCHAR, authority VARCHAR, roll VARCHAR, gender VARCHAR)
### ANSWER
SELECT MAX(decile) FROM table_name_47... | {
"answer": "SELECT MAX(decile) FROM table_name_47 WHERE roll > 34 AND gender = \"coed\" AND authority = \"state integrated\" AND area = \"georgetown\"",
"context": "CREATE TABLE table_name_47 (decile INTEGER, area VARCHAR, authority VARCHAR, roll VARCHAR, gender VARCHAR)",
"question": "What is the largest decile... |
### QUESTION
When westcott is in division one how many leagues are in division 5?
### CONTEXT
CREATE TABLE table_24575253_4 (division_five VARCHAR, division_one VARCHAR)
### ANSWER
SELECT COUNT(division_five) FROM table_24575253_4 WHERE division_one = "Westcott" | {
"answer": "SELECT COUNT(division_five) FROM table_24575253_4 WHERE division_one = \"Westcott\"",
"context": "CREATE TABLE table_24575253_4 (division_five VARCHAR, division_one VARCHAR)",
"question": "When westcott is in division one how many leagues are in division 5?"
} |
### QUESTION
Name the lowest round for when pole position and winning driver is michael schumacher
### CONTEXT
CREATE TABLE table_name_27 (round INTEGER, pole_position VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
### ANSWER
SELECT MIN(round) FROM table_name_27 WHERE fastest_lap = "michael schumacher" AND win... | {
"answer": "SELECT MIN(round) FROM table_name_27 WHERE fastest_lap = \"michael schumacher\" AND winning_driver = \"michael schumacher\" AND pole_position = \"michael schumacher\"",
"context": "CREATE TABLE table_name_27 (round INTEGER, pole_position VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)",
"questi... |
### QUESTION
Name the total number of tourism receipts 2011 where tourism receipts 2003 13.5
### CONTEXT
CREATE TABLE table_18524_6 (tourism_receipts__2011___us VARCHAR, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR)
### ANSWER
SELECT COUNT(tourism_receipts__2011___us) AS $_per_capita_ FROM table_18524_6 WH... | {
"answer": "SELECT COUNT(tourism_receipts__2011___us) AS $_per_capita_ FROM table_18524_6 WHERE tourism_receipts__2003___as__percentage_of_gdp_ = \"13.5\"",
"context": "CREATE TABLE table_18524_6 (tourism_receipts__2011___us VARCHAR, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR)",
"question": "Name th... |
### QUESTION
What is the Type with a Year larger than 2010, and a Location with justus lipsius building, brussels, and a President of herman van rompuy (2nd term), and a Date with 28–29 june?
### CONTEXT
CREATE TABLE table_name_96 (type VARCHAR, date VARCHAR, president VARCHAR, year VARCHAR, location VARCHAR)
### ANS... | {
"answer": "SELECT type FROM table_name_96 WHERE year > 2010 AND location = \"justus lipsius building, brussels\" AND president = \"herman van rompuy (2nd term)\" AND date = \"28–29 june\"",
"context": "CREATE TABLE table_name_96 (type VARCHAR, date VARCHAR, president VARCHAR, year VARCHAR, location VARCHAR)",
"... |
### QUESTION
Who wrote the album recorded at funhouse studios with a time of 3:27?
### CONTEXT
CREATE TABLE table_name_64 (writer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR)
### ANSWER
SELECT writer_s_ FROM table_name_64 WHERE recorded_at = "funhouse studios" AND time = "3:27" | {
"answer": "SELECT writer_s_ FROM table_name_64 WHERE recorded_at = \"funhouse studios\" AND time = \"3:27\"",
"context": "CREATE TABLE table_name_64 (writer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR)",
"question": "Who wrote the album recorded at funhouse studios with a time of 3:27?"
} |
### QUESTION
Show the name of the customer who has the most orders.
### CONTEXT
CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)
### ANSWER
SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id ... | {
"answer": "SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)",
"qu... |
### QUESTION
Who was the Winner in the AMC Round 4 at Lakeside International Raceway?
### CONTEXT
CREATE TABLE table_name_96 (winner VARCHAR, circuit VARCHAR, series VARCHAR)
### ANSWER
SELECT winner FROM table_name_96 WHERE circuit = "lakeside international raceway" AND series = "amc round 4" | {
"answer": "SELECT winner FROM table_name_96 WHERE circuit = \"lakeside international raceway\" AND series = \"amc round 4\"",
"context": "CREATE TABLE table_name_96 (winner VARCHAR, circuit VARCHAR, series VARCHAR)",
"question": "Who was the Winner in the AMC Round 4 at Lakeside International Raceway?"
} |
### QUESTION
What is the Surface when Todd Woodbridge was the runner-up, and a Date of 24 february 1997?
### CONTEXT
CREATE TABLE table_name_77 (surface VARCHAR, outcome VARCHAR, date VARCHAR)
### ANSWER
SELECT surface FROM table_name_77 WHERE outcome = "runner-up" AND date = "24 february 1997" | {
"answer": "SELECT surface FROM table_name_77 WHERE outcome = \"runner-up\" AND date = \"24 february 1997\"",
"context": "CREATE TABLE table_name_77 (surface VARCHAR, outcome VARCHAR, date VARCHAR)",
"question": "What is the Surface when Todd Woodbridge was the runner-up, and a Date of 24 february 1997?"
} |
### QUESTION
What is the Result with an NFL Recap, played at bank of america stadium?
### CONTEXT
CREATE TABLE table_name_41 (result VARCHAR, nfl_recap VARCHAR, game_site VARCHAR)
### ANSWER
SELECT result FROM table_name_41 WHERE nfl_recap = "recap" AND game_site = "bank of america stadium" | {
"answer": "SELECT result FROM table_name_41 WHERE nfl_recap = \"recap\" AND game_site = \"bank of america stadium\"",
"context": "CREATE TABLE table_name_41 (result VARCHAR, nfl_recap VARCHAR, game_site VARCHAR)",
"question": "What is the Result with an NFL Recap, played at bank of america stadium?"
} |
### QUESTION
What's the name of the course with most number of enrollments?
### CONTEXT
CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Enrolment_Courses (course_id VARCHAR)
### ANSWER
SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T... | {
"answer": "SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Enrolment_Courses (course_id VARCHAR)",
... |
### QUESTION
Which language is the most popular in Aruba?
### CONTEXT
CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)
### ANSWER
SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = "Aruba" ... | {
"answer": "SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\" ORDER BY Percentage DESC LIMIT 1",
"context": "CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)",
"question": "... |
### QUESTION
how many winnings does jeff gordon have?
### CONTEXT
CREATE TABLE table_27781212_1 (winnings VARCHAR, driver VARCHAR)
### ANSWER
SELECT winnings FROM table_27781212_1 WHERE driver = "Jeff Gordon" | {
"answer": "SELECT winnings FROM table_27781212_1 WHERE driver = \"Jeff Gordon\"",
"context": "CREATE TABLE table_27781212_1 (winnings VARCHAR, driver VARCHAR)",
"question": "how many winnings does jeff gordon have?"
} |
### QUESTION
what is the name when the west or south terminus is ne 112 west of blue springs?
### CONTEXT
CREATE TABLE table_name_63 (name VARCHAR, west_or_south_terminus VARCHAR)
### ANSWER
SELECT name FROM table_name_63 WHERE west_or_south_terminus = "ne 112 west of blue springs" | {
"answer": "SELECT name FROM table_name_63 WHERE west_or_south_terminus = \"ne 112 west of blue springs\"",
"context": "CREATE TABLE table_name_63 (name VARCHAR, west_or_south_terminus VARCHAR)",
"question": "what is the name when the west or south terminus is ne 112 west of blue springs?"
} |
### QUESTION
Show names for all aircrafts of which John Williams has certificates.
### CONTEXT
CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR); CREATE TABLE Employee (eid VARCHAR, name VARCHAR); CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR)
### ANSWER
SELECT T3.name FROM Employee AS T1 JOIN Certificate AS T2 ... | {
"answer": "SELECT T3.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T1.name = \"John Williams\"",
"context": "CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR); CREATE TABLE Employee (eid VARCHAR, name VARCHAR); CREATE TABLE Certificate (eid VARCHAR... |
### QUESTION
who is the winner when the trofeo fast team is carrera jeans-vagabond in stage 5?
### CONTEXT
CREATE TABLE table_name_55 (winner VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR)
### ANSWER
SELECT winner FROM table_name_55 WHERE trofeo_fast_team = "carrera jeans-vagabond" AND stage = "5" | {
"answer": "SELECT winner FROM table_name_55 WHERE trofeo_fast_team = \"carrera jeans-vagabond\" AND stage = \"5\"",
"context": "CREATE TABLE table_name_55 (winner VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR)",
"question": "who is the winner when the trofeo fast team is carrera jeans-vagabond in stage 5?"
} |
### QUESTION
What is Date, when Team is Holden Racing Team, and when Circuit is Eastern Creek Raceway?
### CONTEXT
CREATE TABLE table_name_40 (date VARCHAR, team VARCHAR, circuit VARCHAR)
### ANSWER
SELECT date FROM table_name_40 WHERE team = "holden racing team" AND circuit = "eastern creek raceway" | {
"answer": "SELECT date FROM table_name_40 WHERE team = \"holden racing team\" AND circuit = \"eastern creek raceway\"",
"context": "CREATE TABLE table_name_40 (date VARCHAR, team VARCHAR, circuit VARCHAR)",
"question": "What is Date, when Team is Holden Racing Team, and when Circuit is Eastern Creek Raceway?"
} |
### QUESTION
What is the socket location for sSPEC number sl3f7(kc0)sl3fj(kc0)?
### CONTEXT
CREATE TABLE table_16400024_1 (socket VARCHAR, sspec_number VARCHAR)
### ANSWER
SELECT socket FROM table_16400024_1 WHERE sspec_number = "SL3F7(kC0)SL3FJ(kC0)" | {
"answer": "SELECT socket FROM table_16400024_1 WHERE sspec_number = \"SL3F7(kC0)SL3FJ(kC0)\"",
"context": "CREATE TABLE table_16400024_1 (socket VARCHAR, sspec_number VARCHAR)",
"question": "What is the socket location for sSPEC number sl3f7(kc0)sl3fj(kc0)?"
} |
### QUESTION
What was the club career for players in positions of DF, fewer than 18 total goals, fewer than 129 league appearances, and more than 7 league goals?
### CONTEXT
CREATE TABLE table_name_65 (club_career VARCHAR, league_goals VARCHAR, league_apps VARCHAR, position VARCHAR, total_goals VARCHAR)
### ANSWER
SE... | {
"answer": "SELECT club_career FROM table_name_65 WHERE position = \"df\" AND total_goals < 18 AND league_apps < 129 AND league_goals > 7",
"context": "CREATE TABLE table_name_65 (club_career VARCHAR, league_goals VARCHAR, league_apps VARCHAR, position VARCHAR, total_goals VARCHAR)",
"question": "What was the cl... |
### QUESTION
what is the date for traction type electric with calgary location?
### CONTEXT
CREATE TABLE table_name_18 (date__from_ VARCHAR, traction_type VARCHAR, location VARCHAR)
### ANSWER
SELECT date__from_ FROM table_name_18 WHERE traction_type = "electric" AND location = "calgary" | {
"answer": "SELECT date__from_ FROM table_name_18 WHERE traction_type = \"electric\" AND location = \"calgary\"",
"context": "CREATE TABLE table_name_18 (date__from_ VARCHAR, traction_type VARCHAR, location VARCHAR)",
"question": "what is the date for traction type electric with calgary location?"
} |
### QUESTION
At Position of guard, from the School/Club Team Notre Dame, how many Years for Jazz did that person play?
### CONTEXT
CREATE TABLE table_name_43 (years_for_jazz VARCHAR, position VARCHAR, school_club_team VARCHAR)
### ANSWER
SELECT years_for_jazz FROM table_name_43 WHERE position = "guard" AND school_clu... | {
"answer": "SELECT years_for_jazz FROM table_name_43 WHERE position = \"guard\" AND school_club_team = \"notre dame\"",
"context": "CREATE TABLE table_name_43 (years_for_jazz VARCHAR, position VARCHAR, school_club_team VARCHAR)",
"question": "At Position of guard, from the School/Club Team Notre Dame, how many Y... |
### QUESTION
What is the lowest value for Sydney, when WEEKLY RANK is less than 8, and when Brisbane is greater than 252,000?
### CONTEXT
CREATE TABLE table_name_16 (sydney INTEGER, weekly_rank VARCHAR, brisbane VARCHAR)
### ANSWER
SELECT MIN(sydney) FROM table_name_16 WHERE weekly_rank < 8 AND brisbane > 252 OFFSET ... | {
"answer": "SELECT MIN(sydney) FROM table_name_16 WHERE weekly_rank < 8 AND brisbane > 252 OFFSET 000",
"context": "CREATE TABLE table_name_16 (sydney INTEGER, weekly_rank VARCHAR, brisbane VARCHAR)",
"question": "What is the lowest value for Sydney, when WEEKLY RANK is less than 8, and when Brisbane is greater ... |
### QUESTION
What is the id, name and IATA code of the airport that had most number of flights?
### CONTEXT
CREATE TABLE airport (id VARCHAR, name VARCHAR, IATA VARCHAR); CREATE TABLE flight (id VARCHAR, airport_id VARCHAR)
### ANSWER
SELECT T1.id, T1.name, T1.IATA FROM airport AS T1 JOIN flight AS T2 ON T1.id = T2.a... | {
"answer": "SELECT T1.id, T1.name, T1.IATA FROM airport AS T1 JOIN flight AS T2 ON T1.id = T2.airport_id GROUP BY T2.id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE airport (id VARCHAR, name VARCHAR, IATA VARCHAR); CREATE TABLE flight (id VARCHAR, airport_id VARCHAR)",
"question": "What is the id, n... |
### QUESTION
Who is the outgoing head coach when the incoming head coach is abdollah veysi?
### CONTEXT
CREATE TABLE table_27383390_4 (outgoing_head_coach VARCHAR, incoming_head_coach VARCHAR)
### ANSWER
SELECT outgoing_head_coach FROM table_27383390_4 WHERE incoming_head_coach = "Abdollah Veysi" | {
"answer": "SELECT outgoing_head_coach FROM table_27383390_4 WHERE incoming_head_coach = \"Abdollah Veysi\"",
"context": "CREATE TABLE table_27383390_4 (outgoing_head_coach VARCHAR, incoming_head_coach VARCHAR)",
"question": "Who is the outgoing head coach when the incoming head coach is abdollah veysi?"
} |
### QUESTION
How many points are there with more losses than 16, more goals than 44, and a smaller position than 13?
### CONTEXT
CREATE TABLE table_name_99 (points VARCHAR, position VARCHAR, loses VARCHAR, goals_scored VARCHAR)
### ANSWER
SELECT COUNT(points) FROM table_name_99 WHERE loses > 16 AND goals_scored > 44 ... | {
"answer": "SELECT COUNT(points) FROM table_name_99 WHERE loses > 16 AND goals_scored > 44 AND position < 13",
"context": "CREATE TABLE table_name_99 (points VARCHAR, position VARCHAR, loses VARCHAR, goals_scored VARCHAR)",
"question": "How many points are there with more losses than 16, more goals than 44, and ... |
### QUESTION
Which customer status code has least number of customers?
### CONTEXT
CREATE TABLE Customers (customer_status_code VARCHAR)
### ANSWER
SELECT customer_status_code FROM Customers GROUP BY customer_status_code ORDER BY COUNT(*) LIMIT 1 | {
"answer": "SELECT customer_status_code FROM Customers GROUP BY customer_status_code ORDER BY COUNT(*) LIMIT 1",
"context": "CREATE TABLE Customers (customer_status_code VARCHAR)",
"question": "Which customer status code has least number of customers?"
} |
### QUESTION
Name the number of tenants for russia at the saransk stadium
### CONTEXT
CREATE TABLE table_28281704_1 (tenant VARCHAR, country VARCHAR, stadium VARCHAR)
### ANSWER
SELECT COUNT(tenant) FROM table_28281704_1 WHERE country = "Russia" AND stadium = "Saransk stadium" | {
"answer": "SELECT COUNT(tenant) FROM table_28281704_1 WHERE country = \"Russia\" AND stadium = \"Saransk stadium\"",
"context": "CREATE TABLE table_28281704_1 (tenant VARCHAR, country VARCHAR, stadium VARCHAR)",
"question": "Name the number of tenants for russia at the saransk stadium"
} |
### QUESTION
Find the name of branches where have some members whose hometown is in Louisville, Kentucky and some in Hiram, Georgia.
### CONTEXT
CREATE TABLE member (member_id VARCHAR, Hometown VARCHAR); CREATE TABLE branch (name VARCHAR, branch_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, ... | {
"answer": "SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member AS T3 ON T1.member_id = T3.member_id WHERE T3.Hometown = 'Louisville , Kentucky' INTERSECT SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_... |
### QUESTION
What are the names of conductors whose nationalities are not "USA"?
### CONTEXT
CREATE TABLE conductor (Name VARCHAR, Nationality VARCHAR)
### ANSWER
SELECT Name FROM conductor WHERE Nationality <> 'USA' | {
"answer": "SELECT Name FROM conductor WHERE Nationality <> 'USA'",
"context": "CREATE TABLE conductor (Name VARCHAR, Nationality VARCHAR)",
"question": "What are the names of conductors whose nationalities are not \"USA\"?"
} |
### QUESTION
What was the final score for Aguilar when he played Hans Podlipnik on clay and was runner-up?
### CONTEXT
CREATE TABLE table_name_47 (score VARCHAR, outcome VARCHAR, surface VARCHAR, opponent VARCHAR)
### ANSWER
SELECT score FROM table_name_47 WHERE surface = "clay" AND opponent = "hans podlipnik" AND ou... | {
"answer": "SELECT score FROM table_name_47 WHERE surface = \"clay\" AND opponent = \"hans podlipnik\" AND outcome = \"runner-up\"",
"context": "CREATE TABLE table_name_47 (score VARCHAR, outcome VARCHAR, surface VARCHAR, opponent VARCHAR)",
"question": "What was the final score for Aguilar when he played Hans P... |
### QUESTION
Name the background colour for the Australian Capital Territory
### CONTEXT
CREATE TABLE table_1000181_1 (text_background_colour VARCHAR, state_territory VARCHAR)
### ANSWER
SELECT text_background_colour FROM table_1000181_1 WHERE state_territory = "Australian Capital Territory" | {
"answer": "SELECT text_background_colour FROM table_1000181_1 WHERE state_territory = \"Australian Capital Territory\"",
"context": "CREATE TABLE table_1000181_1 (text_background_colour VARCHAR, state_territory VARCHAR)",
"question": "Name the background colour for the Australian Capital Territory"
} |
### QUESTION
How many teams have a combination classification of Alejandro Valverde and a Points classification of Alessandro Petacchi?
### CONTEXT
CREATE TABLE table_15059783_1 (team_classification VARCHAR, combination_classification VARCHAR, points_classification VARCHAR)
### ANSWER
SELECT COUNT(team_classification... | {
"answer": "SELECT COUNT(team_classification) FROM table_15059783_1 WHERE combination_classification = \"Alejandro Valverde\" AND points_classification = \"Alessandro Petacchi\"",
"context": "CREATE TABLE table_15059783_1 (team_classification VARCHAR, combination_classification VARCHAR, points_classification VARCH... |
### QUESTION
What is the smallest Year with a Binibining Pilipinas-International of jessie alice salones dixson?
### CONTEXT
CREATE TABLE table_name_90 (year INTEGER, binibining_pilipinas_international VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_name_90 WHERE binibining_pilipinas_international = "jessie alice sal... | {
"answer": "SELECT MIN(year) FROM table_name_90 WHERE binibining_pilipinas_international = \"jessie alice salones dixson\"",
"context": "CREATE TABLE table_name_90 (year INTEGER, binibining_pilipinas_international VARCHAR)",
"question": "What is the smallest Year with a Binibining Pilipinas-International of jess... |
### QUESTION
Name the gdp per capita for haiti
### CONTEXT
CREATE TABLE table_26313243_1 (gdp__ppp__per_capita___intl_$___2011 VARCHAR, country VARCHAR)
### ANSWER
SELECT gdp__ppp__per_capita___intl_$___2011 FROM table_26313243_1 WHERE country = "Haiti" | {
"answer": "SELECT gdp__ppp__per_capita___intl_$___2011 FROM table_26313243_1 WHERE country = \"Haiti\"",
"context": "CREATE TABLE table_26313243_1 (gdp__ppp__per_capita___intl_$___2011 VARCHAR, country VARCHAR)",
"question": "Name the gdp per capita for haiti"
} |
### QUESTION
What is the Time of the Player with a Rank of 1 or 2 and Notes of FA?
### CONTEXT
CREATE TABLE table_name_75 (time VARCHAR, notes VARCHAR, rank VARCHAR)
### ANSWER
SELECT time FROM table_name_75 WHERE notes = "fa" AND rank < 2 | {
"answer": "SELECT time FROM table_name_75 WHERE notes = \"fa\" AND rank < 2",
"context": "CREATE TABLE table_name_75 (time VARCHAR, notes VARCHAR, rank VARCHAR)",
"question": "What is the Time of the Player with a Rank of 1 or 2 and Notes of FA?"
} |
### QUESTION
Find the name of the department that has no students minored in?
### CONTEXT
CREATE TABLE DEPARTMENT (DName VARCHAR, DNO VARCHAR); CREATE TABLE MINOR_IN (DNO VARCHAR); CREATE TABLE DEPARTMENT (DName VARCHAR)
### ANSWER
SELECT DName FROM DEPARTMENT EXCEPT SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_I... | {
"answer": "SELECT DName FROM DEPARTMENT EXCEPT SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_IN AS T2 ON T1.DNO = T2.DNO",
"context": "CREATE TABLE DEPARTMENT (DName VARCHAR, DNO VARCHAR); CREATE TABLE MINOR_IN (DNO VARCHAR); CREATE TABLE DEPARTMENT (DName VARCHAR)",
"question": "Find the name of the departm... |
### QUESTION
What's the category for the tween academy: class of 2012 nomination?
### CONTEXT
CREATE TABLE table_name_86 (category VARCHAR, nominated_for VARCHAR)
### ANSWER
SELECT category FROM table_name_86 WHERE nominated_for = "tween academy: class of 2012" | {
"answer": "SELECT category FROM table_name_86 WHERE nominated_for = \"tween academy: class of 2012\"",
"context": "CREATE TABLE table_name_86 (category VARCHAR, nominated_for VARCHAR)",
"question": "What's the category for the tween academy: class of 2012 nomination?"
} |
### QUESTION
What are the names, details and data types of the characteristics which are never used by any product?
### CONTEXT
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, other_characteristic_details VARCHAR, characteristic_data_type VARCHAR, characteristic_id VARCHAR); CREATE TABLE product_characteris... | {
"answer": "SELECT characteristic_name, other_characteristic_details, characteristic_data_type FROM CHARACTERISTICS EXCEPT SELECT t1.characteristic_name, t1.other_characteristic_details, t1.characteristic_data_type FROM CHARACTERISTICS AS t1 JOIN product_characteristics AS t2 ON t1.characteristic_id = t2.characteris... |
### QUESTION
what's the party with candidates jerry weller (r) 51.77% clem balanoff (d) 48.23%
### CONTEXT
CREATE TABLE table_1341472_15 (party VARCHAR, candidates VARCHAR)
### ANSWER
SELECT party FROM table_1341472_15 WHERE candidates = "Jerry Weller (R) 51.77% Clem Balanoff (D) 48.23%" | {
"answer": "SELECT party FROM table_1341472_15 WHERE candidates = \"Jerry Weller (R) 51.77% Clem Balanoff (D) 48.23%\"",
"context": "CREATE TABLE table_1341472_15 (party VARCHAR, candidates VARCHAR)",
"question": "what's the party with candidates jerry weller (r) 51.77% clem balanoff (d) 48.23%"
} |
### QUESTION
Name the highest In/de-creased which has a Percentage in/de-crease of 100%, and Seats 2010 larger than 8?
### CONTEXT
CREATE TABLE table_name_34 (in_de_creased_by INTEGER, percentage_in_de_crease VARCHAR, seats_2010 VARCHAR)
### ANSWER
SELECT MAX(in_de_creased_by) FROM table_name_34 WHERE percentage_in_d... | {
"answer": "SELECT MAX(in_de_creased_by) FROM table_name_34 WHERE percentage_in_de_crease = \"100%\" AND seats_2010 > 8",
"context": "CREATE TABLE table_name_34 (in_de_creased_by INTEGER, percentage_in_de_crease VARCHAR, seats_2010 VARCHAR)",
"question": "Name the highest In/de-creased which has a Percentage in/... |
### QUESTION
what is the English meaning of the old English name "sæturnesdæg"?
### CONTEXT
CREATE TABLE table_2624098_1 (english_day_name_meaning VARCHAR, old_english_day_name VARCHAR)
### ANSWER
SELECT english_day_name_meaning FROM table_2624098_1 WHERE old_english_day_name = "Sæturnesdæg" | {
"answer": "SELECT english_day_name_meaning FROM table_2624098_1 WHERE old_english_day_name = \"Sæturnesdæg\"",
"context": "CREATE TABLE table_2624098_1 (english_day_name_meaning VARCHAR, old_english_day_name VARCHAR)",
"question": "what is the English meaning of the old English name \"sæturnesdæg\"?"
} |
### QUESTION
What is the result of Chris Gratton and Philadelphia Flyers as the Offer Team?
### CONTEXT
CREATE TABLE table_name_73 (result VARCHAR, offer_team VARCHAR, player VARCHAR)
### ANSWER
SELECT result FROM table_name_73 WHERE offer_team = "philadelphia flyers" AND player = "chris gratton" | {
"answer": "SELECT result FROM table_name_73 WHERE offer_team = \"philadelphia flyers\" AND player = \"chris gratton\"",
"context": "CREATE TABLE table_name_73 (result VARCHAR, offer_team VARCHAR, player VARCHAR)",
"question": "What is the result of Chris Gratton and Philadelphia Flyers as the Offer Team?"
} |
### QUESTION
What was the local investment (in $) in the projects of the department with $912,185 BID/PRONAR investment?
### CONTEXT
CREATE TABLE table_17118006_2 (local_investment__us$_ VARCHAR, bid_pronar_investment__us$_ VARCHAR)
### ANSWER
SELECT local_investment__us$_ FROM table_17118006_2 WHERE bid_pronar_inves... | {
"answer": "SELECT local_investment__us$_ FROM table_17118006_2 WHERE bid_pronar_investment__us$_ = \"912,185\"",
"context": "CREATE TABLE table_17118006_2 (local_investment__us$_ VARCHAR, bid_pronar_investment__us$_ VARCHAR)",
"question": "What was the local investment (in $) in the projects of the department w... |
### QUESTION
how many millions of spectator did has the episode whose prod.code was rp#213?
### CONTEXT
CREATE TABLE table_23117208_3 (viewers__millions_ VARCHAR, prod_code VARCHAR)
### ANSWER
SELECT viewers__millions_ FROM table_23117208_3 WHERE prod_code = "RP#213" | {
"answer": "SELECT viewers__millions_ FROM table_23117208_3 WHERE prod_code = \"RP#213\"",
"context": "CREATE TABLE table_23117208_3 (viewers__millions_ VARCHAR, prod_code VARCHAR)",
"question": "how many millions of spectator did has the episode whose prod.code was rp#213?"
} |
### QUESTION
What is the average games a player born on 17 March 1915 and debut before 1935 had?
### CONTEXT
CREATE TABLE table_name_68 (games INTEGER, date_of_birth VARCHAR, debut_year VARCHAR)
### ANSWER
SELECT AVG(games) FROM table_name_68 WHERE date_of_birth = "17 march 1915" AND debut_year < 1935 | {
"answer": "SELECT AVG(games) FROM table_name_68 WHERE date_of_birth = \"17 march 1915\" AND debut_year < 1935",
"context": "CREATE TABLE table_name_68 (games INTEGER, date_of_birth VARCHAR, debut_year VARCHAR)",
"question": "What is the average games a player born on 17 March 1915 and debut before 1935 had?"
} |
### QUESTION
What date has Vancouver Canucks as the original team, Ryan Kesler as the player, and matched as the Result?
### CONTEXT
CREATE TABLE table_name_26 (date VARCHAR, player VARCHAR, original_team VARCHAR, result VARCHAR)
### ANSWER
SELECT date FROM table_name_26 WHERE original_team = "vancouver canucks" AND ... | {
"answer": "SELECT date FROM table_name_26 WHERE original_team = \"vancouver canucks\" AND result = \"matched\" AND player = \"ryan kesler\"",
"context": "CREATE TABLE table_name_26 (date VARCHAR, player VARCHAR, original_team VARCHAR, result VARCHAR)",
"question": "What date has Vancouver Canucks as the origina... |
### QUESTION
What did United States place when the player was Raymond Floyd?
### CONTEXT
CREATE TABLE table_name_84 (place VARCHAR, country VARCHAR, player VARCHAR)
### ANSWER
SELECT place FROM table_name_84 WHERE country = "united states" AND player = "raymond floyd" | {
"answer": "SELECT place FROM table_name_84 WHERE country = \"united states\" AND player = \"raymond floyd\"",
"context": "CREATE TABLE table_name_84 (place VARCHAR, country VARCHAR, player VARCHAR)",
"question": "What did United States place when the player was Raymond Floyd?"
} |
### QUESTION
Which Home has a Visitor of ny rangers, and a Series of flyers win 4–3?
### CONTEXT
CREATE TABLE table_name_42 (home VARCHAR, visitor VARCHAR, series VARCHAR)
### ANSWER
SELECT home FROM table_name_42 WHERE visitor = "ny rangers" AND series = "flyers win 4–3" | {
"answer": "SELECT home FROM table_name_42 WHERE visitor = \"ny rangers\" AND series = \"flyers win 4–3\"",
"context": "CREATE TABLE table_name_42 (home VARCHAR, visitor VARCHAR, series VARCHAR)",
"question": "Which Home has a Visitor of ny rangers, and a Series of flyers win 4–3?"
} |
### QUESTION
Where was the tourney when Louisville won the regular season?
### CONTEXT
CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)
### ANSWER
SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "Louisville" | {
"answer": "SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = \"Louisville\"",
"context": "CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)",
"question": "Where was the tourney when Louisville won the regular season?"
} |
### QUESTION
Which Total has a Nation of united states, and a Bronze larger than 3?
### CONTEXT
CREATE TABLE table_name_4 (total INTEGER, nation VARCHAR, bronze VARCHAR)
### ANSWER
SELECT MAX(total) FROM table_name_4 WHERE nation = "united states" AND bronze > 3 | {
"answer": "SELECT MAX(total) FROM table_name_4 WHERE nation = \"united states\" AND bronze > 3",
"context": "CREATE TABLE table_name_4 (total INTEGER, nation VARCHAR, bronze VARCHAR)",
"question": "Which Total has a Nation of united states, and a Bronze larger than 3?"
} |
### QUESTION
I want the control trailers for 1931 with builder of grcw
### CONTEXT
CREATE TABLE table_name_45 (Control VARCHAR, year VARCHAR, builder VARCHAR)
### ANSWER
SELECT Control AS trailers FROM table_name_45 WHERE year = "1931" AND builder = "grcw" | {
"answer": "SELECT Control AS trailers FROM table_name_45 WHERE year = \"1931\" AND builder = \"grcw\"",
"context": "CREATE TABLE table_name_45 (Control VARCHAR, year VARCHAR, builder VARCHAR)",
"question": "I want the control trailers for 1931 with builder of grcw"
} |
### QUESTION
Daily ridership greater that 414 is associated with which length?
### CONTEXT
CREATE TABLE table_name_60 (length VARCHAR, daily_ridership INTEGER)
### ANSWER
SELECT length FROM table_name_60 WHERE daily_ridership > 414 | {
"answer": "SELECT length FROM table_name_60 WHERE daily_ridership > 414",
"context": "CREATE TABLE table_name_60 (length VARCHAR, daily_ridership INTEGER)",
"question": "Daily ridership greater that 414 is associated with which length?"
} |
### QUESTION
What Nation of citizenship has a stock car vehicle with a year of 1999?
### CONTEXT
CREATE TABLE table_name_78 (nation_of_citizenship VARCHAR, type_of_vehicle VARCHAR, year VARCHAR)
### ANSWER
SELECT nation_of_citizenship FROM table_name_78 WHERE type_of_vehicle = "stock car" AND year = 1999 | {
"answer": "SELECT nation_of_citizenship FROM table_name_78 WHERE type_of_vehicle = \"stock car\" AND year = 1999",
"context": "CREATE TABLE table_name_78 (nation_of_citizenship VARCHAR, type_of_vehicle VARCHAR, year VARCHAR)",
"question": "What Nation of citizenship has a stock car vehicle with a year of 1999?"... |
### QUESTION
When the player gained below 1,405 yards and lost over 390 yards, what's the sum of the long yards?
### CONTEXT
CREATE TABLE table_name_59 (long INTEGER, loss VARCHAR, gain VARCHAR)
### ANSWER
SELECT SUM(long) FROM table_name_59 WHERE loss > 390 AND gain < 1 OFFSET 405 | {
"answer": "SELECT SUM(long) FROM table_name_59 WHERE loss > 390 AND gain < 1 OFFSET 405",
"context": "CREATE TABLE table_name_59 (long INTEGER, loss VARCHAR, gain VARCHAR)",
"question": "When the player gained below 1,405 yards and lost over 390 yards, what's the sum of the long yards?"
} |
### QUESTION
How many mobile phones were there as of April 2013?
### CONTEXT
CREATE TABLE table_name_11 (number_of_mobile_phones VARCHAR, last_updated_date VARCHAR)
### ANSWER
SELECT number_of_mobile_phones FROM table_name_11 WHERE last_updated_date = "april 2013" | {
"answer": "SELECT number_of_mobile_phones FROM table_name_11 WHERE last_updated_date = \"april 2013\"",
"context": "CREATE TABLE table_name_11 (number_of_mobile_phones VARCHAR, last_updated_date VARCHAR)",
"question": "How many mobile phones were there as of April 2013?"
} |
### QUESTION
What is the theme and artist name for the exhibition with a ticket price higher than the average?
### CONTEXT
CREATE TABLE exhibition (ticket_price INTEGER); CREATE TABLE exhibition (theme VARCHAR, artist_id VARCHAR, ticket_price INTEGER); CREATE TABLE artist (name VARCHAR, artist_id VARCHAR)
### ANSWER
... | {
"answer": "SELECT T1.theme, T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.ticket_price > (SELECT AVG(ticket_price) FROM exhibition)",
"context": "CREATE TABLE exhibition (ticket_price INTEGER); CREATE TABLE exhibition (theme VARCHAR, artist_id VARCHAR, ticket_price INTEGE... |
### QUESTION
Can you tell me the Name that has the DCSF number of 2117?
### CONTEXT
CREATE TABLE table_name_11 (name VARCHAR, dcsf_number VARCHAR)
### ANSWER
SELECT name FROM table_name_11 WHERE dcsf_number = 2117 | {
"answer": "SELECT name FROM table_name_11 WHERE dcsf_number = 2117",
"context": "CREATE TABLE table_name_11 (name VARCHAR, dcsf_number VARCHAR)",
"question": "Can you tell me the Name that has the DCSF number of 2117?"
} |
### QUESTION
What were the requirements for the role played by Robert Austin in the original production?
### CONTEXT
CREATE TABLE table_17827271_1 (actor_required VARCHAR, actor_in_original_production VARCHAR)
### ANSWER
SELECT actor_required FROM table_17827271_1 WHERE actor_in_original_production = "Robert Austin" | {
"answer": "SELECT actor_required FROM table_17827271_1 WHERE actor_in_original_production = \"Robert Austin\"",
"context": "CREATE TABLE table_17827271_1 (actor_required VARCHAR, actor_in_original_production VARCHAR)",
"question": "What were the requirements for the role played by Robert Austin in the original ... |
### QUESTION
Show the apartment numbers, start dates, and end dates of all the apartment bookings.
### CONTEXT
CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR)
### ANSWER
SELECT T2.apt_number, T1.booking_start_date, T1.booking_s... | {
"answer": "SELECT T2.apt_number, T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id",
"context": "CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR)",
"q... |
### QUESTION
List the names of customers who have once canceled the purchase of the product "food" (the item status is "Cancel").
### CONTEXT
CREATE TABLE orders (customer_id VARCHAR, order_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE products (product_id VARCHAR, prod... | {
"answer": "SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T3.order_item_status = \"Cancel\" AND T4.product_name = \"food\" GROUP BY T1.customer_id HAVIN... |
### QUESTION
What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday 24th August?
### CONTEXT
CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, mon_24_aug VARCHAR)
### ANSWER
SELECT sat_29_aug FROM table_23465864_4 WHERE mon_24_aug = "24' 17.26 93.208mph" | {
"answer": "SELECT sat_29_aug FROM table_23465864_4 WHERE mon_24_aug = \"24' 17.26 93.208mph\"",
"context": "CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, mon_24_aug VARCHAR)",
"question": "What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday 24th August?"
} |
### QUESTION
Display the first name and department name for each employee.
### CONTEXT
CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR); CREATE TABLE employees (first_name VARCHAR, department_id VARCHAR)
### ANSWER
SELECT T1.first_name, T2.department_name FROM employees AS T1 JOIN departments... | {
"answer": "SELECT T1.first_name, T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id",
"context": "CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR); CREATE TABLE employees (first_name VARCHAR, department_id VARCHAR)",
"question": "Displa... |
### QUESTION
Which Numbers (Quantity Ordered) have a Fuel Propulsion of cng, and a Year smaller than 2008, and a Make/ Model of nabi 40-lfw?
### CONTEXT
CREATE TABLE table_name_96 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR, fuel_propulsion VARCHAR, year VARCHAR)
### ANSWER
SELECT numbers__quantity_order... | {
"answer": "SELECT numbers__quantity_ordered_ FROM table_name_96 WHERE fuel_propulsion = \"cng\" AND year < 2008 AND make__model = \"nabi 40-lfw\"",
"context": "CREATE TABLE table_name_96 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR, fuel_propulsion VARCHAR, year VARCHAR)",
"question": "Which Numbers... |
### QUESTION
Who is the academic & University affairs when the Human resources & operations is N. Charles Hamilton?
### CONTEXT
CREATE TABLE table_12113818_1 (academic_ VARCHAR, _university_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR)
### ANSWER
SELECT academic_ & _university_affairs FROM table_121... | {
"answer": "SELECT academic_ & _university_affairs FROM table_12113818_1 WHERE human_resources_ & _operations = \"N. Charles Hamilton\"",
"context": "CREATE TABLE table_12113818_1 (academic_ VARCHAR, _university_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR)",
"question": "Who is the academic & ... |
### QUESTION
What is the smallest number of tries when Matt Diskin is the player and there are more than 16 points?
### CONTEXT
CREATE TABLE table_name_84 (tries INTEGER, player VARCHAR, points VARCHAR)
### ANSWER
SELECT MIN(tries) FROM table_name_84 WHERE player = "matt diskin" AND points > 16 | {
"answer": "SELECT MIN(tries) FROM table_name_84 WHERE player = \"matt diskin\" AND points > 16",
"context": "CREATE TABLE table_name_84 (tries INTEGER, player VARCHAR, points VARCHAR)",
"question": "What is the smallest number of tries when Matt Diskin is the player and there are more than 16 points?"
} |
### QUESTION
What is the position of the player whose college is Western Kentucky?
### CONTEXT
CREATE TABLE table_14650162_1 (position VARCHAR, college VARCHAR)
### ANSWER
SELECT position FROM table_14650162_1 WHERE college = "Western Kentucky" | {
"answer": "SELECT position FROM table_14650162_1 WHERE college = \"Western Kentucky\"",
"context": "CREATE TABLE table_14650162_1 (position VARCHAR, college VARCHAR)",
"question": "What is the position of the player whose college is Western Kentucky?"
} |
### QUESTION
What is the Year born (Age) for the player who is taller than 2.04 and currently plays for the Los Angeles Clippers?
### CONTEXT
CREATE TABLE table_name_93 (year_born__age_ VARCHAR, height VARCHAR, current_club VARCHAR)
### ANSWER
SELECT year_born__age_ FROM table_name_93 WHERE height > 2.04 AND current_... | {
"answer": "SELECT year_born__age_ FROM table_name_93 WHERE height > 2.04 AND current_club = \"los angeles clippers\"",
"context": "CREATE TABLE table_name_93 (year_born__age_ VARCHAR, height VARCHAR, current_club VARCHAR)",
"question": "What is the Year born (Age) for the player who is taller than 2.04 and curr... |
### QUESTION
What is the swimsuit number when the preliminary is 8.721, and the average is more than 8.781?
### CONTEXT
CREATE TABLE table_name_98 (swimsuit VARCHAR, preliminary VARCHAR, average VARCHAR)
### ANSWER
SELECT COUNT(swimsuit) FROM table_name_98 WHERE preliminary = 8.721 AND average > 8.781 | {
"answer": "SELECT COUNT(swimsuit) FROM table_name_98 WHERE preliminary = 8.721 AND average > 8.781",
"context": "CREATE TABLE table_name_98 (swimsuit VARCHAR, preliminary VARCHAR, average VARCHAR)",
"question": "What is the swimsuit number when the preliminary is 8.721, and the average is more than 8.781?"
} |
### QUESTION
Which country had more than 2 silvers and less than 4 golds?
### CONTEXT
CREATE TABLE table_name_65 (nation VARCHAR, silver VARCHAR, gold VARCHAR)
### ANSWER
SELECT nation FROM table_name_65 WHERE silver > 2 AND gold < 4 | {
"answer": "SELECT nation FROM table_name_65 WHERE silver > 2 AND gold < 4",
"context": "CREATE TABLE table_name_65 (nation VARCHAR, silver VARCHAR, gold VARCHAR)",
"question": "Which country had more than 2 silvers and less than 4 golds?"
} |
### QUESTION
How many Laps Did Driver David Coulthard have on a Grid smaller than 11?
### CONTEXT
CREATE TABLE table_name_89 (laps VARCHAR, grid VARCHAR, driver VARCHAR)
### ANSWER
SELECT laps FROM table_name_89 WHERE grid < 11 AND driver = "david coulthard" | {
"answer": "SELECT laps FROM table_name_89 WHERE grid < 11 AND driver = \"david coulthard\"",
"context": "CREATE TABLE table_name_89 (laps VARCHAR, grid VARCHAR, driver VARCHAR)",
"question": "How many Laps Did Driver David Coulthard have on a Grid smaller than 11?"
} |
### QUESTION
What are the start date and end date of the booking that has booked the product named 'Book collection A'?
### CONTEXT
CREATE TABLE bookings (booking_start_date VARCHAR, booking_end_date VARCHAR, booking_id VARCHAR); CREATE TABLE products_booked (product_id VARCHAR, booking_id VARCHAR); CREATE TABLE Produ... | {
"answer": "SELECT T3.booking_start_date, T3.booking_end_date FROM Products_for_hire AS T1 JOIN products_booked AS T2 ON T1.product_id = T2.product_id JOIN bookings AS T3 ON T2.booking_id = T3.booking_id WHERE T1.product_name = 'Book collection A'",
"context": "CREATE TABLE bookings (booking_start_date VARCHAR, bo... |
### QUESTION
What are the highest losses that have points agaisnt less than 956, high park demons as the club, and points less than 16?
### CONTEXT
CREATE TABLE table_name_93 (loses INTEGER, points VARCHAR, points_against VARCHAR, club VARCHAR)
### ANSWER
SELECT MAX(loses) FROM table_name_93 WHERE points_against < 95... | {
"answer": "SELECT MAX(loses) FROM table_name_93 WHERE points_against < 956 AND club = \"high park demons\" AND points < 16",
"context": "CREATE TABLE table_name_93 (loses INTEGER, points VARCHAR, points_against VARCHAR, club VARCHAR)",
"question": "What are the highest losses that have points agaisnt less than ... |
### QUESTION
Find the first name of students who are living in the dorm that has most number of amenities.
### CONTEXT
CREATE TABLE dorm_amenity (amenid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm (dormid VARCHAR); CREATE TABLE student (fname VARCHAR, stuid VARCHAR); CREATE TABLE... | {
"answer": "SELECT T1.fname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T2.dormid FROM dorm AS T3 JOIN has_amenity AS T4 ON T3.dormid = T4.dormid JOIN dorm_amenity AS T5 ON T4.amenid = T5.amenid GROUP BY T3.dormid ORDER BY COUNT(*) DESC LIMIT 1)",
"context": "CREATE TAB... |
### QUESTION
What is the name of the activity that has the most faculty members involved in?
### CONTEXT
CREATE TABLE Faculty_participates_in (actID VARCHAR); CREATE TABLE Activity (activity_name VARCHAR, actID VARCHAR)
### ANSWER
SELECT T1.activity_name FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.ac... | {
"answer": "SELECT T1.activity_name FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID = T2.actID GROUP BY T1.actID ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE Faculty_participates_in (actID VARCHAR); CREATE TABLE Activity (activity_name VARCHAR, actID VARCHAR)",
"question": "What i... |
### QUESTION
What is the lowest height in feet for the building located in platz der einheit 1, gallus, that was built after 1961 with a height less than 130 meters?
### CONTEXT
CREATE TABLE table_name_62 (height__ft_ INTEGER, height__m_ VARCHAR, year_built VARCHAR, location VARCHAR)
### ANSWER
SELECT MIN(height__ft_... | {
"answer": "SELECT MIN(height__ft_) FROM table_name_62 WHERE year_built > 1961 AND location = \"platz der einheit 1, gallus\" AND height__m_ < 130",
"context": "CREATE TABLE table_name_62 (height__ft_ INTEGER, height__m_ VARCHAR, year_built VARCHAR, location VARCHAR)",
"question": "What is the lowest height in f... |
### QUESTION
Who was the winning driver of the British Grand Prix where Giuseppe Farina had the fastest lap?
### CONTEXT
CREATE TABLE table_name_21 (winning_driver VARCHAR, fastest_lap VARCHAR, race VARCHAR)
### ANSWER
SELECT winning_driver FROM table_name_21 WHERE fastest_lap = "giuseppe farina" AND race = "british ... | {
"answer": "SELECT winning_driver FROM table_name_21 WHERE fastest_lap = \"giuseppe farina\" AND race = \"british grand prix\"",
"context": "CREATE TABLE table_name_21 (winning_driver VARCHAR, fastest_lap VARCHAR, race VARCHAR)",
"question": "Who was the winning driver of the British Grand Prix where Giuseppe Fa... |
### QUESTION
Which Pos has a Team of circle bar racing, and a Car # smaller than 14?
### CONTEXT
CREATE TABLE table_name_64 (pos INTEGER, team VARCHAR, car__number VARCHAR)
### ANSWER
SELECT MAX(pos) FROM table_name_64 WHERE team = "circle bar racing" AND car__number < 14 | {
"answer": "SELECT MAX(pos) FROM table_name_64 WHERE team = \"circle bar racing\" AND car__number < 14",
"context": "CREATE TABLE table_name_64 (pos INTEGER, team VARCHAR, car__number VARCHAR)",
"question": "Which Pos has a Team of circle bar racing, and a Car # smaller than 14?"
} |
### QUESTION
how many people commentated where broadcaster is orf
### CONTEXT
CREATE TABLE table_184803_4 (commentator VARCHAR, broadcaster VARCHAR)
### ANSWER
SELECT COUNT(commentator) FROM table_184803_4 WHERE broadcaster = "ORF" | {
"answer": "SELECT COUNT(commentator) FROM table_184803_4 WHERE broadcaster = \"ORF\"",
"context": "CREATE TABLE table_184803_4 (commentator VARCHAR, broadcaster VARCHAR)",
"question": "how many people commentated where broadcaster is orf"
} |
### QUESTION
Which Altitude (mslm) is the highest one that has a City of legnano, and a Population larger than 59492?
### CONTEXT
CREATE TABLE table_name_47 (altitude__mslm_ INTEGER, city VARCHAR, population VARCHAR)
### ANSWER
SELECT MAX(altitude__mslm_) FROM table_name_47 WHERE city = "legnano" AND population > 594... | {
"answer": "SELECT MAX(altitude__mslm_) FROM table_name_47 WHERE city = \"legnano\" AND population > 59492",
"context": "CREATE TABLE table_name_47 (altitude__mslm_ INTEGER, city VARCHAR, population VARCHAR)",
"question": "Which Altitude (mslm) is the highest one that has a City of legnano, and a Population larg... |
### QUESTION
Can you tell me the highest Total votes that has the % of popular vote of 0.86%, and the # of seats won larger than 0?
### CONTEXT
CREATE TABLE table_name_48 (total_votes INTEGER, _percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)
### ANSWER
SELECT MAX(total_votes) FROM table_name_48 WHER... | {
"answer": "SELECT MAX(total_votes) FROM table_name_48 WHERE _percentage_of_popular_vote = \"0.86%\" AND _number_of_seats_won > 0",
"context": "CREATE TABLE table_name_48 (total_votes INTEGER, _percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)",
"question": "Can you tell me the highest Total vote... |
### QUESTION
What is the local name given to the city of Canberra?
### CONTEXT
CREATE TABLE table_1008653_1 (capital___endonym__ VARCHAR, capital___exonym__ VARCHAR)
### ANSWER
SELECT capital___endonym__ FROM table_1008653_1 WHERE capital___exonym__ = "Canberra" | {
"answer": "SELECT capital___endonym__ FROM table_1008653_1 WHERE capital___exonym__ = \"Canberra\"",
"context": "CREATE TABLE table_1008653_1 (capital___endonym__ VARCHAR, capital___exonym__ VARCHAR)",
"question": "What is the local name given to the city of Canberra?"
} |
### QUESTION
Show the name of the party that has the most delegates.
### CONTEXT
CREATE TABLE election (Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)
### ANSWER
SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T1.Party ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T1.Party ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE election (Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)",
"question": "Show the name of the party that has the most delegat... |
### QUESTION
What is the highest NGC number that has a Declination ( J2000 ) of °04′58″ and a Apparent magnitude larger than 7.3?
### CONTEXT
CREATE TABLE table_name_5 (ngc_number INTEGER, declination___j2000__ VARCHAR, apparent_magnitude VARCHAR)
### ANSWER
SELECT MAX(ngc_number) FROM table_name_5 WHERE declination_... | {
"answer": "SELECT MAX(ngc_number) FROM table_name_5 WHERE declination___j2000__ = \"°04′58″\" AND apparent_magnitude > 7.3",
"context": "CREATE TABLE table_name_5 (ngc_number INTEGER, declination___j2000__ VARCHAR, apparent_magnitude VARCHAR)",
"question": "What is the highest NGC number that has a Declination ... |
### QUESTION
What director has 2004-03-31 as the release date, with daffy (as duck dodgers) as the character?
### CONTEXT
CREATE TABLE table_name_93 (director VARCHAR, release_date VARCHAR, characters VARCHAR)
### ANSWER
SELECT director FROM table_name_93 WHERE release_date = "2004-03-31" AND characters = "daffy (as ... | {
"answer": "SELECT director FROM table_name_93 WHERE release_date = \"2004-03-31\" AND characters = \"daffy (as duck dodgers)\"",
"context": "CREATE TABLE table_name_93 (director VARCHAR, release_date VARCHAR, characters VARCHAR)",
"question": "What director has 2004-03-31 as the release date, with daffy (as duc... |
### QUESTION
which Oberliga Südwes has an Oberliga Baden-Württemberg of sv sandhausen in 1984-85?
### CONTEXT
CREATE TABLE table_name_60 (oberliga_südwest VARCHAR, oberliga_baden_württemberg VARCHAR, season VARCHAR)
### ANSWER
SELECT oberliga_südwest FROM table_name_60 WHERE oberliga_baden_württemberg = "sv sandhause... | {
"answer": "SELECT oberliga_südwest FROM table_name_60 WHERE oberliga_baden_württemberg = \"sv sandhausen\" AND season = \"1984-85\"",
"context": "CREATE TABLE table_name_60 (oberliga_südwest VARCHAR, oberliga_baden_württemberg VARCHAR, season VARCHAR)",
"question": "which Oberliga Südwes has an Oberliga Baden-W... |
### QUESTION
What's the team number with John Wall (9) in high assists and a w 97–83 (ot) score?
### CONTEXT
CREATE TABLE table_27721131_2 (team VARCHAR, high_assists VARCHAR, score VARCHAR)
### ANSWER
SELECT COUNT(team) FROM table_27721131_2 WHERE high_assists = "John Wall (9)" AND score = "W 97–83 (OT)" | {
"answer": "SELECT COUNT(team) FROM table_27721131_2 WHERE high_assists = \"John Wall (9)\" AND score = \"W 97–83 (OT)\"",
"context": "CREATE TABLE table_27721131_2 (team VARCHAR, high_assists VARCHAR, score VARCHAR)",
"question": "What's the team number with John Wall (9) in high assists and a w 97–83 (ot) scor... |
### QUESTION
Which Effic is the highest one that has an Avg/G smaller than 305.6, and a GP-GS of 13-13?
### CONTEXT
CREATE TABLE table_name_56 (effic INTEGER, avg_g VARCHAR, gp_gs VARCHAR)
### ANSWER
SELECT MAX(effic) FROM table_name_56 WHERE avg_g < 305.6 AND gp_gs = "13-13" | {
"answer": "SELECT MAX(effic) FROM table_name_56 WHERE avg_g < 305.6 AND gp_gs = \"13-13\"",
"context": "CREATE TABLE table_name_56 (effic INTEGER, avg_g VARCHAR, gp_gs VARCHAR)",
"question": "Which Effic is the highest one that has an Avg/G smaller than 305.6, and a GP-GS of 13-13?"
} |
### QUESTION
Matches W-L of 1-2, and a Team of spain had what seeding?
### CONTEXT
CREATE TABLE table_name_41 (seeding VARCHAR, matches_w_l VARCHAR, team VARCHAR)
### ANSWER
SELECT seeding FROM table_name_41 WHERE matches_w_l = "1-2" AND team = "spain" | {
"answer": "SELECT seeding FROM table_name_41 WHERE matches_w_l = \"1-2\" AND team = \"spain\"",
"context": "CREATE TABLE table_name_41 (seeding VARCHAR, matches_w_l VARCHAR, team VARCHAR)",
"question": "Matches W-L of 1-2, and a Team of spain had what seeding?"
} |
### QUESTION
What is the Col entry for the peak with an elevation of 2,308 meters?
### CONTEXT
CREATE TABLE table_name_86 (col__m_ VARCHAR, elevation__m_ VARCHAR)
### ANSWER
SELECT COUNT(col__m_) FROM table_name_86 WHERE elevation__m_ = 2 OFFSET 308 | {
"answer": "SELECT COUNT(col__m_) FROM table_name_86 WHERE elevation__m_ = 2 OFFSET 308",
"context": "CREATE TABLE table_name_86 (col__m_ VARCHAR, elevation__m_ VARCHAR)",
"question": "What is the Col entry for the peak with an elevation of 2,308 meters?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.