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_23 (title VARCHAR, recorded VARCHAR, track VARCHAR)
### Question:
Which track 7 title was recorded in 1959-09-15?
### Answer:
SELECT title FROM table_name_23 WHERE recorded = "1959-09-15" AND track = 7 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (school VARCHAR, player VARCHAR)
### Question:
What school did delray brooks go to?
### Answer:
SELECT school FROM table_name_72 WHERE player = "delray brooks" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (icb_sector VARCHAR, ticker_symbol VARCHAR)
### Question:
Which ICB Sector had a ticker symbol of pp?
### Answer:
SELECT icb_sector FROM table_name_47 WHERE ticker_symbol = "pp" |
Below is an context that describes a sql 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 (commissioned VARCHAR, launched VARCHAR)
### Question:
Tell me what was commissioned december 30, 1965
### Answer:
SELECT commissioned FROM table_name_12 WHERE launched = "december 30, 1965" |
Below is an context that describes a sql 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 (high_points VARCHAR, series VARCHAR)
### Question:
With a 0-2 series, what is the high points?
### Answer:
SELECT high_points FROM table_name_23 WHERE series = "0-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 stadium (country VARCHAR)
### Question:
How many stadiums does each country have?
### Answer:
SELECT country, COUNT(*) FROM stadium GROUP BY 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_6 (opponent VARCHAR, date VARCHAR)
### Question:
Name the opponent on november 22, 1942
### Answer:
SELECT opponent FROM table_name_6 WHERE date = "november 22, 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_53 (to_par VARCHAR, year_s__won INTEGER)
### Question:
What is the to par when the year(s) won is larger than 1999?
### Answer:
SELECT to_par FROM table_name_53 WHERE year_s__won > 1999 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (opponent VARCHAR, march VARCHAR)
### Question:
Which opponent's march was 31?
### Answer:
SELECT opponent FROM table_name_19 WHERE march = 31 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1425958_1 (density__pop_km²_ VARCHAR)
### Question:
How many locations had a density (pop/km²) of 91.8 in the 2011 census?
### Answer:
SELECT COUNT(2011 AS _census) FROM table_1425958_1 WHERE density__pop_km²_ = "91.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_48 (team_2 VARCHAR, team_1 VARCHAR)
### Question:
Which Team 2 faced Team 1 from Barcelona?
### Answer:
SELECT team_2 FROM table_name_48 WHERE team_1 = "barcelona" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26250189_1 (song_choice VARCHAR, original_artist VARCHAR)
### Question:
What was the choice of song where the original artist was Stevie Wonder?
### Answer:
SELECT song_choice FROM table_26250189_1 WHERE original_artist = "Stevie Wonder" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23239946_3 (driver VARCHAR, points VARCHAR)
### Question:
How many drivers have 1942 points?
### Answer:
SELECT COUNT(driver) FROM table_23239946_3 WHERE points = 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_46 (venue VARCHAR, away_team VARCHAR)
### Question:
Where did St KIlda play their away game?
### Answer:
SELECT venue FROM table_name_46 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_11959669_6 (record VARCHAR, high_assists VARCHAR)
### Question:
What is the record where high assists is pierce (6)?
### Answer:
SELECT record FROM table_11959669_6 WHERE high_assists = "Pierce (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_1356555_2 (median_household_income VARCHAR, county VARCHAR)
### Question:
What is the median household income of sacramento?
### Answer:
SELECT median_household_income FROM table_1356555_2 WHERE county = "Sacramento" |
Below is an context that describes a sql 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 (event VARCHAR, time VARCHAR)
### Question:
What was the name of the Event with a time of 2:19?
### Answer:
SELECT event FROM table_name_8 WHERE time = "2: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_2342078_6 (production_code__number VARCHAR, episode__number VARCHAR)
### Question:
Name the production code # for episode 109
### Answer:
SELECT COUNT(production_code__number) FROM table_2342078_6 WHERE episode__number = 109 |
Below is an context that describes a sql 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 (publisher VARCHAR, year VARCHAR, title VARCHAR)
### Question:
Who published Star Citizen in 2014?
### Answer:
SELECT publisher FROM table_name_17 WHERE year = "2014" AND title = "star citizen" |
Below is an context that describes a sql 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 (agg VARCHAR, team_2 VARCHAR)
### Question:
What was the aggregate for the match with a team 2 of Hafia FC?
### Answer:
SELECT agg FROM table_name_98 WHERE team_2 = "hafia fc" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17366952_1 (lost VARCHAR, goal_average_1 VARCHAR)
### Question:
List all losses with average goals of 1.21.
### Answer:
SELECT lost FROM table_17366952_1 WHERE goal_average_1 = "1.21" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (pos INTEGER, league VARCHAR, postseason VARCHAR)
### Question:
What is the average position for tb2l teams promoted champion?
### Answer:
SELECT AVG(pos) FROM table_name_79 WHERE league = "tb2l" AND postseason = "promoted champion" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27512025_1 (ab_ripper_x VARCHAR, length VARCHAR)
### Question:
What is the ab ripper x when the length is 92:24?
### Answer:
SELECT ab_ripper_x FROM table_27512025_1 WHERE length = "92: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_name_83 (total INTEGER, gold VARCHAR)
### Question:
What is the total number of medals when there are 18 gold medals?
### Answer:
SELECT SUM(total) FROM table_name_83 WHERE gold = 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_43 (for_prohibition INTEGER, against_prohibition VARCHAR, jurisdiction VARCHAR, percent_against VARCHAR, percent_for VARCHAR)
### Question:
What is the highest number supporting prohibition in British Columbia when the percent opposing is more than 10.8, the percent supporting is less than 72.2, number against is less than 4,756?
### Answer:
SELECT MAX(for_prohibition) FROM table_name_43 WHERE percent_against > 10.8 AND percent_for < 72.2 AND jurisdiction = "british columbia" AND against_prohibition < 4 OFFSET 756 |
Below is an context that describes a sql 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 (earnings___$__ VARCHAR, tournaments_played VARCHAR, year VARCHAR)
### Question:
What 2012 amount of earnings corresponds with less than 28 tournaments played?
### Answer:
SELECT earnings___$__ FROM table_name_59 WHERE tournaments_played < 28 AND year = "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_name_79 (swimsuit INTEGER, average VARCHAR, interview VARCHAR)
### Question:
What is the sum of Swimsuit scores where the average score is 9.733 and the interview score is higher than 9.654?
### Answer:
SELECT SUM(swimsuit) FROM table_name_79 WHERE average = 9.733 AND interview > 9.654 |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
Which 2007 has a 2003 of 1r?
### Answer:
SELECT 2007 FROM table_name_81 WHERE 2003 = "1r" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19131921_1 (frequency VARCHAR, station VARCHAR)
### Question:
Which frequency is station wlfv-fm?
### Answer:
SELECT frequency FROM table_19131921_1 WHERE station = "WLFV-FM" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15211468_3 (uk_broadcast_date VARCHAR, presenter VARCHAR)
### Question:
What was the UK broadcast date for the episode presented by Buck Henry?
### Answer:
SELECT uk_broadcast_date FROM table_15211468_3 WHERE presenter = "Buck Henry" |
Below is an context that describes a sql 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 (surface VARCHAR, week VARCHAR)
### Question:
On what surface did they play the match in the week of October 21?
### Answer:
SELECT surface FROM table_name_27 WHERE week = "october 21" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (mar_17 VARCHAR, april_21 VARCHAR)
### Question:
What is the rank for Mar 17 when the April 21 rank is 10?
### Answer:
SELECT mar_17 FROM table_name_96 WHERE april_21 = "10" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
Who is the director of Cannibal vegetarian, which is the film title used in nomination?
### Answer:
SELECT director_s_ FROM table_name_92 WHERE film_title_used_in_nomination = "cannibal vegetarian" |
Below is an context that describes a sql 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 (league VARCHAR, venue VARCHAR)
### Question:
What kind of League has a Venue of billesley common?
### Answer:
SELECT league FROM table_name_48 WHERE venue = "billesley common" |
Below is an context that describes a sql 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 (against VARCHAR, drawn VARCHAR)
### Question:
What is the Against when the drawn is 5?
### Answer:
SELECT against FROM table_name_21 WHERE drawn = 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_15 (high_rebounds VARCHAR, location_attendance VARCHAR, date VARCHAR)
### Question:
What is High Rebounds, when Location Attendance is "Madison Square Garden Unknown", and when Date is "May 18"?
### Answer:
SELECT high_rebounds FROM table_name_15 WHERE location_attendance = "madison square garden unknown" AND date = "may 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_31 (assist_pass VARCHAR, goal VARCHAR)
### Question:
Which Assist/pass has a Goal of 5?
### Answer:
SELECT assist_pass FROM table_name_31 WHERE goal = "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_71 (player VARCHAR, years_for_grizzlies VARCHAR, nationality VARCHAR, position VARCHAR)
### Question:
Who was the 1999-2002 Years for Grizzlies small forward Player who was from the United States?
### Answer:
SELECT player FROM table_name_71 WHERE nationality = "united states" AND position = "small forward" AND years_for_grizzlies = "1999-2002" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE invoices (billing_state VARCHAR, total INTEGER)
### Question:
List the number of invoices and the invoice total from California.
### Answer:
SELECT billing_state, COUNT(*), SUM(total) FROM invoices WHERE billing_state = "CA" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24051050_1 (episode VARCHAR, contest VARCHAR)
### Question:
In what episode did heat 1 take place?
### Answer:
SELECT episode FROM table_24051050_1 WHERE contest = "Heat 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 (series VARCHAR, date VARCHAR)
### Question:
What is Series, when Date is "June 7"?
### Answer:
SELECT series FROM table_name_74 WHERE date = "june 7" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (score VARCHAR, high_points VARCHAR, high_rebounds VARCHAR)
### Question:
What is Score, when High Points is "Luis Scola (18)", and when High Rebounds is "Luis Scola (11)"?
### Answer:
SELECT score FROM table_name_93 WHERE high_points = "luis scola (18)" AND high_rebounds = "luis scola (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_26267607_2 (date VARCHAR, circuit VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
### Question:
On what date is the winning team Abt Sportsline and pole position Mattias Ekström in the Circuit Ricardo Tormo , Valencia?
### Answer:
SELECT date FROM table_26267607_2 WHERE winning_team = "Abt Sportsline" AND pole_position = "Mattias Ekström" AND circuit = "circuit Ricardo Tormo , Valencia" |
Below is an context that describes a sql 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 (format_name VARCHAR, video_coding VARCHAR, color_sampling VARCHAR)
### Question:
What format name has dv as video coding and 4:1:1 as the color sampling?
### Answer:
SELECT format_name FROM table_name_44 WHERE video_coding = "dv" AND color_sampling = "4:1: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_68 (distance__miles_ VARCHAR, winner VARCHAR, year VARCHAR)
### Question:
When the winner was No Race in a year after 1909, what was the distance?
### Answer:
SELECT distance__miles_ FROM table_name_68 WHERE winner = "no race" AND year > 1909 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (score VARCHAR, opponent VARCHAR)
### Question:
What was the score when Richmond was the opponent?
### Answer:
SELECT score FROM table_name_45 WHERE opponent = "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_71 (venue VARCHAR, opponent VARCHAR, batsmen VARCHAR)
### Question:
Where did jamie cox & daniel marsh play against queensland?
### Answer:
SELECT venue FROM table_name_71 WHERE opponent = "queensland" AND batsmen = "jamie cox & daniel marsh" |
Below is an context that describes a sql 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 (longitude INTEGER, diameter__km_ VARCHAR, latitude VARCHAR)
### Question:
Tell me the sum of longitude for diameter being 22.6 and latitude less than -12.4
### Answer:
SELECT SUM(longitude) FROM table_name_65 WHERE diameter__km_ = 22.6 AND latitude < -12.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_98 (location_attendance VARCHAR, high_points VARCHAR)
### Question:
What is Location Attendance, when High Points is "Allen Iverson (23)"?
### Answer:
SELECT location_attendance FROM table_name_98 WHERE high_points = "allen iverson (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_85 (wicket VARCHAR, runs VARCHAR)
### Question:
Which wicket had 580 runs?
### Answer:
SELECT wicket FROM table_name_85 WHERE runs = "580" |
Below is an context that describes a sql 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 (general_classification VARCHAR, points_classification VARCHAR)
### Question:
What general classification has levi leipheimer as points classification?
### Answer:
SELECT general_classification FROM table_name_26 WHERE points_classification = "levi leipheimer" |
Below is an context that describes a sql 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 (opponent VARCHAR, loss VARCHAR)
### Question:
Which opponent has a Loss of corcoran (4-4)?
### Answer:
SELECT opponent FROM table_name_28 WHERE loss = "corcoran (4-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_84 (pick__number INTEGER, player VARCHAR)
### Question:
What is the Pick # for Ryan Strong?
### Answer:
SELECT MAX(pick__number) FROM table_name_84 WHERE player = "ryan strong" |
Below is an context that describes a sql 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 (set_1 VARCHAR, time VARCHAR, set_3 VARCHAR)
### Question:
Which Set 1 has a Time of 14:00, and a Set 3 of 19–25?
### Answer:
SELECT set_1 FROM table_name_22 WHERE time = "14:00" AND set_3 = "19–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_20 (series VARCHAR, saturday VARCHAR)
### Question:
Which series airs Saturday on Channel 5?
### Answer:
SELECT series FROM table_name_20 WHERE saturday = "channel 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_67 (label VARCHAR, region VARCHAR, format VARCHAR)
### Question:
Which Label has a Region of united states, and a Format of lp album?
### Answer:
SELECT label FROM table_name_67 WHERE region = "united states" AND format = "lp album" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (producer VARCHAR, director VARCHAR)
### Question:
What is Director Bona Fajardo's Producer?
### Answer:
SELECT producer FROM table_name_32 WHERE director = "bona fajardo" |
Below is an context that describes a sql 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 (round VARCHAR, pick__number VARCHAR)
### Question:
For Pick #323, which round is it?
### Answer:
SELECT round FROM table_name_41 WHERE pick__number = 323 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12030612_3 (season__number VARCHAR, written_by VARCHAR)
### Question:
What season features writer Michael Poryes?
### Answer:
SELECT season__number FROM table_12030612_3 WHERE written_by = "Michael Poryes" |
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR)
### Question:
What is Score, when Record is "2-0"?
### Answer:
SELECT score FROM table_name_95 WHERE record = "2-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 Products (Id VARCHAR)
### Question:
How many products are there?
### Answer:
SELECT COUNT(*) 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_70 (role VARCHAR, film VARCHAR)
### Question:
What was the Last Samurai role?
### Answer:
SELECT role FROM table_name_70 WHERE film = "the last samurai" |
Below is an context that describes a sql 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 (rank INTEGER, headquarters VARCHAR, market_value__billion_$_ VARCHAR)
### Question:
What is the average rank for USA when the market value is 407.2 billion?
### Answer:
SELECT AVG(rank) FROM table_name_31 WHERE headquarters = "usa" AND market_value__billion_$_ > 407.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_13 (visitor VARCHAR, date VARCHAR)
### Question:
Who is the visitor of the match on July 29?
### Answer:
SELECT visitor FROM table_name_13 WHERE date = "july 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_87 (quantity INTEGER, type VARCHAR, year_s__of_manufacture VARCHAR)
### Question:
Which Quantity has a Type of e h4v, and a Year(s) of Manufacture of 1920–1924?
### Answer:
SELECT MIN(quantity) FROM table_name_87 WHERE type = "e h4v" AND year_s__of_manufacture = "1920–1924" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10015132_14 (school_club_team VARCHAR, player VARCHAR)
### Question:
What school did Patrick O'Bryant play for?
### Answer:
SELECT school_club_team FROM table_10015132_14 WHERE player = "Patrick O'Bryant" |
Below is an context that describes a sql 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 (game INTEGER, record VARCHAR, points VARCHAR)
### Question:
Which Game has a Record of 14–10–4, and Points smaller than 32?
### Answer:
SELECT SUM(game) FROM table_name_50 WHERE record = "14–10–4" AND points < 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_34 (silver INTEGER, nation VARCHAR, bronze VARCHAR)
### Question:
Tell me the sum of silver for liechtenstein and bronze more than 4
### Answer:
SELECT SUM(silver) FROM table_name_34 WHERE nation = "liechtenstein" AND bronze > 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_99 (wins INTEGER, against VARCHAR, geelong_fl VARCHAR)
### Question:
How many total wins for Leopold that had fewer than 1706 against?
### Answer:
SELECT SUM(wins) FROM table_name_99 WHERE against < 1706 AND geelong_fl = "leopold" |
Below is an context that describes a sql 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 (swimsuit VARCHAR, interview VARCHAR, evening_gown VARCHAR, country VARCHAR)
### Question:
What is the total swimsuit number with gowns larger than 9.48 with interviews larger than 8.94 in florida?
### Answer:
SELECT COUNT(swimsuit) FROM table_name_35 WHERE evening_gown > 9.48 AND country = "florida" AND interview > 8.94 |
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR)
### Question:
What was the date of the game when North Melbourne was the away team?
### Answer:
SELECT date FROM table_name_10 WHERE away_team = "north 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 songs (title VARCHAR, songid VARCHAR); CREATE TABLE vocals (songid VARCHAR)
### Question:
Find all the songs that do not have a back vocal.
### Answer:
SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid WHERE TYPE = "back" |
Below is an context that describes a sql 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 (run_2 INTEGER, run_1 VARCHAR, athlete VARCHAR)
### Question:
What was john farrow's run 2 associated with a run 1 of greater than 52.25?
### Answer:
SELECT MAX(run_2) FROM table_name_21 WHERE run_1 > 52.25 AND athlete = "john farrow" |
Below is an context that describes a sql 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 (wins VARCHAR, points VARCHAR)
### Question:
How many wins does the driver with 217 points have?
### Answer:
SELECT wins FROM table_name_44 WHERE points = 217 |
Below is an context that describes a sql 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 (decision VARCHAR, home VARCHAR)
### Question:
Who was the Decision at Anaheim's home game?
### Answer:
SELECT decision FROM table_name_51 WHERE home = "anaheim" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28846752_13 (economy VARCHAR, bbi VARCHAR)
### Question:
How many economy stats for the player with 2/19 BBI?
### Answer:
SELECT COUNT(economy) FROM table_28846752_13 WHERE bbi = "2/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_41 (record VARCHAR, round VARCHAR, time VARCHAR)
### Question:
what is the record when the round is before 3 and the time si 4:59?
### Answer:
SELECT record FROM table_name_41 WHERE round < 3 AND time = "4:59" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11208143_9 (stadium VARCHAR, capacity VARCHAR)
### Question:
Which stadiums have a capacity of 51082?
### Answer:
SELECT stadium FROM table_11208143_9 WHERE capacity = 51082 |
Below is an context that describes a sql 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 (location VARCHAR, individual VARCHAR)
### Question:
What is the Location when the individual was josé maria cañizares?
### Answer:
SELECT location FROM table_name_23 WHERE individual = "josé maria cañizares" |
Below is an context that describes a sql 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 (games VARCHAR, event VARCHAR, medal VARCHAR, sport VARCHAR)
### Question:
At which games was a bronze medal won in the 94kg men's weightlifting event?
### Answer:
SELECT games FROM table_name_71 WHERE medal = "bronze" AND sport = "weightlifting" AND event = "94kg men's weightlifting" |
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR, player VARCHAR)
### Question:
What Country has a 67 score by Phil Mickelson?
### Answer:
SELECT country FROM table_name_89 WHERE score = 67 AND player = "phil mickelson" |
Below is an context that describes a sql 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 (year INTEGER, points VARCHAR, engine VARCHAR, entrant VARCHAR)
### Question:
How many years did barclay nordica arrows bmw enter with a bmw str-4 t/c engine with less than 1 point?
### Answer:
SELECT SUM(year) FROM table_name_98 WHERE engine = "bmw str-4 t/c" AND entrant = "barclay nordica arrows bmw" AND points < 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_19523142_5 (group_7 VARCHAR, group_12 VARCHAR)
### Question:
Nusa Ina only played once while group 7 played.
### Answer:
SELECT COUNT(group_7) FROM table_19523142_5 WHERE group_12 = "Nusa Ina" |
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR, country VARCHAR)
### Question:
What is Player, when Score is less than 69, and when Country is "United States"?
### Answer:
SELECT player FROM table_name_70 WHERE score < 69 AND country = "united states" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28744929_2 (overall_record VARCHAR, head_coach VARCHAR)
### Question:
How many values reflect the overall record of the team coached by Frank Beamer?
### Answer:
SELECT COUNT(overall_record) FROM table_28744929_2 WHERE head_coach = "Frank Beamer" |
Below is an context that describes a sql 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 (home VARCHAR, date VARCHAR)
### Question:
What is the Home team on April 2?
### Answer:
SELECT home FROM table_name_43 WHERE date = "april 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_92 (venue VARCHAR, result VARCHAR)
### Question:
Which venue has a Result of draw?
### Answer:
SELECT venue FROM table_name_92 WHERE result = "draw" |
Below is an context that describes a sql 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 (owner VARCHAR, delivered_as VARCHAR)
### Question:
What Owner Delivered the T415?
### Answer:
SELECT owner FROM table_name_70 WHERE delivered_as = "t415" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16201038_4 (missouri_vs VARCHAR, at_opponents_venue VARCHAR)
### Question:
Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How
### Answer:
SELECT missouri_vs FROM table_16201038_4 WHERE at_opponents_venue = "UI, 4-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_92 (length INTEGER, taper VARCHAR, large_end VARCHAR)
### Question:
Which Length has a Taper of #15, and a Large end larger than 1.875?
### Answer:
SELECT MAX(length) FROM table_name_92 WHERE taper = "#15" AND large_end > 1.875 |
Below is an context that describes a sql 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 (runner_up VARCHAR, year VARCHAR)
### Question:
Who is the runner-up in 1990?
### Answer:
SELECT runner_up FROM table_name_59 WHERE year = 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_45 (against INTEGER, lost INTEGER)
### Question:
What is the sum of Against when the lost is more than 7?
### Answer:
SELECT SUM(against) FROM table_name_45 WHERE lost > 7 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (points INTEGER, player VARCHAR, extra_points VARCHAR)
### Question:
How many points does Tom Hammond have if he has more than 12 points?
### Answer:
SELECT SUM(points) FROM table_name_12 WHERE player = "tom hammond" AND extra_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_60 (other VARCHAR, player VARCHAR, total VARCHAR)
### Question:
What is the number for other when Adam Pepper is the player with a total more than 7?
### Answer:
SELECT COUNT(other) FROM table_name_60 WHERE player = "adam pepper" AND total > 7 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (wins INTEGER, events VARCHAR)
### Question:
What is the fewest wins for Thomas in events he had entered exactly 9 times?
### Answer:
SELECT MIN(wins) FROM table_name_13 WHERE events = 9 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (mixed_doubles VARCHAR, year VARCHAR)
### Question:
Who won the Mixed Doubles in 2007?
### Answer:
SELECT mixed_doubles FROM table_name_49 WHERE year = "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_49 (location VARCHAR, score VARCHAR)
### Question:
where has a Score of match reports?
### Answer:
SELECT location FROM table_name_49 WHERE score = "match reports" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17327458_1 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)
### Question:
Who left a position on 24 January?
### Answer:
SELECT outgoing_manager FROM table_17327458_1 WHERE date_of_vacancy = "24 January" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15681686_4 (rank__night_ VARCHAR, rating VARCHAR)
### Question:
what is the rank for the rating 4.4?
### Answer:
SELECT rank__night_ FROM table_15681686_4 WHERE rating = "4.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 instructor (ID VARCHAR); CREATE TABLE teaches (ID VARCHAR)
### Question:
Find the names of all instructors who have taught some course and the course_id.
### Answer:
SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.