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_84 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
What year has a nomination title of "sangrador"?
### Answer:
SELECT year__ceremony_ FROM table_name_84 WHERE film_title_used_in_nomination = "sangrador" |
Below is an context that describes a sql 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 (total VARCHAR, nation VARCHAR, gold VARCHAR)
### Question:
How much Total has a Nation of kazakhstan (kaz), and a Gold larger than 0?
### Answer:
SELECT COUNT(total) FROM table_name_16 WHERE nation = "kazakhstan (kaz)" 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_20935975_1 (moto2_winner VARCHAR)
### Question:
How many 125cc winners were in the same events as when the Moto2 winner was Shoya Tomizawa?
### Answer:
SELECT COUNT(125 AS cc_winner) FROM table_20935975_1 WHERE moto2_winner = "Shoya Tomizawa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (saturday_shani__saturn_ VARCHAR, sunday_surya__the_sun_ VARCHAR)
### Question:
What is the result of Saturday that's ថ្ងៃអាទិត្យ [tŋaj ʔaatɨt ] on Sunday?
### Answer:
SELECT saturday_shani__saturn_ FROM table_name_30 WHERE sunday_surya__the_sun_ = "ថ្ងៃអាទិត្យ [tŋaj ʔaatɨ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_101336_1 (notation VARCHAR, crystal_structure VARCHAR, formula VARCHAR)
### Question:
What is the notion when the crystal structure is tetragonal and the formula is bi 2 sr 2 cacu 2 o 8
### Answer:
SELECT notation FROM table_101336_1 WHERE crystal_structure = "Tetragonal" AND formula = "Bi 2 Sr 2 CaCu 2 O 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_5 (present_conference VARCHAR, location VARCHAR)
### Question:
Which conference does the school from Gainesville, Florida, play in?
### Answer:
SELECT present_conference FROM table_name_5 WHERE location = "gainesville, florida" |
Below is an context that describes a sql 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 (name VARCHAR, transfer_window VARCHAR, country VARCHAR)
### Question:
WHAT IS THE NAME WITH A SUMMER TRANSFER WINDOW, AND COUNTRY SEN?
### Answer:
SELECT name FROM table_name_39 WHERE transfer_window = "summer" AND country = "sen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1251878_1 (width VARCHAR, frame_size VARCHAR)
### Question:
what's the width with frame size being 4.5k
### Answer:
SELECT width FROM table_1251878_1 WHERE frame_size = "4.5K" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE cars_data (horsepower INTEGER); CREATE TABLE car_names (makeid VARCHAR, make VARCHAR); CREATE TABLE cars_data (id VARCHAR, horsepower INTEGER, cylinders VARCHAR)
### Question:
Among the cars that do not have the minimum horsepower , what are the make ids and names of all those with less than 4 cylinders ?
### Answer:
SELECT t2.makeid, t2.make FROM cars_data AS t1 JOIN car_names AS t2 ON t1.id = t2.makeid WHERE t1.horsepower > (SELECT MIN(horsepower) FROM cars_data) AND t1.cylinders < 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_2668243_22 (candidates VARCHAR, district VARCHAR)
### Question:
who were the "candidate" of South Carolina 6?
### Answer:
SELECT candidates FROM table_2668243_22 WHERE district = "South Carolina 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_61 (date VARCHAR, home VARCHAR, record VARCHAR)
### Question:
On what Date was the Home team Detroit Red Wings with a Record of 10–41–6?
### Answer:
SELECT date FROM table_name_61 WHERE home = "detroit red wings" AND record = "10–41–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_17798093_20 (examples VARCHAR, australian VARCHAR)
### Question:
which examples are pronounced et in australian
### Answer:
SELECT examples FROM table_17798093_20 WHERE australian = "et" |
Below is an context that describes a sql 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 (merconorte INTEGER, superliga VARCHAR, interliga VARCHAR, matches VARCHAR)
### Question:
Name the least merconorte for interliga of 2 and matches more than 260 with superliga more than 7
### Answer:
SELECT MIN(merconorte) FROM table_name_92 WHERE interliga = 2 AND matches > 260 AND superliga > 7 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16028459_2 (bills_points VARCHAR, opponents VARCHAR)
### Question:
How many points did the bills score when their opponent had 14
### Answer:
SELECT bills_points FROM table_16028459_2 WHERE opponents = 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_23399481_4 (us_viewers__in_millions_ VARCHAR, written_by VARCHAR)
### Question:
How many millions of viewers did the episode written by Andrea Conway Kagey?
### Answer:
SELECT us_viewers__in_millions_ FROM table_23399481_4 WHERE written_by = "Andrea Conway Kagey" |
Below is an context that describes a sql 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 (outcome VARCHAR, opponent VARCHAR)
### Question:
Which Outcome has a Opponent of lindsay lee-waters?
### Answer:
SELECT outcome FROM table_name_83 WHERE opponent = "lindsay lee-waters" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341577_10 (district VARCHAR, candidates VARCHAR)
### Question:
what's district with candidates being lawrence j. smith (d) 69.4% joseph smith (r) 30.6%
### Answer:
SELECT district FROM table_1341577_10 WHERE candidates = "Lawrence J. Smith (D) 69.4% Joseph Smith (R) 30.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_52 (season__number VARCHAR, series__number VARCHAR)
### Question:
What is the season for series 81?
### Answer:
SELECT season__number FROM table_name_52 WHERE series__number = 81 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16432543_3 (enrollment INTEGER)
### Question:
What is the smallest number of enrolled students?
### Answer:
SELECT MIN(enrollment) FROM table_16432543_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_42 (result VARCHAR, week VARCHAR)
### Question:
What was the result on week 6?
### Answer:
SELECT result FROM table_name_42 WHERE week = 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_47 (markatal INTEGER, inhabitants_per_km² VARCHAR, area__in_km²_ VARCHAR)
### Question:
What is the sum of Markatal, when Inhabitants Per Km² is less than 13, and when Area (in Km²) is 27?
### Answer:
SELECT SUM(markatal) FROM table_name_47 WHERE inhabitants_per_km² < 13 AND area__in_km²_ = 27 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15829930_5 (tied INTEGER)
### Question:
Name the least tied
### Answer:
SELECT MIN(tied) FROM table_15829930_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 college (enr INTEGER, cName VARCHAR, pPos VARCHAR); CREATE TABLE tryout (enr INTEGER, cName VARCHAR, pPos VARCHAR)
### Question:
What is the total number of enrollment of schools that do not have any goalie player?
### Answer:
SELECT SUM(enr) FROM college WHERE NOT cName IN (SELECT cName FROM tryout WHERE pPos = "goalie") |
Below is an context that describes a sql 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 (state VARCHAR, royal_house VARCHAR, name VARCHAR)
### Question:
What state is Ding and has a royal house of Ji?
### Answer:
SELECT state FROM table_name_87 WHERE royal_house = "ji" AND name = "ding" |
Below is an context that describes a sql 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 (competition VARCHAR, venue VARCHAR)
### Question:
Which Competition has a Venue of jan breydel, bruges, belgium?
### Answer:
SELECT competition FROM table_name_37 WHERE venue = "jan breydel, bruges, belgium" |
Below is an context that describes a sql 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 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)
### Question:
Which IHSAA Football Class has an IHSAA Class of aa, and an Enrollment of 475?
### Answer:
SELECT ihsaa_football_class FROM table_name_14 WHERE ihsaa_class = "aa" AND enrollment = 475 |
Below is an context that describes a sql 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 (incumbent VARCHAR, district VARCHAR)
### Question:
Who is the incumbent for the Colorado 4 district?
### Answer:
SELECT incumbent FROM table_name_95 WHERE district = "colorado 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 ship (Name VARCHAR, Tonnage VARCHAR)
### Question:
What is the name of the ship with the largest tonnage?
### Answer:
SELECT Name FROM ship ORDER BY Tonnage 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_44 (year INTEGER, country VARCHAR)
### Question:
What is the earliest year of a film from Mexico?
### Answer:
SELECT MIN(year) FROM table_name_44 WHERE country = "mexico" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (overall INTEGER, name VARCHAR, round VARCHAR, pick VARCHAR)
### Question:
Which Overall has a Round larger than 7, a Pick larger than 13, and a Name of tony hall?
### Answer:
SELECT AVG(overall) FROM table_name_88 WHERE round > 7 AND pick > 13 AND name = "tony hall" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14286908_1 (school VARCHAR, year_of_last_win VARCHAR)
### Question:
What the name of the school where the last win in 2007-08?
### Answer:
SELECT school FROM table_14286908_1 WHERE year_of_last_win = "2007-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_13 (number_of_bearers_2008 INTEGER, surname VARCHAR, rank VARCHAR)
### Question:
What was the lowest number of 2008 total bearers with a rank less than 13 and the Surname Jansson?
### Answer:
SELECT MIN(number_of_bearers_2008) FROM table_name_13 WHERE surname = "jansson" AND rank < 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_59 (to_par VARCHAR, place VARCHAR, player VARCHAR)
### Question:
Which To par has a Place of t2, and a Player of mark james?
### Answer:
SELECT to_par FROM table_name_59 WHERE place = "t2" AND player = "mark james" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23285805_8 (high_points VARCHAR, game VARCHAR)
### Question:
Who has the high points for the 69 game?
### Answer:
SELECT high_points FROM table_23285805_8 WHERE game = 69 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (zone INTEGER, champion VARCHAR)
### Question:
Which Zone has a Champion of surozh sudak?
### Answer:
SELECT SUM(zone) FROM table_name_30 WHERE champion = "surozh sudak" |
Below is an context that describes a sql 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 (party VARCHAR, minister VARCHAR)
### Question:
What is Party, when Minister is "Franco Frattini"?
### Answer:
SELECT party FROM table_name_55 WHERE minister = "franco frattini" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2273738_1 (metropolitan_area INTEGER, city VARCHAR)
### Question:
What is the total membership for the metropolitan area in the city of Manchester?
### Answer:
SELECT MAX(metropolitan_area) FROM table_2273738_1 WHERE city = "Manchester" |
Below is an context that describes a sql 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 (shot_volume__cm_3__ INTEGER, shot_diameter__cm_ INTEGER)
### Question:
what is the average shot volume (cm 3) when the shot diameter (cm) is less than 6.04?
### Answer:
SELECT AVG(shot_volume__cm_3__) FROM table_name_73 WHERE shot_diameter__cm_ < 6.04 |
Below is an context that describes a sql 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 (lost INTEGER, played INTEGER)
### Question:
What is the average lost of games played of more than 9?
### Answer:
SELECT AVG(lost) FROM table_name_16 WHERE played > 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_5 (date VARCHAR, venue VARCHAR, result VARCHAR)
### Question:
On what date was the venue Away and the result was lost 6-4 (lost 9-7 on agg)?
### Answer:
SELECT date FROM table_name_5 WHERE venue = "away" AND result = "lost 6-4 (lost 9-7 on agg)" |
Below is an context that describes a sql 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 (result VARCHAR, match VARCHAR)
### Question:
What was the result for the match with entry Match Reports?
### Answer:
SELECT result FROM table_name_69 WHERE match = "match reports" |
Below is an context that describes a sql 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 (draw INTEGER, points VARCHAR, language VARCHAR)
### Question:
what is the highest draw when points is less than 11 and language is norwegian?
### Answer:
SELECT MAX(draw) FROM table_name_54 WHERE points < 11 AND language = "norwegian" |
Below is an context that describes a sql 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 (d_42 VARCHAR, d_46 VARCHAR)
### Question:
Name the D 42 which has a D 46 of r 26
### Answer:
SELECT d_42 FROM table_name_6 WHERE d_46 = "r 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_name_73 (date VARCHAR, time__seconds_ VARCHAR)
### Question:
What Date has a time of (seconds) 42.172?
### Answer:
SELECT date FROM table_name_73 WHERE time__seconds_ = 42.172 |
Below is an context that describes a sql 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 (spike INTEGER, date_of_birth VARCHAR, block VARCHAR)
### Question:
How many spikes have 28.09.1981 as the date of birth, with a block greater than 318?
### Answer:
SELECT SUM(spike) FROM table_name_78 WHERE date_of_birth = "28.09.1981" AND block > 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_96 (number_of_jews__wjc_ VARCHAR, rank___wjc__ VARCHAR)
### Question:
What was the number of WJC Jews with a WJC rank of 6?
### Answer:
SELECT number_of_jews__wjc_ FROM table_name_96 WHERE rank___wjc__ = 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_2026548_1 (order_in_office VARCHAR, vice_president VARCHAR)
### Question:
Name the order in office for spiro agnew
### Answer:
SELECT order_in_office FROM table_2026548_1 WHERE vice_president = "Spiro Agnew" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE student (stuid VARCHAR, age INTEGER); CREATE TABLE has_pet (stuid VARCHAR)
### Question:
Find number of pets owned by students who are older than 20.
### Answer:
SELECT COUNT(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.age > 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 table_name_33 (date VARCHAR, location VARCHAR)
### Question:
Name the date for faro
### Answer:
SELECT date FROM table_name_33 WHERE location = "faro" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (area VARCHAR, name VARCHAR, gender VARCHAR, decile VARCHAR)
### Question:
Which area served coed genders at Kaharoa school and had a Decile of 9?
### Answer:
SELECT area FROM table_name_45 WHERE gender = "coed" AND decile = "9" AND name = "kaharoa school" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (wins VARCHAR, losses VARCHAR, goals_for VARCHAR, team VARCHAR)
### Question:
What is the sum of wins when the goals for number was bigger than 35, the team was the Montreal Hockey Club, and the number of losses was less than 2?
### Answer:
SELECT COUNT(wins) FROM table_name_4 WHERE goals_for > 35 AND team = "montreal hockey club" AND losses < 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_28 (tenure VARCHAR, team_nickname VARCHAR)
### Question:
What is the tenure for the Tritons team?
### Answer:
SELECT tenure FROM table_name_28 WHERE team_nickname = "tritons" |
Below is an context that describes a sql 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 (obama VARCHAR, undecided VARCHAR)
### Question:
What kind of Obama has a Undecided of 1%?
### Answer:
SELECT obama FROM table_name_87 WHERE undecided = "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_97 (record VARCHAR, date VARCHAR)
### Question:
What is the Record with a Date with december 9?
### Answer:
SELECT record FROM table_name_97 WHERE date = "december 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 Guests (guest_first_name VARCHAR, guest_last_name VARCHAR)
### Question:
Return the first names and last names of all guests
### Answer:
SELECT guest_first_name, guest_last_name FROM Guests |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21979779_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
### Question:
when was the premiere of the episode where the amount of North American spectators was 1.76 millions?
### Answer:
SELECT original_air_date FROM table_21979779_1 WHERE us_viewers__million_ = "1.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_25 (crowd INTEGER, home_team VARCHAR)
### Question:
What was the attendance when Hawthorn played as home team?
### Answer:
SELECT SUM(crowd) FROM table_name_25 WHERE home_team = "hawthorn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (home_team VARCHAR)
### Question:
Name the home team score for south melbourne home team
### Answer:
SELECT home_team AS score FROM table_name_35 WHERE home_team = "south melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26686908_2 (city___state VARCHAR, date VARCHAR)
### Question:
What was the location for the date 7–10 october?
### Answer:
SELECT city___state FROM table_26686908_2 WHERE date = "7–10 October" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17058116_5 (location_attendance VARCHAR, date VARCHAR)
### Question:
Where was the game that took place in November 21 located and how many attended?
### Answer:
SELECT location_attendance FROM table_17058116_5 WHERE date = "November 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_4 (crowd VARCHAR, venue VARCHAR)
### Question:
How many people watch at Western Oval venue?
### Answer:
SELECT COUNT(crowd) FROM table_name_4 WHERE venue = "western 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_name_50 (name VARCHAR, round VARCHAR, pick__number VARCHAR)
### Question:
Which Name has a Round smaller than 5, and a Pick # larger than 13?
### Answer:
SELECT name FROM table_name_50 WHERE round < 5 AND pick__number > 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_26758262_1 (judges_residence VARCHAR, municipalities_served VARCHAR)
### Question:
Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospect reside?
### Answer:
SELECT judges_residence FROM table_26758262_1 WHERE municipalities_served = "Beacon Falls , Naugatuck , Middlebury , Prospect" |
Below is an context that describes a sql 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 (points VARCHAR, year INTEGER)
### Question:
How many points were there before 1955?
### Answer:
SELECT COUNT(points) FROM table_name_95 WHERE year < 1955 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13512105_3 (fastest_lap VARCHAR, rnd VARCHAR)
### Question:
how many have times of 6
### Answer:
SELECT COUNT(fastest_lap) FROM table_13512105_3 WHERE rnd = 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_64 (result VARCHAR, home_team VARCHAR, date VARCHAR)
### Question:
What was the result of the game played on April 16 with Philadelphia as home team?
### Answer:
SELECT result FROM table_name_64 WHERE home_team = "philadelphia" AND date = "april 16" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (date VARCHAR, year VARCHAR, location VARCHAR)
### Question:
What is the Date, when the Year is after 1978, and when the Location is Memorial Stadium (Baltimore)?
### Answer:
SELECT date FROM table_name_46 WHERE year > 1978 AND location = "memorial stadium (baltimore)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (bandwidth_included VARCHAR, price VARCHAR)
### Question:
What is Bandwidth Included, when Price is "50 EUR"?
### Answer:
SELECT bandwidth_included FROM table_name_45 WHERE price = "50 eur" |
Below is an context that describes a sql 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 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR)
### Question:
Gary Barnett who has been in 0 FA Cups plays what position?
### Answer:
SELECT position FROM table_name_7 WHERE fa_cup_apps = "0" AND name = "gary barnett" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1166023_1 (TMS VARCHAR, year_built VARCHAR)
### Question:
What where the tms numbers built in 1923
### Answer:
SELECT TMS AS number FROM table_1166023_1 WHERE year_built = 1923 |
Below is an context that describes a sql 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 (injured INTEGER, place VARCHAR, killed VARCHAR)
### Question:
What is the least amount of injuries in Dantewada, Chhattisgarh when 8 people were killed?
### Answer:
SELECT MIN(injured) FROM table_name_83 WHERE place = "dantewada, chhattisgarh" AND killed = 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_1399994_5 (opponents VARCHAR, year VARCHAR)
### Question:
Who were all of the opponents in 1984?
### Answer:
SELECT opponents FROM table_1399994_5 WHERE 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_25640730_7 (canadian_viewers__millions_ VARCHAR, directed_by VARCHAR)
### Question:
If the director is Yannick Bisson, what was the Canadian amount of viewers?
### Answer:
SELECT COUNT(canadian_viewers__millions_) FROM table_25640730_7 WHERE directed_by = "Yannick Bisson" |
Below is an context that describes a sql 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 (time VARCHAR, date VARCHAR)
### Question:
What was the time of December 15, 2010?
### Answer:
SELECT time FROM table_name_3 WHERE date = "december 15, 2010" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (set_2 VARCHAR, date VARCHAR)
### Question:
What is Set 2, when Date is May 31?
### Answer:
SELECT set_2 FROM table_name_67 WHERE date = "may 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_45 (location_attendance VARCHAR, team VARCHAR)
### Question:
What was the attendance during the game against Philadelphia?
### Answer:
SELECT location_attendance FROM table_name_45 WHERE team = "philadelphia" |
Below is an context that describes a sql 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 (season VARCHAR, team_2 VARCHAR, score VARCHAR)
### Question:
Can you tell me the total number of Season that has the Team 2 of chonburi, and the Score of 0:1?
### Answer:
SELECT COUNT(season) FROM table_name_27 WHERE team_2 = "chonburi" AND score = "0: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_35 (high_points VARCHAR, date VARCHAR)
### Question:
What is the High points with a Date that is january 20?
### Answer:
SELECT high_points FROM table_name_35 WHERE date = "january 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 table_27117365_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
### Question:
Who wrote the episodes with 7.70 u.s. viewers (million) ?
### Answer:
SELECT written_by FROM table_27117365_1 WHERE us_viewers__million_ = "7.70" |
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR)
### Question:
What is Jerry Barber's To par?
### Answer:
SELECT to_par FROM table_name_74 WHERE player = "jerry barber" |
Below is an context that describes a sql 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 (school_club_team VARCHAR, player VARCHAR)
### Question:
Which School/Club Team has a Player of michael bradley?
### Answer:
SELECT school_club_team FROM table_name_36 WHERE player = "michael bradley" |
Below is an context that describes a sql 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 (surface VARCHAR, partner VARCHAR, date VARCHAR)
### Question:
Which surface had a partner of Sandrine Testud on November 14, 1999?
### Answer:
SELECT surface FROM table_name_93 WHERE partner = "sandrine testud" AND date = "november 14, 1999" |
Below is an context that describes a sql 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 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, driver VARCHAR)
### Question:
What was Alexander Wurz's highest laps when he has a grid less than 14 and a time/retired of +1 lap.
### Answer:
SELECT MAX(laps) FROM table_name_52 WHERE time_retired = "+1 lap" AND driver = "alexander wurz" AND grid < 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_84 (year VARCHAR, points INTEGER)
### Question:
What is the year that has points larger than 20?
### Answer:
SELECT COUNT(year) FROM table_name_84 WHERE points > 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 table_name_94 (john_kerry VARCHAR, john_edwards VARCHAR)
### Question:
What is John Kerry, when John Edwards is "20%"?
### Answer:
SELECT john_kerry FROM table_name_94 WHERE john_edwards = "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 table_name_2 (award_ceremony VARCHAR, role VARCHAR, year VARCHAR)
### Question:
Which Award Ceremony in 2009 has a Role of Glinda?
### Answer:
SELECT award_ceremony FROM table_name_2 WHERE role = "glinda" 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_35 (region VARCHAR, vehicles__1209_ VARCHAR)
### Question:
What region has 57 vehicles?
### Answer:
SELECT region FROM table_name_35 WHERE vehicles__1209_ = 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_name_78 (position INTEGER, points VARCHAR, played VARCHAR)
### Question:
What is the greatest position when the points are less than 21, and the played greater than 14?
### Answer:
SELECT MAX(position) FROM table_name_78 WHERE points < 21 AND played > 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_38 (earnings_per_share__ VARCHAR, net_profit__us_$m_ VARCHAR, year_to_april VARCHAR)
### Question:
Name the number of Earnings per share (¢) which has a Net profit (US $m) larger than 66, and a Year to April smaller than 2010?
### Answer:
SELECT COUNT(earnings_per_share__) AS ¢_ FROM table_name_38 WHERE net_profit__us_$m_ > 66 AND year_to_april < 2010 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26847237_1 (home_team VARCHAR, opposition VARCHAR)
### Question:
Who was the home team when the opposition was Buller?
### Answer:
SELECT home_team FROM table_26847237_1 WHERE opposition = "Buller" |
Below is an context that describes a sql 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 (notes VARCHAR, displacement VARCHAR)
### Question:
What is the notes when the displacement is 220cid (3,604cc)?
### Answer:
SELECT notes FROM table_name_78 WHERE displacement = "220cid (3,604cc)" |
Below is an context that describes a sql 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 (name VARCHAR, date_from VARCHAR)
### Question:
What is the name of the player that was loaned out on 13 August 2008 ?
### Answer:
SELECT name FROM table_name_34 WHERE date_from = "13 august 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_8 (not_outs INTEGER, runs VARCHAR, average VARCHAR, matches VARCHAR)
### Question:
What is the lowest Not Outs with an average lower than 31.25, fewer than 13 matches, and fewer than 327 runs?
### Answer:
SELECT MIN(not_outs) FROM table_name_8 WHERE average < 31.25 AND matches < 13 AND runs < 327 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
### Question:
What club does John Westin play for?
### Answer:
SELECT college_junior_club_team__league_ FROM table_name_99 WHERE player = "john westin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (score VARCHAR, year VARCHAR, competition VARCHAR, venue VARCHAR)
### Question:
In 1971 at MCG, what was the score of the VFL Reserves?
### Answer:
SELECT score FROM table_name_35 WHERE competition = "vfl reserves" AND venue = "mcg" AND year = "1971" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Flight (origin VARCHAR)
### Question:
Which origin has most number of flights?
### Answer:
SELECT origin FROM Flight GROUP BY origin 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_16575609_1 (cfl_team VARCHAR, player VARCHAR)
### Question:
Who picked dimitri tsoumpas?
### Answer:
SELECT cfl_team FROM table_16575609_1 WHERE player = "Dimitri Tsoumpas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25730123_2 (points INTEGER)
### Question:
What are the most points listed?
### Answer:
SELECT MAX(points) FROM table_25730123_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_23 (Id VARCHAR)
### Question:
What 1997 has grand slams for the 1999?
### Answer:
SELECT 1997 FROM table_name_23 WHERE 1999 = "grand slams" |
Below is an context that describes a sql 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 (score VARCHAR, tie_no VARCHAR)
### Question:
What is the score when the tie is 8?
### Answer:
SELECT score FROM table_name_53 WHERE tie_no = "8" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.