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_275506_1 (stage VARCHAR, distance__km_ VARCHAR)
### Question:
Who is every stage winner at the distance of 162.5?
### Answer:
SELECT stage AS winner FROM table_275506_1 WHERE distance__km_ = "162.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_name_52 (score VARCHAR, visitor VARCHAR, date VARCHAR)
### Question:
What was the score for the December 11 game against the Ottawa Senators?
### Answer:
SELECT score FROM table_name_52 WHERE visitor = "ottawa senators" AND date = "december 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_14925084_1 (administrative_county VARCHAR, area_1961__statute_acres_ VARCHAR)
### Question:
Name the number of administrative county for area 1961 and 176694
### Answer:
SELECT COUNT(administrative_county) FROM table_14925084_1 WHERE area_1961__statute_acres_ = 176694 |
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 (to_par INTEGER, player VARCHAR)
### Question:
What is tony lema's to par?
### Answer:
SELECT SUM(to_par) FROM table_name_56 WHERE player = "tony lema" |
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 (iata VARCHAR, country VARCHAR, icao VARCHAR)
### Question:
What is the IATA when France was the country, and the ICAO was lfrn?
### Answer:
SELECT iata FROM table_name_72 WHERE country = "france" AND icao = "lfrn" |
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 (events INTEGER, top_5 VARCHAR, top_10 VARCHAR)
### Question:
Which Events is the highest one that has a Top-5 larger than 5, and a Top-10 larger than 28?
### Answer:
SELECT MAX(events) FROM table_name_93 WHERE top_5 > 5 AND top_10 > 28 |
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_26816495_26 (home_att INTEGER, avg VARCHAR)
### Question:
What is the maximum home attendance if the average is 11,322?
### Answer:
SELECT MAX(home_att) FROM table_26816495_26 WHERE avg = "11,322" |
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 (college VARCHAR, player VARCHAR)
### Question:
Which college is Jordan Phillips playing for?
### Answer:
SELECT college FROM table_name_85 WHERE player = "jordan phillips" |
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 (fatalities INTEGER, epicenter VARCHAR)
### Question:
What is the average number of deaths for earthquakes centered in Damghan?
### Answer:
SELECT AVG(fatalities) FROM table_name_84 WHERE epicenter = "damghan" |
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 (attendance INTEGER, score VARCHAR, opponent VARCHAR)
### Question:
Score of 3–2, and a Opponent of reds had what sum of attendance?
### Answer:
SELECT SUM(attendance) FROM table_name_21 WHERE score = "3–2" AND opponent = "reds" |
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 (year INTEGER, issue_price VARCHAR, theme VARCHAR)
### Question:
What year had an issue price of $2,995.95, and a theme of grizzly bear?
### Answer:
SELECT MAX(year) FROM table_name_10 WHERE issue_price = "$2,995.95" AND theme = "grizzly bear" |
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_14940519_1 (week INTEGER, date VARCHAR)
### Question:
Name the least week for september 25, 1983
### Answer:
SELECT MAX(week) FROM table_14940519_1 WHERE date = "September 25, 1983" |
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 (ihsaa_class VARCHAR, mascot VARCHAR, city VARCHAR)
### Question:
Which IHSAA Class has a Mascot of eagles, and a City of evansville?
### Answer:
SELECT ihsaa_class FROM table_name_93 WHERE mascot = "eagles" AND city = "evansville" |
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 (year VARCHAR, artist VARCHAR)
### Question:
Which year did the Royal Canadian Mint Staff create a silver dollar?
### Answer:
SELECT year FROM table_name_25 WHERE artist = "royal canadian mint staff" |
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_13605170_2 (national_origin VARCHAR, retired VARCHAR, in_service VARCHAR)
### Question:
What is the origin of aircraft in service in 1943 and retired in 1954?
### Answer:
SELECT national_origin FROM table_13605170_2 WHERE retired = "1954" AND in_service = "1943" |
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_20 (block INTEGER, spike VARCHAR, height VARCHAR)
### Question:
What is the lowest block that has 328 as the spike, and a height less than 186?
### Answer:
SELECT MIN(block) FROM table_name_20 WHERE spike = 328 AND height < 186 |
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 song (rating INTEGER, resolution INTEGER, languages VARCHAR)
### Question:
What are the average rating and resolution of songs that are in Bangla?
### Answer:
SELECT AVG(rating), AVG(resolution) FROM song WHERE languages = "bangla" |
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_19412902_2 (clubs VARCHAR, member_association VARCHAR)
### Question:
How many clubs are there in the Korea Republic?
### Answer:
SELECT clubs FROM table_19412902_2 WHERE member_association = "Korea Republic" |
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_10953197_4 (writer_s_ VARCHAR, production_code VARCHAR)
### Question:
Who's the writer for the episode with a production code 2395114?
### Answer:
SELECT writer_s_ FROM table_10953197_4 WHERE production_code = "2395114" |
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 (design_flow__lpm_ INTEGER, population_served VARCHAR, partner VARCHAR, construction_start VARCHAR)
### Question:
What is the total Design flow (LPM) with a Partner of app, a Construction Start of 2008 january, and a Population Served larger than 3500?
### Answer:
SELECT SUM(design_flow__lpm_) FROM table_name_6 WHERE partner = "app" AND construction_start = "2008 january" AND population_served > 3500 |
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_1601792_3 (frequency VARCHAR, station VARCHAR)
### Question:
What is the frequency of hot fm?
### Answer:
SELECT COUNT(frequency) FROM table_1601792_3 WHERE station = "Hot 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_12584173_1 (population__glengallan_ INTEGER)
### Question:
What is the maximum population size in the town of Glengallen?
### Answer:
SELECT MAX(population__glengallan_) FROM table_12584173_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_52 (competition VARCHAR, club VARCHAR)
### Question:
What is the 1st leg of the UEFA Champions League Compeition in the Skonto Riga Club?
### Answer:
SELECT 1 AS st_leg FROM table_name_52 WHERE competition = "uefa champions league" AND club = "skonto riga" |
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 (opponent VARCHAR, result VARCHAR)
### Question:
Who was the opponent at the game with a result of w 20-17?
### Answer:
SELECT opponent FROM table_name_69 WHERE result = "w 20-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_41 (total VARCHAR, set_1 VARCHAR)
### Question:
What is the Total of the 24:26 Set 1?
### Answer:
SELECT total FROM table_name_41 WHERE set_1 = "24:26" |
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_1876825_7 (no_in_series VARCHAR, production_code VARCHAR)
### Question:
Name the number of number in series for production code of 06-04-621
### Answer:
SELECT COUNT(no_in_series) FROM table_1876825_7 WHERE production_code = "06-04-621" |
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_1532779_1 (census_year INTEGER)
### Question:
What is the most recent census year?
### Answer:
SELECT MAX(census_year) FROM table_1532779_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_21 (high_assists VARCHAR, date VARCHAR)
### Question:
WHAT IS THE HIGH ASSISTS ON NOVEMBER 24?
### Answer:
SELECT high_assists FROM table_name_21 WHERE date = "november 24" |
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_2850912_12 (pick__number INTEGER, college_junior_club_team VARCHAR)
### Question:
What selection was the springfield olympics (nejhl)?
### Answer:
SELECT MAX(pick__number) FROM table_2850912_12 WHERE college_junior_club_team = "Springfield Olympics (NEJHL)" |
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 (start_address VARCHAR, size_of_network_number_bit_field VARCHAR)
### Question:
What is the start address when the network number bit field is 16?
### Answer:
SELECT start_address FROM table_name_88 WHERE size_of_network_number_bit_field = "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_1449169_1 (altitude__mslm_ INTEGER)
### Question:
What is the minimum altitude (mslm) in all the commons?
### Answer:
SELECT MIN(altitude__mslm_) FROM table_1449169_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_2231241_1 (election VARCHAR, seat_no_1 VARCHAR, seat_no_5 VARCHAR)
### Question:
which election had seat no 1 filled by jacques lachapelle but seat no 5 was filled by g. sanscartier
### Answer:
SELECT election FROM table_2231241_1 WHERE seat_no_1 = "Jacques Lachapelle" AND seat_no_5 = "G. Sanscartier" |
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, rank INTEGER)
### Question:
Which player ranks higher than 9?
### Answer:
SELECT player FROM table_name_11 WHERE rank > 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_name_77 (location VARCHAR, runners_up VARCHAR, winners VARCHAR)
### Question:
What is the Location when Canada was the runner-up and Australia was the winner?
### Answer:
SELECT location FROM table_name_77 WHERE runners_up = "canada" AND winners = "australia" |
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 (grid INTEGER, driver VARCHAR, laps VARCHAR)
### Question:
What was Jack Brabham's highest grid when his laps were more than 90?
### Answer:
SELECT MAX(grid) FROM table_name_76 WHERE driver = "jack brabham" AND laps > 90 |
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_62 (overall INTEGER, position VARCHAR, round VARCHAR)
### Question:
During round 8 when the Position being picked was rb, what was the highest overall pick?
### Answer:
SELECT MAX(overall) FROM table_name_62 WHERE position = "rb" AND round = 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_43 (pennant_number VARCHAR, launched VARCHAR, completed VARCHAR)
### Question:
Name the pennant number for completion of 30 october 1934 and launched 29 march 1934
### Answer:
SELECT pennant_number FROM table_name_43 WHERE launched = "29 march 1934" AND completed = "30 october 1934" |
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_18 (date VARCHAR, week VARCHAR)
### Question:
What date was the Week 3 game played?
### Answer:
SELECT date FROM table_name_18 WHERE week = 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_50 (position VARCHAR, pick VARCHAR)
### Question:
WHAT POSITION HAS A 23 PICK?
### Answer:
SELECT position FROM table_name_50 WHERE pick = 23 |
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_1888051_1 (area__km²_ VARCHAR, capital VARCHAR)
### Question:
Nagua has the area (km²) of?
### Answer:
SELECT area__km²_ FROM table_1888051_1 WHERE capital = "Nagua" |
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_37 (Id VARCHAR)
### Question:
What is the 1952 rate when the 1954 is more than 4.2?
### Answer:
SELECT SUM(1952) FROM table_name_37 WHERE 1954 > 4.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_64 (play_offs INTEGER, club VARCHAR, total VARCHAR)
### Question:
What is the highest play-offs that have stevenage borough as the club, and a total greater than 21?
### Answer:
SELECT MAX(play_offs) FROM table_name_64 WHERE club = "stevenage borough" AND total > 21 |
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_94 (nominated_work VARCHAR, award VARCHAR, year VARCHAR)
### Question:
What nominated work received a tony award in 2009?
### Answer:
SELECT nominated_work FROM table_name_94 WHERE award = "tony award" AND year = 2009 |
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_7 (what VARCHAR, coconut VARCHAR, person VARCHAR, three VARCHAR)
### Question:
What is "what", when "person" is "tawo", when "three" is "tuyo", and when "coconut" is "niyog"?
### Answer:
SELECT what FROM table_name_7 WHERE person = "tawo" AND three = "tuyo" AND coconut = "niyog" |
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_1140099_6 (circuit VARCHAR, race_name VARCHAR)
### Question:
What circuit has a race called ii cape south easter trophy.
### Answer:
SELECT circuit FROM table_1140099_6 WHERE race_name = "II Cape South Easter Trophy" |
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 (week VARCHAR, date VARCHAR)
### Question:
November 25, 2001 was what week of the season?
### Answer:
SELECT COUNT(week) FROM table_name_52 WHERE date = "november 25, 2001" |
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 (attendance INTEGER, date VARCHAR, points VARCHAR)
### Question:
What is the lowest Attendance, when Date is "February 4", and when Points is less than 57?
### Answer:
SELECT MIN(attendance) FROM table_name_72 WHERE date = "february 4" AND points < 57 |
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_1342370_42 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR)
### Question:
How many of the first elected were listed when Hatton W. Sumners was incumbent and re-elected?
### Answer:
SELECT COUNT(first_elected) FROM table_1342370_42 WHERE result = "Re-elected" AND incumbent = "Hatton W. Sumners" |
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 (bats VARCHAR, first VARCHAR)
### Question:
Which bats did mitchell play first?
### Answer:
SELECT bats FROM table_name_23 WHERE first = "mitchell" |
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 Apartment_Bookings (booking_start_date VARCHAR, booking_end_date VARCHAR)
### Question:
Show the start dates and end dates of all the apartment bookings.
### Answer:
SELECT booking_start_date, booking_end_date FROM Apartment_Bookings |
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 (status VARCHAR, unit VARCHAR)
### Question:
Which Status has a Unit of daohugou beds?
### Answer:
SELECT status FROM table_name_55 WHERE unit = "daohugou beds" |
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 (country VARCHAR, category VARCHAR, result VARCHAR, award VARCHAR)
### Question:
Which Country has a Result of nominated, an Award of 17th bangkok critics assembly awards, and a Category of best screenplay?
### Answer:
SELECT country FROM table_name_75 WHERE result = "nominated" AND award = "17th bangkok critics assembly awards" AND category = "best screenplay" |
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 orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
### Question:
What is the name of the customer who has the most orders?
### Answer:
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) 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_49 (region VARCHAR, format VARCHAR, catalog VARCHAR)
### Question:
What is the region for Catalog amlh 66078 in stereo lp format?
### Answer:
SELECT region FROM table_name_49 WHERE format = "stereo lp" AND catalog = "amlh 66078" |
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 (japanese_title VARCHAR, romaji_title VARCHAR)
### Question:
What's the Japanese Title when the Romaji title was Ryūsei No Kizuna?
### Answer:
SELECT japanese_title FROM table_name_13 WHERE romaji_title = "ryūsei no kizuna" |
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 (to_par VARCHAR, player VARCHAR)
### Question:
What is Fred Couples to par?
### Answer:
SELECT to_par FROM table_name_24 WHERE player = "fred couples" |
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 (week_1 VARCHAR, week_3 VARCHAR)
### Question:
Who was the girl on week 1 that was previous to week 3's Ava Hart?
### Answer:
SELECT week_1 FROM table_name_23 WHERE week_3 = "ava hart" |
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 home_game (team_id VARCHAR, year VARCHAR, attendance VARCHAR); CREATE TABLE team (name VARCHAR, team_id_br VARCHAR)
### Question:
Which team had the least number of attendances in home games in 1980?
### Answer:
SELECT T2.name FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T1.year = 1980 ORDER BY T1.attendance 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_24 (manufacturer VARCHAR, year_withdrawn INTEGER)
### Question:
Who manufactured the vehicle withdrawn after 1932?
### Answer:
SELECT manufacturer FROM table_name_24 WHERE year_withdrawn > 1932 |
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 (surface VARCHAR, date VARCHAR)
### Question:
Which surface has a Date of 5 november 2011?
### Answer:
SELECT surface FROM table_name_40 WHERE date = "5 november 2011" |
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_14 (result VARCHAR, record VARCHAR)
### Question:
Which Result has a Record of 5–4?
### Answer:
SELECT result FROM table_name_14 WHERE record = "5–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_13 (election INTEGER, share_of_votes VARCHAR)
### Question:
What is the earlest election with a 0.9% share of votes?
### Answer:
SELECT MIN(election) FROM table_name_13 WHERE share_of_votes = "0.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_name_70 (turnout__percentage VARCHAR, raila VARCHAR)
### Question:
What's listed for the Turnout % with a Raila of 519,180?
### Answer:
SELECT turnout__percentage FROM table_name_70 WHERE raila = "519,180" |
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_211791_1 (nato_us_dod_code VARCHAR, nato_reporting_name VARCHAR)
### Question:
Name the nato/ us dod code for sabbot
### Answer:
SELECT nato_us_dod_code FROM table_211791_1 WHERE nato_reporting_name = "SABBOT" |
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 (party VARCHAR, representative VARCHAR)
### Question:
Which party did Thomas L. Young belong to?
### Answer:
SELECT party FROM table_name_58 WHERE representative = "thomas l. young" |
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 (total VARCHAR, bronze VARCHAR)
### Question:
How many totals have 2 for the bronze?
### Answer:
SELECT COUNT(total) FROM table_name_40 WHERE bronze = 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_67 (constructor VARCHAR, time_retired VARCHAR)
### Question:
Who constructed the car that has a Time/Retired of +2:06.0?
### Answer:
SELECT constructor FROM table_name_67 WHERE time_retired = "+2:06.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_94 (total INTEGER, bronze VARCHAR, silver VARCHAR)
### Question:
What is the average total medals of the nation with 4 bronze and more than 1 silver medals?
### Answer:
SELECT AVG(total) FROM table_name_94 WHERE bronze = 4 AND silver > 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_20466963_4 (date VARCHAR, presenter VARCHAR)
### Question:
What is the date of the episode in which the presenter is Johnny Vaughan?
### Answer:
SELECT date FROM table_20466963_4 WHERE presenter = "Johnny Vaughan" |
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 (code INTEGER, density__inh_km²_ VARCHAR, land_area__hectares_ VARCHAR)
### Question:
How many codes have a density of 621.68, and a Land area (hectares) larger than 75.28?
### Answer:
SELECT SUM(code) FROM table_name_24 WHERE density__inh_km²_ = 621.68 AND land_area__hectares_ > 75.28 |
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 (away_team VARCHAR, home_team VARCHAR)
### Question:
What team was the away team when the home team was Grimsby Town?
### Answer:
SELECT away_team FROM table_name_24 WHERE home_team = "grimsby town" |
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_1939405_2 (latin_americans_2011 INTEGER, province VARCHAR)
### Question:
How many Latin Americans lived in 2011 in Saskatchewan?
### Answer:
SELECT MIN(latin_americans_2011) FROM table_1939405_2 WHERE province = "Saskatchewan" |
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_26263322_1 (age INTEGER, result VARCHAR)
### Question:
What is the age when the result is fired in week 8
### Answer:
SELECT MIN(age) FROM table_26263322_1 WHERE result = "Fired in 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_40 (to_par VARCHAR, score VARCHAR)
### Question:
What is the to par when the score is 73-69-67-74=283?
### Answer:
SELECT to_par FROM table_name_40 WHERE score = 73 - 69 - 67 - 74 = 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_name_58 (player VARCHAR, position VARCHAR, team VARCHAR)
### Question:
What is the name of the player with position of G and the team was the Washington Capitols?
### Answer:
SELECT player FROM table_name_58 WHERE position = "g" AND team = "washington capitols" |
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_1740431_3 (tamil_months VARCHAR, season_in_english VARCHAR)
### Question:
What are all Tamil months when the season in English is monsoon?
### Answer:
SELECT tamil_months FROM table_1740431_3 WHERE season_in_english = "Monsoon" |
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_18893428_1 (location VARCHAR, driver VARCHAR)
### Question:
What is the location that had a driver named Pierre de Caters?
### Answer:
SELECT location FROM table_18893428_1 WHERE driver = "Pierre de Caters" |
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 (gold INTEGER, bronze VARCHAR, total VARCHAR)
### Question:
Which Gold is the lowest one that has a Bronze of 14, and a Total larger than 42?
### Answer:
SELECT MIN(gold) FROM table_name_47 WHERE bronze = 14 AND total > 42 |
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_1342233_6 (district VARCHAR, result VARCHAR, candidates VARCHAR)
### Question:
what's the district with result being re-elected and candidates being clarence f. lea (d) unopposed
### Answer:
SELECT district FROM table_1342233_6 WHERE result = "Re-elected" AND candidates = "Clarence F. Lea (D) Unopposed" |
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_9 (prominence__m_ INTEGER, col__m_ INTEGER)
### Question:
Count the Prominence (m) of Col (m) smaller than 0?
### Answer:
SELECT AVG(prominence__m_) FROM table_name_9 WHERE col__m_ < 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_10577579_3 (current_conference VARCHAR, location VARCHAR)
### Question:
Which conference is in Jackson, Mississippi?
### Answer:
SELECT current_conference FROM table_10577579_3 WHERE location = "Jackson, Mississippi" |
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_7 (pick VARCHAR, position VARCHAR)
### Question:
What is the total pick number for a wide receiver?
### Answer:
SELECT COUNT(pick) FROM table_name_7 WHERE position = "wide receiver" |
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_43 (player VARCHAR, score VARCHAR)
### Question:
Which player has a score of 71-72=143?
### Answer:
SELECT player FROM table_name_43 WHERE score = 71 - 72 = 143 |
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 (distance VARCHAR, course VARCHAR)
### Question:
What is the distance for the course Civitavecchia to San Vincenzo?
### Answer:
SELECT distance FROM table_name_72 WHERE course = "civitavecchia to san vincenzo" |
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, opponent_in_the_final VARCHAR)
### Question:
What is Tournament, when Opponent In The Final is "Andre Agassi"?
### Answer:
SELECT tournament FROM table_name_49 WHERE opponent_in_the_final = "andre agassi" |
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 (Id VARCHAR)
### Question:
What is 1992, when 1999 is "Year-End Championship"?
### Answer:
SELECT 1992 FROM table_name_74 WHERE 1999 = "year-end championship" |
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 (bronze VARCHAR, gold VARCHAR, games VARCHAR, total VARCHAR, silver VARCHAR)
### Question:
Which Bronze has a Total larger than 7 and a Silver of 3, and a Games of summer, and a Gold of 5?
### Answer:
SELECT bronze FROM table_name_65 WHERE total > 7 AND silver = 3 AND games = "summer" AND gold = 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_name_60 (game INTEGER, opponent VARCHAR, november VARCHAR)
### Question:
What Vancouver canucks game was on a date closest to November 4?
### Answer:
SELECT MAX(game) FROM table_name_60 WHERE opponent = "vancouver canucks" AND november < 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_10 (grid INTEGER, laps VARCHAR, driver VARCHAR)
### Question:
What is Oriol Servia's average Grid on races with more than 43 laps?
### Answer:
SELECT AVG(grid) FROM table_name_10 WHERE laps > 43 AND driver = "oriol servia" |
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 (tournament VARCHAR, opponent_in_the_final VARCHAR)
### Question:
What was the name of the tournament that the final was played against Yi Jingqian?
### Answer:
SELECT tournament FROM table_name_89 WHERE opponent_in_the_final = "yi jingqian" |
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 (week_13_nov_23 VARCHAR, week_6_oct_5 VARCHAR)
### Question:
Which Week 13 Nov 23 has a Week 6 Oct 5 of oklahoma state (5-0)?
### Answer:
SELECT week_13_nov_23 FROM table_name_73 WHERE week_6_oct_5 = "oklahoma state (5-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_27277284_28 (ht VARCHAR, release_date VARCHAR)
### Question:
What's the ht for the model released on June 4, 2008?
### Answer:
SELECT ht FROM table_27277284_28 WHERE release_date = "June 4, 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_name_1 (transfer_window VARCHAR, name VARCHAR)
### Question:
What is the transfer window for Steven Thompson?
### Answer:
SELECT transfer_window FROM table_name_1 WHERE name = "steven thompson" |
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 (date VARCHAR, points VARCHAR, game__number VARCHAR)
### Question:
Which Date has Points smaller than 85 and a Game # of 74?
### Answer:
SELECT date FROM table_name_36 WHERE points < 85 AND game__number = 74 |
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_82 (losses INTEGER, wins VARCHAR, win__percentage VARCHAR)
### Question:
What is the high loss total for players with zero wins and a win % greater than 0?
### Answer:
SELECT MAX(losses) FROM table_name_82 WHERE wins = 0 AND win__percentage > 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_31 (cuts_made INTEGER, top_5 INTEGER)
### Question:
How many cuts made when the top-5 is greater than 1?
### Answer:
SELECT AVG(cuts_made) FROM table_name_31 WHERE top_5 > 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_39 (event VARCHAR, opponent VARCHAR, res VARCHAR, location VARCHAR)
### Question:
What event in guam did Tetsuji Kato win against patrick madayag?
### Answer:
SELECT event FROM table_name_39 WHERE res = "win" AND location = "guam" AND opponent = "patrick madayag" |
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_39 (lens_35mmequiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR)
### Question:
Tell me the lens zoom for aperture of model s2600
### Answer:
SELECT lens_35mmequiv__zoom, _aperture FROM table_name_39 WHERE model = "s2600" |
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_30 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
### Question:
What is the largest ethnic group of the settlement with the cyrillic name of банатско аранђелово?
### Answer:
SELECT largest_ethnic_group__2002_ FROM table_2562572_30 WHERE cyrillic_name_other_names = "Банатско Аранђелово" |
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 (country VARCHAR, class___type VARCHAR)
### Question:
What is Country, when Class / Type is "Three masted full rigged ship"?
### Answer:
SELECT country FROM table_name_2 WHERE class___type = "three masted full rigged ship" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.