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_20065425_1 (state VARCHAR, termination_of_mission VARCHAR)
### Question:
What state does the representative whose mission was terminated on November 29, 1973 represent?
### Answer:
SELECT state FROM table_20065425_1 WHERE termination_of_mission = "November 29, 1973" |
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 (home_team VARCHAR, road_team VARCHAR, game VARCHAR)
### Question:
Who was the home team when Boston is the road team in game 4?
### Answer:
SELECT home_team FROM table_name_89 WHERE road_team = "boston" AND game = "game 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_24405773_1 (points INTEGER, flaps VARCHAR)
### Question:
What was the highest number of points when flaps were 0?
### Answer:
SELECT MAX(points) FROM table_24405773_1 WHERE flaps = 0 |
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 (points VARCHAR, year INTEGER)
### Question:
What are the Points after 1991?
### Answer:
SELECT COUNT(points) FROM table_name_49 WHERE year > 1991 |
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 city (Status VARCHAR, Population INTEGER)
### Question:
Please show the different statuses of cities and the average population of cities with each status.
### Answer:
SELECT Status, AVG(Population) FROM city GROUP BY Status |
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_1818254_1 (property_crime VARCHAR, burglary VARCHAR)
### Question:
How many cities were there in 2012 where the rate of burglary was 224.8?
### Answer:
SELECT COUNT(property_crime) FROM table_1818254_1 WHERE burglary = "224.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_60 (transfer_fee VARCHAR, name VARCHAR)
### Question:
what is the transfer fee for evilasio?
### Answer:
SELECT transfer_fee FROM table_name_60 WHERE name = "evilasio" |
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_26301697_2 (age INTEGER)
### Question:
Name the most age
### Answer:
SELECT MAX(age) FROM table_26301697_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_97 (player VARCHAR, first_team_appearances VARCHAR, first_team_goals VARCHAR)
### Question:
What player has over 1 first apperance and over 32 first team goals?
### Answer:
SELECT player FROM table_name_97 WHERE first_team_appearances > 1 AND first_team_goals = 32 |
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 (award VARCHAR, name VARCHAR)
### Question:
What is the award type for all Lowe awards?
### Answer:
SELECT award FROM table_name_1 WHERE name = "lowe" |
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 (driver VARCHAR, entries VARCHAR)
### Question:
Which driver has 210 as entries?
### Answer:
SELECT driver FROM table_name_40 WHERE entries = 210 |
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_18597302_1 (position INTEGER, team VARCHAR)
### Question:
What was the position of the Atl. Colegiales team?
### Answer:
SELECT MAX(position) FROM table_18597302_1 WHERE team = "Atl. Colegiales" |
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 (total_medals INTEGER, gold_medals VARCHAR, ensemble VARCHAR)
### Question:
What was the average total medals received by Roland Hayes School when there were 0 gold medals?
### Answer:
SELECT AVG(total_medals) FROM table_name_99 WHERE gold_medals = 0 AND ensemble = "roland hayes school" |
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_20398823_1 (podiums INTEGER, points VARCHAR, wins VARCHAR, season VARCHAR)
### Question:
Name the least podiums for 0 wins and 2005 season for 321 points
### Answer:
SELECT MIN(podiums) FROM table_20398823_1 WHERE wins = 0 AND season = 2005 AND points = "321" |
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_22 (points INTEGER, played VARCHAR, goal_difference VARCHAR, losses VARCHAR, goals_against VARCHAR)
### Question:
What is the fewest points for positions with under 12 losses, goals against under 50, goal difference over 11, and under 30 played?
### Answer:
SELECT MIN(points) FROM table_name_22 WHERE losses < 12 AND goals_against < 50 AND goal_difference > 11 AND played < 30 |
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_31 (crowd VARCHAR, home_team VARCHAR)
### Question:
I want the total number of people in the crowd for essendon home team
### Answer:
SELECT COUNT(crowd) FROM table_name_31 WHERE home_team = "essendon" |
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_77 (place VARCHAR, country VARCHAR, score VARCHAR)
### Question:
What is Place, when Score is "69-69=138", and when Country is "United States"?
### Answer:
SELECT place FROM table_name_77 WHERE score = 69 - 69 = 138 AND country = "united states" |
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 (plur_pres VARCHAR, past_part VARCHAR, inf_stem VARCHAR)
### Question:
What is the plural present that has a past participle of e and an infinitive stem of e?
### Answer:
SELECT plur_pres FROM table_name_61 WHERE past_part = "e" AND inf_stem = "e" |
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_2147588_3 (successor VARCHAR, vacator VARCHAR)
### Question:
Who was the successor for the new seat?
### Answer:
SELECT successor FROM table_2147588_3 WHERE vacator = "New seat" |
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_21197135_1 (record VARCHAR, opponent VARCHAR)
### Question:
What was the team record when the team played @ Utah?
### Answer:
SELECT record FROM table_21197135_1 WHERE opponent = "@ Utah" |
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 (tally VARCHAR, total VARCHAR, opposition VARCHAR)
### Question:
What is the tally with a total larger than 8, Waterford was the opposition?
### Answer:
SELECT tally FROM table_name_73 WHERE total > 8 AND opposition = "waterford" |
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 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
### Question:
Which Margin of victory has a Runner(s)-up of josé maria cañizares?
### Answer:
SELECT margin_of_victory FROM table_name_38 WHERE runner_s__up = "josé maria cañizares" |
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_10942714_1 (peak VARCHAR, chinese_title VARCHAR)
### Question:
How many are listed under 潮爆大狀
### Answer:
SELECT COUNT(peak) FROM table_10942714_1 WHERE chinese_title = "潮爆大狀" |
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_65 (year_joined VARCHAR, _number___county VARCHAR)
### Question:
what is the correct year for # / county of 09 cass?
### Answer:
SELECT year_joined FROM table_name_65 WHERE _number___county = "09 cass" |
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_22 (e_coli VARCHAR, substrates VARCHAR)
### Question:
Which E. coli has a substrate of uracil?
### Answer:
SELECT e_coli FROM table_name_22 WHERE substrates = "uracil" |
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 (score VARCHAR, competition VARCHAR)
### Question:
What was the score of the 1998 FIFA World Cup qualification competition?
### Answer:
SELECT score FROM table_name_25 WHERE competition = "1998 fifa world cup qualification" |
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 (stories VARCHAR, building VARCHAR)
### Question:
How many stories is the torre reforma building?
### Answer:
SELECT COUNT(stories) FROM table_name_99 WHERE building = "torre reforma" |
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_88 (club_province VARCHAR, caps VARCHAR, player VARCHAR)
### Question:
Which Club or province has a caps larger than 15 and has Chris Cusiter playing for them?
### Answer:
SELECT club_province FROM table_name_88 WHERE caps > 15 AND player = "chris cusiter" |
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_45 (percentage_democrats VARCHAR, democratic_seat_plurality VARCHAR, democratic__republican VARCHAR)
### Question:
What is the percentage democrats with democratic plurality of -3, and 2/5 democrat/republican?
### Answer:
SELECT percentage_democrats FROM table_name_45 WHERE democratic_seat_plurality = "-3" AND democratic__republican = "2/5" |
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 instructor (dept_name VARCHAR, salary INTEGER)
### Question:
Find the name of the department which has the highest average salary of professors.
### Answer:
SELECT dept_name FROM instructor GROUP BY dept_name ORDER BY AVG(salary) DESC LIMIT 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_12 (fixtures_sec VARCHAR, season VARCHAR)
### Question:
Name the Fixtures Sec which has a Season of 2009–2010
### Answer:
SELECT fixtures_sec FROM table_name_12 WHERE season = "2009–2010" |
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_1881642_1 (socialist VARCHAR, social_democratic VARCHAR)
### Question:
How many figures are given for the Socialists in the case where the Social Democrats received 42.2%?
### Answer:
SELECT COUNT(socialist) FROM table_1881642_1 WHERE social_democratic = "42.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_19839391_3 (no_decisions INTEGER, winning__percentage VARCHAR, wins VARCHAR)
### Question:
how many "no decisions" are there with 3 wins and a win percentage of 1.000?
### Answer:
SELECT MIN(no_decisions) FROM table_19839391_3 WHERE winning__percentage = "1.000" AND wins = 3 |
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 (crowd INTEGER, away_team VARCHAR)
### Question:
What was the largest crowd for an away Carlton game?
### Answer:
SELECT MAX(crowd) FROM table_name_54 WHERE away_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_55 (round VARCHAR, opponent VARCHAR)
### Question:
What round was the game against Watford?
### Answer:
SELECT round FROM table_name_55 WHERE opponent = "watford" |
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_66 (run_time VARCHAR, podcast_date VARCHAR)
### Question:
What is the run time of the episode that aired on September 4, 2005?
### Answer:
SELECT run_time FROM table_name_66 WHERE podcast_date = "september 4, 2005" |
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_33 (score VARCHAR, set_1 VARCHAR)
### Question:
What was the overall score when set 1 was 23–25?
### Answer:
SELECT score FROM table_name_33 WHERE set_1 = "23–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_name_1 (lead_pitch_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR)
### Question:
Which Lead Pitch/mm has a Part Number of tsop40, and a Body Length/mm larger than 18.4?
### Answer:
SELECT MAX(lead_pitch_mm) FROM table_name_1 WHERE part_number = "tsop40" AND body_length_mm > 18.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_name_28 (player VARCHAR, year VARCHAR)
### Question:
Which player is featured for 2001-2002?
### Answer:
SELECT player FROM table_name_28 WHERE year = "2001-2002" |
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_24014744_1 (putri_pariwisata_indonesia VARCHAR)
### Question:
List the number of runners up when albertina fransisca mailoa won the putri pariwisata contest?
### Answer:
SELECT COUNT(3 AS rd_runner_up) FROM table_24014744_1 WHERE putri_pariwisata_indonesia = "Albertina Fransisca Mailoa" |
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 (iata VARCHAR, icao VARCHAR)
### Question:
What is IATA, when ICAO is "VHHH"?
### Answer:
SELECT iata FROM table_name_8 WHERE icao = "vhhh" |
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_52 (score VARCHAR, record VARCHAR)
### Question:
The record of 35-31 has what score?
### Answer:
SELECT score FROM table_name_52 WHERE record = "35-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_3 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
### Question:
What is the high lap total that has a grid of less than 4 and a Time/Retired of + 1 lap?
### Answer:
SELECT MAX(laps) FROM table_name_3 WHERE grid < 4 AND time_retired = "+ 1 lap" |
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_71 (year INTEGER, mixed_doubles VARCHAR)
### Question:
What is the average year with Nathan Robertson Gail Emms in mixed doubles?
### Answer:
SELECT AVG(year) FROM table_name_71 WHERE mixed_doubles = "nathan robertson gail emms" |
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_91 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
### Question:
What is the Film title used in nomination of Cilvēka Bērns?
### Answer:
SELECT film_title_used_in_nomination FROM table_name_91 WHERE original_title = "cilvēka bērns" |
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 (neon VARCHAR, krypton VARCHAR)
### Question:
What neon has a krypton of 213?
### Answer:
SELECT neon FROM table_name_61 WHERE krypton = "213" |
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_27 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR)
### Question:
Which position at UCLA has a lower than 92 pick number?
### Answer:
SELECT position FROM table_name_27 WHERE pick < 92 AND school_club_team = "ucla" |
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_52 (points VARCHAR, lost VARCHAR)
### Question:
How many points does the team with 3 losses have?
### Answer:
SELECT points FROM table_name_52 WHERE lost = "3" |
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 (declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR)
### Question:
What is the declination with a right ascension of 11h53m41.9s?
### Answer:
SELECT declination___j2000__ FROM table_name_34 WHERE right_ascension___j2000__ = "11h53m41.9s" |
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 (second VARCHAR, third VARCHAR)
### Question:
What is the name of the second who has Caroline Reed as third?
### Answer:
SELECT second FROM table_name_96 WHERE third = "caroline reed" |
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_42 (lost INTEGER, name VARCHAR, drawn VARCHAR)
### Question:
How many losses did ev bruckberg have when the drawn was more than 1?
### Answer:
SELECT SUM(lost) FROM table_name_42 WHERE name = "ev bruckberg" AND drawn > 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 list (grade VARCHAR, classroom VARCHAR)
### Question:
Find the grade studying in room 105.
### Answer:
SELECT DISTINCT grade FROM list WHERE classroom = 105 |
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 employee (city VARCHAR)
### Question:
What is the number of employees from each city?
### Answer:
SELECT COUNT(*), city FROM employee GROUP BY city |
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_67 (report VARCHAR, date VARCHAR)
### Question:
Who reported the game on 6 october?
### Answer:
SELECT report FROM table_name_67 WHERE date = "6 october" |
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 (Box VARCHAR, home_team VARCHAR)
### Question:
what is the box score when the home team is melbourne tigers?
### Answer:
SELECT Box AS score FROM table_name_3 WHERE home_team = "melbourne tigers" |
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_72 (points INTEGER, domestic_cup VARCHAR)
### Question:
What was the average points in the quarterfinals domestic cup?
### Answer:
SELECT AVG(points) FROM table_name_72 WHERE domestic_cup = "quarterfinals" |
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_26476336_2 (years VARCHAR, new_classification VARCHAR)
### Question:
What are the years that the new classification was MCLA division i?
### Answer:
SELECT years FROM table_26476336_2 WHERE new_classification = "MCLA Division I" |
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_10 (nominated_by_the_taoiseach INTEGER, agricultural_panel VARCHAR, administrative_panel VARCHAR)
### Question:
What was the average number of members Nominated by the Taoiseach, when the Agricultural Panel had less than 1 member, and when the Administrative Panel had fewer than 0 members?
### Answer:
SELECT AVG(nominated_by_the_taoiseach) FROM table_name_10 WHERE agricultural_panel < 1 AND administrative_panel < 0 |
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_21632864_1 (fourth_place VARCHAR, regional VARCHAR)
### Question:
how many persons got the fourth position when the regional was shikoku?
### Answer:
SELECT COUNT(fourth_place) FROM table_21632864_1 WHERE regional = "Shikoku" |
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_42 (venue VARCHAR, score VARCHAR)
### Question:
What venue held with game with a score of 3-2?
### Answer:
SELECT venue FROM table_name_42 WHERE score = "3-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_58 (result VARCHAR, competition VARCHAR)
### Question:
What was the result from the 2000 asian cup qualification?
### Answer:
SELECT result FROM table_name_58 WHERE competition = "2000 asian cup qualification" |
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 (score VARCHAR, surface VARCHAR, tournament VARCHAR)
### Question:
What score has hard (i) as the surface, and Columbus, Ohio as the tournament?
### Answer:
SELECT score FROM table_name_26 WHERE surface = "hard (i)" AND tournament = "columbus, ohio" |
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 (tournament VARCHAR)
### Question:
what is 2004 when the tournament is paris masters?
### Answer:
SELECT 2004 FROM table_name_49 WHERE tournament = "paris masters" |
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_25762852_1 (base_elevation__feet_ INTEGER, lifts VARCHAR)
### Question:
If there are 11 lifts, what is the base elevation?
### Answer:
SELECT MAX(base_elevation__feet_) FROM table_25762852_1 WHERE lifts = 11 |
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_160510_5 (iso VARCHAR, rr_romaja VARCHAR)
### Question:
Name the iso for chungcheongnam
### Answer:
SELECT iso FROM table_160510_5 WHERE rr_romaja = "Chungcheongnam" |
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 district (district_name VARCHAR, city_area VARCHAR)
### Question:
Which district has the least area?
### Answer:
SELECT district_name FROM district ORDER BY city_area LIMIT 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_27184837_1 (asia VARCHAR, americas VARCHAR)
### Question:
How many program data on Asia was written if the organization launched 14 programs iin the Americas?
### Answer:
SELECT COUNT(asia) FROM table_27184837_1 WHERE americas = 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_85 (bronze VARCHAR, nation VARCHAR)
### Question:
Which bronze has a Nation of poland?
### Answer:
SELECT bronze FROM table_name_85 WHERE nation = "poland" |
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 (home_team VARCHAR, crowd INTEGER)
### Question:
What home team has had a crowd bigger than 20,000?
### Answer:
SELECT home_team FROM table_name_95 WHERE crowd > 20 OFFSET 000 |
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_23 (total INTEGER, nation VARCHAR, silver VARCHAR, gold VARCHAR)
### Question:
What is the average total when the silver is larger than 2, and a gold larger than 1, and a nation of total?
### Answer:
SELECT AVG(total) FROM table_name_23 WHERE silver > 2 AND gold > 1 AND nation = "total" |
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_2140071_5 (season INTEGER)
### Question:
What is the last season?
### Answer:
SELECT MAX(season) FROM table_2140071_5 |
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_26464364_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)
### Question:
How many million U.S. viewers watched the episode with the production code 3x6004?
### Answer:
SELECT us_viewers__million_ FROM table_26464364_1 WHERE production_code = "3X6004" |
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_28547332_4 (matches INTEGER)
### Question:
What is the maximum number of matches in a game?
### Answer:
SELECT MAX(matches) FROM table_28547332_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_name_95 (location VARCHAR, rank VARCHAR)
### Question:
Which location has a rank of 147?
### Answer:
SELECT location FROM table_name_95 WHERE rank = 147 |
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_12842068_1 (submitting_country VARCHAR, original_title VARCHAR)
### Question:
What country submitted miehen työ?
### Answer:
SELECT submitting_country FROM table_12842068_1 WHERE original_title = "Miehen työ" |
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_69 (tries_against VARCHAR, points_against VARCHAR)
### Question:
How many tries against were there with 520 points against?
### Answer:
SELECT tries_against FROM table_name_69 WHERE points_against = "520" |
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 (round VARCHAR, location VARCHAR)
### Question:
Name the total number of Round in liverpool , england?
### Answer:
SELECT COUNT(round) FROM table_name_73 WHERE location = "liverpool , england" |
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_10706961_2 (rd VARCHAR, name VARCHAR)
### Question:
Which Rd took place at the Indianapolis 500?
### Answer:
SELECT rd FROM table_10706961_2 WHERE name = "Indianapolis 500" |
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 Treatments (cost_of_treatment VARCHAR, treatment_type_code VARCHAR); CREATE TABLE treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR)
### Question:
List the cost of each treatment and the corresponding treatment type description.
### Answer:
SELECT T1.cost_of_treatment, T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code = T2.treatment_type_code |
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_91 (wins INTEGER, losses VARCHAR, games VARCHAR, manager VARCHAR)
### Question:
What was the average of wins with manager George Scherger smaller than 3 and losses smaller than 1?
### Answer:
SELECT AVG(wins) FROM table_name_91 WHERE games < 3 AND manager = "george scherger" AND losses < 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_46 (multi_1 VARCHAR, model_number VARCHAR)
### Question:
What is the multi 1 for the Athlon x2 BE-2400?
### Answer:
SELECT multi_1 FROM table_name_46 WHERE model_number = "athlon x2 be-2400" |
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 (place VARCHAR, season VARCHAR, rank_by_average VARCHAR)
### Question:
What was the place in season 8 with a rank by average at 139?
### Answer:
SELECT place FROM table_name_21 WHERE season = "8" AND rank_by_average = "139" |
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 (school VARCHAR, unanimous VARCHAR)
### Question:
What School has no no no Unanimously?
### Answer:
SELECT school FROM table_name_96 WHERE unanimous = "no no no" |
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_11 (player VARCHAR, money___$__ VARCHAR, score VARCHAR)
### Question:
Which Player has a Money ($) of 137, and a Score of 73-70-73-74=290?
### Answer:
SELECT player FROM table_name_11 WHERE money___$__ = 137 AND score = 73 - 70 - 73 - 74 = 290 |
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 (since VARCHAR, name VARCHAR)
### Question:
Name the total number of since for belletti
### Answer:
SELECT COUNT(since) FROM table_name_24 WHERE name = "belletti" |
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 (winning_driver VARCHAR, date VARCHAR)
### Question:
Who was the winning driver on 30 May?
### Answer:
SELECT winning_driver FROM table_name_90 WHERE date = "30 may" |
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 (venue VARCHAR, notes VARCHAR)
### Question:
Which venue did the runner have a note of 1:23:07?
### Answer:
SELECT venue FROM table_name_58 WHERE notes = "1:23:07" |
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, attendance VARCHAR)
### Question:
Name the score for attendance of 13,617
### Answer:
SELECT score FROM table_name_63 WHERE attendance = "13,617" |
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 tryout (cName VARCHAR, pPos VARCHAR)
### Question:
Find the names of schools that have some students playing in goalie and mid positions.
### Answer:
SELECT cName FROM tryout WHERE pPos = 'goalie' INTERSECT SELECT cName FROM tryout WHERE pPos = 'mid' |
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 Employee (eid VARCHAR); CREATE TABLE Certificate (eid VARCHAR)
### Question:
Show ids for all employees who don't have a certificate.
### Answer:
SELECT eid FROM Employee EXCEPT SELECT eid FROM Certificate |
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 (to_par VARCHAR, country VARCHAR, player VARCHAR)
### Question:
What's the to par for Hale Irwin of the United States?
### Answer:
SELECT to_par FROM table_name_13 WHERE country = "united states" AND player = "hale irwin" |
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_10 (visiting_team VARCHAR, host_team VARCHAR)
### Question:
Who was the visiting team in the game against the Dallas Cowboys?
### Answer:
SELECT visiting_team FROM table_name_10 WHERE host_team = "dallas cowboys" |
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_6 (position VARCHAR, overall VARCHAR, round VARCHAR)
### Question:
What is Position, when Overall is less than 590, and when Round is 3?
### Answer:
SELECT position FROM table_name_6 WHERE overall < 590 AND round = 3 |
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_30 (stadium VARCHAR, final_score VARCHAR)
### Question:
In what stadium did a game result in a final scoreline reading 27-34?
### Answer:
SELECT stadium FROM table_name_30 WHERE final_score = "27-34" |
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_65 (chassis VARCHAR, points VARCHAR, entrant VARCHAR)
### Question:
Which chassis used by the entrant Automobiles Gonfaronnaises Sportives scored 0 points?
### Answer:
SELECT chassis FROM table_name_65 WHERE points = 0 AND entrant = "automobiles gonfaronnaises sportives" |
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 (date VARCHAR, week VARCHAR)
### Question:
When has a Week of 8?
### Answer:
SELECT date FROM table_name_73 WHERE week = 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_17 (play_by_play VARCHAR, studio_host VARCHAR)
### Question:
Who is the play by play commentator for the game that has Alan Massengale as Studio Host?
### Answer:
SELECT play_by_play FROM table_name_17 WHERE studio_host = "alan massengale" |
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_16 (home VARCHAR, visitor VARCHAR)
### Question:
What is the home team with the ny rangers as the visitor team?
### Answer:
SELECT home FROM table_name_16 WHERE visitor = "ny 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 table_name_58 (points VARCHAR, club VARCHAR)
### Question:
How many points did Newport RFC get?
### Answer:
SELECT points FROM table_name_58 WHERE club = "newport rfc" |
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_77 (date VARCHAR, result VARCHAR)
### Question:
What is the date when the result was l 37-3?
### Answer:
SELECT date FROM table_name_77 WHERE result = "l 37-3" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.