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_1638437_2 (pinyin VARCHAR, area VARCHAR)
### Question:
Name the pinyin for 487 area
### Answer:
SELECT pinyin FROM table_1638437_2 WHERE area = "487" |
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR)
### Question:
What is the lowest attendance when footscray is the away team?
### Answer:
SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "footscray" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (home VARCHAR, record VARCHAR)
### Question:
Who was the home team when the record was 21β45β8β5?
### Answer:
SELECT home FROM table_name_56 WHERE record = "21β45β8β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_98 (date VARCHAR, tie_no VARCHAR)
### Question:
What is the date when tie number is 6?
### Answer:
SELECT date FROM table_name_98 WHERE tie_no = "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_60 (Id VARCHAR)
### Question:
What is the 1998 value with 2r in 2003?
### Answer:
SELECT 1998 FROM table_name_60 WHERE 2003 = "2r" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE employees (department_id VARCHAR, salary INTEGER)
### Question:
return the smallest salary for every departments.
### Answer:
SELECT MIN(salary), department_id FROM employees GROUP BY department_id |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28138035_13 (mens_singles VARCHAR, womens_singles VARCHAR)
### Question:
Who won in the men singles group in the year when Yoshie Takada won in the women singles?
### Answer:
SELECT mens_singles FROM table_28138035_13 WHERE womens_singles = "Yoshie Takada" |
Below is an context that describes a sql 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 (overall INTEGER, nationality VARCHAR)
### Question:
For the player from Finland, what is the highest overall pick rank?
### Answer:
SELECT MAX(overall) FROM table_name_64 WHERE nationality = "finland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (mins INTEGER, club VARCHAR, shts VARCHAR)
### Question:
What is the largest MINS for the San Jose Earthquakes with a SHTS less than 166?
### Answer:
SELECT MAX(mins) FROM table_name_87 WHERE club = "san jose earthquakes" AND shts < 166 |
Below is an context that describes a sql 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 (nation VARCHAR, gold VARCHAR, total VARCHAR)
### Question:
What is the nation that had more than 1 gold medal and a total of 62 medals?
### Answer:
SELECT nation FROM table_name_31 WHERE gold > 1 AND total = 62 |
Below is an context that describes a sql 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 (outcome VARCHAR, score VARCHAR)
### Question:
Which Outcome has a Score of 6β4, 2β6, 6β3?
### Answer:
SELECT outcome FROM table_name_86 WHERE score = "6β4, 2β6, 6β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_229059_2 (year VARCHAR, champion VARCHAR)
### Question:
In how many years did Pat Bradley became the champion?
### Answer:
SELECT COUNT(year) FROM table_229059_2 WHERE champion = "Pat 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_51 (pos VARCHAR, postseason VARCHAR, tier VARCHAR)
### Question:
How many teams were promoted in the postseason in a tier above 2?
### Answer:
SELECT COUNT(pos) FROM table_name_51 WHERE postseason = "promoted" AND tier < 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_12 (_percentage_2006 VARCHAR, _percentage_2001 VARCHAR, seats_2001 VARCHAR, seats_2006 VARCHAR)
### Question:
What is the %2006 that has fewer seats than 23 in Seats 2001, more seats than 4 in 2006 Seats, and a % in 2001 of 25.4?
### Answer:
SELECT _percentage_2006 FROM table_name_12 WHERE seats_2001 < 23 AND seats_2006 > 4 AND _percentage_2001 = 25.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_23394920_1 (station_type VARCHAR, callsign VARCHAR)
### Question:
When dwhr-tv is the call sign how many station types are there?
### Answer:
SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = "DWHR-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_26 (speed VARCHAR, rank VARCHAR)
### Question:
What is the speed for rank 1?
### Answer:
SELECT speed FROM table_name_26 WHERE rank = "1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_74 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR)
### Question:
What is the total number of medals for West Germany with more than 1 bronze medal and more than 2 gold medals?
### Answer:
SELECT COUNT(total) FROM table_name_74 WHERE bronze > 1 AND nation = "west germany" AND gold > 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_38 (spouse VARCHAR, birth VARCHAR)
### Question:
Which Spouse has a Birth of 30 may 1653?
### Answer:
SELECT spouse FROM table_name_38 WHERE birth = "30 may 1653" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (position VARCHAR, players VARCHAR)
### Question:
What is Jake Johnson's position?
### Answer:
SELECT position FROM table_name_60 WHERE players = "jake johnson" |
Below is an context that describes a sql 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 (winner VARCHAR, stage VARCHAR)
### Question:
Who won stage 16?
### Answer:
SELECT winner FROM table_name_87 WHERE stage = "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_18475946_2 (rnag__mhz_ VARCHAR)
### Question:
What is the 2fm for rnag 94.4?
### Answer:
SELECT 2 AS fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = "94.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_13564637_5 (points_for VARCHAR, club VARCHAR)
### Question:
What were all the points for Tonyrefail RFC?
### Answer:
SELECT points_for FROM table_13564637_5 WHERE club = "Tonyrefail 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_66 (state VARCHAR, royal_house VARCHAR)
### Question:
Which state has a royal house of Ying?
### Answer:
SELECT state FROM table_name_66 WHERE royal_house = "ying" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14574130_3 (circuit VARCHAR, gt3_winner VARCHAR)
### Question:
Name the circuit for gt3 alex mortimer bradley ellis
### Answer:
SELECT circuit FROM table_14574130_3 WHERE gt3_winner = "Alex Mortimer Bradley Ellis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE classroom (building VARCHAR)
### Question:
How many rooms does the Lamberton building have?
### Answer:
SELECT COUNT(*) FROM classroom WHERE building = 'Lamberton' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1348246_3 (electrical VARCHAR, secretariat VARCHAR)
### Question:
What are electricals where secretariat is po(w)?
### Answer:
SELECT electrical FROM table_1348246_3 WHERE secretariat = "PO(W)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR)
### Question:
When vince carter (24) has the highest points how many teams are there?
### Answer:
SELECT COUNT(team) FROM table_23249053_11 WHERE high_points = "Vince Carter (24)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29728596_1 (result VARCHAR, away_team VARCHAR)
### Question:
What was the result of the home match against FK Rudar Ugljevik?
### Answer:
SELECT result FROM table_29728596_1 WHERE away_team = "FK Rudar Ugljevik" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
When the Away team was south melbourne what was the home team?
### Answer:
SELECT home_team FROM table_name_52 WHERE away_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_11662133_1 (gross_tonnage VARCHAR, ended_service VARCHAR)
### Question:
What was the gross tonnage of the ship that ended service in 1866?
### Answer:
SELECT gross_tonnage FROM table_11662133_1 WHERE ended_service = "1866" |
Below is an context that describes a sql 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 (laps VARCHAR, rider VARCHAR)
### Question:
What is the total number of Laps, when Ride is Aleix Espargaro?
### Answer:
SELECT COUNT(laps) FROM table_name_54 WHERE rider = "aleix espargaro" |
Below is an context that describes a sql 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 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR)
### Question:
What's the world ranking in 2011 having more than 142 countries sampled, and more than a 3 for ranking in Latin America?
### Answer:
SELECT world_ranking__1_ FROM table_name_87 WHERE year_of_publication = "2011" AND ranking_in_latin_america__2_ > 3 AND countries_sampled > 142 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26476336_2 (team_nickname VARCHAR, institution VARCHAR)
### Question:
What is the nickname at the University of Nebraska at Omaha?
### Answer:
SELECT team_nickname FROM table_26476336_2 WHERE institution = "University of Nebraska at Omaha" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)
### Question:
How many flights depart from City 'Aberdeen' and have destination City 'Ashley'?
### Answer:
SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport = T3.AirportCode WHERE T2.City = "Ashley" AND T3.City = "Aberdeen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2618072_1 (directed_by VARCHAR, production_code VARCHAR)
### Question:
Who is the directed by when the production code is 67425?
### Answer:
SELECT directed_by FROM table_2618072_1 WHERE production_code = 67425 |
Below is an context that describes a sql 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 (date VARCHAR, type VARCHAR, opponent VARCHAR)
### Question:
When is a Type of tko, and an Opponent of jesse brinkley
### Answer:
SELECT date FROM table_name_53 WHERE type = "tko" AND opponent = "jesse brinkley" |
Below is an context that describes a sql 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 (side VARCHAR, inscription VARCHAR)
### Question:
Which side has Orcagna as the inscription?
### Answer:
SELECT side FROM table_name_89 WHERE inscription = "orcagna" |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
What did the visiting team score at brunswick street oval?
### Answer:
SELECT away_team AS score FROM table_name_67 WHERE venue = "brunswick 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_name_61 (record VARCHAR, week VARCHAR, date VARCHAR)
### Question:
What's the record for October 8, 2000 before week 13?
### Answer:
SELECT record FROM table_name_61 WHERE week < 13 AND date = "october 8, 2000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1971074_1 (enrollment VARCHAR, nickname VARCHAR)
### Question:
How many different enrollment numbers are there for the school whose students are nicknamed Barons?
### Answer:
SELECT COUNT(enrollment) FROM table_1971074_1 WHERE nickname = "Barons" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15001681_1 (womens_doubles VARCHAR, year VARCHAR, womens_singles VARCHAR, mens_doubles VARCHAR)
### Question:
In the year 2006, the womens singles had no competition and the mens doubles were roland hilti kilian pfister, what were the womens doubles
### Answer:
SELECT womens_doubles FROM table_15001681_1 WHERE womens_singles = "no competition" AND mens_doubles = "Roland Hilti Kilian Pfister" AND year = 2006 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341423_49 (candidates VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
### Question:
Who were the candidates in the district first elected in 1998 whose incumbent ended up being Paul Ryan?
### Answer:
SELECT candidates FROM table_1341423_49 WHERE first_elected = 1998 AND incumbent = "Paul Ryan" |
Below is an context that describes a sql 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 (country VARCHAR, year INTEGER)
### Question:
Name the country with year more than 2008
### Answer:
SELECT country FROM table_name_95 WHERE year > 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_46 (rank INTEGER, attempts VARCHAR, year VARCHAR)
### Question:
What is the lowest Rank when Attempts was 319, and the Year was larger than 2000?
### Answer:
SELECT MIN(rank) FROM table_name_46 WHERE attempts = 319 AND year > 2000 |
Below is an context that describes a sql 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 (year VARCHAR, start VARCHAR)
### Question:
Name the year when start was 32
### Answer:
SELECT year FROM table_name_78 WHERE start = 32 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR)
### Question:
what tournament happened on may 2, 2011?
### Answer:
SELECT tournament FROM table_name_94 WHERE date = "may 2, 2011" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (event VARCHAR, method VARCHAR, opponent VARCHAR)
### Question:
Which event has a Method of submission (triangle choke), and an Opponent of thiago tavares?
### Answer:
SELECT event FROM table_name_33 WHERE method = "submission (triangle choke)" AND opponent = "thiago tavares" |
Below is an context that describes a sql 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 (year INTEGER, venue VARCHAR)
### Question:
What year is the venue in budapest, hungary?
### Answer:
SELECT SUM(year) FROM table_name_17 WHERE venue = "budapest, hungary" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE match_season (Season VARCHAR, Player VARCHAR, Country VARCHAR); CREATE TABLE country (Country_name VARCHAR, Country_id VARCHAR)
### Question:
Show the season, the player, and the name of the country that player belongs to.
### Answer:
SELECT T2.Season, T2.Player, T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country |
Below is an context that describes a sql 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, method VARCHAR, opponent VARCHAR)
### Question:
What's the lowest round with the opponent John Howard that had a method of Decision (unanimous)?
### Answer:
SELECT MIN(round) FROM table_name_21 WHERE method = "decision (unanimous)" AND opponent = "john howard" |
Below is an context that describes a sql 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 (quantity VARCHAR, type VARCHAR)
### Question:
How much Quantity has a Type of 1β²c1β² h2t?
### Answer:
SELECT COUNT(quantity) FROM table_name_11 WHERE type = "1β²c1β² h2t" |
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR, attendance VARCHAR)
### Question:
What was the score of the Chiefs pre-Week 16 game that 69,362 people attended?
### Answer:
SELECT result FROM table_name_1 WHERE week < 16 AND attendance = "69,362" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11622829_1 (date VARCHAR, score VARCHAR)
### Question:
What are all the dates with a score of 203 (-13)?
### Answer:
SELECT date FROM table_11622829_1 WHERE score = "203 (-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 Staff (Name VARCHAR, Other_Details VARCHAR)
### Question:
Show the names and details of all the staff members.
### Answer:
SELECT Name, Other_Details FROM Staff |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (year INTEGER, type VARCHAR, catalog__number VARCHAR)
### Question:
What is the earliest year catalog # ual 24033 had an LP?
### Answer:
SELECT MIN(year) FROM table_name_67 WHERE type = "lp" AND catalog__number = "ual 24033" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1708014_2 (team_s_ VARCHAR, winnings VARCHAR)
### Question:
what is the team where winnings is $81,690?
### Answer:
SELECT team_s_ FROM table_1708014_2 WHERE winnings = "$81,690" |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
Name the opponent for 10-04-2007
### Answer:
SELECT opponent FROM table_name_46 WHERE date = "10-04-2007" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (week INTEGER, date VARCHAR, attendance VARCHAR)
### Question:
What is the larges week for the date august 9, 1968 and less than 64,020 in attendance?
### Answer:
SELECT MAX(week) FROM table_name_14 WHERE date = "august 9, 1968" AND attendance < 64 OFFSET 020 |
Below is an context that describes a sql 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 (time INTEGER, nationality VARCHAR, lane VARCHAR)
### Question:
The swimmer from the United States in a lane less than 5, had what as the average time?
### Answer:
SELECT AVG(time) FROM table_name_8 WHERE nationality = "united states" AND lane < 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_55 (host_team VARCHAR, final_score VARCHAR)
### Question:
Which host team won on a final scoreline of 13-10?
### Answer:
SELECT host_team FROM table_name_55 WHERE final_score = "13-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_1973842_1 (type VARCHAR, location VARCHAR)
### Question:
What type is the school located in Macon, Georgia?
### Answer:
SELECT type FROM table_1973842_1 WHERE location = "Macon, Georgia" |
Below is an context that describes a sql 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 (score VARCHAR, game VARCHAR)
### Question:
What was the score for game 2?
### Answer:
SELECT score FROM table_name_82 WHERE game = 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_8 (new_returning_same_network VARCHAR, retitled_as_same VARCHAR, last_aired VARCHAR)
### Question:
Which New/Returning/Same Network has a Retitled as/Same of same, and a Last Aired larger than 1984?
### Answer:
SELECT new_returning_same_network FROM table_name_8 WHERE retitled_as_same = "same" AND last_aired > 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_52 (crowd INTEGER, venue VARCHAR)
### Question:
What is the largest crowd at Lake Oval?
### Answer:
SELECT MAX(crowd) FROM table_name_52 WHERE venue = "lake 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_46 (money___ INTEGER, score VARCHAR)
### Question:
What is the Money of the Player with a Score of 71-66-74-67=278?
### Answer:
SELECT AVG(money___) AS $__ FROM table_name_46 WHERE score = 71 - 66 - 74 - 67 = 278 |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the 2007 value with a 4r in 2006, a 1r in 2004, and a 4r in 2009?
### Answer:
SELECT 2007 FROM table_name_48 WHERE 2006 = "4r" AND 2004 = "1r" AND 2009 = "4r" |
Below is an context that describes a sql 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 (width__inches_ VARCHAR, length__feet_ VARCHAR, engine VARCHAR, retired VARCHAR)
### Question:
For a vehicle below 25 feet, that was retired in 2005 and had a navistar t444e engine, what was the total width?
### Answer:
SELECT COUNT(width__inches_) FROM table_name_11 WHERE engine = "navistar t444e" AND retired = "2005" AND length__feet_ < 25 |
Below is an context that describes a sql 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 (catalog VARCHAR, date VARCHAR, label VARCHAR, format VARCHAR, country VARCHAR)
### Question:
What is the Catalog with a Format of lp, a Country of us, a Label of sundazed, and a Date of 2006?
### Answer:
SELECT catalog FROM table_name_46 WHERE format = "lp" AND country = "us" AND label = "sundazed" AND date = "2006" |
Below is an context that describes a sql 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 (name VARCHAR, reported_age VARCHAR)
### Question:
Who has a reported age of 111 years, 66 days?
### Answer:
SELECT name FROM table_name_38 WHERE reported_age = "111 years, 66 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_17968233_2 (home__1st_leg_ VARCHAR, aggregate VARCHAR)
### Question:
If the aggregate is 3-4, what is the first leg?
### Answer:
SELECT home__1st_leg_ FROM table_17968233_2 WHERE aggregate = "3-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_20026849_1 (destination VARCHAR, winner VARCHAR)
### Question:
What was the destination of the season won by Anwar Syed?
### Answer:
SELECT destination FROM table_20026849_1 WHERE winner = "Anwar Syed" |
Below is an context that describes a sql 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 (score VARCHAR, opponents_in_the_final VARCHAR)
### Question:
Which Score has Opponents in the final of john bromwich frank sedgman?
### Answer:
SELECT score FROM table_name_92 WHERE opponents_in_the_final = "john bromwich frank sedgman" |
Below is an context that describes a sql 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 (city VARCHAR, country VARCHAR, airport VARCHAR)
### Question:
What is the city in India with an airport named Sardar Vallabhbhai Patel International Airport?
### Answer:
SELECT city FROM table_name_58 WHERE country = "india" AND airport = "sardar vallabhbhai patel international airport" |
Below is an context that describes a sql 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 (launched VARCHAR, name VARCHAR)
### Question:
What is the launch date for the Ushio dd-54?
### Answer:
SELECT launched FROM table_name_55 WHERE name = "ushio dd-54" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2409041_5 (title VARCHAR, no_in_series VARCHAR)
### Question:
What is the name of episode number 77 in the series?
### Answer:
SELECT title FROM table_2409041_5 WHERE no_in_series = 77 |
Below is an context that describes a sql 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 (home_team VARCHAR, game VARCHAR)
### Question:
Which Home Team has a Game of game 1?
### Answer:
SELECT home_team FROM table_name_24 WHERE game = "game 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_2 (water__sqmi_ INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR, township VARCHAR)
### Question:
What is the smallest amount of water having landmass over 34.864 sqmi, in Pierce township, with a GEO ID over 3800362460?
### Answer:
SELECT MIN(water__sqmi_) FROM table_name_2 WHERE land___sqmi__ > 34.864 AND township = "pierce" AND geo_id > 3800362460 |
Below is an context that describes a sql 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 (l2_cache VARCHAR, release_price___usd__ VARCHAR)
### Question:
What was the L2 Cache for the processor with a release price of $496?
### Answer:
SELECT l2_cache FROM table_name_38 WHERE release_price___usd__ = "$496" |
Below is an context that describes a sql 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 (goals_scored INTEGER, goals_conceded VARCHAR, played VARCHAR)
### Question:
What is the lowest amount of goals scored that has more than 19 goal conceded and played less than 18?
### Answer:
SELECT MIN(goals_scored) FROM table_name_50 WHERE goals_conceded > 19 AND played < 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_name_87 (d_48_β VARCHAR, d_46_β VARCHAR)
### Question:
What is the D 48 β with a D 46 β with r 33 o?
### Answer:
SELECT d_48_β FROM table_name_87 WHERE d_46_β = "r 33 o" |
Below is an context that describes a sql 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 (margin_of_victory VARCHAR, tournament VARCHAR)
### Question:
What's the margin of victory during the Pocono Northeast Classic?
### Answer:
SELECT margin_of_victory FROM table_name_55 WHERE tournament = "pocono northeast classic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (rank VARCHAR, finish VARCHAR, year VARCHAR)
### Question:
Name the rank with finish of 12 and year of 1963
### Answer:
SELECT rank FROM table_name_29 WHERE finish = "12" AND year = "1963" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE products (product_price INTEGER)
### Question:
How many products have a price higher than the average?
### Answer:
SELECT COUNT(*) FROM products WHERE product_price > (SELECT AVG(product_price) FROM products) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (venue VARCHAR, extra VARCHAR)
### Question:
What venue has an extra of 45.08 S?
### Answer:
SELECT venue FROM table_name_85 WHERE extra = "45.08 s" |
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR)
### Question:
what is the attendance on december 14, 2003?
### Answer:
SELECT attendance FROM table_name_34 WHERE date = "december 14, 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_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR)
### Question:
How much Attendance has an Opponent of rockies, and a Record of 32-30?
### Answer:
SELECT SUM(attendance) FROM table_name_34 WHERE opponent = "rockies" AND record = "32-30" |
Below is an context that describes a sql 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 (location VARCHAR, opponent VARCHAR)
### Question:
Which location has an Opponent of masanori suda?
### Answer:
SELECT location FROM table_name_84 WHERE opponent = "masanori suda" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11603267_1 (tournament VARCHAR, location VARCHAR)
### Question:
Name the tournament for arizona
### Answer:
SELECT tournament FROM table_11603267_1 WHERE location = "Arizona" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18135572_2 (all_neutral VARCHAR, b10__percentage VARCHAR)
### Question:
What was the win/loss record for All Neutral games for the team whose Big 10 winning percentage was .833?
### Answer:
SELECT all_neutral FROM table_18135572_2 WHERE b10__percentage = ".833" |
Below is an context that describes a sql 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 (denomination VARCHAR, series VARCHAR)
### Question:
What is the denomination of the III Series?
### Answer:
SELECT denomination FROM table_name_8 WHERE series = "iii series" |
Below is an context that describes a sql 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 (brazil_scorers VARCHAR, score VARCHAR)
### Question:
Who were the Brazil scorers who scored 3-3?
### Answer:
SELECT brazil_scorers FROM table_name_11 WHERE score = "3-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_98 (pick__number INTEGER, college VARCHAR)
### Question:
What is the lowest Pick #, when College is "Jackson State"?
### Answer:
SELECT MIN(pick__number) FROM table_name_98 WHERE college = "jackson 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_36 (name VARCHAR, winning_driver VARCHAR, circuit VARCHAR)
### Question:
What race did Meo Constantini win at the circuit of monza ?
### Answer:
SELECT name FROM table_name_36 WHERE winning_driver = "meo constantini" AND circuit = "monza" |
Below is an context that describes a sql 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 (number_of_seasons_in_top_division INTEGER, position_in_2012_13 VARCHAR)
### Question:
Name the least number of seasons in top division with position in 2012-13 of 001 1st
### Answer:
SELECT MIN(number_of_seasons_in_top_division) FROM table_name_46 WHERE position_in_2012_13 = "001 1st" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26967904_2 (f_bolt VARCHAR, p1_diameter__mm_ VARCHAR)
### Question:
What is the f bolt for 11.35 p1 diameter (mm)?
### Answer:
SELECT f_bolt FROM table_26967904_2 WHERE p1_diameter__mm_ = "11.35" |
Below is an context that describes a sql 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 (sport VARCHAR, venue VARCHAR)
### Question:
What sport happened at Wildcat Stadium?
### Answer:
SELECT sport FROM table_name_3 WHERE venue = "wildcat stadium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2840500_3 (player VARCHAR, nhl_team VARCHAR, position VARCHAR, nationality VARCHAR)
### Question:
who is the person that plays left wing and is from canada that plays on the st. louis blues
### Answer:
SELECT player FROM table_2840500_3 WHERE position = "Left Wing" AND nationality = "Canada" AND nhl_team = "St. Louis Blues" |
Below is an context that describes a sql 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 (timeslot VARCHAR, air_date VARCHAR)
### Question:
What is the timeslot for the episode that aired April 28, 2009?
### Answer:
SELECT timeslot FROM table_name_26 WHERE air_date = "april 28, 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_88 (college VARCHAR, pick VARCHAR, team VARCHAR)
### Question:
What college was picked later than 122 by the Boston Patriots?
### Answer:
SELECT college FROM table_name_88 WHERE pick > 122 AND team = "boston patriots" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2985664_8 (high_score VARCHAR, strike_rate VARCHAR)
### Question:
What is every high score for a strike rate of 84.88?
### Answer:
SELECT high_score FROM table_2985664_8 WHERE strike_rate = "84.88" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.