text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
how many laps were there when the grid was 24?
### CONTEXT
CREATE TABLE table_name_25 (laps VARCHAR, grid VARCHAR)
### ANSWER
SELECT COUNT(laps) FROM table_name_25 WHERE grid = 24 | {
"answer": "SELECT COUNT(laps) FROM table_name_25 WHERE grid = 24",
"context": "CREATE TABLE table_name_25 (laps VARCHAR, grid VARCHAR)",
"question": "how many laps were there when the grid was 24?"
} |
### QUESTION
How many millions of U.S. viewers watched the episode with the production code of 6AKY07?
### CONTEXT
CREATE TABLE table_28027307_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR)
### ANSWER
SELECT us_viewers__millions_ FROM table_28027307_1 WHERE production_code = "6AKY07" | {
"answer": "SELECT us_viewers__millions_ FROM table_28027307_1 WHERE production_code = \"6AKY07\"",
"context": "CREATE TABLE table_28027307_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR)",
"question": "How many millions of U.S. viewers watched the episode with the production code of 6AKY07?"
} |
### QUESTION
From which league is the player chosen by the Atlanta Thrashers (from Dallas) 6?
### CONTEXT
CREATE TABLE table_name_69 (league_from VARCHAR, nhl_team VARCHAR)
### ANSWER
SELECT league_from FROM table_name_69 WHERE nhl_team = "atlanta thrashers (from dallas) 6" | {
"answer": "SELECT league_from FROM table_name_69 WHERE nhl_team = \"atlanta thrashers (from dallas) 6\"",
"context": "CREATE TABLE table_name_69 (league_from VARCHAR, nhl_team VARCHAR)",
"question": "From which league is the player chosen by the Atlanta Thrashers (from Dallas) 6?"
} |
### QUESTION
When the grid is under 5 and justin wilson is driving for the team mi-jack conquest racing, what's the highest number of laps driven?
### CONTEXT
CREATE TABLE table_name_65 (laps INTEGER, grid VARCHAR, team VARCHAR, driver VARCHAR)
### ANSWER
SELECT MAX(laps) FROM table_name_65 WHERE team = "mi-jack conquest racing" AND driver = "justin wilson" AND grid < 5 | {
"answer": "SELECT MAX(laps) FROM table_name_65 WHERE team = \"mi-jack conquest racing\" AND driver = \"justin wilson\" AND grid < 5",
"context": "CREATE TABLE table_name_65 (laps INTEGER, grid VARCHAR, team VARCHAR, driver VARCHAR)",
"question": "When the grid is under 5 and justin wilson is driving for the team mi-jack conquest racing, what's the highest number of laps driven?"
} |
### QUESTION
When did the Issue with the Title Homecoming come out?
### CONTEXT
CREATE TABLE table_name_5 (date VARCHAR, title VARCHAR)
### ANSWER
SELECT date FROM table_name_5 WHERE title = "homecoming" | {
"answer": "SELECT date FROM table_name_5 WHERE title = \"homecoming\"",
"context": "CREATE TABLE table_name_5 (date VARCHAR, title VARCHAR)",
"question": "When did the Issue with the Title Homecoming come out?"
} |
### QUESTION
Which Inhabitants has a Party of south tyrolean people's party, a Municipality of bruneck, and an Election larger than 2010?
### CONTEXT
CREATE TABLE table_name_36 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR)
### ANSWER
SELECT AVG(inhabitants) FROM table_name_36 WHERE party = "south tyrolean people's party" AND municipality = "bruneck" AND election > 2010 | {
"answer": "SELECT AVG(inhabitants) FROM table_name_36 WHERE party = \"south tyrolean people's party\" AND municipality = \"bruneck\" AND election > 2010",
"context": "CREATE TABLE table_name_36 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR)",
"question": "Which Inhabitants has a Party of south tyrolean people's party, a Municipality of bruneck, and an Election larger than 2010?"
} |
### QUESTION
What is the lowest enrollment amount for a year left of 2012 and a current conference of Mid-South?
### CONTEXT
CREATE TABLE table_name_17 (enrollment INTEGER, left VARCHAR, current_conference VARCHAR)
### ANSWER
SELECT MIN(enrollment) FROM table_name_17 WHERE left = 2012 AND current_conference = "mid-south" | {
"answer": "SELECT MIN(enrollment) FROM table_name_17 WHERE left = 2012 AND current_conference = \"mid-south\"",
"context": "CREATE TABLE table_name_17 (enrollment INTEGER, left VARCHAR, current_conference VARCHAR)",
"question": "What is the lowest enrollment amount for a year left of 2012 and a current conference of Mid-South?"
} |
### QUESTION
What are the songs in volumes associated with the artist aged 32 or older?
### CONTEXT
CREATE TABLE volume (Song VARCHAR, Artist_ID VARCHAR); CREATE TABLE artist (Artist_ID VARCHAR, age VARCHAR)
### ANSWER
SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age >= 32 | {
"answer": "SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age >= 32",
"context": "CREATE TABLE volume (Song VARCHAR, Artist_ID VARCHAR); CREATE TABLE artist (Artist_ID VARCHAR, age VARCHAR)",
"question": "What are the songs in volumes associated with the artist aged 32 or older?"
} |
### QUESTION
How many people attended the game on May 10?
### CONTEXT
CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR)
### ANSWER
SELECT COUNT(attendance) FROM table_name_44 WHERE date = "may 10" | {
"answer": "SELECT COUNT(attendance) FROM table_name_44 WHERE date = \"may 10\"",
"context": "CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR)",
"question": "How many people attended the game on May 10?"
} |
### QUESTION
Which country earned place T3 with a score of 70-68=138?
### CONTEXT
CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR)
### ANSWER
SELECT country FROM table_name_18 WHERE place = "t3" AND score = 70 - 68 = 138 | {
"answer": "SELECT country FROM table_name_18 WHERE place = \"t3\" AND score = 70 - 68 = 138",
"context": "CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR)",
"question": "Which country earned place T3 with a score of 70-68=138?"
} |
### QUESTION
What Colors has a School of zeigler high school?
### CONTEXT
CREATE TABLE table_name_17 (colors VARCHAR, school VARCHAR)
### ANSWER
SELECT colors FROM table_name_17 WHERE school = "zeigler high school" | {
"answer": "SELECT colors FROM table_name_17 WHERE school = \"zeigler high school\"",
"context": "CREATE TABLE table_name_17 (colors VARCHAR, school VARCHAR)",
"question": "What Colors has a School of zeigler high school?"
} |
### QUESTION
What is the score of the scores when Game had a Record of 17-29?
### CONTEXT
CREATE TABLE table_name_27 (game INTEGER, record VARCHAR)
### ANSWER
SELECT SUM(game) FROM table_name_27 WHERE record = "17-29" | {
"answer": "SELECT SUM(game) FROM table_name_27 WHERE record = \"17-29\"",
"context": "CREATE TABLE table_name_27 (game INTEGER, record VARCHAR)",
"question": "What is the score of the scores when Game had a Record of 17-29?"
} |
### QUESTION
Which borough or census area has a $59,596 median household income?
### CONTEXT
CREATE TABLE table_name_68 (borough_or_census_area VARCHAR, median_household_income VARCHAR)
### ANSWER
SELECT borough_or_census_area FROM table_name_68 WHERE median_household_income = "$59,596" | {
"answer": "SELECT borough_or_census_area FROM table_name_68 WHERE median_household_income = \"$59,596\"",
"context": "CREATE TABLE table_name_68 (borough_or_census_area VARCHAR, median_household_income VARCHAR)",
"question": "Which borough or census area has a $59,596 median household income?"
} |
### QUESTION
when deland is the fcsl team and 2008 is the year played who is the mlb team?
### CONTEXT
CREATE TABLE table_18373863_2 (mlb_team VARCHAR, years_played VARCHAR, fcsl_team VARCHAR)
### ANSWER
SELECT mlb_team FROM table_18373863_2 WHERE years_played = "2008" AND fcsl_team = "DeLand" | {
"answer": "SELECT mlb_team FROM table_18373863_2 WHERE years_played = \"2008\" AND fcsl_team = \"DeLand\"",
"context": "CREATE TABLE table_18373863_2 (mlb_team VARCHAR, years_played VARCHAR, fcsl_team VARCHAR)",
"question": "when deland is the fcsl team and 2008 is the year played who is the mlb team?"
} |
### QUESTION
Who is the Monarch whose Heir is Robert Curthose when the Reason is that the father became king?
### CONTEXT
CREATE TABLE table_name_67 (monarch VARCHAR, heir VARCHAR, reason VARCHAR)
### ANSWER
SELECT monarch FROM table_name_67 WHERE heir = "robert curthose" AND reason = "father became king" | {
"answer": "SELECT monarch FROM table_name_67 WHERE heir = \"robert curthose\" AND reason = \"father became king\"",
"context": "CREATE TABLE table_name_67 (monarch VARCHAR, heir VARCHAR, reason VARCHAR)",
"question": "Who is the Monarch whose Heir is Robert Curthose when the Reason is that the father became king?"
} |
### QUESTION
What are the names of representatives and the dates of elections they participated in.
### CONTEXT
CREATE TABLE election (Date VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR)
### ANSWER
SELECT T2.Name, T1.Date FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID | {
"answer": "SELECT T2.Name, T1.Date FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID",
"context": "CREATE TABLE election (Date VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR)",
"question": "What are the names of representatives and the dates of elections they participated in."
} |
### QUESTION
Which Tournament has a score of 2–6 6–4 [10–8]?
### CONTEXT
CREATE TABLE table_name_9 (tournament VARCHAR, score VARCHAR)
### ANSWER
SELECT tournament FROM table_name_9 WHERE score = "2–6 6–4 [10–8]" | {
"answer": "SELECT tournament FROM table_name_9 WHERE score = \"2–6 6–4 [10–8]\"",
"context": "CREATE TABLE table_name_9 (tournament VARCHAR, score VARCHAR)",
"question": "Which Tournament has a score of 2–6 6–4 [10–8]?"
} |
### QUESTION
What date has a margin of victory of 1 stroke over Greg Kraft?
### CONTEXT
CREATE TABLE table_name_21 (date VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)
### ANSWER
SELECT date FROM table_name_21 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "greg kraft" | {
"answer": "SELECT date FROM table_name_21 WHERE margin_of_victory = \"1 stroke\" AND runner_s__up = \"greg kraft\"",
"context": "CREATE TABLE table_name_21 (date VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)",
"question": "What date has a margin of victory of 1 stroke over Greg Kraft?"
} |
### QUESTION
How many date of appointments are there when the date of vacancy was 2 october 2010?
### CONTEXT
CREATE TABLE table_26976615_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR)
### ANSWER
SELECT COUNT(date_of_appointment) FROM table_26976615_3 WHERE date_of_vacancy = "2 October 2010" | {
"answer": "SELECT COUNT(date_of_appointment) FROM table_26976615_3 WHERE date_of_vacancy = \"2 October 2010\"",
"context": "CREATE TABLE table_26976615_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR)",
"question": "How many date of appointments are there when the date of vacancy was 2 october 2010?"
} |
### QUESTION
Find the names of the top 10 airlines that operate the most number of routes.
### CONTEXT
CREATE TABLE airlines (name VARCHAR, alid VARCHAR); CREATE TABLE routes (alid VARCHAR)
### ANSWER
SELECT T1.name, T2.alid FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T2.alid ORDER BY COUNT(*) DESC LIMIT 10 | {
"answer": "SELECT T1.name, T2.alid FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T2.alid ORDER BY COUNT(*) DESC LIMIT 10",
"context": "CREATE TABLE airlines (name VARCHAR, alid VARCHAR); CREATE TABLE routes (alid VARCHAR)",
"question": "Find the names of the top 10 airlines that operate the most number of routes."
} |
### QUESTION
What is the name of each course and the corresponding number of student enrollment?
### CONTEXT
CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR)
### ANSWER
SELECT T1.course_name, COUNT(*) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name | {
"answer": "SELECT T1.course_name, COUNT(*) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name",
"context": "CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR)",
"question": "What is the name of each course and the corresponding number of student enrollment?"
} |
### QUESTION
How many ILO codes are there with revising conventions of 'this convention, work in fishing convention'?
### CONTEXT
CREATE TABLE table_2001348_1 (ilo_code VARCHAR, revising_convention_s_ VARCHAR)
### ANSWER
SELECT COUNT(ilo_code) FROM table_2001348_1 WHERE revising_convention_s_ = "this convention, Work in Fishing Convention" | {
"answer": "SELECT COUNT(ilo_code) FROM table_2001348_1 WHERE revising_convention_s_ = \"this convention, Work in Fishing Convention\"",
"context": "CREATE TABLE table_2001348_1 (ilo_code VARCHAR, revising_convention_s_ VARCHAR)",
"question": "How many ILO codes are there with revising conventions of 'this convention, work in fishing convention'?"
} |
### QUESTION
Which runner(s)-up had a Winning score of –13 (68-70-66-71=275) and a Margin of victory of 3 strokes?
### CONTEXT
CREATE TABLE table_name_78 (runner_s__up VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)
### ANSWER
SELECT runner_s__up FROM table_name_78 WHERE margin_of_victory = "3 strokes" AND winning_score = –13(68 - 70 - 66 - 71 = 275) | {
"answer": "SELECT runner_s__up FROM table_name_78 WHERE margin_of_victory = \"3 strokes\" AND winning_score = –13(68 - 70 - 66 - 71 = 275)",
"context": "CREATE TABLE table_name_78 (runner_s__up VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)",
"question": "Which runner(s)-up had a Winning score of –13 (68-70-66-71=275) and a Margin of victory of 3 strokes?"
} |
### QUESTION
Which player for a team with an 18-20 record had the most rebounds in a game?
### CONTEXT
CREATE TABLE table_name_38 (high_rebounds VARCHAR, record VARCHAR)
### ANSWER
SELECT high_rebounds FROM table_name_38 WHERE record = "18-20" | {
"answer": "SELECT high_rebounds FROM table_name_38 WHERE record = \"18-20\"",
"context": "CREATE TABLE table_name_38 (high_rebounds VARCHAR, record VARCHAR)",
"question": "Which player for a team with an 18-20 record had the most rebounds in a game?"
} |
### QUESTION
Which region in Saint-Simon-Les-Mines has a population smaller than 458?
### CONTEXT
CREATE TABLE table_name_9 (region INTEGER, name VARCHAR, population VARCHAR)
### ANSWER
SELECT MAX(region) FROM table_name_9 WHERE name = "saint-simon-les-mines" AND population < 458 | {
"answer": "SELECT MAX(region) FROM table_name_9 WHERE name = \"saint-simon-les-mines\" AND population < 458",
"context": "CREATE TABLE table_name_9 (region INTEGER, name VARCHAR, population VARCHAR)",
"question": "Which region in Saint-Simon-Les-Mines has a population smaller than 458?"
} |
### QUESTION
How many engines were built with a cylinder size of 20 ½” x 26”, firebox is belpaire and valve gear is from Stephenson?
### CONTEXT
CREATE TABLE table_25695027_1 (number_built VARCHAR, valve_gear VARCHAR, cylinder_size VARCHAR, firebox VARCHAR)
### ANSWER
SELECT number_built FROM table_25695027_1 WHERE cylinder_size = "20 ½” x 26”" AND firebox = "Belpaire" AND valve_gear = "Stephenson" | {
"answer": "SELECT number_built FROM table_25695027_1 WHERE cylinder_size = \"20 ½” x 26”\" AND firebox = \"Belpaire\" AND valve_gear = \"Stephenson\"",
"context": "CREATE TABLE table_25695027_1 (number_built VARCHAR, valve_gear VARCHAR, cylinder_size VARCHAR, firebox VARCHAR)",
"question": "How many engines were built with a cylinder size of 20 ½” x 26”, firebox is belpaire and valve gear is from Stephenson?"
} |
### QUESTION
Name the home when the visitor was dallas on february 2
### CONTEXT
CREATE TABLE table_name_12 (home VARCHAR, visitor VARCHAR, date VARCHAR)
### ANSWER
SELECT home FROM table_name_12 WHERE visitor = "dallas" AND date = "february 2" | {
"answer": "SELECT home FROM table_name_12 WHERE visitor = \"dallas\" AND date = \"february 2\"",
"context": "CREATE TABLE table_name_12 (home VARCHAR, visitor VARCHAR, date VARCHAR)",
"question": "Name the home when the visitor was dallas on february 2"
} |
### QUESTION
Find all the male members of club "Hopkins Student Enterprises". Show the first name and last name.
### CONTEXT
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR, sex VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
### ANSWER
SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" AND t3.sex = "M" | {
"answer": "SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = \"Hopkins Student Enterprises\" AND t3.sex = \"M\"",
"context": "CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR, sex VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)",
"question": "Find all the male members of club \"Hopkins Student Enterprises\". Show the first name and last name."
} |
### QUESTION
what is the latitude when water (sqmi) is 0.058 and the ansi code is less than 1759683?
### CONTEXT
CREATE TABLE table_name_57 (latitude INTEGER, water__sqmi_ VARCHAR, ansi_code VARCHAR)
### ANSWER
SELECT AVG(latitude) FROM table_name_57 WHERE water__sqmi_ = 0.058 AND ansi_code < 1759683 | {
"answer": "SELECT AVG(latitude) FROM table_name_57 WHERE water__sqmi_ = 0.058 AND ansi_code < 1759683",
"context": "CREATE TABLE table_name_57 (latitude INTEGER, water__sqmi_ VARCHAR, ansi_code VARCHAR)",
"question": "what is the latitude when water (sqmi) is 0.058 and the ansi code is less than 1759683?"
} |
### QUESTION
What is the lowest goal difference a club with 61 goals against and less than 11 draws has?
### CONTEXT
CREATE TABLE table_name_94 (goal_difference INTEGER, goals_against VARCHAR, draws VARCHAR)
### ANSWER
SELECT MIN(goal_difference) FROM table_name_94 WHERE goals_against = 61 AND draws < 11 | {
"answer": "SELECT MIN(goal_difference) FROM table_name_94 WHERE goals_against = 61 AND draws < 11",
"context": "CREATE TABLE table_name_94 (goal_difference INTEGER, goals_against VARCHAR, draws VARCHAR)",
"question": "What is the lowest goal difference a club with 61 goals against and less than 11 draws has?"
} |
### QUESTION
what is the lowest rank when the type is hydro, the name is grand rapids generating station and the capacity (mw) is more than 479?
### CONTEXT
CREATE TABLE table_name_67 (rank INTEGER, capacity___mw__ VARCHAR, type VARCHAR, name VARCHAR)
### ANSWER
SELECT MIN(rank) FROM table_name_67 WHERE type = "hydro" AND name = "grand rapids generating station" AND capacity___mw__ > 479 | {
"answer": "SELECT MIN(rank) FROM table_name_67 WHERE type = \"hydro\" AND name = \"grand rapids generating station\" AND capacity___mw__ > 479",
"context": "CREATE TABLE table_name_67 (rank INTEGER, capacity___mw__ VARCHAR, type VARCHAR, name VARCHAR)",
"question": "what is the lowest rank when the type is hydro, the name is grand rapids generating station and the capacity (mw) is more than 479?"
} |
### QUESTION
What is the Rank of industrial and commercial bank of china 277,236?
### CONTEXT
CREATE TABLE table_name_1 (rank VARCHAR, first_quarter VARCHAR)
### ANSWER
SELECT rank FROM table_name_1 WHERE first_quarter = "industrial and commercial bank of china 277,236" | {
"answer": "SELECT rank FROM table_name_1 WHERE first_quarter = \"industrial and commercial bank of china 277,236\"",
"context": "CREATE TABLE table_name_1 (rank VARCHAR, first_quarter VARCHAR)",
"question": "What is the Rank of industrial and commercial bank of china 277,236?"
} |
### QUESTION
Find all the zip codes in which the max dew point have never reached 70.
### CONTEXT
CREATE TABLE weather (zip_code VARCHAR, max_dew_point_f VARCHAR)
### ANSWER
SELECT DISTINCT zip_code FROM weather EXCEPT SELECT DISTINCT zip_code FROM weather WHERE max_dew_point_f >= 70 | {
"answer": "SELECT DISTINCT zip_code FROM weather EXCEPT SELECT DISTINCT zip_code FROM weather WHERE max_dew_point_f >= 70",
"context": "CREATE TABLE weather (zip_code VARCHAR, max_dew_point_f VARCHAR)",
"question": "Find all the zip codes in which the max dew point have never reached 70."
} |
### QUESTION
The Palazzo's street address is listed as what?
### CONTEXT
CREATE TABLE table_name_73 (street_address VARCHAR, name VARCHAR)
### ANSWER
SELECT street_address FROM table_name_73 WHERE name = "the palazzo" | {
"answer": "SELECT street_address FROM table_name_73 WHERE name = \"the palazzo\"",
"context": "CREATE TABLE table_name_73 (street_address VARCHAR, name VARCHAR)",
"question": "The Palazzo's street address is listed as what?"
} |
### QUESTION
How many compound names list a chemical class of depsipeptide and a clinical trials β value of 1/7?
### CONTEXT
CREATE TABLE table_12715053_1 (compound_name VARCHAR, chemical_class VARCHAR, clinical_trials_β VARCHAR)
### ANSWER
SELECT COUNT(compound_name) FROM table_12715053_1 WHERE chemical_class = "Depsipeptide" AND clinical_trials_β = "1/7" | {
"answer": "SELECT COUNT(compound_name) FROM table_12715053_1 WHERE chemical_class = \"Depsipeptide\" AND clinical_trials_β = \"1/7\"",
"context": "CREATE TABLE table_12715053_1 (compound_name VARCHAR, chemical_class VARCHAR, clinical_trials_β VARCHAR)",
"question": "How many compound names list a chemical class of depsipeptide and a clinical trials β value of 1/7?"
} |
### QUESTION
What is the code of the course which the student whose last name is Smithson took?
### CONTEXT
CREATE TABLE student (stu_num VARCHAR, stu_lname VARCHAR); CREATE TABLE enroll (class_code VARCHAR, stu_num VARCHAR); CREATE TABLE CLASS (crs_code VARCHAR, class_code VARCHAR)
### ANSWER
SELECT T1.crs_code FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN student AS T3 ON T3.stu_num = T2.stu_num WHERE T3.stu_lname = 'Smithson' | {
"answer": "SELECT T1.crs_code FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN student AS T3 ON T3.stu_num = T2.stu_num WHERE T3.stu_lname = 'Smithson'",
"context": "CREATE TABLE student (stu_num VARCHAR, stu_lname VARCHAR); CREATE TABLE enroll (class_code VARCHAR, stu_num VARCHAR); CREATE TABLE CLASS (crs_code VARCHAR, class_code VARCHAR)",
"question": "What is the code of the course which the student whose last name is Smithson took?"
} |
### QUESTION
What is the latest year in Annecy, France?
### CONTEXT
CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR)
### ANSWER
SELECT MAX(year) FROM table_name_66 WHERE venue = "annecy, france" | {
"answer": "SELECT MAX(year) FROM table_name_66 WHERE venue = \"annecy, france\"",
"context": "CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR)",
"question": "What is the latest year in Annecy, France?"
} |
### QUESTION
What is the average Position, when Bike No is greater than 8, and when Points is less than 240?
### CONTEXT
CREATE TABLE table_name_16 (position INTEGER, bike_no VARCHAR, points VARCHAR)
### ANSWER
SELECT AVG(position) FROM table_name_16 WHERE bike_no > 8 AND points < 240 | {
"answer": "SELECT AVG(position) FROM table_name_16 WHERE bike_no > 8 AND points < 240",
"context": "CREATE TABLE table_name_16 (position INTEGER, bike_no VARCHAR, points VARCHAR)",
"question": "What is the average Position, when Bike No is greater than 8, and when Points is less than 240?"
} |
### QUESTION
Find the distinct driver id of all drivers that have a longer stop duration than some drivers in the race whose id is 841?
### CONTEXT
CREATE TABLE pitstops (driverid VARCHAR, STOP VARCHAR, duration INTEGER, raceid VARCHAR)
### ANSWER
SELECT DISTINCT driverid, STOP FROM pitstops WHERE duration > (SELECT MIN(duration) FROM pitstops WHERE raceid = 841) | {
"answer": "SELECT DISTINCT driverid, STOP FROM pitstops WHERE duration > (SELECT MIN(duration) FROM pitstops WHERE raceid = 841)",
"context": "CREATE TABLE pitstops (driverid VARCHAR, STOP VARCHAR, duration INTEGER, raceid VARCHAR)",
"question": "Find the distinct driver id of all drivers that have a longer stop duration than some drivers in the race whose id is 841?"
} |
### QUESTION
What are the special notes for an issue price under 24.95 with an edmonton oilers theme?
### CONTEXT
CREATE TABLE table_name_91 (special_notes VARCHAR, issue_price VARCHAR, theme VARCHAR)
### ANSWER
SELECT special_notes FROM table_name_91 WHERE issue_price < 24.95 AND theme = "edmonton oilers" | {
"answer": "SELECT special_notes FROM table_name_91 WHERE issue_price < 24.95 AND theme = \"edmonton oilers\"",
"context": "CREATE TABLE table_name_91 (special_notes VARCHAR, issue_price VARCHAR, theme VARCHAR)",
"question": "What are the special notes for an issue price under 24.95 with an edmonton oilers theme?"
} |
### QUESTION
How many titles does Episode 2 have
### CONTEXT
CREATE TABLE table_165732_2 (title VARCHAR, episode__number VARCHAR)
### ANSWER
SELECT COUNT(title) FROM table_165732_2 WHERE episode__number = 2 | {
"answer": "SELECT COUNT(title) FROM table_165732_2 WHERE episode__number = 2",
"context": "CREATE TABLE table_165732_2 (title VARCHAR, episode__number VARCHAR)",
"question": "How many titles does Episode 2 have"
} |
### QUESTION
Which Points have a Year larger than 1966, and Wins larger than 1?
### CONTEXT
CREATE TABLE table_name_78 (points INTEGER, year VARCHAR, wins VARCHAR)
### ANSWER
SELECT AVG(points) FROM table_name_78 WHERE year > 1966 AND wins > 1 | {
"answer": "SELECT AVG(points) FROM table_name_78 WHERE year > 1966 AND wins > 1",
"context": "CREATE TABLE table_name_78 (points INTEGER, year VARCHAR, wins VARCHAR)",
"question": "Which Points have a Year larger than 1966, and Wins larger than 1?"
} |
### QUESTION
List all episode air dates where Luiza Possi was the guest fourth judge?
### CONTEXT
CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, guest_fourth_judge VARCHAR)
### ANSWER
SELECT episode_air_date FROM table_27615445_1 WHERE guest_fourth_judge = "Luiza Possi" | {
"answer": "SELECT episode_air_date FROM table_27615445_1 WHERE guest_fourth_judge = \"Luiza Possi\"",
"context": "CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, guest_fourth_judge VARCHAR)",
"question": "List all episode air dates where Luiza Possi was the guest fourth judge?"
} |
### QUESTION
Which Auckland has an Adelaide of no, a Melbourne of yes, and a Sydney of yes?
### CONTEXT
CREATE TABLE table_name_1 (auckland VARCHAR, sydney VARCHAR, adelaide VARCHAR, melbourne VARCHAR)
### ANSWER
SELECT auckland FROM table_name_1 WHERE adelaide = "no" AND melbourne = "yes" AND sydney = "yes" | {
"answer": "SELECT auckland FROM table_name_1 WHERE adelaide = \"no\" AND melbourne = \"yes\" AND sydney = \"yes\"",
"context": "CREATE TABLE table_name_1 (auckland VARCHAR, sydney VARCHAR, adelaide VARCHAR, melbourne VARCHAR)",
"question": "Which Auckland has an Adelaide of no, a Melbourne of yes, and a Sydney of yes?"
} |
### QUESTION
Which Drawn is the average one that has a Position smaller than 9, and Points smaller than 22, and a Lost smaller than 9, and an Against larger than 29?
### CONTEXT
CREATE TABLE table_name_76 (drawn INTEGER, against VARCHAR, lost VARCHAR, position VARCHAR, points VARCHAR)
### ANSWER
SELECT AVG(drawn) FROM table_name_76 WHERE position < 9 AND points < 22 AND lost < 9 AND against > 29 | {
"answer": "SELECT AVG(drawn) FROM table_name_76 WHERE position < 9 AND points < 22 AND lost < 9 AND against > 29",
"context": "CREATE TABLE table_name_76 (drawn INTEGER, against VARCHAR, lost VARCHAR, position VARCHAR, points VARCHAR)",
"question": "Which Drawn is the average one that has a Position smaller than 9, and Points smaller than 22, and a Lost smaller than 9, and an Against larger than 29?"
} |
### QUESTION
Find the number of classes in each school.
### CONTEXT
CREATE TABLE department (school_code VARCHAR, dept_code VARCHAR); CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR)
### ANSWER
SELECT COUNT(*), T3.school_code FROM CLASS AS T1 JOIN course AS T2 ON T1.crs_code = T2.crs_code JOIN department AS T3 ON T2.dept_code = T3.dept_code GROUP BY T3.school_code | {
"answer": "SELECT COUNT(*), T3.school_code FROM CLASS AS T1 JOIN course AS T2 ON T1.crs_code = T2.crs_code JOIN department AS T3 ON T2.dept_code = T3.dept_code GROUP BY T3.school_code",
"context": "CREATE TABLE department (school_code VARCHAR, dept_code VARCHAR); CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR)",
"question": "Find the number of classes in each school."
} |
### QUESTION
What is the 2006 result of the Canada Masters tournament that is A in 2009 and A in 2010?
### CONTEXT
CREATE TABLE table_name_88 (tournament VARCHAR)
### ANSWER
SELECT 2006 FROM table_name_88 WHERE 2010 = "a" AND 2009 = "a" AND tournament = "canada masters" | {
"answer": "SELECT 2006 FROM table_name_88 WHERE 2010 = \"a\" AND 2009 = \"a\" AND tournament = \"canada masters\"",
"context": "CREATE TABLE table_name_88 (tournament VARCHAR)",
"question": "What is the 2006 result of the Canada Masters tournament that is A in 2009 and A in 2010?"
} |
### QUESTION
What did the away team score at VFL Park?
### CONTEXT
CREATE TABLE table_name_76 (away_team VARCHAR, venue VARCHAR)
### ANSWER
SELECT away_team AS score FROM table_name_76 WHERE venue = "vfl park" | {
"answer": "SELECT away_team AS score FROM table_name_76 WHERE venue = \"vfl park\"",
"context": "CREATE TABLE table_name_76 (away_team VARCHAR, venue VARCHAR)",
"question": "What did the away team score at VFL Park?"
} |
### QUESTION
Name the League which has a Regular Season of 3rd, atlantic?
### CONTEXT
CREATE TABLE table_name_86 (league VARCHAR, regular_season VARCHAR)
### ANSWER
SELECT league FROM table_name_86 WHERE regular_season = "3rd, atlantic" | {
"answer": "SELECT league FROM table_name_86 WHERE regular_season = \"3rd, atlantic\"",
"context": "CREATE TABLE table_name_86 (league VARCHAR, regular_season VARCHAR)",
"question": "Name the League which has a Regular Season of 3rd, atlantic?"
} |
### QUESTION
Name the rating for 3.79 viewers
### CONTEXT
CREATE TABLE table_22822468_2 (rating VARCHAR, viewers__millions_ VARCHAR)
### ANSWER
SELECT rating FROM table_22822468_2 WHERE viewers__millions_ = "3.79" | {
"answer": "SELECT rating FROM table_22822468_2 WHERE viewers__millions_ = \"3.79\"",
"context": "CREATE TABLE table_22822468_2 (rating VARCHAR, viewers__millions_ VARCHAR)",
"question": "Name the rating for 3.79 viewers"
} |
### QUESTION
Find the major and age of students who do not have a cat pet.
### CONTEXT
CREATE TABLE student (stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (major VARCHAR, age VARCHAR, stuid VARCHAR)
### ANSWER
SELECT major, age FROM student WHERE NOT stuid IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat') | {
"answer": "SELECT major, age FROM student WHERE NOT stuid IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')",
"context": "CREATE TABLE student (stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (major VARCHAR, age VARCHAR, stuid VARCHAR)",
"question": "Find the major and age of students who do not have a cat pet."
} |
### QUESTION
When the engine Ford Cosworth DFV 3.0 v8 has a chassis of m23 and in rounds 14-15, what is its Tyre?
### CONTEXT
CREATE TABLE table_name_51 (tyre VARCHAR, chassis VARCHAR, rounds VARCHAR, engine VARCHAR)
### ANSWER
SELECT tyre FROM table_name_51 WHERE rounds = "14-15" AND engine = "ford cosworth dfv 3.0 v8" AND chassis = "m23" | {
"answer": "SELECT tyre FROM table_name_51 WHERE rounds = \"14-15\" AND engine = \"ford cosworth dfv 3.0 v8\" AND chassis = \"m23\"",
"context": "CREATE TABLE table_name_51 (tyre VARCHAR, chassis VARCHAR, rounds VARCHAR, engine VARCHAR)",
"question": "When the engine Ford Cosworth DFV 3.0 v8 has a chassis of m23 and in rounds 14-15, what is its Tyre?"
} |
### QUESTION
Show the names of companies and the number of employees they have
### CONTEXT
CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE people (People_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR)
### ANSWER
SELECT T3.Name, COUNT(*) FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID GROUP BY T3.Name | {
"answer": "SELECT T3.Name, COUNT(*) FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID GROUP BY T3.Name",
"context": "CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE people (People_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR)",
"question": "Show the names of companies and the number of employees they have"
} |
### QUESTION
Name the former codes for merged into panama ( pa , pan , 591 )
### CONTEXT
CREATE TABLE table_222666_1 (former_codes VARCHAR, new_country_names_and_codes VARCHAR)
### ANSWER
SELECT former_codes FROM table_222666_1 WHERE new_country_names_and_codes = "Merged into Panama ( PA , PAN , 591 )" | {
"answer": "SELECT former_codes FROM table_222666_1 WHERE new_country_names_and_codes = \"Merged into Panama ( PA , PAN , 591 )\"",
"context": "CREATE TABLE table_222666_1 (former_codes VARCHAR, new_country_names_and_codes VARCHAR)",
"question": "Name the former codes for merged into panama ( pa , pan , 591 )"
} |
### QUESTION
Which city has the most customers living in?
### CONTEXT
CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR)
### ANSWER
SELECT t3.city FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id GROUP BY t3.city ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT t3.city FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id GROUP BY t3.city ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR)",
"question": "Which city has the most customers living in?"
} |
### QUESTION
Which Pos has a Team of roush fenway racing, and a Car # of 99?
### CONTEXT
CREATE TABLE table_name_32 (pos INTEGER, team VARCHAR, car__number VARCHAR)
### ANSWER
SELECT SUM(pos) FROM table_name_32 WHERE team = "roush fenway racing" AND car__number = 99 | {
"answer": "SELECT SUM(pos) FROM table_name_32 WHERE team = \"roush fenway racing\" AND car__number = 99",
"context": "CREATE TABLE table_name_32 (pos INTEGER, team VARCHAR, car__number VARCHAR)",
"question": "Which Pos has a Team of roush fenway racing, and a Car # of 99?"
} |
### QUESTION
What is the classification with a Team classification of la vie claire and a Stage of 12?
### CONTEXT
CREATE TABLE table_name_62 (general_classification VARCHAR, team_classification VARCHAR, stage VARCHAR)
### ANSWER
SELECT general_classification FROM table_name_62 WHERE team_classification = "la vie claire" AND stage = "12" | {
"answer": "SELECT general_classification FROM table_name_62 WHERE team_classification = \"la vie claire\" AND stage = \"12\"",
"context": "CREATE TABLE table_name_62 (general_classification VARCHAR, team_classification VARCHAR, stage VARCHAR)",
"question": "What is the classification with a Team classification of la vie claire and a Stage of 12?"
} |
### QUESTION
WHAT IS THE NAME OF THE MIXED DOUBLES PLAYER WHEN THE WOMENS SINGLE PLAYER IS KAIRI VIILUP?
### CONTEXT
CREATE TABLE table_14903627_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
### ANSWER
SELECT mixed_doubles FROM table_14903627_1 WHERE womens_singles = "Kairi Viilup" | {
"answer": "SELECT mixed_doubles FROM table_14903627_1 WHERE womens_singles = \"Kairi Viilup\"",
"context": "CREATE TABLE table_14903627_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)",
"question": "WHAT IS THE NAME OF THE MIXED DOUBLES PLAYER WHEN THE WOMENS SINGLE PLAYER IS KAIRI VIILUP?"
} |
### QUESTION
How many episodes have a share bigger than 7.0?
### CONTEXT
CREATE TABLE table_16072430_1 (_number VARCHAR, share INTEGER)
### ANSWER
SELECT COUNT(_number) FROM table_16072430_1 WHERE share > 7.0 | {
"answer": "SELECT COUNT(_number) FROM table_16072430_1 WHERE share > 7.0",
"context": "CREATE TABLE table_16072430_1 (_number VARCHAR, share INTEGER)",
"question": "How many episodes have a share bigger than 7.0?"
} |
### QUESTION
When troy is the regular season winner what is the conference tournament?
### CONTEXT
CREATE TABLE table_24160890_3 (conference VARCHAR, regular_season_winner VARCHAR)
### ANSWER
SELECT conference AS Tournament FROM table_24160890_3 WHERE regular_season_winner = "Troy" | {
"answer": "SELECT conference AS Tournament FROM table_24160890_3 WHERE regular_season_winner = \"Troy\"",
"context": "CREATE TABLE table_24160890_3 (conference VARCHAR, regular_season_winner VARCHAR)",
"question": "When troy is the regular season winner what is the conference tournament?"
} |
### QUESTION
Which object type had an NGC number greater than 6357 and a declination (J2000) of °45′34″?
### CONTEXT
CREATE TABLE table_name_53 (object_type VARCHAR, ngc_number VARCHAR, declination___j2000__ VARCHAR)
### ANSWER
SELECT object_type FROM table_name_53 WHERE ngc_number > 6357 AND declination___j2000__ = "°45′34″" | {
"answer": "SELECT object_type FROM table_name_53 WHERE ngc_number > 6357 AND declination___j2000__ = \"°45′34″\"",
"context": "CREATE TABLE table_name_53 (object_type VARCHAR, ngc_number VARCHAR, declination___j2000__ VARCHAR)",
"question": "Which object type had an NGC number greater than 6357 and a declination (J2000) of °45′34″?"
} |
### QUESTION
Find the total number of students and total number of instructors for each department.
### CONTEXT
CREATE TABLE department (dept_name VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR); CREATE TABLE instructor (dept_name VARCHAR, id VARCHAR)
### ANSWER
SELECT COUNT(DISTINCT T2.id), COUNT(DISTINCT T3.id), T3.dept_name FROM department AS T1 JOIN student AS T2 ON T1.dept_name = T2.dept_name JOIN instructor AS T3 ON T1.dept_name = T3.dept_name GROUP BY T3.dept_name | {
"answer": "SELECT COUNT(DISTINCT T2.id), COUNT(DISTINCT T3.id), T3.dept_name FROM department AS T1 JOIN student AS T2 ON T1.dept_name = T2.dept_name JOIN instructor AS T3 ON T1.dept_name = T3.dept_name GROUP BY T3.dept_name",
"context": "CREATE TABLE department (dept_name VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR); CREATE TABLE instructor (dept_name VARCHAR, id VARCHAR)",
"question": "Find the total number of students and total number of instructors for each department."
} |
### QUESTION
How many power stations are connected to grid at Heysham 2
### CONTEXT
CREATE TABLE table_143352_1 (connected_to_grid VARCHAR, agr_power_station VARCHAR)
### ANSWER
SELECT COUNT(connected_to_grid) FROM table_143352_1 WHERE agr_power_station = "Heysham 2" | {
"answer": "SELECT COUNT(connected_to_grid) FROM table_143352_1 WHERE agr_power_station = \"Heysham 2\"",
"context": "CREATE TABLE table_143352_1 (connected_to_grid VARCHAR, agr_power_station VARCHAR)",
"question": "How many power stations are connected to grid at Heysham 2"
} |
### QUESTION
Which character was in the sexiest female category of the British Soap Awards?
### CONTEXT
CREATE TABLE table_name_59 (character VARCHAR, category VARCHAR, award VARCHAR)
### ANSWER
SELECT character FROM table_name_59 WHERE category = "sexiest female" AND award = "british soap awards" | {
"answer": "SELECT character FROM table_name_59 WHERE category = \"sexiest female\" AND award = \"british soap awards\"",
"context": "CREATE TABLE table_name_59 (character VARCHAR, category VARCHAR, award VARCHAR)",
"question": "Which character was in the sexiest female category of the British Soap Awards?"
} |
### QUESTION
Name the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430
### CONTEXT
CREATE TABLE table_name_34 (erp___power_w VARCHAR, frequency VARCHAR, facility_id VARCHAR)
### ANSWER
SELECT COUNT(erp___power_w) FROM table_name_34 WHERE frequency = "89.3 fm" AND facility_id < 40430 | {
"answer": "SELECT COUNT(erp___power_w) FROM table_name_34 WHERE frequency = \"89.3 fm\" AND facility_id < 40430",
"context": "CREATE TABLE table_name_34 (erp___power_w VARCHAR, frequency VARCHAR, facility_id VARCHAR)",
"question": "Name the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430"
} |
### QUESTION
Show ids for all documents in type CV without expense budgets.
### CONTEXT
CREATE TABLE Documents_with_expenses (document_id VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_type_code VARCHAR)
### ANSWER
SELECT document_id FROM Documents WHERE document_type_code = "CV" EXCEPT SELECT document_id FROM Documents_with_expenses | {
"answer": "SELECT document_id FROM Documents WHERE document_type_code = \"CV\" EXCEPT SELECT document_id FROM Documents_with_expenses",
"context": "CREATE TABLE Documents_with_expenses (document_id VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_type_code VARCHAR)",
"question": "Show ids for all documents in type CV without expense budgets."
} |
### QUESTION
Find name of the services that has never been used.
### CONTEXT
CREATE TABLE services (service_name VARCHAR); CREATE TABLE party_services (service_id VARCHAR); CREATE TABLE services (service_name VARCHAR, service_id VARCHAR)
### ANSWER
SELECT service_name FROM services EXCEPT SELECT t1.service_name FROM services AS t1 JOIN party_services AS t2 ON t1.service_id = t2.service_id | {
"answer": "SELECT service_name FROM services EXCEPT SELECT t1.service_name FROM services AS t1 JOIN party_services AS t2 ON t1.service_id = t2.service_id",
"context": "CREATE TABLE services (service_name VARCHAR); CREATE TABLE party_services (service_id VARCHAR); CREATE TABLE services (service_name VARCHAR, service_id VARCHAR)",
"question": "Find name of the services that has never been used."
} |
### QUESTION
What was the game record when the opponent was 'at Los Angeles Raiders'?
### CONTEXT
CREATE TABLE table_17972193_1 (record VARCHAR, opponent VARCHAR)
### ANSWER
SELECT record FROM table_17972193_1 WHERE opponent = "at Los Angeles Raiders" | {
"answer": "SELECT record FROM table_17972193_1 WHERE opponent = \"at Los Angeles Raiders\"",
"context": "CREATE TABLE table_17972193_1 (record VARCHAR, opponent VARCHAR)",
"question": "What was the game record when the opponent was 'at Los Angeles Raiders'?"
} |
### QUESTION
Show the average room count of the apartments that have booking status code "Provisional".
### CONTEXT
CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR)
### ANSWER
SELECT AVG(room_count) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Provisional" | {
"answer": "SELECT AVG(room_count) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = \"Provisional\"",
"context": "CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR)",
"question": "Show the average room count of the apartments that have booking status code \"Provisional\"."
} |
### QUESTION
How many customers does Steve Johnson support?
### CONTEXT
CREATE TABLE employees (id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE customers (support_rep_id VARCHAR)
### ANSWER
SELECT COUNT(*) FROM employees AS T1 JOIN customers AS T2 ON T2.support_rep_id = T1.id WHERE T1.first_name = "Steve" AND T1.last_name = "Johnson" | {
"answer": "SELECT COUNT(*) FROM employees AS T1 JOIN customers AS T2 ON T2.support_rep_id = T1.id WHERE T1.first_name = \"Steve\" AND T1.last_name = \"Johnson\"",
"context": "CREATE TABLE employees (id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE customers (support_rep_id VARCHAR)",
"question": "How many customers does Steve Johnson support?"
} |
### QUESTION
Name the right ascension for sagittarius and NGC number larger than 6522 for open cluster and declination of °22′
### CONTEXT
CREATE TABLE table_name_78 (right_ascension___j2000__ VARCHAR, declination___j2000__ VARCHAR, object_type VARCHAR, constellation VARCHAR, ngc_number VARCHAR)
### ANSWER
SELECT right_ascension___j2000__ FROM table_name_78 WHERE constellation = "sagittarius" AND ngc_number > 6522 AND object_type = "open cluster" AND declination___j2000__ = "°22′" | {
"answer": "SELECT right_ascension___j2000__ FROM table_name_78 WHERE constellation = \"sagittarius\" AND ngc_number > 6522 AND object_type = \"open cluster\" AND declination___j2000__ = \"°22′\"",
"context": "CREATE TABLE table_name_78 (right_ascension___j2000__ VARCHAR, declination___j2000__ VARCHAR, object_type VARCHAR, constellation VARCHAR, ngc_number VARCHAR)",
"question": "Name the right ascension for sagittarius and NGC number larger than 6522 for open cluster and declination of °22′"
} |
### QUESTION
What country was the player with the score line 69-71-72-69=281 from?
### CONTEXT
CREATE TABLE table_name_6 (country VARCHAR, score VARCHAR)
### ANSWER
SELECT country FROM table_name_6 WHERE score = 69 - 71 - 72 - 69 = 281 | {
"answer": "SELECT country FROM table_name_6 WHERE score = 69 - 71 - 72 - 69 = 281",
"context": "CREATE TABLE table_name_6 (country VARCHAR, score VARCHAR)",
"question": "What country was the player with the score line 69-71-72-69=281 from?"
} |
### QUESTION
What is the extortion and theft rates where the United Nations Observer Mission Uganda-Rwanda is active?
### CONTEXT
CREATE TABLE table_15652027_1 (extortion_theft_3 VARCHAR, united_nations_mission VARCHAR)
### ANSWER
SELECT extortion_theft_3 FROM table_15652027_1 WHERE united_nations_mission = "United Nations Observer Mission Uganda-Rwanda" | {
"answer": "SELECT extortion_theft_3 FROM table_15652027_1 WHERE united_nations_mission = \"United Nations Observer Mission Uganda-Rwanda\"",
"context": "CREATE TABLE table_15652027_1 (extortion_theft_3 VARCHAR, united_nations_mission VARCHAR)",
"question": "What is the extortion and theft rates where the United Nations Observer Mission Uganda-Rwanda is active?"
} |
### QUESTION
what is the weeks on chart for the single from france?
### CONTEXT
CREATE TABLE table_name_92 (weeks_on_chart VARCHAR, country VARCHAR)
### ANSWER
SELECT weeks_on_chart FROM table_name_92 WHERE country = "france" | {
"answer": "SELECT weeks_on_chart FROM table_name_92 WHERE country = \"france\"",
"context": "CREATE TABLE table_name_92 (weeks_on_chart VARCHAR, country VARCHAR)",
"question": "what is the weeks on chart for the single from france?"
} |
### QUESTION
Find the id and color description of the products with at least 2 characteristics.
### CONTEXT
CREATE TABLE product_characteristics (product_id VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR)
### ANSWER
SELECT t1.product_id, t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code JOIN product_characteristics AS t3 ON t1.product_id = t3.product_id GROUP BY t1.product_id HAVING COUNT(*) >= 2 | {
"answer": "SELECT t1.product_id, t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code JOIN product_characteristics AS t3 ON t1.product_id = t3.product_id GROUP BY t1.product_id HAVING COUNT(*) >= 2",
"context": "CREATE TABLE product_characteristics (product_id VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR)",
"question": "Find the id and color description of the products with at least 2 characteristics."
} |
### QUESTION
What country had the total 18,900 (r)?
### CONTEXT
CREATE TABLE table_10586064_2 (county VARCHAR, total VARCHAR)
### ANSWER
SELECT county FROM table_10586064_2 WHERE total = "18,900 (R)" | {
"answer": "SELECT county FROM table_10586064_2 WHERE total = \"18,900 (R)\"",
"context": "CREATE TABLE table_10586064_2 (county VARCHAR, total VARCHAR)",
"question": "What country had the total 18,900 (r)?"
} |
### QUESTION
List the council tax ids and their related cmi cross references of all the parking fines.
### CONTEXT
CREATE TABLE parking_fines (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR)
### ANSWER
SELECT council_tax_id, cmi_cross_ref_id FROM parking_fines | {
"answer": "SELECT council_tax_id, cmi_cross_ref_id FROM parking_fines",
"context": "CREATE TABLE parking_fines (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR)",
"question": "List the council tax ids and their related cmi cross references of all the parking fines."
} |
### QUESTION
How many times is vuelta wins when points is more than 0, country is spain and the name is josé pérez-francés?
### CONTEXT
CREATE TABLE table_name_67 (vuelta_wins VARCHAR, name VARCHAR, points VARCHAR, country VARCHAR)
### ANSWER
SELECT COUNT(vuelta_wins) FROM table_name_67 WHERE points > 0 AND country = "spain" AND name = "josé pérez-francés" | {
"answer": "SELECT COUNT(vuelta_wins) FROM table_name_67 WHERE points > 0 AND country = \"spain\" AND name = \"josé pérez-francés\"",
"context": "CREATE TABLE table_name_67 (vuelta_wins VARCHAR, name VARCHAR, points VARCHAR, country VARCHAR)",
"question": "How many times is vuelta wins when points is more than 0, country is spain and the name is josé pérez-francés?"
} |
### QUESTION
How many grids have a Constructor of talbot-lago - talbot, a Laps under 83, and a driver of johnny claes?
### CONTEXT
CREATE TABLE table_name_20 (grid VARCHAR, driver VARCHAR, constructor VARCHAR, laps VARCHAR)
### ANSWER
SELECT COUNT(grid) FROM table_name_20 WHERE constructor = "talbot-lago - talbot" AND laps < 83 AND driver = "johnny claes" | {
"answer": "SELECT COUNT(grid) FROM table_name_20 WHERE constructor = \"talbot-lago - talbot\" AND laps < 83 AND driver = \"johnny claes\"",
"context": "CREATE TABLE table_name_20 (grid VARCHAR, driver VARCHAR, constructor VARCHAR, laps VARCHAR)",
"question": "How many grids have a Constructor of talbot-lago - talbot, a Laps under 83, and a driver of johnny claes?"
} |
### QUESTION
In what Year did Chernova come in 1st in Götzis, Austria?
### CONTEXT
CREATE TABLE table_name_37 (year INTEGER, venue VARCHAR, position VARCHAR)
### ANSWER
SELECT SUM(year) FROM table_name_37 WHERE venue = "götzis, austria" AND position = "1st" | {
"answer": "SELECT SUM(year) FROM table_name_37 WHERE venue = \"götzis, austria\" AND position = \"1st\"",
"context": "CREATE TABLE table_name_37 (year INTEGER, venue VARCHAR, position VARCHAR)",
"question": "In what Year did Chernova come in 1st in Götzis, Austria?"
} |
### QUESTION
What is the average number of cities of markets with low film market estimate bigger than 10000?
### CONTEXT
CREATE TABLE market (Number_cities INTEGER, Market_ID VARCHAR); CREATE TABLE film_market_estimation (Market_ID VARCHAR, Low_Estimate INTEGER)
### ANSWER
SELECT AVG(T2.Number_cities) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T1.Low_Estimate > 10000 | {
"answer": "SELECT AVG(T2.Number_cities) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T1.Low_Estimate > 10000",
"context": "CREATE TABLE market (Number_cities INTEGER, Market_ID VARCHAR); CREATE TABLE film_market_estimation (Market_ID VARCHAR, Low_Estimate INTEGER)",
"question": "What is the average number of cities of markets with low film market estimate bigger than 10000?"
} |
### QUESTION
Which band serves darwin for commercial purpose?
### CONTEXT
CREATE TABLE table_name_61 (band VARCHAR, area_served VARCHAR, purpose VARCHAR)
### ANSWER
SELECT band FROM table_name_61 WHERE area_served = "darwin" AND purpose = "commercial" | {
"answer": "SELECT band FROM table_name_61 WHERE area_served = \"darwin\" AND purpose = \"commercial\"",
"context": "CREATE TABLE table_name_61 (band VARCHAR, area_served VARCHAR, purpose VARCHAR)",
"question": "Which band serves darwin for commercial purpose?"
} |
### QUESTION
Show the denomination shared by schools founded before 1890 and schools founded after 1900
### CONTEXT
CREATE TABLE school (Denomination VARCHAR, Founded INTEGER)
### ANSWER
SELECT Denomination FROM school WHERE Founded < 1890 INTERSECT SELECT Denomination FROM school WHERE Founded > 1900 | {
"answer": "SELECT Denomination FROM school WHERE Founded < 1890 INTERSECT SELECT Denomination FROM school WHERE Founded > 1900",
"context": "CREATE TABLE school (Denomination VARCHAR, Founded INTEGER)",
"question": "Show the denomination shared by schools founded before 1890 and schools founded after 1900"
} |
### QUESTION
What is the average Tie no when the date is Birmingham City?
### CONTEXT
CREATE TABLE table_name_22 (tie_no INTEGER, date VARCHAR)
### ANSWER
SELECT AVG(tie_no) FROM table_name_22 WHERE date = "birmingham city" | {
"answer": "SELECT AVG(tie_no) FROM table_name_22 WHERE date = \"birmingham city\"",
"context": "CREATE TABLE table_name_22 (tie_no INTEGER, date VARCHAR)",
"question": "What is the average Tie no when the date is Birmingham City?"
} |
### QUESTION
What is the Purpose of the Callsign with a Freq currently of 4rph?
### CONTEXT
CREATE TABLE table_name_43 (purpose VARCHAR, freq_currently VARCHAR)
### ANSWER
SELECT purpose FROM table_name_43 WHERE freq_currently = "4rph" | {
"answer": "SELECT purpose FROM table_name_43 WHERE freq_currently = \"4rph\"",
"context": "CREATE TABLE table_name_43 (purpose VARCHAR, freq_currently VARCHAR)",
"question": "What is the Purpose of the Callsign with a Freq currently of 4rph?"
} |
### QUESTION
What is the name of the shop that is hiring the largest number of employees?
### CONTEXT
CREATE TABLE shop (name VARCHAR, shop_id VARCHAR); CREATE TABLE hiring (shop_id VARCHAR)
### ANSWER
SELECT t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t1.shop_id ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t1.shop_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE shop (name VARCHAR, shop_id VARCHAR); CREATE TABLE hiring (shop_id VARCHAR)",
"question": "What is the name of the shop that is hiring the largest number of employees?"
} |
### QUESTION
What is the venue for the friendly competition at Dreisamstadion, Freiburg?
### CONTEXT
CREATE TABLE table_name_52 (score VARCHAR, competition VARCHAR, venue VARCHAR)
### ANSWER
SELECT score FROM table_name_52 WHERE competition = "friendly" AND venue = "dreisamstadion, freiburg" | {
"answer": "SELECT score FROM table_name_52 WHERE competition = \"friendly\" AND venue = \"dreisamstadion, freiburg\"",
"context": "CREATE TABLE table_name_52 (score VARCHAR, competition VARCHAR, venue VARCHAR)",
"question": "What is the venue for the friendly competition at Dreisamstadion, Freiburg?"
} |
### QUESTION
What actor has onderweg naar morgen, as the soap opera, with aafke couwenberg as the character?
### CONTEXT
CREATE TABLE table_name_47 (actor VARCHAR, soap_opera VARCHAR, character VARCHAR)
### ANSWER
SELECT actor FROM table_name_47 WHERE soap_opera = "onderweg naar morgen" AND character = "aafke couwenberg" | {
"answer": "SELECT actor FROM table_name_47 WHERE soap_opera = \"onderweg naar morgen\" AND character = \"aafke couwenberg\"",
"context": "CREATE TABLE table_name_47 (actor VARCHAR, soap_opera VARCHAR, character VARCHAR)",
"question": "What actor has onderweg naar morgen, as the soap opera, with aafke couwenberg as the character?"
} |
### QUESTION
How many trips started from Mountain View city and ended at Palo Alto city?
### CONTEXT
CREATE TABLE station (city VARCHAR, id VARCHAR); CREATE TABLE trip (end_station_id VARCHAR, id VARCHAR); CREATE TABLE station (id VARCHAR, city VARCHAR); CREATE TABLE trip (start_station_id VARCHAR, id VARCHAR)
### ANSWER
SELECT COUNT(*) FROM station AS T1 JOIN trip AS T2 JOIN station AS T3 JOIN trip AS T4 ON T1.id = T2.start_station_id AND T2.id = T4.id AND T3.id = T4.end_station_id WHERE T1.city = "Mountain View" AND T3.city = "Palo Alto" | {
"answer": "SELECT COUNT(*) FROM station AS T1 JOIN trip AS T2 JOIN station AS T3 JOIN trip AS T4 ON T1.id = T2.start_station_id AND T2.id = T4.id AND T3.id = T4.end_station_id WHERE T1.city = \"Mountain View\" AND T3.city = \"Palo Alto\"",
"context": "CREATE TABLE station (city VARCHAR, id VARCHAR); CREATE TABLE trip (end_station_id VARCHAR, id VARCHAR); CREATE TABLE station (id VARCHAR, city VARCHAR); CREATE TABLE trip (start_station_id VARCHAR, id VARCHAR)",
"question": "How many trips started from Mountain View city and ended at Palo Alto city?"
} |
### QUESTION
How many names have a country of civ?
### CONTEXT
CREATE TABLE table_22810095_8 (COUnT VARCHAR, country VARCHAR)
### ANSWER
SELECT COUnT AS name FROM table_22810095_8 WHERE country = "CIV" | {
"answer": "SELECT COUnT AS name FROM table_22810095_8 WHERE country = \"CIV\"",
"context": "CREATE TABLE table_22810095_8 (COUnT VARCHAR, country VARCHAR)",
"question": "How many names have a country of civ?"
} |
### QUESTION
Find the total checking and saving balance of all accounts sorted by the total balance in ascending order.
### CONTEXT
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR)
### ANSWER
SELECT T1.balance + T2.balance FROM checking AS T1 JOIN savings AS T2 ON T1.custid = T2.custid ORDER BY T1.balance + T2.balance | {
"answer": "SELECT T1.balance + T2.balance FROM checking AS T1 JOIN savings AS T2 ON T1.custid = T2.custid ORDER BY T1.balance + T2.balance",
"context": "CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR)",
"question": "Find the total checking and saving balance of all accounts sorted by the total balance in ascending order."
} |
### QUESTION
What team was 2 when Tatung was team 1 at National Pei Men Senior High School?
### CONTEXT
CREATE TABLE table_name_32 (team_2 VARCHAR, team_1 VARCHAR, ground VARCHAR)
### ANSWER
SELECT team_2 FROM table_name_32 WHERE team_1 = "tatung" AND ground = "national pei men senior high school" | {
"answer": "SELECT team_2 FROM table_name_32 WHERE team_1 = \"tatung\" AND ground = \"national pei men senior high school\"",
"context": "CREATE TABLE table_name_32 (team_2 VARCHAR, team_1 VARCHAR, ground VARCHAR)",
"question": "What team was 2 when Tatung was team 1 at National Pei Men Senior High School?"
} |
### QUESTION
What was the result of the Euro '64 qualifying game?
### CONTEXT
CREATE TABLE table_name_65 (results¹ VARCHAR, type_of_game VARCHAR)
### ANSWER
SELECT results¹ FROM table_name_65 WHERE type_of_game = "euro '64 qualifying" | {
"answer": "SELECT results¹ FROM table_name_65 WHERE type_of_game = \"euro '64 qualifying\"",
"context": "CREATE TABLE table_name_65 (results¹ VARCHAR, type_of_game VARCHAR)",
"question": "What was the result of the Euro '64 qualifying game?"
} |
### QUESTION
What is the total number of languages used in Aruba?
### CONTEXT
CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)
### ANSWER
SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = "Aruba" | {
"answer": "SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Aruba\"",
"context": "CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)",
"question": "What is the total number of languages used in Aruba?"
} |
### QUESTION
What is Name, when Games are less than 38, when Rank is less than 4, and when Points are 357?
### CONTEXT
CREATE TABLE table_name_11 (name VARCHAR, points VARCHAR, games VARCHAR, rank VARCHAR)
### ANSWER
SELECT name FROM table_name_11 WHERE games < 38 AND rank < 4 AND points = 357 | {
"answer": "SELECT name FROM table_name_11 WHERE games < 38 AND rank < 4 AND points = 357",
"context": "CREATE TABLE table_name_11 (name VARCHAR, points VARCHAR, games VARCHAR, rank VARCHAR)",
"question": "What is Name, when Games are less than 38, when Rank is less than 4, and when Points are 357?"
} |
### QUESTION
what is the numbr for fri may 30 and mon may 26 is 19' 02.890 118.847mph?
### CONTEXT
CREATE TABLE table_14209455_1 (fri_30_may VARCHAR, mon_26_may VARCHAR)
### ANSWER
SELECT fri_30_may FROM table_14209455_1 WHERE mon_26_may = "19' 02.890 118.847mph" | {
"answer": "SELECT fri_30_may FROM table_14209455_1 WHERE mon_26_may = \"19' 02.890 118.847mph\"",
"context": "CREATE TABLE table_14209455_1 (fri_30_may VARCHAR, mon_26_may VARCHAR)",
"question": "what is the numbr for fri may 30 and mon may 26 is 19' 02.890 118.847mph?"
} |
### QUESTION
what is the nominated work title when the result is won, the organisation is star awards and the award is top 10 most popular female artiste in the year 2007?
### CONTEXT
CREATE TABLE table_name_52 (nominated_work_title VARCHAR, year VARCHAR, award VARCHAR, result VARCHAR, organisation VARCHAR)
### ANSWER
SELECT nominated_work_title FROM table_name_52 WHERE result = "won" AND organisation = "star awards" AND award = "top 10 most popular female artiste" AND year > 2007 | {
"answer": "SELECT nominated_work_title FROM table_name_52 WHERE result = \"won\" AND organisation = \"star awards\" AND award = \"top 10 most popular female artiste\" AND year > 2007",
"context": "CREATE TABLE table_name_52 (nominated_work_title VARCHAR, year VARCHAR, award VARCHAR, result VARCHAR, organisation VARCHAR)",
"question": "what is the nominated work title when the result is won, the organisation is star awards and the award is top 10 most popular female artiste in the year 2007?"
} |
### QUESTION
What is the television service that has package with sky tv, and it in Italian English?
### CONTEXT
CREATE TABLE table_name_30 (television_service VARCHAR, package_option VARCHAR, language VARCHAR)
### ANSWER
SELECT television_service FROM table_name_30 WHERE package_option = "sky tv" AND language = "italian english" | {
"answer": "SELECT television_service FROM table_name_30 WHERE package_option = \"sky tv\" AND language = \"italian english\"",
"context": "CREATE TABLE table_name_30 (television_service VARCHAR, package_option VARCHAR, language VARCHAR)",
"question": "What is the television service that has package with sky tv, and it in Italian English?"
} |
### QUESTION
What is the description for the budget type with code ORG?
### CONTEXT
CREATE TABLE Ref_budget_codes (budget_type_description VARCHAR, budget_type_code VARCHAR)
### ANSWER
SELECT budget_type_description FROM Ref_budget_codes WHERE budget_type_code = "ORG" | {
"answer": "SELECT budget_type_description FROM Ref_budget_codes WHERE budget_type_code = \"ORG\"",
"context": "CREATE TABLE Ref_budget_codes (budget_type_description VARCHAR, budget_type_code VARCHAR)",
"question": "What is the description for the budget type with code ORG?"
} |
### QUESTION
how many subdivisions have an English Name of jiyang?
### CONTEXT
CREATE TABLE table_name_24 (population VARCHAR, english_name VARCHAR)
### ANSWER
SELECT COUNT(population) FROM table_name_24 WHERE english_name = "jiyang" | {
"answer": "SELECT COUNT(population) FROM table_name_24 WHERE english_name = \"jiyang\"",
"context": "CREATE TABLE table_name_24 (population VARCHAR, english_name VARCHAR)",
"question": "how many subdivisions have an English Name of jiyang?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.