text
stringlengths 293
1.24k
|
---|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16922657_2 (Ends INTEGER, country VARCHAR, Norway VARCHAR)
### Question:
What is Norway's least ends lost?
### Answer:
SELECT MIN(Ends) AS lost FROM table_16922657_2 WHERE country = Norway |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27146868_1 (Id VARCHAR)
### Question:
What is 2006 when 1997 is 6.8?
### Answer:
SELECT 2006 FROM table_27146868_1 WHERE 1997 = "6.8" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (goals_for VARCHAR, club VARCHAR, goals_against VARCHAR)
### Question:
How many goals have a Lokomotiv Plovdiv club and goals against larger than 58?
### Answer:
SELECT COUNT(goals_for) FROM table_name_80 WHERE club = "lokomotiv plovdiv" AND goals_against > 58 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (money___ VARCHAR, place VARCHAR, player VARCHAR)
### Question:
What is the total Money (£) with a Place of t6, and a Player of ian baker-finch?
### Answer:
SELECT COUNT(money___) AS £__ FROM table_name_61 WHERE place = "t6" AND player = "ian baker-finch" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (rank INTEGER, headquarters VARCHAR, screens VARCHAR)
### Question:
What is the rank of the cinema when the headquarters are in toronto, ON and the screens is less than 1,438?
### Answer:
SELECT AVG(rank) FROM table_name_19 WHERE headquarters = "toronto, on" AND screens < 1 OFFSET 438 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (season VARCHAR, winner VARCHAR)
### Question:
What season did the Rangers win?
### Answer:
SELECT season FROM table_name_1 WHERE winner = "rangers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE cinema (LOCATION VARCHAR)
### Question:
What are all the locations with a cinema?
### Answer:
SELECT DISTINCT LOCATION FROM cinema |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (weeks_on_chart INTEGER, peak_position VARCHAR, country VARCHAR)
### Question:
what is the most weeks on chart when the peak position is less than 5 and from Sweden?
### Answer:
SELECT MAX(weeks_on_chart) FROM table_name_49 WHERE peak_position < 5 AND country = "sweden" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (goal_difference INTEGER, club VARCHAR, played VARCHAR)
### Question:
What is the lowest goal difference for the club ud alzira, with a played larger than 38?
### Answer:
SELECT MIN(goal_difference) FROM table_name_59 WHERE club = "ud alzira" AND played > 38 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22098274_1 (site VARCHAR, date VARCHAR)
### Question:
How many number of site have May 1, 2004 as the date?
### Answer:
SELECT COUNT(site) FROM table_22098274_1 WHERE date = "May 1, 2004" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (assists VARCHAR, opponent VARCHAR, team VARCHAR, competition VARCHAR, total_gs VARCHAR)
### Question:
How many assists were in the k-league competition, which has more than 20 total Gs, the pohang steelers team, and chunnam dragons as the opponent?
### Answer:
SELECT assists FROM table_name_90 WHERE competition = "k-league" AND total_gs > 20 AND team = "pohang steelers" AND opponent = "chunnam dragons" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR)
### Question:
What is the fastest lap of the Oschersleben circuit with Audi Sport Team ABT as the winning team?
### Answer:
SELECT fastest_lap FROM table_name_76 WHERE winning_team = "audi sport team abt" AND circuit = "oschersleben" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (owner VARCHAR, entered_service__t_ VARCHAR)
### Question:
Who owns the locomotive that entered service on 30 October 1956?
### Answer:
SELECT owner FROM table_name_80 WHERE entered_service__t_ = "30 october 1956" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE students (cell_mobile_number VARCHAR, first_name VARCHAR, last_name VARCHAR)
### Question:
What is the mobile phone number of the student named Timmothy Ward ?
### Answer:
SELECT cell_mobile_number FROM students WHERE first_name = 'timmothy' AND last_name = 'ward' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE storm (name VARCHAR, dates_active VARCHAR, number_deaths VARCHAR)
### Question:
List name, dates active, and number of deaths for all storms with at least 1 death.
### Answer:
SELECT name, dates_active, number_deaths FROM storm WHERE number_deaths >= 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20745444_1 (tar_heels_points VARCHAR, result VARCHAR)
### Question:
How many results finished in a loss?
### Answer:
SELECT COUNT(tar_heels_points) FROM table_20745444_1 WHERE result = "Loss" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (plur_pret VARCHAR, subj_pret VARCHAR, inf_stem VARCHAR)
### Question:
What is the plural preterite that is associated with a subjunctive preterite of ü and has an infinitive stem of e + l/r + cons.?
### Answer:
SELECT plur_pret FROM table_name_93 WHERE subj_pret = "ü" AND inf_stem = "e + l/r + cons." |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (attendance INTEGER, opponent VARCHAR)
### Question:
How many people attended the home game against the New York Jets?
### Answer:
SELECT SUM(attendance) FROM table_name_61 WHERE opponent = "new york jets" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (average VARCHAR, rank VARCHAR)
### Question:
What average has 1 as rhe rank?
### Answer:
SELECT average FROM table_name_61 WHERE rank = "1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (date VARCHAR, visitor VARCHAR)
### Question:
What is the date of the game with toronto as the visitor?
### Answer:
SELECT date FROM table_name_89 WHERE visitor = "toronto" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
### Question:
What is the FCC info for the translator with frequency over 89.3MHz and licensd in Portales, New Mexico?
### Answer:
SELECT fcc_info FROM table_name_98 WHERE frequency_mhz > 89.3 AND city_of_license = "portales, new mexico" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (region VARCHAR, date VARCHAR)
### Question:
What region goes along with January 1974?
### Answer:
SELECT region FROM table_name_93 WHERE date = "january 1974" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11907963_6 (score VARCHAR, high_rebounds VARCHAR)
### Question:
What was the score for the game in which Emeka Okafor (10) had high rebounds?
### Answer:
SELECT score FROM table_11907963_6 WHERE high_rebounds = "Emeka Okafor (10)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (venue VARCHAR, notes VARCHAR)
### Question:
Which Venue has a Notes of 2:28:31?
### Answer:
SELECT venue FROM table_name_83 WHERE notes = "2:28:31" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (lost VARCHAR, losing_bonus VARCHAR, points_for VARCHAR)
### Question:
WHAT IS THE LOST WITH 1 LOSING BONUS, 148 POINTS?
### Answer:
SELECT lost FROM table_name_32 WHERE losing_bonus = "1" AND points_for = "148" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17355408_4 (high_assists VARCHAR, high_points VARCHAR)
### Question:
Name the high assists for chauncey billups , carmelo anthony (18)
### Answer:
SELECT high_assists FROM table_17355408_4 WHERE high_points = "Chauncey Billups , Carmelo Anthony (18)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (date VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)
### Question:
What date has lost as the result and a competition of friendly with 1-2 as the score?
### Answer:
SELECT date FROM table_name_86 WHERE result = "lost" AND competition = "friendly" AND score = "1-2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_75 (attendance VARCHAR, venue VARCHAR)
### Question:
Which Attendance has Mandalay Bay Resort
### Answer:
SELECT attendance FROM table_name_75 WHERE venue = "mandalay bay resort" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27715173_6 (location_attendance VARCHAR, record VARCHAR)
### Question:
Where was the game played where the record was 10-1?
### Answer:
SELECT location_attendance FROM table_27715173_6 WHERE record = "10-1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (rank VARCHAR, total VARCHAR, silver VARCHAR, gold VARCHAR)
### Question:
Which Rank number has a Silver of 0, Gold of 2 and total smaller than 2?
### Answer:
SELECT COUNT(rank) FROM table_name_56 WHERE silver = 0 AND gold = 2 AND total < 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16072430_1 (viewers VARCHAR, share VARCHAR, weekly_rank VARCHAR)
### Question:
What is the total number of viewers where the share is 7 and the week rank is 64?
### Answer:
SELECT COUNT(viewers) FROM table_16072430_1 WHERE share = 7 AND weekly_rank = "64" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19870086_24 (dismissals VARCHAR, innings VARCHAR)
### Question:
what is the highest number of dismissals in a match with 8 innings
### Answer:
SELECT COUNT(dismissals) FROM table_19870086_24 WHERE innings = 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (co_contestant__yaar_vs_pyaar_ VARCHAR, total_score_week VARCHAR, date_performed VARCHAR)
### Question:
What Co-contestant (Yaar vs. Pyaar) has a Total score/week of 48/60, and a Date performed of august 14?
### Answer:
SELECT co_contestant__yaar_vs_pyaar_ FROM table_name_40 WHERE total_score_week = "48/60" AND date_performed = "august 14" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (date VARCHAR, home_team VARCHAR)
### Question:
What date was the game when home team crystal palace played?
### Answer:
SELECT date FROM table_name_93 WHERE home_team = "crystal palace" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17487395_1 (location VARCHAR, callsign VARCHAR)
### Question:
How many locations have the call signs dxjp-fm?
### Answer:
SELECT COUNT(location) FROM table_17487395_1 WHERE callsign = "DXJP-FM" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (score VARCHAR, high_points VARCHAR)
### Question:
What is Score, when High Points is "Dwight Howard (25)"?
### Answer:
SELECT score FROM table_name_36 WHERE high_points = "dwight howard (25)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12444503_1 (season VARCHAR, lost_to_eventual_runner_up VARCHAR)
### Question:
What's the number of seasons i which USC Bassam lost to eventual runner-up?
### Answer:
SELECT COUNT(season) FROM table_12444503_1 WHERE lost_to_eventual_runner_up = "USC Bassam" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR)
### Question:
During what years did the tallest building, located at 211 Union Street, have less than 31 floors?
### Answer:
SELECT years_as_tallest FROM table_name_95 WHERE floors < 31 AND street_address = "211 union street" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (format VARCHAR, region VARCHAR)
### Question:
Tell me the format for european union
### Answer:
SELECT format FROM table_name_99 WHERE region = "european union" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22644589_4 (original_dance__od_ VARCHAR, compulsory_dance__cd_ VARCHAR)
### Question:
How many original dance scores are listed in the event where the compulsory dance was 20.03?
### Answer:
SELECT COUNT(original_dance__od_) FROM table_22644589_4 WHERE compulsory_dance__cd_ = "20.03" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14058433_4 (points_against VARCHAR, lost VARCHAR)
### Question:
what's the points against with lost being 13
### Answer:
SELECT points_against FROM table_14058433_4 WHERE lost = "13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE VOTING_RECORD (Treasurer_Vote VARCHAR); CREATE TABLE STUDENT (Major VARCHAR, StuID VARCHAR)
### Question:
Find the distinct majors of students who have treasurer votes.
### Answer:
SELECT DISTINCT T1.Major FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.Treasurer_Vote |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE scientists (name VARCHAR, SSN VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR); CREATE TABLE projects (code VARCHAR, hours INTEGER); CREATE TABLE scientists (name VARCHAR, hours INTEGER); CREATE TABLE projects (name VARCHAR, hours INTEGER)
### Question:
Find the names of scientists who are not working on the project with the highest hours.
### Answer:
SELECT name FROM scientists EXCEPT SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.hours = (SELECT MAX(hours) FROM projects) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (release INTEGER, director VARCHAR, title VARCHAR)
### Question:
What was the earliest release for Pathogen directed by Sharon Gosling?
### Answer:
SELECT MIN(release) FROM table_name_81 WHERE director = "sharon gosling" AND title = "pathogen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (runs INTEGER, player VARCHAR)
### Question:
What was Donald Bradman's average runs?
### Answer:
SELECT AVG(runs) FROM table_name_21 WHERE player = "donald bradman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (surface VARCHAR, opponent_s_ VARCHAR)
### Question:
Which Surface has an Opponent(s) of anna-lena grönefeld tatjana malek?
### Answer:
SELECT surface FROM table_name_8 WHERE opponent_s_ = "anna-lena grönefeld tatjana malek" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (country VARCHAR, area_in_m² VARCHAR)
### Question:
What is the country with area of 3,170 in m²?
### Answer:
SELECT country FROM table_name_17 WHERE area_in_m² = "3,170" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (ief_2011 VARCHAR, fsi_2012 VARCHAR)
### Question:
What is the IEF 2011 of the country with an FSI 2012 of 99.2?
### Answer:
SELECT ief_2011 FROM table_name_96 WHERE fsi_2012 = "99.2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341663_10 (incumbent VARCHAR, candidates VARCHAR)
### Question:
how many times was the candidates dan mica (d) 55.3% bill james (r) 44.7%?
### Answer:
SELECT COUNT(incumbent) FROM table_1341663_10 WHERE candidates = "Dan Mica (D) 55.3% Bill James (R) 44.7%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (date VARCHAR, race VARCHAR)
### Question:
Name the date of the italian grand prix
### Answer:
SELECT date FROM table_name_34 WHERE race = "italian grand prix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11960407_5 (high_points VARCHAR, game VARCHAR)
### Question:
Who scored the most points in Game 49?
### Answer:
SELECT high_points FROM table_11960407_5 WHERE game = 49 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16010376_1 (cartridge VARCHAR, source VARCHAR)
### Question:
What type of cartridge is used by a Winchester?
### Answer:
SELECT cartridge FROM table_16010376_1 WHERE source = "Winchester" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24765815_2 (player VARCHAR, competition VARCHAR)
### Question:
Who is the player that played in the UEFA Euro 2012 qualifying Group A competition?
### Answer:
SELECT player FROM table_24765815_2 WHERE competition = "UEFA Euro 2012 qualifying Group A" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_24 (state VARCHAR, member VARCHAR)
### Question:
Which state is frederick bamford a member of?
### Answer:
SELECT state FROM table_name_24 WHERE member = "frederick bamford" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (competition VARCHAR, score VARCHAR)
### Question:
Which competition ended with a score of 58-4?
### Answer:
SELECT competition FROM table_name_64 WHERE score = "58-4" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27906667_2 (legs_lost VARCHAR, high_checkout VARCHAR)
### Question:
How many legs were lost when the high checkout was 101?
### Answer:
SELECT COUNT(legs_lost) FROM table_27906667_2 WHERE high_checkout = 101 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (week INTEGER, venue VARCHAR, attendance VARCHAR)
### Question:
Tell me the highest week for metropolitan stadium for attendance more than 47,644
### Answer:
SELECT MAX(week) FROM table_name_80 WHERE venue = "metropolitan stadium" AND attendance > 47 OFFSET 644 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (date VARCHAR, home_team VARCHAR)
### Question:
When did Carlton play as the home team?
### Answer:
SELECT date FROM table_name_60 WHERE home_team = "carlton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (date VARCHAR, catalog VARCHAR)
### Question:
Catalog Nebdj068 was released when?
### Answer:
SELECT date FROM table_name_26 WHERE catalog = "nebdj068" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562572_20 (largest_ethnic_group__2002_ VARCHAR, population__2011_ VARCHAR)
### Question:
Name the largest ethnic group for 24112
### Answer:
SELECT largest_ethnic_group__2002_ FROM table_2562572_20 WHERE population__2011_ = 24112 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (player VARCHAR, to_club VARCHAR)
### Question:
Which player was transferred to Reggina?
### Answer:
SELECT player FROM table_name_99 WHERE to_club = "reggina" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (year VARCHAR, nominee VARCHAR, award_ceremony VARCHAR, result VARCHAR)
### Question:
How many times is the award ceremony laurence olivier award, result is won and the nominee is imelda staunton?
### Answer:
SELECT COUNT(year) FROM table_name_3 WHERE award_ceremony = "laurence olivier award" AND result = "won" AND nominee = "imelda staunton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1682026_3 (headquarters VARCHAR, sales__billion_$_ VARCHAR)
### Question:
Where are the headquarters of the company whose sales were 69.2 billion?
### Answer:
SELECT headquarters FROM table_1682026_3 WHERE sales__billion_$_ = "69.2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (tries_against INTEGER, tries_for VARCHAR, points_against VARCHAR, points_for VARCHAR)
### Question:
Which Tries against has Points against larger than 156, and Points for of 127, and Tries for larger than 17?
### Answer:
SELECT AVG(tries_against) FROM table_name_8 WHERE points_against > 156 AND points_for = 127 AND tries_for > 17 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (position INTEGER, played VARCHAR, goals_against VARCHAR, wins VARCHAR)
### Question:
Which Position has Goals against smaller than 43, and Wins larger than 14, and Played larger than 38?
### Answer:
SELECT SUM(position) FROM table_name_28 WHERE goals_against < 43 AND wins > 14 AND played > 38 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (play VARCHAR, company VARCHAR)
### Question:
Which play was done by the Radu Stanca National Theatre company?
### Answer:
SELECT play FROM table_name_47 WHERE company = "radu stanca national theatre" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23285761_11 (team VARCHAR, high_rebounds VARCHAR)
### Question:
How many teams have channing frye, jason richardson (8) as high rebounds?
### Answer:
SELECT COUNT(team) FROM table_23285761_11 WHERE high_rebounds = "Channing Frye, Jason Richardson (8)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (ensemble_name VARCHAR, area VARCHAR)
### Question:
What is Oxfordshire Area's Ensemble Name?
### Answer:
SELECT ensemble_name FROM table_name_29 WHERE area = "oxfordshire" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (percentage_of_marine_area__foreez_ INTEGER, ecozone VARCHAR, percentage_of_total_area__foreez_ VARCHAR)
### Question:
What is the smallest percentage of marine area for Pacific Marine ecozone and percentage of total area greater than 3.1?
### Answer:
SELECT MIN(percentage_of_marine_area__foreez_) FROM table_name_50 WHERE ecozone = "pacific marine" AND percentage_of_total_area__foreez_ > 3.1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_84 (m939_series VARCHAR, m809_series VARCHAR, wheelbase VARCHAR)
### Question:
Name the M939 series for short wheelbase and M809 series of m817
### Answer:
SELECT m939_series FROM table_name_84 WHERE m809_series = "m817" AND wheelbase = "short" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11960407_4 (high_rebounds VARCHAR, high_points VARCHAR)
### Question:
Who had the high rebounds when Chris Bosh (16) had the high points?
### Answer:
SELECT high_rebounds FROM table_11960407_4 WHERE high_points = "Chris Bosh (16)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (result VARCHAR, opponent VARCHAR)
### Question:
Which Result has an Opponent of washington redskins?
### Answer:
SELECT result FROM table_name_3 WHERE opponent = "washington redskins" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (athletics_nickname VARCHAR, founded VARCHAR)
### Question:
Which athletics nickname was founded in 1872?
### Answer:
SELECT athletics_nickname FROM table_name_86 WHERE founded = "1872" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (school VARCHAR, mascot VARCHAR)
### Question:
Which school has a mascot of the Panthers?
### Answer:
SELECT school FROM table_name_25 WHERE mascot = "panthers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (enrollment INTEGER, ihsaa_class VARCHAR, location VARCHAR)
### Question:
What is the average enrollment of the IHSAA A class in wolcott?
### Answer:
SELECT AVG(enrollment) FROM table_name_34 WHERE ihsaa_class = "a" AND location = "wolcott" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21321804_1 (cfl_team VARCHAR, college VARCHAR)
### Question:
Which cfl team is manitoba college?
### Answer:
SELECT cfl_team FROM table_21321804_1 WHERE college = "Manitoba" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (score VARCHAR, to_par VARCHAR, country VARCHAR)
### Question:
What is the Score that has a To standard of –2, and a Country of Spain?
### Answer:
SELECT score FROM table_name_63 WHERE to_par = "–2" AND country = "spain" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (round VARCHAR, opponent VARCHAR)
### Question:
How many rounds was the fight against carter williams?
### Answer:
SELECT round FROM table_name_2 WHERE opponent = "carter williams" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (güzelçamlı’s_lost_panther VARCHAR)
### Question:
Which 2005 has a Güzelçamlı’s Lost Panther of green fairy?
### Answer:
SELECT 2005 FROM table_name_76 WHERE güzelçamlı’s_lost_panther = "green fairy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26847237_3 (score VARCHAR, opposition VARCHAR)
### Question:
What is the score when the opposition is mid canterbury?
### Answer:
SELECT score FROM table_26847237_3 WHERE opposition = "Mid Canterbury" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (director_s_ VARCHAR, recipient VARCHAR)
### Question:
Who was the director that had a recipient of Redbag Pictures Ltd?
### Answer:
SELECT director_s_ FROM table_name_54 WHERE recipient = "redbag pictures ltd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, score VARCHAR)
### Question:
Which country had a place of t1, as well as a score of 72-68-70-73=283?
### Answer:
SELECT country FROM table_name_38 WHERE place = "t1" AND score = 72 - 68 - 70 - 73 = 283 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14219514_2 (home__1st_leg_ VARCHAR, home__2nd_leg_ VARCHAR)
### Question:
When temperley is the home (2nd leg) what is the home (1st leg)?
### Answer:
SELECT home__1st_leg_ FROM table_14219514_2 WHERE home__2nd_leg_ = "Temperley" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (d_46 VARCHAR, d_43 VARCHAR)
### Question:
Name the D 46 which has a D 43 of majority→
### Answer:
SELECT d_46 FROM table_name_34 WHERE d_43 = "majority→" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE players (country_code VARCHAR)
### Question:
Find the codes of countries that have more than 50 players.
### Answer:
SELECT country_code FROM players GROUP BY country_code HAVING COUNT(*) > 50 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_74 (points INTEGER, drawn VARCHAR, played VARCHAR)
### Question:
Which Points is the average one that has Drawn of 3, and a Played smaller than 22?
### Answer:
SELECT AVG(points) FROM table_name_74 WHERE drawn = 3 AND played < 22 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (attendance VARCHAR, visitor VARCHAR)
### Question:
How many people attended the game that had the Clippers as visiting team?
### Answer:
SELECT attendance FROM table_name_47 WHERE visitor = "clippers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27700530_10 (location_attendance VARCHAR, high_assists VARCHAR)
### Question:
What is the location and attendance of the game when gilbert arenas (9) had the high assists?
### Answer:
SELECT location_attendance FROM table_27700530_10 WHERE high_assists = "Gilbert Arenas (9)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28367242_1 (area__km²_ VARCHAR, corporate_name VARCHAR)
### Question:
What is the area of the corporation named the powell river, the corporation of the city of?
### Answer:
SELECT area__km²_ FROM table_28367242_1 WHERE corporate_name = "Powell River, The Corporation of the City of" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (country VARCHAR, time VARCHAR)
### Question:
What is Country, when Time is 1:29.43.60?
### Answer:
SELECT country FROM table_name_68 WHERE time = "1:29.43.60" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (series VARCHAR, winning_team VARCHAR, sport VARCHAR)
### Question:
Which Series has a Winning team of iowa state and a Sport of w basketball?
### Answer:
SELECT series FROM table_name_54 WHERE winning_team = "iowa state" AND sport = "w basketball" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (population INTEGER, english_name VARCHAR)
### Question:
What is the Population of the subdivision with the English Name of nanbin farm?
### Answer:
SELECT MIN(population) FROM table_name_73 WHERE english_name = "nanbin farm" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (last_final_won VARCHAR, runners_up VARCHAR, club VARCHAR)
### Question:
what is the last final won when runners-up is 1 and club is rijeka?
### Answer:
SELECT last_final_won FROM table_name_13 WHERE runners_up = 1 AND club = "rijeka" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27653955_1 (ihsa_music_class VARCHAR, mascot VARCHAR)
### Question:
What is the IHSA music class for the mascot that is the lancers?
### Answer:
SELECT ihsa_music_class FROM table_27653955_1 WHERE mascot = "Lancers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25721_4 (region_1 VARCHAR, release VARCHAR)
### Question:
How many region 1's did back to earth have?
### Answer:
SELECT COUNT(region_1) FROM table_25721_4 WHERE release = "Back to Earth" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE singer (name VARCHAR, country VARCHAR, age VARCHAR)
### Question:
Show name, country, age for all singers ordered by age from the oldest to the youngest.
### Answer:
SELECT name, country, age FROM singer ORDER BY age DESC |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (laws_against_homosexuality VARCHAR, penalty VARCHAR, country VARCHAR)
### Question:
What law has a penalty of — in Iraq?
### Answer:
SELECT laws_against_homosexuality FROM table_name_90 WHERE penalty = "—" AND country = "iraq" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (sport VARCHAR, age_groups VARCHAR, competition_name VARCHAR)
### Question:
what is the sport when the age group is 21 or younger and the competition name is world youth netball championships?
### Answer:
SELECT sport FROM table_name_58 WHERE age_groups = "21 or younger" AND competition_name = "world youth netball championships" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10935205_1 (title VARCHAR, us_airdate VARCHAR)
### Question:
For the episode(s) aired in the U.S. on 4 april 2008, what were the names?
### Answer:
SELECT title FROM table_10935205_1 WHERE us_airdate = "4 April 2008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14219514_1 (aggregate VARCHAR)
### Question:
How many 2nd legs had an aggregate of 2-4?
### Answer:
SELECT COUNT(2 AS nd_leg) FROM table_14219514_1 WHERE aggregate = "2-4" |
Subsets and Splits