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_74 (date VARCHAR, opponent VARCHAR)
### Question:
What is the Date, when the Opponent is Gisela Dulko?
### Answer:
SELECT date FROM table_name_74 WHERE opponent = "gisela dulko"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27539535_7 (record VARCHAR, opponent VARCHAR)
### Question:
What was the teams record when they played the ottawa senators?
### Answer:
SELECT record FROM table_27539535_7 WHERE opponent = "Ottawa Senators"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1449176_1 (population VARCHAR, common_of VARCHAR)
### Question:
How may population figures are given for Settimo Torinese
### Answer:
SELECT COUNT(population) FROM table_1449176_1 WHERE common_of = "Settimo Torinese"
|
Below is an context that describes a sql 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 (result VARCHAR, event VARCHAR, method VARCHAR)
### Question:
Which Result has the Event, Strikeforce, and Method, Ko (double roundhouse kick)?
### Answer:
SELECT result FROM table_name_14 WHERE event = "strikeforce" AND method = "ko (double roundhouse kick)"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (name VARCHAR, weight VARCHAR)
### Question:
What is the name when weight shows head coach: Aleksandr Kabanov?
### Answer:
SELECT name FROM table_name_70 WHERE weight = "head coach: aleksandr kabanov"
|
Below is an context that describes a sql 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 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
### Question:
Which nationaly is ranked greater than 1, with a time of 59.75?
### Answer:
SELECT nationality FROM table_name_1 WHERE rank > 1 AND time = "59.75"
|
Below is an context that describes a sql 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 (against INTEGER, opposing_teams VARCHAR, venue VARCHAR, status VARCHAR)
### Question:
What is the lowest against score for Twickenham, London with the status of Five Nations against Ireland?
### Answer:
SELECT MIN(against) FROM table_name_16 WHERE venue = "twickenham, london" AND status = "five nations" AND opposing_teams = "ireland"
|
Below is an context that describes a sql 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 (avgatt VARCHAR, rank VARCHAR)
### Question:
What is the average attendance when the rank is 5?
### Answer:
SELECT avgatt FROM table_name_90 WHERE rank = "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_61 (county VARCHAR, cerclis_id VARCHAR)
### Question:
What county is CERCLIS ID nhd062004569 in?
### Answer:
SELECT county FROM table_name_61 WHERE cerclis_id = "nhd062004569"
|
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR, home VARCHAR)
### Question:
What is the maximum number of people in attendance on 16 August 2008 when the home team was Deportes Savio?
### Answer:
SELECT MAX(attendance) FROM table_name_69 WHERE date = "16 august 2008" AND home = "deportes savio"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_269920_17 (qpi_speed__gt_s_ VARCHAR, model VARCHAR)
### Question:
How many models numbered L5506 have a QPI speed?
### Answer:
SELECT COUNT(qpi_speed__gt_s_) FROM table_269920_17 WHERE model = "L5506"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26842217_6 (home_team VARCHAR, visiting_team VARCHAR)
### Question:
List all home teams when Western Kentucky was the visiting team.
### Answer:
SELECT home_team FROM table_26842217_6 WHERE visiting_team = "Western Kentucky"
|
Below is an context that describes a sql 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 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
### Question:
Which constructor had a grid number of less than 3 and where the Time/Retired was 1:34:31.522?
### Answer:
SELECT constructor FROM table_name_55 WHERE grid < 3 AND time_retired = "1:34:31.522"
|
Below is an context that describes a sql 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 (brigade VARCHAR, population VARCHAR)
### Question:
Which brigade has a population of 190?
### Answer:
SELECT brigade FROM table_name_44 WHERE population = "190"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (driver VARCHAR, grid VARCHAR)
### Question:
Who is the driver with 1 grid?
### Answer:
SELECT driver FROM table_name_30 WHERE grid = 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_1132568_3 (rd VARCHAR, grand_prix VARCHAR)
### Question:
How many on the list are called the Austrian Grand Prix?
### Answer:
SELECT COUNT(rd) FROM table_1132568_3 WHERE grand_prix = "Austrian 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_18600760_13 (geo_id VARCHAR, township VARCHAR)
### Question:
What is the geo id for malcolm township?
### Answer:
SELECT COUNT(geo_id) FROM table_18600760_13 WHERE township = "Malcolm"
|
Below is an context that describes a sql 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 (year INTEGER, us_captain VARCHAR)
### Question:
what is the highest year that the U.S. captain is ken venturi?
### Answer:
SELECT MAX(year) FROM table_name_61 WHERE us_captain = "ken venturi"
|
Below is an context that describes a sql 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 (round_1_ VARCHAR, _2a_points VARCHAR, horse VARCHAR)
### Question:
Name the round 1 +2A points for horse of poncorde
### Answer:
SELECT round_1_ + _2a_points FROM table_name_61 WHERE horse = "poncorde"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE book (Title VARCHAR, Issues VARCHAR)
### Question:
List the titles of the books in ascending order of issues.
### Answer:
SELECT Title FROM book ORDER BY Issues
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342013_20 (result VARCHAR, first_elected VARCHAR)
### Question:
What was the result for the politician first elected in 1942?
### Answer:
SELECT result FROM table_1342013_20 WHERE first_elected = 1942
|
Below is an context that describes a sql 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 (l3_cache VARCHAR, sspec_number VARCHAR)
### Question:
What is the l3 cache when the sspec number is sr0r2(l1)sr0t6(l1)?
### Answer:
SELECT l3_cache FROM table_name_88 WHERE sspec_number = "sr0r2(l1)sr0t6(l1)"
|
Below is an context that describes 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 (name VARCHAR, aid VARCHAR); CREATE TABLE Employee (eid VARCHAR, name VARCHAR); CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR)
### Question:
Show names for all aircrafts of which John Williams has certificates.
### Answer:
SELECT T3.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T1.name = "John Williams"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (beat_by VARCHAR, distance VARCHAR)
### Question:
Who beat Chic by 8fm?
### Answer:
SELECT beat_by FROM table_name_9 WHERE distance = "8fm"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16799784_4 (longitude VARCHAR, name VARCHAR)
### Question:
Grechukha Tholi has what longitude?
### Answer:
SELECT longitude FROM table_16799784_4 WHERE name = "Grechukha Tholi"
|
Below is an context that describes a sql 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 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
### Question:
What is the margin of victory in the race where Justin Rose was the runner-up?
### Answer:
SELECT margin_of_victory FROM table_name_48 WHERE runner_s__up = "justin rose"
|
Below is an context that describes 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 (gender VARCHAR)
### Question:
Which gender makes up the majority of the staff?
### Answer:
SELECT gender FROM staff GROUP BY gender 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_27905664_1 (№ VARCHAR, us_viewers__million_ VARCHAR)
### Question:
What episode number had US viewership of 4.87 million?
### Answer:
SELECT № FROM table_27905664_1 WHERE us_viewers__million_ = "4.87"
|
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR)
### Question:
What was the Result on Week 8?
### Answer:
SELECT result FROM table_name_50 WHERE week = 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_19681738_1 (hancock__percentage VARCHAR, starky__percentage VARCHAR)
### Question:
how many times was hancock % considered when starky % was 20.96%
### Answer:
SELECT COUNT(hancock__percentage) FROM table_19681738_1 WHERE starky__percentage = "20.96%"
|
Below is an context that describes a sql 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 (film VARCHAR, category VARCHAR, director_s_ VARCHAR)
### Question:
What film did ian mackinnon direct that was in the short film 2007 prix uip category?
### Answer:
SELECT film FROM table_name_55 WHERE category = "short film 2007 prix uip" AND director_s_ = "ian mackinnon"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562572_43 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)
### Question:
What is the cyrillic name other names for the settlement of debeljača?
### Answer:
SELECT cyrillic_name_other_names FROM table_2562572_43 WHERE settlement = "Debeljača"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15637071_1 (commenced_operations INTEGER)
### Question:
When did the oldest airline start operations?
### Answer:
SELECT MIN(commenced_operations) FROM table_15637071_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_10706879_3 (rd INTEGER, name VARCHAR)
### Question:
The race tony bettenhausen 200 has what smallest rd?
### Answer:
SELECT MIN(rd) FROM table_10706879_3 WHERE name = "Tony Bettenhausen 200"
|
Below is an context that describes a sql 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 (country VARCHAR, total VARCHAR, day_1 VARCHAR)
### Question:
what is the country when the total is 111 and the day 1 is 69?
### Answer:
SELECT country FROM table_name_4 WHERE total = 111 AND day_1 = 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_61 (round INTEGER, position VARCHAR, pick__number VARCHAR)
### Question:
Let's say position was linebacker with a pick number less than 5, what was the highest round?
### Answer:
SELECT MAX(round) FROM table_name_61 WHERE position = "linebacker" AND pick__number > 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_19517448_3 (completion_percentage VARCHAR, yards_per_attempt VARCHAR)
### Question:
What is the completion percentage when yards per attempt was done by Steve McNair : 2003?
### Answer:
SELECT completion_percentage FROM table_19517448_3 WHERE yards_per_attempt = "Steve McNair : 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_17 (nominee VARCHAR, category VARCHAR)
### Question:
Which nominee was nominated in the Outstanding Director of a Musical category?
### Answer:
SELECT nominee FROM table_name_17 WHERE category = "outstanding director of a musical"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE ENROLLED_IN (StuID VARCHAR, Grade VARCHAR)
### Question:
Find the number of students that have at least one grade "B".
### Answer:
SELECT COUNT(DISTINCT StuID) FROM ENROLLED_IN WHERE Grade = "B"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15781170_3 (original_air_date VARCHAR, poll_winner VARCHAR)
### Question:
What are the original air dates when scientology isthe poll winner?
### Answer:
SELECT original_air_date FROM table_15781170_3 WHERE poll_winner = "Scientology"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11926114_1 (rank VARCHAR, finale VARCHAR)
### Question:
What is the rank of finale 37?
### Answer:
SELECT rank FROM table_11926114_1 WHERE finale = 37
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24066938_1 (population__percentage_of_eu VARCHAR, pop_density_people_km_2 VARCHAR)
### Question:
What percentage of the EU's population lives in the country with a population density of 110.8 people per square kilometer?
### Answer:
SELECT population__percentage_of_eu FROM table_24066938_1 WHERE pop_density_people_km_2 = "110.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_19 (losses INTEGER, games_played VARCHAR, goals_for VARCHAR)
### Question:
for goals less than 48 and 8 games played what is the count of losses?
### Answer:
SELECT MAX(losses) FROM table_name_19 WHERE games_played = 8 AND goals_for < 48
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (points INTEGER, score VARCHAR, january VARCHAR)
### Question:
Which Points is the lowest one that has a Score of 1–4, and a January smaller than 18?
### Answer:
SELECT MIN(points) FROM table_name_26 WHERE score = "1–4" AND january < 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_96 (winner VARCHAR, circuit VARCHAR, series VARCHAR)
### Question:
Who was the Winner in the AMC Round 4 at Lakeside International Raceway?
### Answer:
SELECT winner FROM table_name_96 WHERE circuit = "lakeside international raceway" AND series = "amc round 4"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_74 (competition VARCHAR, score VARCHAR)
### Question:
What is the Competition name of the competition that ended with a score of 2-1?
### Answer:
SELECT competition FROM table_name_74 WHERE score = "2-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_31 (position VARCHAR, nationality VARCHAR, round VARCHAR)
### Question:
What is Position, when Nationality is "Canada", and when Round is greater than 3?
### Answer:
SELECT position FROM table_name_31 WHERE nationality = "canada" AND round > 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_17 (max_aggregate_bandwidth__bi_directional_ VARCHAR, hypertransport_version VARCHAR)
### Question:
What is the Max Aggregate bandwidth with a HyperTransport of 2?
### Answer:
SELECT max_aggregate_bandwidth__bi_directional_ FROM table_name_17 WHERE hypertransport_version = 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_25 (semi_finalists VARCHAR, runner_up VARCHAR, week_of VARCHAR)
### Question:
When the runner-up is listed as Gigi Fernández Natalia Zvereva and the week is 26 June 2 weeks, who are the semi finalists?
### Answer:
SELECT semi_finalists FROM table_name_25 WHERE runner_up = "gigi fernández natalia zvereva" AND week_of = "26 june 2 weeks"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24565004_8 (nationality² VARCHAR, appearances¹ VARCHAR)
### Question:
What is the nationality if the appearance is 29?
### Answer:
SELECT nationality² FROM table_24565004_8 WHERE appearances¹ = 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_97 (venue VARCHAR, attendance VARCHAR)
### Question:
Which Venue has Attendances of 11,045?
### Answer:
SELECT venue FROM table_name_97 WHERE attendance = "11,045"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17288825_10 (high_points VARCHAR, location_attendance VARCHAR)
### Question:
How many different items appear in the high points column when the location attendance was US Airways Center 18,422?
### Answer:
SELECT COUNT(high_points) FROM table_17288825_10 WHERE location_attendance = "US Airways Center 18,422"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20462111_1 (date VARCHAR)
### Question:
Who got the 3rd place in the cup on 01.02.2009?
### Answer:
SELECT 3 AS rd_place FROM table_20462111_1 WHERE date = "01.02.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_26099252_1 (vp9___webm__ VARCHAR, vp8___webm__ VARCHAR)
### Question:
When vp8 ( webm ) is 6.0, how much is the vp9 ( webm )?
### Answer:
SELECT vp9___webm__ FROM table_26099252_1 WHERE vp8___webm__ = "6.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_93 (title VARCHAR, termination_of_mission VARCHAR)
### Question:
What Title has a Termination of Mission for August 13, 1854?
### Answer:
SELECT title FROM table_name_93 WHERE termination_of_mission = "august 13, 1854"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341453_7 (district VARCHAR, incumbent VARCHAR)
### Question:
What district is bill thomas from?
### Answer:
SELECT district FROM table_1341453_7 WHERE incumbent = "Bill Thomas"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1939405_2 (latin_americans_2011 INTEGER, province VARCHAR)
### Question:
How many Latin Americans were there in the Northwest Territories in 2011?
### Answer:
SELECT MIN(latin_americans_2011) FROM table_1939405_2 WHERE province = "Northwest Territories"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (date VARCHAR, record VARCHAR)
### Question:
What is the Date of the game where the Cavaliers have a Record of 15-27?
### Answer:
SELECT date FROM table_name_57 WHERE record = "15-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_name_7 (date VARCHAR, winning_score VARCHAR)
### Question:
When was the winning score −6 (69-69-73-71=282)?
### Answer:
SELECT date FROM table_name_7 WHERE winning_score = −6(69 - 69 - 73 - 71 = 282)
|
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
Who was the home team when the venue was Junction Oval?
### Answer:
SELECT home_team FROM table_name_82 WHERE venue = "junction 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_27 (round INTEGER, player VARCHAR, pick VARCHAR)
### Question:
What is the highest round of Tommy Allman, who had a pick less than 40?
### Answer:
SELECT MAX(round) FROM table_name_27 WHERE player = "tommy allman" AND pick < 40
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23346303_3 (opponent VARCHAR, location VARCHAR)
### Question:
what is the number of opponents where the location is syracuse, ny?
### Answer:
SELECT COUNT(opponent) FROM table_23346303_3 WHERE location = "Syracuse, NY"
|
Below is an context that describes a sql 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 (goals_against VARCHAR, wins VARCHAR, played VARCHAR)
### Question:
What are the total goals against the winner with less than 5 wins, and less than 5 plays?
### Answer:
SELECT COUNT(goals_against) FROM table_name_89 WHERE wins < 5 AND played < 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_80 (gswr_class VARCHAR, year VARCHAR)
### Question:
Which GSWR Class is from 1893?
### Answer:
SELECT gswr_class FROM table_name_80 WHERE year = "1893"
|
Below is an context that describes a sql 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 (location VARCHAR, total_score VARCHAR)
### Question:
What's the location that has a total of 149?
### Answer:
SELECT location FROM table_name_28 WHERE total_score = "149"
|
Below is an context that describes a sql 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 (score VARCHAR, home VARCHAR, date VARCHAR)
### Question:
What is the score of the Boston Bruins game from April 11?
### Answer:
SELECT score FROM table_name_39 WHERE home = "boston bruins" AND date = "april 11"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28611413_2 (title VARCHAR, written_by VARCHAR)
### Question:
What is the title of the episode written by Frank Military?
### Answer:
SELECT title FROM table_28611413_2 WHERE written_by = "Frank Military"
|
Below is an context that describes a sql 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 (league_cup_apps INTEGER, league_cup_goals VARCHAR, name VARCHAR)
### Question:
What's the most league cup apps for Jimmy Lawson having 0 league cup goals?
### Answer:
SELECT MAX(league_cup_apps) FROM table_name_74 WHERE league_cup_goals = 0 AND name = "jimmy lawson"
|
Below is an context that describes a sql 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 (record VARCHAR, visitor VARCHAR, score VARCHAR)
### Question:
Which Record has a Visitor of pittsburgh, and a Score of 4–0?
### Answer:
SELECT record FROM table_name_23 WHERE visitor = "pittsburgh" AND score = "4–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_29836557_2 (mls_team VARCHAR, player VARCHAR)
### Question:
What MLS team picked Babayele Sodade?
### Answer:
SELECT mls_team FROM table_29836557_2 WHERE player = "Babayele Sodade"
|
Below is an context that describes a sql 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 (time VARCHAR, away_team VARCHAR)
### Question:
What time did the match with an away team of Happy Valley Team B start?
### Answer:
SELECT time FROM table_name_30 WHERE away_team = "happy valley team b"
|
Below is an context that describes a sql 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 (lost INTEGER, win__percentage VARCHAR, opponent VARCHAR)
### Question:
What is the largest number Lost to david nalbandian with a Win Rate of 20%?
### Answer:
SELECT MAX(lost) FROM table_name_91 WHERE win__percentage = "20%" AND opponent = "david nalbandian"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22824297_1 (player VARCHAR, height VARCHAR)
### Question:
Who is every player with a height of 6-5?
### Answer:
SELECT player FROM table_22824297_1 WHERE height = "6-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_70 (result VARCHAR, attendance VARCHAR)
### Question:
What was the result when 58,516 were in attendance?
### Answer:
SELECT result FROM table_name_70 WHERE attendance = "58,516"
|
Below is an context that describes a sql 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 (clubs VARCHAR, position_in_1959_1960 VARCHAR)
### Question:
Which club was in Position 1 in 1959-1960?
### Answer:
SELECT clubs FROM table_name_59 WHERE position_in_1959_1960 = "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_2649597_1 (season_rank VARCHAR, winnings VARCHAR)
### Question:
Where did they finish in the season when when they won $491,977?
### Answer:
SELECT season_rank FROM table_2649597_1 WHERE winnings = "$491,977"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14903355_2 (men_doubles VARCHAR, womens_doubles VARCHAR)
### Question:
Name the men doubles for caroline persyn smids
### Answer:
SELECT men_doubles FROM table_14903355_2 WHERE womens_doubles = "Caroline Persyn Smids"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (score VARCHAR, time VARCHAR)
### Question:
Name the score for 1:36 time
### Answer:
SELECT score FROM table_name_20 WHERE time = "1:36"
|
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
On what date was the Essendon home match?
### Answer:
SELECT date FROM table_name_66 WHERE home_team = "essendon"
|
Below is an context that describes a sql 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 (date VARCHAR, opponents_in_the_final VARCHAR)
### Question:
Which date has opponents, Akgul Amanmuradova Nina Bratchikova, in the final?
### Answer:
SELECT date FROM table_name_65 WHERE opponents_in_the_final = "akgul amanmuradova nina bratchikova"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12275654_1 (year INTEGER, mens_singles VARCHAR)
### Question:
When did Chetan Anand win his first men's single?
### Answer:
SELECT MIN(year) FROM table_12275654_1 WHERE mens_singles = "Chetan Anand"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2528382_5 (movie_album VARCHAR, co_stars VARCHAR)
### Question:
What movie did Bela Bose co-star in?
### Answer:
SELECT movie_album FROM table_2528382_5 WHERE co_stars = "Bela Bose"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE book_club (category VARCHAR)
### Question:
Show all book categories and the number of books in each category.
### Answer:
SELECT category, COUNT(*) FROM book_club GROUP BY category
|
Below is an context that describes a sql 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 (pick INTEGER, team VARCHAR)
### Question:
What is the pick number for the kansas city royals?
### Answer:
SELECT SUM(pick) FROM table_name_12 WHERE team = "kansas city royals"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12142298_2 (shortstop VARCHAR, first_baseman VARCHAR)
### Question:
Who played SS when paul konerko played 1st base?
### Answer:
SELECT shortstop FROM table_12142298_2 WHERE first_baseman = "Paul Konerko"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE party (Party_Theme VARCHAR, Number_of_hosts VARCHAR)
### Question:
List the themes of parties in ascending order of number of hosts.
### Answer:
SELECT Party_Theme FROM party ORDER BY Number_of_hosts
|
Below is an context that describes a sql 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 (winning_team VARCHAR, circuit VARCHAR)
### Question:
Who was the winning team for circuit zolder?
### Answer:
SELECT winning_team FROM table_name_46 WHERE circuit = "circuit zolder"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (l3_cache VARCHAR, i_o_bus VARCHAR)
### Question:
What's the L3 Cache that has a standard power I/O?
### Answer:
SELECT l3_cache FROM table_name_63 WHERE i_o_bus = "standard power"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29295463_9 (semifinalists VARCHAR, champion VARCHAR)
### Question:
Who were the semifinalists in the tournament where Mats Wilander 7-6, 6-3 was declared the champion?
### Answer:
SELECT semifinalists FROM table_29295463_9 WHERE champion = "Mats Wilander 7-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_name_20 (tire VARCHAR, sponsor VARCHAR)
### Question:
Which Tire has a Sponsor of Duracell?
### Answer:
SELECT tire FROM table_name_20 WHERE sponsor = "duracell"
|
Below is an context that describes a sql 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 (pba_team VARCHAR, college VARCHAR, pick VARCHAR)
### Question:
What PBA team is the player from Ateneo college and a pick of 17?
### Answer:
SELECT pba_team FROM table_name_10 WHERE college = "ateneo" AND pick = 17
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26013618_1 (name_of_the_nature_reserve VARCHAR, nsg_nr VARCHAR)
### Question:
How many names does nature reserve 54 have?
### Answer:
SELECT COUNT(name_of_the_nature_reserve) FROM table_26013618_1 WHERE nsg_nr = 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_name_61 (games VARCHAR, assists VARCHAR)
### Question:
How many games were played by the player with 127 assists?
### Answer:
SELECT games FROM table_name_61 WHERE assists = "127"
|
Below is an context that describes a sql 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 (san_jose_goals INTEGER, san_jose_wins INTEGER)
### Question:
Which San Jose goals have a San Jose wins smaller than 0?
### Answer:
SELECT MIN(san_jose_goals) FROM table_name_28 WHERE san_jose_wins < 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_97 (team_1 VARCHAR)
### Question:
What is 2nd Leg, when Team 1 is "H"?
### Answer:
SELECT 2 AS nd_leg FROM table_name_97 WHERE team_1 = "h"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (starts VARCHAR, wins VARCHAR, money_list_rank VARCHAR)
### Question:
Which total number of starts has more than 2 wins and a money list rank greater than 1?
### Answer:
SELECT COUNT(starts) FROM table_name_18 WHERE wins > 2 AND money_list_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_65 (religion VARCHAR, para VARCHAR)
### Question:
What religion has a para of 56.5%?
### Answer:
SELECT religion FROM table_name_65 WHERE para = "56.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_34 (position VARCHAR, college VARCHAR)
### Question:
What position did the palyer drafted out of Washington play?
### Answer:
SELECT position FROM table_name_34 WHERE college = "washington"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Order_items (order_id VARCHAR, product_quantity INTEGER)
### Question:
Show order ids and the total quantity in each order.
### Answer:
SELECT order_id, SUM(product_quantity) FROM Order_items GROUP BY order_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_name_99 (score VARCHAR, away_team VARCHAR)
### Question:
what is the score when the away team is rivercity rage?
### Answer:
SELECT score FROM table_name_99 WHERE away_team = "rivercity rage"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.