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_7 (grid INTEGER, time VARCHAR, laps VARCHAR)
### Question:
Can you tell me the sum of Grid that has the Time of +6.355, and the Laps larger than 23?
### Answer:
SELECT SUM(grid) FROM table_name_7 WHERE time = "+6.355" AND laps > 23 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
### Question:
What is the smallest bronze with a Rank of 12, and a Silver smaller than 2?
### Answer:
SELECT MIN(bronze) FROM table_name_5 WHERE rank = 12 AND silver < 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_91 (record VARCHAR, score VARCHAR)
### Question:
Which Record has a Score of 105-115?
### Answer:
SELECT record FROM table_name_91 WHERE score = "105-115" |
Below is an context that describes a sql 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 (run_4 VARCHAR, athletes VARCHAR)
### Question:
Which Run 4 has Athletes of alexandru frimu & costel rădulescu?
### Answer:
SELECT run_4 FROM table_name_37 WHERE athletes = "alexandru frimu & costel rădulescu" |
Below is an context that describes a sql 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 (primary_sponsor_s_ VARCHAR, car_s_ VARCHAR, crew_chief VARCHAR)
### Question:
What primary sponsor(s) owns ford fusion car(s) and the crew chief is Drew Blickensderfer?
### Answer:
SELECT primary_sponsor_s_ FROM table_name_34 WHERE car_s_ = "ford fusion" AND crew_chief = "drew blickensderfer" |
Below is an context that describes a sql 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 (results¹ VARCHAR, type_of_game VARCHAR)
### Question:
What was the result of the Euro '64 qualifying game?
### Answer:
SELECT results¹ FROM table_name_65 WHERE type_of_game = "euro '64 qualifying" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14345690_15 (main_presenter VARCHAR, series VARCHAR)
### Question:
Who is the main presenter of the series Twelve (2012)?
### Answer:
SELECT main_presenter FROM table_14345690_15 WHERE series = "Twelve (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_19534874_2 (indoor VARCHAR, region VARCHAR)
### Question:
What is the indoor number for the NER region?
### Answer:
SELECT COUNT(indoor) FROM table_19534874_2 WHERE region = "NER" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29302816_8 (quarterfinalists VARCHAR, runner_up VARCHAR)
### Question:
What are the quarterfinalists when the runner up is andrew pattison?
### Answer:
SELECT quarterfinalists FROM table_29302816_8 WHERE runner_up = "Andrew Pattison" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140116_5 (date VARCHAR, race_name VARCHAR)
### Question:
When does V Madgwick Cup take place?
### Answer:
SELECT date FROM table_1140116_5 WHERE race_name = "V Madgwick Cup" |
Below is an context that describes a sql 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 (mls_team VARCHAR, pick__number VARCHAR)
### Question:
Which MLS team has the #41 pick?
### Answer:
SELECT mls_team FROM table_name_86 WHERE pick__number = 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_23987362_2 (hicham_el_guerrouj___mar__ VARCHAR)
### Question:
How many of 3:26.00 when hicham el guerrouj ( mar ) is hudson de souza ( bra )?
### Answer:
SELECT COUNT(3) AS :2600 FROM table_23987362_2 WHERE hicham_el_guerrouj___mar__ = "Hudson de Souza ( BRA )" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13564702_3 (won VARCHAR, club VARCHAR)
### Question:
Name the number of won for maesteg harlequins rfc
### Answer:
SELECT COUNT(won) FROM table_13564702_3 WHERE club = "Maesteg Harlequins RFC" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)
### Question:
What is the Area of the Allardville Parish with a Population smaller than 2,151?
### Answer:
SELECT SUM(area_km_2) FROM table_name_10 WHERE official_name = "allardville" AND population < 2 OFFSET 151 |
Below is an context that describes a sql 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 (tyre VARCHAR, circuit VARCHAR)
### Question:
What tyre was used in Kyalami?
### Answer:
SELECT tyre FROM table_name_81 WHERE circuit = "kyalami" |
Below is an context that describes a sql 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 (lead_maragin INTEGER, dates_administered VARCHAR)
### Question:
What was the average lead maragin for the dates administered of october 6, 2008?
### Answer:
SELECT AVG(lead_maragin) FROM table_name_16 WHERE dates_administered = "october 6, 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_62 (nominated_work VARCHAR, year INTEGER)
### Question:
What was the Nominated Work earlier than 2003?
### Answer:
SELECT nominated_work FROM table_name_62 WHERE year < 2003 |
Below is an context that describes a sql 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 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
### Question:
Which Attendance has a Week smaller than 8, and an Opponent of philadelphia eagles?
### Answer:
SELECT attendance FROM table_name_19 WHERE week < 8 AND opponent = "philadelphia eagles" |
Below is an context that describes a sql 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 (company VARCHAR, country VARCHAR, business VARCHAR, date VARCHAR)
### Question:
In the United Kingdom, what company has an unknown date and is an energy business?
### Answer:
SELECT company FROM table_name_35 WHERE business = "energy" AND date = "unknown" AND country = "united kingdom" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (total_viewers VARCHAR, share INTEGER)
### Question:
When the shares were less than 8, how many total viewers were there?
### Answer:
SELECT total_viewers FROM table_name_12 WHERE share < 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_33 (away_team VARCHAR, home_team VARCHAR)
### Question:
During footscray's home match, who was the away team?
### Answer:
SELECT away_team AS score FROM table_name_33 WHERE home_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_65 (speed VARCHAR, rank VARCHAR, rider VARCHAR)
### Question:
What is Ryan McCay's speed that has a rank better than 8?
### Answer:
SELECT speed FROM table_name_65 WHERE rank > 8 AND rider = "ryan mccay" |
Below is an context that describes a sql 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 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
### Question:
What is the average Gold when the rank is less than 3 and the bronze is less than 1?
### Answer:
SELECT AVG(gold) FROM table_name_79 WHERE rank < 3 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_name_21 (crowd INTEGER, home_team VARCHAR)
### Question:
What was the attendance when South Melbourne played as the home team?
### Answer:
SELECT MIN(crowd) FROM table_name_21 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_name_5 (date VARCHAR, decision VARCHAR, home VARCHAR)
### Question:
Name the date for turco decision and home of st. louis
### Answer:
SELECT date FROM table_name_5 WHERE decision = "turco" AND home = "st. louis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE addresses (town_city VARCHAR, state_province_county VARCHAR)
### Question:
Find the name of all the cities and states.
### Answer:
SELECT town_city FROM addresses UNION SELECT state_province_county FROM addresses |
Below is an context that describes a sql 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 (round INTEGER, time VARCHAR)
### Question:
What round had a time of 0:39?
### Answer:
SELECT MIN(round) FROM table_name_21 WHERE time = "0:39" |
Below is an context that describes a sql 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 (week INTEGER, date VARCHAR)
### Question:
What was the Week on October 18, 1992?
### Answer:
SELECT SUM(week) FROM table_name_3 WHERE date = "october 18, 1992" |
Below is an context that describes a sql 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 (score VARCHAR, tie_no VARCHAR)
### Question:
What is the score when the tie no is 29?
### Answer:
SELECT score FROM table_name_65 WHERE tie_no = "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_73 (nationality VARCHAR, school_club_team VARCHAR)
### Question:
What is the nationality of the Team Purdue?
### Answer:
SELECT nationality FROM table_name_73 WHERE school_club_team = "purdue" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17827271_1 (roleplay VARCHAR, actor_in_original_production VARCHAR)
### Question:
What RolePlay actor played the same role Alison Pargeter played in the original production?
### Answer:
SELECT roleplay FROM table_17827271_1 WHERE actor_in_original_production = "Alison Pargeter" |
Below is an context that describes a sql 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 (country VARCHAR, player VARCHAR)
### Question:
Which country is George Archer from?
### Answer:
SELECT country FROM table_name_22 WHERE player = "george archer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE course (title VARCHAR, dept_name VARCHAR)
### Question:
Find the title of course that is provided by Statistics but not Psychology departments.
### Answer:
SELECT title FROM course WHERE dept_name = 'Statistics' EXCEPT SELECT title FROM course WHERE dept_name = 'Psychology' |
Below is an context that describes 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:
How many different allergy types exist?
### Answer:
SELECT COUNT(DISTINCT allergytype) FROM Allergy_type |
Below is an context that describes a sql 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 (name VARCHAR, rank VARCHAR, altitude__meters_ VARCHAR)
### Question:
What name is associated with a rank of less than 24, and an altitude (meters) of 3085?
### Answer:
SELECT name FROM table_name_41 WHERE rank < 24 AND altitude__meters_ = 3085 |
Below is an context that describes a sql 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 (score VARCHAR, surface VARCHAR, championship VARCHAR)
### Question:
What is the Score when there was a hard surface and the Championship is new haven , usa?
### Answer:
SELECT score FROM table_name_93 WHERE surface = "hard" AND championship = "new haven , 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_24099628_1 (tdp VARCHAR, model__list_ VARCHAR)
### Question:
What is the wattage/TDP associated with model name 4x0?
### Answer:
SELECT tdp FROM table_24099628_1 WHERE model__list_ = "4x0" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15187735_1 (episode INTEGER, segment_d VARCHAR)
### Question:
In what episode was segment D ned Can Corn?
### Answer:
SELECT MAX(episode) FROM table_15187735_1 WHERE segment_d = "ned Can Corn" |
Below is an context that describes a sql 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 (quantity_made VARCHAR, quantity_preserved VARCHAR)
### Question:
What is the quantity made number for the quantity preserved 4-6-0 — ooooo — ten-wheeler?
### Answer:
SELECT quantity_made FROM table_name_65 WHERE quantity_preserved = "4-6-0 — ooooo — ten-wheeler" |
Below is an context that describes a 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_11 (player VARCHAR, college_junior_club_team VARCHAR)
### Question:
Who came from the University of Michigan (NCAA) team?
### Answer:
SELECT player FROM table_1965650_11 WHERE college_junior_club_team = "University of Michigan (NCAA)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR, distance VARCHAR)
### Question:
Show the id and name of the aircraft with the maximum distance.
### Answer:
SELECT aid, name FROM Aircraft ORDER BY distance 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_56 (series_finale VARCHAR, translation VARCHAR)
### Question:
What series finale has the translation ოჰ ეს ცრემლები / პარალელური საიდუმლო?
### Answer:
SELECT series_finale FROM table_name_56 WHERE translation = "ოჰ ეს ცრემლები / პარალელური საიდუმლო" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (college VARCHAR, player VARCHAR)
### Question:
What is the College with a Player that is dean caliguire?
### Answer:
SELECT college FROM table_name_49 WHERE player = "dean caliguire" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25561038_1 (team VARCHAR, points VARCHAR)
### Question:
List the team with 12 points.
### Answer:
SELECT team FROM table_25561038_1 WHERE points = "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 table_name_69 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
### Question:
What is the number of silver when rank was 5, and a bronze was smaller than 14?
### Answer:
SELECT SUM(silver) FROM table_name_69 WHERE rank = "5" AND bronze < 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_21 (away_team VARCHAR)
### Question:
What was St Kilda's away team score?
### Answer:
SELECT away_team AS score FROM table_name_21 WHERE away_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_42 (round VARCHAR, kick_off VARCHAR)
### Question:
Which round has a Kick Off of 1992-10-01 21:15?
### Answer:
SELECT round FROM table_name_42 WHERE kick_off = "1992-10-01 21:15" |
Below is an context that describes a sql 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 (year INTEGER, position VARCHAR)
### Question:
What is the average year with 7th (heats) position?
### Answer:
SELECT AVG(year) FROM table_name_50 WHERE position = "7th (heats)" |
Below is an context that describes a sql 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 (writer_s_ VARCHAR, film VARCHAR)
### Question:
Who wrote the film Jehovah's Witness?
### Answer:
SELECT writer_s_ FROM table_name_5 WHERE film = "jehovah's witness" |
Below is an context that describes a sql 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 (completion_schedule VARCHAR, state VARCHAR, total_capacity__mw_ VARCHAR)
### Question:
What is the completion schedule for himachal pradesh state with a total capacity (MW) of 800?
### Answer:
SELECT completion_schedule FROM table_name_96 WHERE state = "himachal pradesh" AND total_capacity__mw_ = 800 |
Below is an context that describes a sql 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 (played INTEGER, lost VARCHAR, drawn VARCHAR, percentage VARCHAR)
### Question:
What is the lowest number of matches played that has more than 0 draws, a percentage of 12.50%, and fewer than 3 losses?
### Answer:
SELECT MIN(played) FROM table_name_14 WHERE drawn > 0 AND percentage = "12.50%" AND lost < 3 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (name VARCHAR, nationality VARCHAR, lane VARCHAR)
### Question:
Who has less than 3 lanes for France?
### Answer:
SELECT name FROM table_name_88 WHERE nationality = "france" AND lane < 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_55 (tournament VARCHAR, result VARCHAR)
### Question:
In which tournament did he place 20th?
### Answer:
SELECT tournament FROM table_name_55 WHERE result = "20th" |
Below is an context that describes a sql 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 (sub_millisecond_cycle VARCHAR)
### Question:
What is the millisecond cycle for the Fieldbus?
### Answer:
SELECT sub_millisecond_cycle FROM table_name_28 WHERE "fieldbus" = "fieldbus" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17900317_5 (matches INTEGER, runs VARCHAR)
### Question:
Name the least matches for runs being 276
### Answer:
SELECT MIN(matches) FROM table_17900317_5 WHERE runs = 276 |
Below is an context that describes a sql 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 (comparative VARCHAR, name VARCHAR)
### Question:
Which Comparative has a Name of pictar?
### Answer:
SELECT comparative FROM table_name_71 WHERE name = "pictar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_237199_1 (north_american_brands VARCHAR, world_headquarters VARCHAR)
### Question:
How many north american brands have world headquarters in sagamihara?
### Answer:
SELECT COUNT(north_american_brands) FROM table_237199_1 WHERE world_headquarters = "Sagamihara" |
Below is an context that describes a sql 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 (track VARCHAR, english_title VARCHAR, disc VARCHAR)
### Question:
Which Track time has a Disc larger than 2, a Track smaller than 22, and an English title of younger girl?
### Answer:
SELECT track AS time FROM table_name_80 WHERE disc > 2 AND track < 22 AND english_title = "younger girl" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15026994_3 (original_air_date VARCHAR, director VARCHAR)
### Question:
What is the original air date of the episode directed by Paul Marcus?
### Answer:
SELECT original_air_date FROM table_15026994_3 WHERE director = "Paul Marcus" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (tournament VARCHAR, runner_s__up VARCHAR)
### Question:
Which Tournament has a Runner(s)-up of bob charles?
### Answer:
SELECT tournament FROM table_name_49 WHERE runner_s__up = "bob charles" |
Below is an context that describes a sql 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 (supplier VARCHAR, year VARCHAR)
### Question:
Which Supplier has a Year of 2006-2008?
### Answer:
SELECT supplier FROM table_name_83 WHERE year = "2006-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_95 (opponent VARCHAR, round VARCHAR)
### Question:
Who was the opponent in the round of R2?
### Answer:
SELECT opponent FROM table_name_95 WHERE round = "r2" |
Below is an context that describes a sql 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 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
### Question:
Who was the center from Washington State?
### Answer:
SELECT player FROM table_name_90 WHERE position = "center" AND school_club_team = "washington state" |
Below is an context that describes a sql 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 (position INTEGER, drawn INTEGER)
### Question:
What was the average Position for which the amount Drawn was less than 0?
### Answer:
SELECT AVG(position) FROM table_name_88 WHERE drawn < 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_67 (points INTEGER, lost VARCHAR, position VARCHAR)
### Question:
What is the smallest amount of points had a lost number of 2 when the position was less than 1?
### Answer:
SELECT MIN(points) FROM table_name_67 WHERE lost = 2 AND position < 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_30058355_2 (thurs_25_aug VARCHAR, fri_26_aug VARCHAR)
### Question:
What shows for thurs 25 aug when fri 26 aug is 19' 30.70 116.023mph?
### Answer:
SELECT thurs_25_aug FROM table_30058355_2 WHERE fri_26_aug = "19' 30.70 116.023mph" |
Below is an context that describes a sql 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 (bowling_style VARCHAR, first_class_team VARCHAR, date_of_birth VARCHAR)
### Question:
What is the bowling style of the player whose first class team is Islamabad and has a date of birth of 28 February 1975?
### Answer:
SELECT bowling_style FROM table_name_72 WHERE first_class_team = "islamabad" AND date_of_birth = "28 february 1975" |
Below is an context that describes a sql 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 (nfl_club VARCHAR, player VARCHAR, pick VARCHAR)
### Question:
Which NFL Club has a Player of sam tidmore, and a Pick of 81?
### Answer:
SELECT nfl_club FROM table_name_43 WHERE player = "sam tidmore" AND pick = 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_2387461_1 (points_per_game VARCHAR, tournament VARCHAR)
### Question:
How many points per game have the tournament 2005 eurobasket?
### Answer:
SELECT points_per_game FROM table_2387461_1 WHERE tournament = "2005 EuroBasket" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (Id VARCHAR)
### Question:
What 2008 has 14.2% as the 2009?
### Answer:
SELECT 2008 FROM table_name_31 WHERE 2009 = "14.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 (region VARCHAR, label VARCHAR, catalogue VARCHAR)
### Question:
Which region has and eyeball label and catalogue 7200222?
### Answer:
SELECT region FROM table_name_23 WHERE label = "eyeball" AND catalogue = "7200222" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20871703_1 (height VARCHAR, position VARCHAR)
### Question:
What is the height if de is the position?
### Answer:
SELECT COUNT(height) FROM table_20871703_1 WHERE position = "DE" |
Below is an context that describes a sql 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 (city_of_license__market VARCHAR, station VARCHAR)
### Question:
What is the city containing the KDKA-TV station?
### Answer:
SELECT city_of_license__market FROM table_name_61 WHERE station = "kdka-tv" |
Below is an context that describes a sql 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 (season_7 VARCHAR, seat VARCHAR, season_3 VARCHAR)
### Question:
Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson?
### Answer:
SELECT season_7 FROM table_name_89 WHERE seat > 1 AND season_3 = "w. brett wilson" |
Below is an context that describes a sql 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 (tie_no VARCHAR, attendance VARCHAR)
### Question:
Which Tie #has an Attendance of 54,591?
### Answer:
SELECT tie_no FROM table_name_16 WHERE attendance = "54,591" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
What away team is the home team richmond?
### Answer:
SELECT away_team FROM table_name_16 WHERE home_team = "richmond" |
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR)
### Question:
What are the Attendance numbers for november 18, 1990?
### Answer:
SELECT attendance FROM table_name_38 WHERE date = "november 18, 1990" |
Below is an context that describes a sql 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 (games VARCHAR, points_for VARCHAR)
### Question:
What is the number of games for a club that has a value of 595 for points for?
### Answer:
SELECT games FROM table_name_26 WHERE points_for = "595" |
Below is an context that describes a sql 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 (drawn INTEGER, lost VARCHAR, against VARCHAR, points VARCHAR)
### Question:
Which Drawn is the highest one that has an Against larger than 15, and Points smaller than 15, and a Lost smaller than 9?
### Answer:
SELECT MAX(drawn) FROM table_name_39 WHERE against > 15 AND points < 15 AND lost < 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_1805191_10 (results VARCHAR, incumbent VARCHAR)
### Question:
What are the results of incumbent dave weldon?
### Answer:
SELECT COUNT(results) FROM table_1805191_10 WHERE incumbent = "Dave Weldon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (pick INTEGER, round VARCHAR)
### Question:
What is the largest pick in round 8?
### Answer:
SELECT MAX(pick) FROM table_name_82 WHERE round = 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11970261_2 (evening_gown VARCHAR, preliminaries VARCHAR)
### Question:
what's the evening gown with preliminaries being 9.212
### Answer:
SELECT evening_gown FROM table_11970261_2 WHERE preliminaries = "9.212" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (date VARCHAR, outcome VARCHAR, opponent VARCHAR)
### Question:
What is Date, when Outcome is "Runner Up", and when Opponent is "Lu Jiaxiang"?
### Answer:
SELECT date FROM table_name_91 WHERE outcome = "runner up" AND opponent = "lu jiaxiang" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (score VARCHAR, opponent VARCHAR)
### Question:
What is Score, when Opponent is "Ivo Minář"?
### Answer:
SELECT score FROM table_name_52 WHERE opponent = "ivo minář" |
Below is an context that describes a sql 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 (week VARCHAR, date VARCHAR)
### Question:
The game on September 2, 1979 was during which week of the season?
### Answer:
SELECT COUNT(week) FROM table_name_89 WHERE date = "september 2, 1979" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20971444_3 (share__18_49_ VARCHAR, rating__18_49_ VARCHAR)
### Question:
Name the total number for 18-49 share being 18-49 being 3.1
### Answer:
SELECT COUNT(share__18_49_) FROM table_20971444_3 WHERE rating__18_49_ = "3.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_69 (constructor VARCHAR, race VARCHAR)
### Question:
Name the constructor for the belgian grand prix
### Answer:
SELECT constructor FROM table_name_69 WHERE race = "belgian grand prix" |
Below is an context that describes a sql 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 (bronze INTEGER, silver INTEGER)
### Question:
What's the biggest Bronze that has less than 0 Silvers?
### Answer:
SELECT MAX(bronze) FROM table_name_73 WHERE silver < 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_71 (score VARCHAR, date VARCHAR, away_team VARCHAR)
### Question:
What is the Score on 27 Jan 1990 with an Away Team of Queens Park Rangers?
### Answer:
SELECT score FROM table_name_71 WHERE date = "27 jan 1990" AND away_team = "queens park rangers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR, genre VARCHAR, number_of_episodes VARCHAR)
### Question:
What is the english title of the modern drama, episode 20, that airs on 26 sep- 21 oct?
### Answer:
SELECT english_title__chinese_title_ FROM table_name_82 WHERE genre = "modern drama" AND number_of_episodes = 20 AND airing_date = "26 sep- 21 oct" |
Below is an context that describes a sql 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 (score VARCHAR, outcome VARCHAR, tournament VARCHAR)
### Question:
Which Score has an Outcome of runner-up, and a Tournament of johannesburg?
### Answer:
SELECT score FROM table_name_69 WHERE outcome = "runner-up" AND tournament = "johannesburg" |
Below is an context that describes a sql 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 (others VARCHAR, martin VARCHAR, source VARCHAR)
### Question:
What percent of others did ogm/news count when MARTIN had 9%?
### Answer:
SELECT others FROM table_name_33 WHERE martin = "9%" AND source = "ogm/news" |
Below is an context that describes a sql 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 (earnings__ INTEGER, wins VARCHAR, rank VARCHAR)
### Question:
Which player has the lowest earnings and has at least 4 wins and is ranked higher than 4?
### Answer:
SELECT MIN(earnings__) AS $__ FROM table_name_50 WHERE wins = 4 AND rank > 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_20036882_2 (country VARCHAR, winning_pilot VARCHAR)
### Question:
Name the country for hannes arch
### Answer:
SELECT country FROM table_20036882_2 WHERE winning_pilot = "Hannes Arch" |
Below is an context that describes a sql 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 (commercial_operation VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR)
### Question:
Which Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971?
### Answer:
SELECT commercial_operation FROM table_name_48 WHERE gross_capacity = "417 mw" AND electricity_grid = "27.12.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 table_29504351_2 (money_list_rank INTEGER, player VARCHAR)
### Question:
What is the money list rank for player Doug Barron?
### Answer:
SELECT MAX(money_list_rank) FROM table_29504351_2 WHERE player = "Doug Barron" |
Below is an context that describes a sql 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 (unit VARCHAR, location VARCHAR)
### Question:
What is the unit of the non-mammal from greenland?
### Answer:
SELECT unit FROM table_name_95 WHERE location = "greenland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (length_duration VARCHAR, date VARCHAR)
### Question:
What is the length and duration of the race on April 19?
### Answer:
SELECT length_duration FROM table_name_85 WHERE date = "april 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_17 (rebuildjahr_e_ VARCHAR, class VARCHAR)
### Question:
What was the Rebuildjahr(e) for the T2AA class?
### Answer:
SELECT rebuildjahr_e_ FROM table_name_17 WHERE class = "t2aa" |
Below is an context that describes a sql 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 (venue VARCHAR, city VARCHAR)
### Question:
What is the venue in the city of Brussels, Belgium?
### Answer:
SELECT venue FROM table_name_54 WHERE city = "brussels, belgium" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.