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_name_53 (english VARCHAR, german VARCHAR)
### Question:
What's the English word for apfel?
### Answer:
SELECT english FROM table_name_53 WHERE german = "apfel" |
Below is an context that describes a 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 (sport VARCHAR, venue VARCHAR)
### Question:
What sport was played at the bosse field?
### Answer:
SELECT sport FROM table_name_25 WHERE venue = "bosse field" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2869837_1 (Shared VARCHAR, last_final VARCHAR)
### Question:
How many shared titles does the club whose last final was 2012 have?
### Answer:
SELECT Shared AS titles FROM table_2869837_1 WHERE last_final = 2012 |
Below is an context that describes a 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 (bullet_diameter VARCHAR, name VARCHAR)
### Question:
Which Bullet diameter has a Name of 11.4mm werndl m/73?
### Answer:
SELECT bullet_diameter FROM table_name_22 WHERE name = "11.4mm werndl m/73" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11703336_1 (cpu VARCHAR, year_released VARCHAR)
### Question:
What is the cpu of the calculator released in 1993?
### Answer:
SELECT cpu FROM table_11703336_1 WHERE year_released = "1993" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16295365_2 (school VARCHAR, conf_record VARCHAR)
### Question:
Name the school where conference record is 12-6
### Answer:
SELECT school FROM table_16295365_2 WHERE conf_record = "12-6" |
Below is an context that describes a 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 (number INTEGER, artist VARCHAR)
### Question:
What is the average number for Black Milk?
### Answer:
SELECT AVG(number) FROM table_name_18 WHERE artist = "black milk" |
Below is an context that describes a 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 (theme VARCHAR, issue_price VARCHAR)
### Question:
What was the theme when the issue price was $508.95?
### Answer:
SELECT theme FROM table_name_72 WHERE issue_price = "$508.95" |
Below is an context that describes a 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 (races INTEGER, pole VARCHAR, season VARCHAR)
### Question:
WHAT ARE THE RACES WITH A POLE SMALLER THAN 2 IN 2007?
### Answer:
SELECT MIN(races) FROM table_name_93 WHERE pole < 2 AND season = "2007" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24319661_5 (production_code VARCHAR, directed_by VARCHAR)
### Question:
What as the production code for the episode directed by Robert Duncan McNeill?
### Answer:
SELECT production_code FROM table_24319661_5 WHERE directed_by = "Robert Duncan McNeill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18646111_13 (round_1 VARCHAR, event VARCHAR)
### Question:
Name the round 1 for team event
### Answer:
SELECT round_1 FROM table_18646111_13 WHERE event = "Team" |
Below is an context that describes a 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_15 (silver INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR)
### Question:
What is the lowest silver that has 1 for the bronze, 1 as the total, 17 as the rank, with a gold less than 0?
### Answer:
SELECT MIN(silver) FROM table_name_15 WHERE bronze = 1 AND total = 1 AND rank = "17" AND gold < 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_1013129_3 (nationality VARCHAR, nhl_team VARCHAR)
### Question:
How many different nationalities do the players of New Jersey Devils come from?
### Answer:
SELECT COUNT(nationality) FROM table_1013129_3 WHERE nhl_team = "New Jersey Devils" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13618358_1 (income_poverty_f VARCHAR, exports__usd_mn__2011 VARCHAR)
### Question:
What was the depravitiy of earnings where international sales was 2470?
### Answer:
SELECT income_poverty_f FROM table_13618358_1 WHERE exports__usd_mn__2011 = 2470 |
Below is an context that describes a 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 (launch_date VARCHAR, deorbit_date VARCHAR)
### Question:
When did the ATV that deorbited on 29 september 2008, launch?
### Answer:
SELECT launch_date FROM table_name_93 WHERE deorbit_date = "29 september 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 Customers_Cards (card_type_code VARCHAR)
### Question:
Show the number of card types.
### Answer:
SELECT COUNT(DISTINCT card_type_code) FROM Customers_Cards |
Below is an context that describes a 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 (score VARCHAR, year VARCHAR, partner VARCHAR)
### Question:
Which Score has smaller than 1994, and a Partner of elizabeth sayers smylie?
### Answer:
SELECT score FROM table_name_54 WHERE year < 1994 AND partner = "elizabeth sayers smylie" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22606461_10 (rank VARCHAR)
### Question:
What is every entry for 1982-83 for rank 1?
### Answer:
SELECT 1982 AS _83 FROM table_22606461_10 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_88 (tournament VARCHAR)
### Question:
Which tournament has a 2011 of 1r?
### Answer:
SELECT tournament FROM table_name_88 WHERE 2011 = "1r" |
Below is an context that describes a 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 (skip VARCHAR, country VARCHAR)
### Question:
What is the skip when the country is finland?
### Answer:
SELECT skip FROM table_name_1 WHERE country = "finland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)
### Question:
Name the country that has the yen
### Answer:
SELECT country FROM table_2764267_2 WHERE currency = "Yen" |
Below is an context that describes a 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 (year INTEGER, nominee VARCHAR)
### Question:
When was the last time a nominee for Best Revival of a Musical was selected?
### Answer:
SELECT MAX(year) FROM table_name_98 WHERE nominee = "best revival of a musical" |
Below is an context that describes a 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 (nation VARCHAR, gold VARCHAR, bronze VARCHAR)
### Question:
For what nation is the gold medals 0, and the bronze medals less than 1?
### Answer:
SELECT nation FROM table_name_28 WHERE gold = 0 AND bronze < 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_2102714_1 (archive VARCHAR, run_time VARCHAR)
### Question:
What was the archive for the episode with a run time of 25:24?
### Answer:
SELECT archive FROM table_2102714_1 WHERE run_time = "25: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_name_96 (opponent VARCHAR, week VARCHAR, attendance VARCHAR)
### Question:
Who was the opponent after week 8 that had 72,190 people in attendance?
### Answer:
SELECT opponent FROM table_name_96 WHERE week > 8 AND attendance = "72,190" |
Below is an context that describes a 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 (area VARCHAR, decile VARCHAR, roll VARCHAR)
### Question:
Which area has a Decile of 9, and a Roll of 31?
### Answer:
SELECT area FROM table_name_98 WHERE decile = 9 AND roll = 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_66 (venue VARCHAR, competition VARCHAR)
### Question:
what is the venue when the competition is 1996 afc asian cup group stage?
### Answer:
SELECT venue FROM table_name_66 WHERE competition = "1996 afc asian cup group stage" |
Below is an context that describes a 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_92 (round VARCHAR, res VARCHAR, event VARCHAR)
### Question:
In what round was the loss at ufc 118?
### Answer:
SELECT round FROM table_name_92 WHERE res = "loss" AND event = "ufc 118" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18438494_3 (entered VARCHAR, time VARCHAR)
### Question:
How many entered the match with a time of 14:42?
### Answer:
SELECT entered FROM table_18438494_3 WHERE time = "14: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_name_56 (first_elected INTEGER, district VARCHAR)
### Question:
What is the greatest first elected for Pennsylvania 10?
### Answer:
SELECT MAX(first_elected) FROM table_name_56 WHERE district = "pennsylvania 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_60 (primary_conference VARCHAR, team_nickname VARCHAR)
### Question:
The Loggers are part of what Primary Conference?
### Answer:
SELECT primary_conference FROM table_name_60 WHERE team_nickname = "loggers" |
Below is an context that describes a 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_15 (height VARCHAR, pos VARCHAR, weight VARCHAR, club VARCHAR)
### Question:
What is the Height if the weight is kg (lb), the club is Sainte-foy and the pos is cf?
### Answer:
SELECT height FROM table_name_15 WHERE weight = "kg (lb)" AND club = "sainte-foy" AND pos = "cf" |
Below is an context that describes a 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 (Id VARCHAR)
### Question:
What Country has a number smaller than 56 in 2005 and of 14 in 2006?
### Answer:
SELECT COUNT(2004) FROM table_name_47 WHERE 2005 < 56 AND 2006 = 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_16 (year INTEGER, venue VARCHAR)
### Question:
What was the average year that the venue was Bokskogens?
### Answer:
SELECT AVG(year) FROM table_name_16 WHERE venue = "bokskogens" |
Below is an context that describes a 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 (tie_no VARCHAR, home_team VARCHAR)
### Question:
What is Tie no, when Home Team is "Gillingham"?
### Answer:
SELECT tie_no FROM table_name_96 WHERE home_team = "gillingham" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16537783_2 (parameter VARCHAR)
### Question:
Name the 1st stage for parameter being diameter
### Answer:
SELECT 1 AS st_stage FROM table_16537783_2 WHERE parameter = "Diameter" |
Below is an context that describes a 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 (method VARCHAR, record VARCHAR)
### Question:
Which method led to a record of 9-4?
### Answer:
SELECT method FROM table_name_61 WHERE record = "9-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_46 (platform_ VARCHAR, _frequency_ VARCHAR, mhz VARCHAR, model VARCHAR)
### Question:
What is the platform & frequency [MHz] of the whr-g54s model?
### Answer:
SELECT platform_ & _frequency_[mhz] FROM table_name_46 WHERE model = "whr-g54s" |
Below is an context that describes a 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 (score VARCHAR, away_team VARCHAR)
### Question:
What is the score when Fulham is the away team?
### Answer:
SELECT score FROM table_name_55 WHERE away_team = "fulham" |
Below is an context that describes a 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_51 (sales INTEGER, album_title VARCHAR)
### Question:
What is the highest sales All Saints had?
### Answer:
SELECT MAX(sales) FROM table_name_51 WHERE album_title = "all saints" |
Below is an context that describes a 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 (rank INTEGER, sites VARCHAR, circuit VARCHAR)
### Question:
what is the rank of the cinema when the number of sites is more than 62 and the circuit is cineplex entertainment?
### Answer:
SELECT SUM(rank) FROM table_name_3 WHERE sites > 62 AND circuit = "cineplex entertainment" |
Below is an context that describes a 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 (wkts INTEGER, ovrs INTEGER)
### Question:
If the Ovrs is less than 2, what's the average in Wkts?
### Answer:
SELECT AVG(wkts) FROM table_name_95 WHERE ovrs < 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 (game_3 VARCHAR, game_1 VARCHAR)
### Question:
Which Game 3 has a Game 1 of brett kenny?
### Answer:
SELECT game_3 FROM table_name_75 WHERE game_1 = "brett kenny" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12159115_2 (original_air_date VARCHAR, production_code VARCHAR)
### Question:
What's the original air date of the episode with production code 2T6719?
### Answer:
SELECT original_air_date FROM table_12159115_2 WHERE production_code = "2T6719" |
Below is an context that describes a 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 (rank VARCHAR, competition VARCHAR)
### Question:
What is the ranking of the UEFA Euro 2012 qualifying Group A competition?
### Answer:
SELECT rank 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_79 (type VARCHAR, faith VARCHAR, name VARCHAR)
### Question:
Faith of –, and a Name of greenway has what type?
### Answer:
SELECT type FROM table_name_79 WHERE faith = "–" AND name = "greenway" |
Below is an context that describes 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_population VARCHAR)
### Question:
Which district has the largest population?
### Answer:
SELECT district_name FROM district ORDER BY city_population 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_28220778_21 (high_rebounds VARCHAR, game VARCHAR)
### Question:
How many people had high rebounds in game 14?
### Answer:
SELECT COUNT(high_rebounds) FROM table_28220778_21 WHERE game = 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_9 (points INTEGER, place VARCHAR, position VARCHAR)
### Question:
Who had the smallest points in 3rd place but had a position greater than 8?
### Answer:
SELECT MIN(points) FROM table_name_9 WHERE place = "3rd" AND position > 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_90 (drawn VARCHAR, tries_against VARCHAR)
### Question:
What Drawn has a Tries against of 0?
### Answer:
SELECT drawn FROM table_name_90 WHERE tries_against = "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_87 (opponent VARCHAR, event VARCHAR)
### Question:
Who did he fight in Rumble of the Kings 6?
### Answer:
SELECT opponent FROM table_name_87 WHERE event = "rumble of the kings 6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22713796_14 (stage VARCHAR, mountains_classification VARCHAR)
### Question:
Name the total number of stage for lloyd mondory
### Answer:
SELECT COUNT(stage) FROM table_22713796_14 WHERE mountains_classification = "Lloyd Mondory" |
Below is an context that describes a 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 (episode VARCHAR, performer_3 VARCHAR)
### Question:
What is the total number of episodes where hugh laurie was the 3rd performer?
### Answer:
SELECT COUNT(episode) FROM table_name_70 WHERE performer_3 = "hugh laurie" |
Below is an context that describes a 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 (lead_tpt VARCHAR, bass VARCHAR, alto_1 VARCHAR)
### Question:
Name the lead tpt for bass of kevin tomanka and alto 1 of alan moffett
### Answer:
SELECT lead_tpt FROM table_name_68 WHERE bass = "kevin tomanka" AND alto_1 = "alan moffett" |
Below is an context that describes a 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 (to_par VARCHAR, country VARCHAR, score VARCHAR)
### Question:
With a score of 68-65=133 and United States as the country what is the To par?
### Answer:
SELECT to_par FROM table_name_66 WHERE country = "united states" AND score = 68 - 65 = 133 |
Below is an context that describes a 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 (award VARCHAR, producer_s_ VARCHAR)
### Question:
What award did Andrew Ryder win as producer?
### Answer:
SELECT award FROM table_name_40 WHERE producer_s_ = "andrew ryder" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE manufacturers (founder VARCHAR, name VARCHAR)
### Question:
Who is the founder of Sony?
### Answer:
SELECT founder FROM manufacturers WHERE name = 'Sony' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Allergy_type (allergytype VARCHAR)
### Question:
Which allergy type has most number of allergies?
### Answer:
SELECT allergytype FROM Allergy_type GROUP BY allergytype 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_18760137_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)
### Question:
Name the most numbers dam and gnis query link for borough or census area for fairbanks north star
### Answer:
SELECT MAX(_number_s_dam_and_gnis_query_link) FROM table_18760137_2 WHERE borough_or_census_area = "Fairbanks North Star" |
Below is an context that describes a 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 (player VARCHAR, round INTEGER)
### Question:
Which Player has a Round smaller than 2?
### Answer:
SELECT player FROM table_name_69 WHERE round < 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_61 (builder’s_model VARCHAR, service VARCHAR, prr_class VARCHAR)
### Question:
What was the model for PRR class of gf28a freight?
### Answer:
SELECT builder’s_model FROM table_name_61 WHERE service = "freight" AND prr_class = "gf28a" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30133_3 (gap_from_thailand_as_of_2012__times_ VARCHAR, gap_from_thailand_as_of_1980__times_ VARCHAR)
### Question:
What is the gap from Thailand as of 2012 for the country whose 1980 gap was 0.29?
### Answer:
SELECT gap_from_thailand_as_of_2012__times_ FROM table_30133_3 WHERE gap_from_thailand_as_of_1980__times_ = "0.29" |
Below is an context that describes a 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 (points_difference VARCHAR, points_against VARCHAR)
### Question:
When there were 767 points, what was the point difference?
### Answer:
SELECT points_difference FROM table_name_34 WHERE points_against = "767" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE products (product_type_code VARCHAR)
### Question:
Find the number of different product types.
### Answer:
SELECT COUNT(DISTINCT product_type_code) FROM products |
Below is an context that describes a 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 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR)
### Question:
What is the total number of wins for Darley of Ballarat FL against larger than 1055?
### Answer:
SELECT COUNT(wins) FROM table_name_96 WHERE ballarat_fl = "darley" AND against > 1055 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13758945_3 (points_against VARCHAR, tries_for VARCHAR)
### Question:
how many points against with tries for being 43
### Answer:
SELECT COUNT(points_against) FROM table_13758945_3 WHERE tries_for = "43" |
Below is an context that describes a 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 (film_of_the_year VARCHAR, date VARCHAR)
### Question:
Which movie was awarded Film of the Year on May 8, 1964?
### Answer:
SELECT film_of_the_year FROM table_name_2 WHERE date = "may 8, 1964" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18438494_3 (time VARCHAR, wrestler VARCHAR)
### Question:
What was the time for the match with Cena?
### Answer:
SELECT time FROM table_18438494_3 WHERE wrestler = "Cena" |
Below is an context that describes a 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 (date VARCHAR, venue VARCHAR)
### Question:
What date has alamodome, san antonio, united states as the venue?
### Answer:
SELECT date FROM table_name_63 WHERE venue = "alamodome, san antonio, 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_27 (game VARCHAR, date VARCHAR)
### Question:
what game was on may 24
### Answer:
SELECT game FROM table_name_27 WHERE date = "may 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_name_21 (attendance VARCHAR, week VARCHAR)
### Question:
What was the Jets week 17 attendance?
### Answer:
SELECT attendance FROM table_name_21 WHERE week = 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_81 (games INTEGER, year INTEGER)
### Question:
After the 2013 season, what was the fewest number of games that Willis McGahee played in a single season?
### Answer:
SELECT MIN(games) FROM table_name_81 WHERE year > 2013 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15038373_1 (license VARCHAR, version VARCHAR)
### Question:
How many licenses have version 1.2.2.0?
### Answer:
SELECT COUNT(license) FROM table_15038373_1 WHERE version = "1.2.2.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_1139835_3 (winners VARCHAR, season_result VARCHAR)
### Question:
who is the winners where season result is 9th
### Answer:
SELECT winners FROM table_1139835_3 WHERE season_result = "9th" |
Below is an context that describes a 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_48 (report VARCHAR, home_team VARCHAR)
### Question:
what report was in geelong
### Answer:
SELECT report FROM table_name_48 WHERE home_team = "geelong" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2181798_1 (year VARCHAR, team_s_ VARCHAR)
### Question:
Name the year for donlavey racing bill davis racing
### Answer:
SELECT year FROM table_2181798_1 WHERE team_s_ = "Donlavey Racing Bill Davis Racing" |
Below is an context that describes a 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 (country VARCHAR, rank VARCHAR)
### Question:
What nationality is the player ranked 2?
### Answer:
SELECT country FROM table_name_83 WHERE rank = 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_1342013_10 (candidates VARCHAR, incumbent VARCHAR)
### Question:
How many candidates ran in the race where the incumbent is J. L. Pilcher?
### Answer:
SELECT COUNT(candidates) FROM table_1342013_10 WHERE incumbent = "J. L. Pilcher" |
Below is an context that describes 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, pID VARCHAR); CREATE TABLE player (pID VARCHAR, pName VARCHAR)
### Question:
Which colleges do the tryout players whose name starts with letter D go to?
### Answer:
SELECT T1.cName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID WHERE T2.pName LIKE 'D%' |
Below is an context that describes a 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 (fuel_propulsion VARCHAR, year VARCHAR, numbers__quantity_ordered_ VARCHAR)
### Question:
For the year 1975, what is Propulsion, with a Number (quantity ordered) of 4756-4788 (33 buses)?
### Answer:
SELECT fuel_propulsion FROM table_name_41 WHERE year = 1975 AND numbers__quantity_ordered_ = "4756-4788 (33 buses)" |
Below is an context that describes a 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 (webkit VARCHAR, prince_xml VARCHAR)
### Question:
For the item with a Prince XML value of 'font', what is the WebKit value?
### Answer:
SELECT webkit FROM table_name_71 WHERE prince_xml = "font" |
Below is an context that describes a 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 (finish VARCHAR, player VARCHAR)
### Question:
What was Tom Weiskopf's Finish?
### Answer:
SELECT finish FROM table_name_54 WHERE player = "tom weiskopf" |
Below is an context that describes a 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 (money__ INTEGER, round_1 VARCHAR)
### Question:
Round 1 of 71 has how many highest money?
### Answer:
SELECT MAX(money__) AS $_ FROM table_name_33 WHERE round_1 = "71" |
Below is an context that describes a 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_57 (position VARCHAR, school VARCHAR)
### Question:
What is the position of a player from North Carolina?
### Answer:
SELECT position FROM table_name_57 WHERE school = "north carolina" |
Below is an context that describes a 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 (club VARCHAR, runners_up VARCHAR)
### Question:
Which club had 13 runners-up?
### Answer:
SELECT club FROM table_name_27 WHERE runners_up = "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 table_name_95 (venue VARCHAR, competition VARCHAR, date VARCHAR)
### Question:
What venue held the 1966 fifa world cup qualification on may 7, 1965?
### Answer:
SELECT venue FROM table_name_95 WHERE competition = "1966 fifa world cup qualification" AND date = "may 7, 1965" |
Below is an context that describes a 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 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
### Question:
What is the average lap total for grids under 19 and a Time/Retired of +4 laps?
### Answer:
SELECT AVG(laps) FROM table_name_63 WHERE time_retired = "+4 laps" AND grid < 19 |
Below is an context that describes a 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_78 (attendance VARCHAR, date VARCHAR)
### Question:
How many people attended on december 26, 1982?
### Answer:
SELECT attendance FROM table_name_78 WHERE date = "december 26, 1982" |
Below is an context that describes a 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 (date VARCHAR, away_team VARCHAR)
### Question:
What date is aston villa away?
### Answer:
SELECT date FROM table_name_67 WHERE away_team = "aston villa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25548630_1 (podiums INTEGER)
### Question:
What is the least amount of podiums?
### Answer:
SELECT MIN(podiums) FROM table_25548630_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_75 (name VARCHAR, rank VARCHAR, year VARCHAR)
### Question:
I want the name for rank less than 6 and year more than 1974
### Answer:
SELECT name FROM table_name_75 WHERE rank < 6 AND year > 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_24057191_2 (end_date VARCHAR, average_viewers__millions_ VARCHAR)
### Question:
How many different end dates are there for the series seen by 4.2 million people?
### Answer:
SELECT COUNT(end_date) FROM table_24057191_2 WHERE average_viewers__millions_ = "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_92 (winning__percentage VARCHAR, seasons VARCHAR, coach VARCHAR)
### Question:
how many times is the seasons 2 and the coach guy lowman?
### Answer:
SELECT COUNT(winning__percentage) FROM table_name_92 WHERE seasons = 2 AND coach = "guy lowman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13688489_1 (goals_olimpia VARCHAR, matches VARCHAR)
### Question:
How many goals Olimpia recorded for 32 matches?
### Answer:
SELECT COUNT(goals_olimpia) FROM table_13688489_1 WHERE matches = 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_72 (record VARCHAR, home VARCHAR)
### Question:
Which Record has a home of Nashville?
### Answer:
SELECT record FROM table_name_72 WHERE home = "nashville" |
Below is an context that describes a 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 (score INTEGER, place VARCHAR, player VARCHAR)
### Question:
What was T3 player Lee Janzen's score?
### Answer:
SELECT MIN(score) FROM table_name_1 WHERE place = "t3" AND player = "lee janzen" |
Below is an context that describes a 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 (attendance VARCHAR, points VARCHAR, date VARCHAR)
### Question:
What was the attendance for the March 6 game, where one of the teams had 53 points.
### Answer:
SELECT attendance FROM table_name_55 WHERE points = 53 AND date = "march 6" |
Below is an context that describes a 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 (result VARCHAR, category VARCHAR)
### Question:
what is the result when the category is best sound design?
### Answer:
SELECT result FROM table_name_28 WHERE category = "best sound design" |
Below is an context that describes a 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_5 (date VARCHAR, away_team VARCHAR)
### Question:
What was the date when Footscray was the away team?
### Answer:
SELECT date FROM table_name_5 WHERE away_team = "footscray" |
Below is an context that describes a 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 (attendance VARCHAR, opponent VARCHAR)
### Question:
Can you tell me the Attendance that has the Opponent of new york giants?
### Answer:
SELECT attendance FROM table_name_70 WHERE opponent = "new york giants" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.