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_65 (death_date VARCHAR, rank VARCHAR, age__as_of_1_february_2014_ VARCHAR)
### Question:
Which Death date has a Rank smaller than 49, and an Age (as of 1 February 2014) of 112 years, 172 days?
### Answer:
SELECT death_date FROM table_name_65 WHERE rank < 49 AND age__as_of_1_february_2014_ = "112 years, 172 days" |
Below is an context that describes a sql 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 (date_made VARCHAR, names VARCHAR)
### Question:
What is the date of the locomotive named Blacklion Glencar?
### Answer:
SELECT date_made FROM table_name_69 WHERE names = "blacklion glencar" |
Below is an context that describes a sql 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 (roll INTEGER, area VARCHAR)
### Question:
What was the sum roll of Karaka area?
### Answer:
SELECT SUM(roll) FROM table_name_53 WHERE area = "karaka" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (overall INTEGER, round VARCHAR, position VARCHAR)
### Question:
Which average overall has a Round of 1, and a Position of center?
### Answer:
SELECT AVG(overall) FROM table_name_80 WHERE round = 1 AND position = "center" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20872722_1 (position VARCHAR, weight VARCHAR)
### Question:
Which position has 225lb as weight?
### Answer:
SELECT position FROM table_20872722_1 WHERE weight = "225lb" |
Below is an context that describes a sql 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 (second INTEGER, first VARCHAR, total VARCHAR, premier VARCHAR)
### Question:
What is the sum of Second, when Total is less than 70, when Premier is less than 20, and when First is greater than 18?
### Answer:
SELECT SUM(second) FROM table_name_1 WHERE total < 70 AND premier < 20 AND first > 18 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2266230_1 (manufacturer VARCHAR, driver VARCHAR, year VARCHAR)
### Question:
Name the manufacturer for cale yarborough for 1984
### Answer:
SELECT manufacturer FROM table_2266230_1 WHERE driver = "Cale Yarborough" AND year = "1984" |
Below is an context that describes a sql 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 (wins INTEGER, top_25 INTEGER)
### Question:
What is the average wins has Top-25 less than 0?
### Answer:
SELECT AVG(wins) FROM table_name_66 WHERE top_25 < 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_14850099_18 (cardinal_direction VARCHAR, planet VARCHAR)
### Question:
What is the cardinal direction associated with Venus?
### Answer:
SELECT cardinal_direction FROM table_14850099_18 WHERE planet = "Venus" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19451173_1 (division_titles VARCHAR, win_pct VARCHAR)
### Question:
How many division titles are there when the win pc is .558?
### Answer:
SELECT division_titles FROM table_19451173_1 WHERE win_pct = ".558" |
Below is an context that describes a sql 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 (rank INTEGER, location VARCHAR)
### Question:
What is augusta's low rank?
### Answer:
SELECT MIN(rank) FROM table_name_58 WHERE location = "augusta" |
Below is an context that describes a sql 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 (population__hervey_bay_ VARCHAR, population__woocoo_ VARCHAR, population__maryborough_ VARCHAR)
### Question:
Name the total number of population hervey bay with population woocoo less than 640 and population of maryborough less than 19,257
### Answer:
SELECT COUNT(population__hervey_bay_) FROM table_name_94 WHERE population__woocoo_ < 640 AND population__maryborough_ < 19 OFFSET 257 |
Below is an context that describes a sql 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 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR)
### Question:
Which High rebounds has a Game smaller than 9, and a Opponent of detroit?
### Answer:
SELECT high_rebounds FROM table_name_94 WHERE game < 9 AND opponent = "detroit" |
Below is an context that describes a sql 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 (week_12 VARCHAR, week_1 VARCHAR, week_2 VARCHAR)
### Question:
What is the week 12 nomination that had a week 1 nomination of Maria Maxine and a week 2 nomination of Henri Satu?
### Answer:
SELECT week_12 FROM table_name_1 WHERE week_1 = "maria maxine" AND week_2 = "henri satu" |
Below is an context that describes a sql 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 (type VARCHAR, formed_from VARCHAR)
### Question:
Name the typed for formed from 6-pul trailer third in res unit
### Answer:
SELECT type FROM table_name_40 WHERE formed_from = "6-pul trailer third in res unit" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course_arrange (Teacher_ID VARCHAR)
### Question:
Show names of teachers that teach at least two courses.
### Answer:
SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 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_1745843_6 (class VARCHAR, part_3 VARCHAR)
### Question:
How many different classes of verbs are there whose part 3 is lucon?
### Answer:
SELECT COUNT(class) FROM table_1745843_6 WHERE part_3 = "lucon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (date VARCHAR, high_assists VARCHAR, high_points VARCHAR)
### Question:
On which date was Raymond Felton (6) the high assists and Jason Richardson (42) the high points?
### Answer:
SELECT date FROM table_name_32 WHERE high_assists = "raymond felton (6)" AND high_points = "jason richardson (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_19 (tries_against VARCHAR, drawn VARCHAR, points VARCHAR)
### Question:
How many tries against did the club with 1 drawn and 41 points have?
### Answer:
SELECT tries_against FROM table_name_19 WHERE drawn = "1" AND points = "41" |
Below is an context that describes a sql 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 (start VARCHAR, tries VARCHAR, conv VARCHAR)
### Question:
Which Start has 8 Tries and 0 Convs?
### Answer:
SELECT start FROM table_name_58 WHERE tries = "8" AND conv = "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_56 (set_3 VARCHAR, date VARCHAR, score VARCHAR, time VARCHAR)
### Question:
Which Set 3 has a Score of 0–3, a Time of 18:30, and a Date of july 10?
### Answer:
SELECT set_3 FROM table_name_56 WHERE score = "0–3" AND time = "18:30" AND date = "july 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_84 (season VARCHAR, champion VARCHAR)
### Question:
What season has the champion of Nicolas Kiesa?
### Answer:
SELECT season FROM table_name_84 WHERE champion = "nicolas kiesa" |
Below is an context that describes a sql 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 (team VARCHAR, record VARCHAR)
### Question:
Which Team has a Record of 32–50?
### Answer:
SELECT team FROM table_name_24 WHERE record = "32–50" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2345558_1 (_number INTEGER, us_viewers__millions_ VARCHAR)
### Question:
What is the number of the episode seen by 1.370 million people in the US?
### Answer:
SELECT MAX(_number) FROM table_2345558_1 WHERE us_viewers__millions_ = "1.370" |
Below is an context that describes a sql 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 (top_5 INTEGER, cuts_made INTEGER)
### Question:
what is the average top-5 when the cuts made is more than 34?
### Answer:
SELECT AVG(top_5) FROM table_name_1 WHERE cuts_made > 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_17288861_9 (high_assists VARCHAR, score VARCHAR)
### Question:
Name the high assists for l 93–103 (ot)
### Answer:
SELECT high_assists FROM table_17288861_9 WHERE score = "L 93–103 (OT)" |
Below is an context that describes a sql 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 (pennant VARCHAR, name VARCHAR)
### Question:
What pennant does Narbada have?
### Answer:
SELECT pennant FROM table_name_13 WHERE name = "narbada" |
Below is an context that describes a sql 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 (round INTEGER, overall VARCHAR, pick VARCHAR)
### Question:
What is the highest round that has an overall of 143 and a pick greater than 6?
### Answer:
SELECT MAX(round) FROM table_name_36 WHERE overall = 143 AND pick > 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_19874169_3 (frequency VARCHAR, branding VARCHAR)
### Question:
From brand Yes! FM 101.1, what was the frequency?
### Answer:
SELECT frequency FROM table_19874169_3 WHERE branding = "YES! FM 101.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_50 (place VARCHAR, player VARCHAR)
### Question:
What was Stacy Lewis' place?
### Answer:
SELECT place FROM table_name_50 WHERE player = "stacy lewis" |
Below is an context that describes a sql 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 (original_title VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
What is the Original Title, when Director is "Ting Shan-Si", and when Film Title Used In Nomination is "The 800 Heroes"?
### Answer:
SELECT original_title FROM table_name_73 WHERE director = "ting shan-si" AND film_title_used_in_nomination = "the 800 heroes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (constructor VARCHAR, driver VARCHAR)
### Question:
For which constructor does Juan Manuel Fangio drive?
### Answer:
SELECT constructor FROM table_name_59 WHERE driver = "juan manuel fangio" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE VOTING_RECORD (Registration_Date VARCHAR, Election_Cycle VARCHAR)
### Question:
Report the distinct registration date and the election cycle.
### Answer:
SELECT DISTINCT Registration_Date, Election_Cycle FROM VOTING_RECORD |
Below is an context that describes a sql 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 (label VARCHAR, catalog VARCHAR)
### Question:
What Label has a Catalog of 486 136-2?
### Answer:
SELECT label FROM table_name_13 WHERE catalog = "486 136-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_43 (season VARCHAR, last_air_date VARCHAR)
### Question:
Which season had its last episode air on March 11, 2001?
### Answer:
SELECT season FROM table_name_43 WHERE last_air_date = "march 11, 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_89 (away_team VARCHAR, home_team VARCHAR)
### Question:
What is the away team from st kilda?
### Answer:
SELECT away_team FROM table_name_89 WHERE home_team = "st kilda" |
Below is an context that describes a sql 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 (tries INTEGER, conv VARCHAR, start VARCHAR, player VARCHAR)
### Question:
What is the average number of tries that has a start larger than 32, is a player of seremaia bai that also has a conversion score larger than 47?
### Answer:
SELECT AVG(tries) FROM table_name_22 WHERE start > 32 AND player = "seremaia bai" AND conv > 47 |
Below is an context that describes a sql 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 (car_numbers VARCHAR, first_used VARCHAR)
### Question:
Which Car numbers have a First used of currently on order?
### Answer:
SELECT car_numbers FROM table_name_37 WHERE first_used = "currently on order" |
Below is an context that describes a sql 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 (attendance INTEGER, record VARCHAR)
### Question:
What was the Blue Jays lowest attendance when their record was 52-48?
### Answer:
SELECT MIN(attendance) FROM table_name_52 WHERE record = "52-48" |
Below is an context that describes a sql 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 (sr INTEGER, average VARCHAR, balls_faced VARCHAR)
### Question:
Which average S.R. has an Average of 39.13 and Balls Faced larger than 318?
### Answer:
SELECT AVG(sr) FROM table_name_48 WHERE average = 39.13 AND balls_faced > 318 |
Below is an context that describes a sql 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, to_par VARCHAR, player VARCHAR)
### Question:
What is the country of player chi-chi rodríguez, who has an e to par?
### Answer:
SELECT country FROM table_name_2 WHERE to_par = "e" AND player = "chi-chi rodríguez" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
What is the home team for victoria park?
### Answer:
SELECT home_team FROM table_name_93 WHERE venue = "victoria park" |
Below is an context that describes a sql 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 (event VARCHAR, res VARCHAR, record VARCHAR)
### Question:
Which Event has a Resolution of loss, and a Record of 12–2?
### Answer:
SELECT event FROM table_name_56 WHERE res = "loss" AND record = "12–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_6 (place VARCHAR, weapon VARCHAR)
### Question:
What is Place, when Weapon is "35mm/Small arms fire"?
### Answer:
SELECT place FROM table_name_6 WHERE weapon = "35mm/small arms fire" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16423070_4 (soccer VARCHAR, softball VARCHAR, volleyball VARCHAR, cross_country VARCHAR)
### Question:
Who won soccer when madison won volleyball, lexington won cross country and orrville won softball
### Answer:
SELECT soccer FROM table_16423070_4 WHERE volleyball = "Madison" AND cross_country = "Lexington" AND softball = "Orrville" |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
Which team plays at the Arden Street Oval?
### Answer:
SELECT away_team FROM table_name_97 WHERE venue = "arden street oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29506171_2 (cuts_made INTEGER, earnings___€__ VARCHAR)
### Question:
How many cuts did Reid make in the year when her earnings were n/a?
### Answer:
SELECT MAX(cuts_made) FROM table_29506171_2 WHERE earnings___€__ = "n/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_20183474_1 (press_jury INTEGER, artist VARCHAR)
### Question:
How many press jury points did the song by Frank Aleksandersen get?
### Answer:
SELECT MIN(press_jury) FROM table_20183474_1 WHERE artist = "Frank Aleksandersen" |
Below is an context that describes a sql 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 (ryuji_hijikata VARCHAR, taka_michinoku VARCHAR)
### Question:
Tell me the Ryuji Hijikata for TAKA Michinoku of Hayashi (28:05)
### Answer:
SELECT ryuji_hijikata FROM table_name_39 WHERE taka_michinoku = "hayashi (28:05)" |
Below is an context that describes a sql 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 (score VARCHAR, decision VARCHAR, date VARCHAR)
### Question:
What's the score on january 5 with a hasek decision?
### Answer:
SELECT score FROM table_name_28 WHERE decision = "hasek" AND date = "january 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_8 (round INTEGER, time VARCHAR, event VARCHAR)
### Question:
What is the lwoest round of wild bill's fight night 21 at 5:00?
### Answer:
SELECT MIN(round) FROM table_name_8 WHERE time = "5:00" AND event = "wild bill's fight night 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_21 (type VARCHAR, reported_price VARCHAR, person_s_ VARCHAR)
### Question:
What type of photos of Angelina Jolie cost $500,000?
### Answer:
SELECT type FROM table_name_21 WHERE reported_price = "$500,000" AND person_s_ = "angelina jolie" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27539272_7 (january INTEGER, record VARCHAR)
### Question:
On what day in January was the record 15-29-3?
### Answer:
SELECT MAX(january) FROM table_27539272_7 WHERE record = "15-29-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_29486189_4 (representative VARCHAR, first_elected VARCHAR, residence VARCHAR)
### Question:
how many representatives from hanover twp were first elected in 2008
### Answer:
SELECT COUNT(representative) FROM table_29486189_4 WHERE first_elected = "2008" AND residence = "Hanover Twp" |
Below is an context that describes a sql 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 (description VARCHAR, year_of_issue VARCHAR, weight VARCHAR)
### Question:
Which Description has a Year of Issue of 1983, and a Weight of 3.50grams?
### Answer:
SELECT description FROM table_name_67 WHERE year_of_issue = 1983 AND weight = "3.50grams" |
Below is an context that describes a sql 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 (prev VARCHAR, chng VARCHAR, rating VARCHAR)
### Question:
Can you tell me the total number of Prev that has the Chng of +10, and the Rating larger than 2765?
### Answer:
SELECT COUNT(prev) FROM table_name_26 WHERE chng = "+10" AND rating > 2765 |
Below is an context that describes a sql 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 (film_title_used_in_nomination VARCHAR, language VARCHAR, original_name VARCHAR)
### Question:
What is the title of the German film that is originally called Mama, Ich Lebe?
### Answer:
SELECT film_title_used_in_nomination FROM table_name_14 WHERE language = "german" AND original_name = "mama, ich lebe" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE captain (rank VARCHAR)
### Question:
How many captains are in each rank?
### Answer:
SELECT COUNT(*), rank FROM captain GROUP BY rank |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22347090_6 (no_in_series INTEGER, production_code VARCHAR)
### Question:
What episode number in the series had a production code of 3x7554?
### Answer:
SELECT MIN(no_in_series) FROM table_22347090_6 WHERE production_code = "3X7554" |
Below is an context that describes a sql 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 (gold VARCHAR, sport VARCHAR, bronze VARCHAR)
### Question:
When tennis has less than 2 bronze, what is the total number of Gold?
### Answer:
SELECT COUNT(gold) FROM table_name_53 WHERE sport = "tennis" AND 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_1670921_2 (runs VARCHAR, fielding_team VARCHAR)
### Question:
How many runs when bangladesh was the fielding team?
### Answer:
SELECT runs FROM table_1670921_2 WHERE fielding_team = "Bangladesh" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16376436_1 (pick__number INTEGER, player VARCHAR)
### Question:
What is the pick number for the player Garry Lewis?
### Answer:
SELECT MIN(pick__number) FROM table_16376436_1 WHERE player = "Garry Lewis" |
Below is an context that describes a sql 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 (attendance INTEGER, decision VARCHAR, record VARCHAR)
### Question:
How many people attended the game with parent recording the decision and a Record of 42–18–10?
### Answer:
SELECT SUM(attendance) FROM table_name_52 WHERE decision = "parent" AND record = "42–18–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_86 (year VARCHAR, location VARCHAR, date VARCHAR)
### Question:
Which Year has a Location of dinas on 13 january?
### Answer:
SELECT year FROM table_name_86 WHERE location = "dinas" AND date = "13 january" |
Below is an context that describes a 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 (represents VARCHAR, hometown VARCHAR)
### Question:
Name the represents for los alcarrizos
### Answer:
SELECT represents FROM table_26301697_2 WHERE hometown = "Los Alcarrizos" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23614702_1 (built_year VARCHAR, tons___lton__ VARCHAR)
### Question:
In how many different years was the warship that weights 1130 tons built?
### Answer:
SELECT COUNT(built_year) FROM table_23614702_1 WHERE tons___lton__ = 1130 |
Below is an context that describes a sql 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 (established VARCHAR, league VARCHAR, championships VARCHAR)
### Question:
What is the Established date of the Ontario Provincial Junior A Hockey League with more than 1 Championship?
### Answer:
SELECT COUNT(established) FROM table_name_58 WHERE league = "ontario provincial junior a hockey" AND championships > 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_27715173_8 (high_points VARCHAR, team VARCHAR)
### Question:
how many times is the team oklahoma city?
### Answer:
SELECT COUNT(high_points) FROM table_27715173_8 WHERE team = "Oklahoma 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_15 (track INTEGER, time VARCHAR, writer_s_ VARCHAR)
### Question:
What is the highest track with a length of 1:54 written by Gene Autry and Oakley Haldeman?
### Answer:
SELECT MAX(track) FROM table_name_15 WHERE time = "1:54" AND writer_s_ = "gene autry and oakley haldeman" |
Below is an context that describes a sql 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 (album VARCHAR, year VARCHAR, title VARCHAR)
### Question:
What album came out before 2008 called We're not Made in the USA?
### Answer:
SELECT album FROM table_name_93 WHERE year < 2008 AND title = "we're not made in the usa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (visitor VARCHAR, record VARCHAR)
### Question:
Who was the visiting team when the record was 6–12–5–1?
### Answer:
SELECT visitor FROM table_name_4 WHERE record = "6–12–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 procedures (name VARCHAR, cost VARCHAR)
### Question:
List the name and cost of all procedures sorted by the cost from the highest to the lowest.
### Answer:
SELECT name, cost FROM procedures ORDER BY cost DESC |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (method VARCHAR, opponent VARCHAR)
### Question:
What was the method in the fight against Chris Myers?
### Answer:
SELECT method FROM table_name_15 WHERE opponent = "chris myers" |
Below is an context that describes a sql 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 (name VARCHAR, moving_to VARCHAR)
### Question:
WHAT IS THE NAME WITH BAYER LEVERKUSEN?
### Answer:
SELECT name FROM table_name_53 WHERE moving_to = "bayer leverkusen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2226817_9 (title VARCHAR, no_in_series VARCHAR)
### Question:
What is the name of episode 165?
### Answer:
SELECT title FROM table_2226817_9 WHERE no_in_series = 165 |
Below is an context that describes a sql 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 (player VARCHAR, total VARCHAR, year_s__won VARCHAR)
### Question:
Who won in 1988 with a total less than 287?
### Answer:
SELECT player FROM table_name_21 WHERE total < 287 AND year_s__won = "1988" |
Below is an context that describes a sql 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 (school VARCHAR, location VARCHAR)
### Question:
What school is in Ligonier?
### Answer:
SELECT school FROM table_name_11 WHERE location = "ligonier" |
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR)
### Question:
Which date has china as the venue?
### Answer:
SELECT date FROM table_name_25 WHERE venue = "china" |
Below is an context that describes a sql 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 (time VARCHAR, round VARCHAR, record VARCHAR)
### Question:
What is the time of the match with 3 rounds and a 9-3 record?
### Answer:
SELECT time FROM table_name_52 WHERE round = 3 AND record = "9-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_10 (Id VARCHAR)
### Question:
What was in 2007 that has a 3r of 1999?
### Answer:
SELECT 2007 FROM table_name_10 WHERE 1999 = "3r" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1965650_1 (college_junior_club_team VARCHAR, player VARCHAR)
### Question:
Name the college/junior club team for ian turnbull
### Answer:
SELECT college_junior_club_team FROM table_1965650_1 WHERE player = "Ian Turnbull" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2538117_12 (organization VARCHAR, founding_date VARCHAR)
### Question:
What organization had the founding date of 1998-11-08?
### Answer:
SELECT organization FROM table_2538117_12 WHERE founding_date = "1998-11-08" |
Below is an context that describes a sql 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 (south VARCHAR, west VARCHAR, east VARCHAR)
### Question:
Who was in the South when TSV Kottern was in the West and EHF Passau was in the East?
### Answer:
SELECT south FROM table_name_40 WHERE west = "tsv kottern" AND east = "ehf passau" |
Below is an context that describes a sql 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 (pop__2010_ INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR, county VARCHAR)
### Question:
What is the total population in 2010 for the township located in Mountrail which has land less than 34.424 sq miles and a GEO ID less than 3806159940?
### Answer:
SELECT SUM(pop__2010_) FROM table_name_17 WHERE land___sqmi__ < 34.424 AND county = "mountrail" AND geo_id < 3806159940 |
Below is an context that describes a sql 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 (qual VARCHAR, rank VARCHAR)
### Question:
What is the qual for rank 20?
### Answer:
SELECT qual FROM table_name_5 WHERE rank = "20" |
Below is an context that describes 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 (f_id VARCHAR, resolution INTEGER, rating INTEGER)
### Question:
What is ids of the songs whose resolution is higher than the resolution of any songs with rating lower than 8?
### Answer:
SELECT f_id FROM song WHERE resolution > (SELECT MAX(resolution) FROM song WHERE rating < 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_7 (silver INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR)
### Question:
I want to know the highest silver for total of 4 for poland and gold less than 1
### Answer:
SELECT MAX(silver) FROM table_name_7 WHERE total = 4 AND nation = "poland" AND gold < 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_64 (pat_robertson VARCHAR, george_hw_bush VARCHAR)
### Question:
At what percent was Pat Robertson when George H.W. Bush had 76%?
### Answer:
SELECT pat_robertson FROM table_name_64 WHERE george_hw_bush = "76%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (airport VARCHAR, iata VARCHAR)
### Question:
VIE is the IATA for which city?
### Answer:
SELECT airport FROM table_name_80 WHERE iata = "vie" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342149_24 (result VARCHAR, district VARCHAR)
### Question:
Name the result for mississippi 2
### Answer:
SELECT result FROM table_1342149_24 WHERE district = "Mississippi 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_88 (championship VARCHAR, winning_score VARCHAR)
### Question:
Which championship has a winning score of (77-76-74-73=300)?
### Answer:
SELECT championship FROM table_name_88 WHERE winning_score = (77 - 76 - 74 - 73 = 300) |
Below is an context that describes a sql 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 (year INTEGER, finish VARCHAR, stage VARCHAR)
### Question:
What year was finish Toulouse, and stage was larger than 12?
### Answer:
SELECT SUM(year) FROM table_name_90 WHERE finish = "toulouse" AND stage > 12 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE t (Id VARCHAR)
### Question:
The Roman value of t is associated with what allophone?
### Answer:
SELECT sound__allophone_ FROM "t" AS able_name_50 WHERE roman = "t" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27734577_2 (high_points VARCHAR, score VARCHAR)
### Question:
Who corned the most points for the game that ended with a score of l 85–94 (ot)?
### Answer:
SELECT high_points FROM table_27734577_2 WHERE score = "L 85–94 (OT)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE routes (dst_apid VARCHAR); CREATE TABLE airports (name VARCHAR, apid VARCHAR, country VARCHAR)
### Question:
Find the busiest destination airport that runs most number of routes in China.
### Answer:
SELECT T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid WHERE T1.country = 'China' GROUP BY T1.name 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_67 (institution VARCHAR, chief_judge VARCHAR, year VARCHAR, award VARCHAR)
### Question:
What institution won 2nd more recently than 2007 with Peter Agre as Chief Judge?
### Answer:
SELECT institution FROM table_name_67 WHERE year > 2007 AND award = "2nd" AND chief_judge = "peter agre" |
Below is an context that describes a sql 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 (position VARCHAR, pick VARCHAR)
### Question:
Which Position has a Pick of 74?
### Answer:
SELECT position FROM table_name_42 WHERE pick = 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_7 (school_club_team VARCHAR, pick VARCHAR)
### Question:
Which School/Club Team has a Pick of 198?
### Answer:
SELECT school_club_team FROM table_name_7 WHERE pick = 198 |
Below is an context that describes a sql 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 (spouse VARCHAR, name VARCHAR)
### Question:
Name the spouse for louise of hesse-kassel
### Answer:
SELECT spouse FROM table_name_83 WHERE name = "louise of hesse-kassel" |
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR)
### Question:
What is Tommy Bolt's place?
### Answer:
SELECT place FROM table_name_10 WHERE player = "tommy bolt" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.