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_39 (winner VARCHAR, prize VARCHAR)
### Question:
Who was the winner of the prize zł 1,226,711?
### Answer:
SELECT winner FROM table_name_39 WHERE prize = "zł 1,226,711" |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
Who was the opponent team on September 30, 1990?
### Answer:
SELECT opponent FROM table_name_23 WHERE date = "september 30, 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_70 (total VARCHAR, rank_by_average VARCHAR, place VARCHAR)
### Question:
What is the total with a 74 rank by average for 8th place?
### Answer:
SELECT total FROM table_name_70 WHERE rank_by_average = "74" AND place = "8th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE EVENTS (event_id VARCHAR); CREATE TABLE Participants_in_Events (event_id VARCHAR)
### Question:
How many events did not have any participants?
### Answer:
SELECT COUNT(*) FROM EVENTS WHERE NOT event_id IN (SELECT event_id FROM Participants_in_Events) |
Below is an context that describes a sql 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 (points INTEGER, winnings VARCHAR, car__number VARCHAR)
### Question:
How many points did the driver who won $127,541 driving car #31 get?
### Answer:
SELECT MAX(points) FROM table_name_88 WHERE winnings = "$127,541" AND car__number > 31 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (original_title VARCHAR, title_in_english VARCHAR)
### Question:
The Last Metro refers to which Original Title?
### Answer:
SELECT original_title FROM table_name_91 WHERE title_in_english = "the last metro" |
Below is an context that describes a sql 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 (losing_team VARCHAR, total VARCHAR, winning_team VARCHAR)
### Question:
Who was the losing team with a total of 24 when the winning team was Sydney Roosters?
### Answer:
SELECT losing_team FROM table_name_44 WHERE total = 24 AND winning_team = "sydney roosters" |
Below is an context that describes a sql 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 (format VARCHAR, region VARCHAR)
### Question:
What is the Format of the release in Greece?
### Answer:
SELECT format FROM table_name_16 WHERE region = "greece" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (class VARCHAR, pos VARCHAR)
### Question:
What was the class position of the team that was in the 4th position?
### Answer:
SELECT class AS pos FROM table_name_73 WHERE pos = "4th" |
Below is an context that describes a sql 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 (away_team VARCHAR)
### Question:
What was the Away team score for Footscray?
### Answer:
SELECT away_team AS score FROM table_name_44 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_5 (appearances VARCHAR, goals VARCHAR)
### Question:
What is the amount of apperances of the person who had 36 goals?
### Answer:
SELECT appearances FROM table_name_5 WHERE goals = 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_53 (award_name VARCHAR, team_name VARCHAR)
### Question:
What is the Award name with a Team name that is cougar robotics team?
### Answer:
SELECT award_name FROM table_name_53 WHERE team_name = "cougar robotics team" |
Below is an context that describes a sql 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 (first_season_of_current_spell_in_segunda_división INTEGER, city VARCHAR)
### Question:
What is the total of the first season in Segunda División that has a City of cañete?
### Answer:
SELECT SUM(first_season_of_current_spell_in_segunda_división) FROM table_name_44 WHERE city = "cañete" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE trip (id VARCHAR, duration VARCHAR)
### Question:
What is the id of the trip that has the shortest duration?
### Answer:
SELECT id FROM trip ORDER BY duration 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_11056278_3 (fastest_lap VARCHAR, winning_driver VARCHAR)
### Question:
Who had the fastest lap in the races won by Max Papis?
### Answer:
SELECT fastest_lap FROM table_11056278_3 WHERE winning_driver = "Max Papis" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
What is the 2006 result of the Canada Masters tournament that is A in 2009 and A in 2010?
### Answer:
SELECT 2006 FROM table_name_88 WHERE 2010 = "a" AND 2009 = "a" AND tournament = "canada masters" |
Below is an context that describes a sql 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 (electorate VARCHAR, first_elected VARCHAR, party VARCHAR)
### Question:
Who is the Electorate, when the year for First elected is 1974, and when the Party is Country?
### Answer:
SELECT electorate FROM table_name_16 WHERE first_elected = "1974" AND party = "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_44 (lane INTEGER, mark VARCHAR, react VARCHAR)
### Question:
What is the highest Lane, when Mark is 46.65, and when React is greater than 0.251?
### Answer:
SELECT MAX(lane) FROM table_name_44 WHERE mark = "46.65" AND react > 0.251 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (attendance VARCHAR, date VARCHAR)
### Question:
Where Date is october 14 what is the attendance?
### Answer:
SELECT attendance FROM table_name_40 WHERE date = "october 14" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE has_amenity (amenid VARCHAR, dormid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)
### Question:
List name of all amenities which Anonymous Donor Hall has, and sort the results in alphabetic order.
### Answer:
SELECT T1.amenity_name FROM dorm_amenity AS T1 JOIN has_amenity AS T2 ON T2.amenid = T1.amenid JOIN dorm AS T3 ON T2.dormid = T3.dormid WHERE T3.dorm_name = 'Anonymous Donor Hall' ORDER BY T1.amenity_name |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27303975_2 (catalog_number VARCHAR, release_date VARCHAR)
### Question:
Name the catalog number for october 6, 1988
### Answer:
SELECT catalog_number FROM table_27303975_2 WHERE release_date = "October 6, 1988" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (date VARCHAR, record VARCHAR)
### Question:
WHich Date has a Record of 2–7–0–1?
### Answer:
SELECT date FROM table_name_73 WHERE record = "2–7–0–1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2241841_1 (team VARCHAR, race_time VARCHAR)
### Question:
What team set a 3:15:43 winning time?
### Answer:
SELECT team FROM table_2241841_1 WHERE race_time = "3:15:43" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (opponents VARCHAR, date VARCHAR)
### Question:
Who is the Opponents on May 3, 1982?
### Answer:
SELECT opponents FROM table_name_73 WHERE date = "may 3, 1982" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE buildings (name VARCHAR, Status VARCHAR, Stories VARCHAR)
### Question:
Please show the names of the buildings whose status is "on-hold", in ascending order of stories.
### Answer:
SELECT name FROM buildings WHERE Status = "on-hold" ORDER BY Stories |
Below is an context that describes a sql 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 (year INTEGER, runner_s__up VARCHAR)
### Question:
In which year is the highest for runner-up Steve Stricker?
### Answer:
SELECT MAX(year) FROM table_name_58 WHERE runner_s__up = "steve stricker" |
Below is an context that describes a sql 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 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
What is the Time/Retired with more Laps than 34, a Grid smaller than 15, and Driver Damon Hill?
### Answer:
SELECT time_retired FROM table_name_88 WHERE laps > 34 AND grid < 15 AND driver = "damon hill" |
Below is an context that describes a sql 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 (long INTEGER, name VARCHAR, loss VARCHAR)
### Question:
What was Rock Cartwright's highest long with more than 11 losses?
### Answer:
SELECT AVG(long) FROM table_name_44 WHERE name = "rock cartwright" AND loss > 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_name_43 (opponent_in_the_final VARCHAR, date VARCHAR)
### Question:
Who is the opponent in the final on 24 November 2008?
### Answer:
SELECT opponent_in_the_final FROM table_name_43 WHERE date = "24 november 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_54 (report VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
### Question:
What was the report when Mario Andretti held pole position and Jean-Pierre Jarier had the fastest lap?
### Answer:
SELECT report FROM table_name_54 WHERE pole_position = "mario andretti" AND fastest_lap = "jean-pierre jarier" |
Below is an context that describes a sql 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 (date_³ VARCHAR, korean_name_² VARCHAR)
### Question:
When has a Korean name ² of 청명 (清明) cheongmyeong?
### Answer:
SELECT date_³ FROM table_name_88 WHERE korean_name_² = "청명 (清明) cheongmyeong" |
Below is an context that describes a sql 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 (date VARCHAR, opponent VARCHAR)
### Question:
On what day was Utah Blaze the opponent?
### Answer:
SELECT date FROM table_name_6 WHERE opponent = "utah blaze" |
Below is an context that describes a sql 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 (chrome VARCHAR, opera VARCHAR, safari VARCHAR)
### Question:
What percentage of browsers were using Chrome during the period in which 0.30% were using Opera and 6.77% were using Safari?
### Answer:
SELECT chrome FROM table_name_22 WHERE opera = "0.30%" AND safari = "6.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_1602620_1 (term_ended VARCHAR, elected VARCHAR)
### Question:
What year did the term end for those elected in 1990
### Answer:
SELECT term_ended FROM table_1602620_1 WHERE elected = 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_15887683_5 (ppv VARCHAR, television_service VARCHAR)
### Question:
How many PPV values are listed for when television service Sky Cinema 1?
### Answer:
SELECT COUNT(ppv) FROM table_15887683_5 WHERE television_service = "Sky Cinema 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_38 (rank INTEGER, notes VARCHAR, country VARCHAR)
### Question:
What is the rank for the man from China with notes of QS?
### Answer:
SELECT MAX(rank) FROM table_name_38 WHERE notes = "qs" AND country = "china" |
Below is an context that describes a sql 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 (date_performed VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR)
### Question:
What Date performed has a Scores by each individual judge of 10 + 10 + 10 = 30, and a Main contestant of karanvir bohra?
### Answer:
SELECT date_performed FROM table_name_19 WHERE scores_by_each_individual_judge = 10 + 10 + 10 = 30 AND main_contestant = "karanvir bohra" |
Below is an context that describes a sql 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 (competition VARCHAR, club VARCHAR)
### Question:
What competition did the maccabi haifa fc club play?
### Answer:
SELECT competition FROM table_name_87 WHERE club = "maccabi haifa 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_name_44 (opponents_in_the_final VARCHAR, tournament VARCHAR)
### Question:
What is the Opponents from the final with a Tournament that is puebla?
### Answer:
SELECT opponents_in_the_final FROM table_name_44 WHERE tournament = "puebla" |
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR)
### Question:
what is the country when the score is 72-68-67=207?
### Answer:
SELECT country FROM table_name_79 WHERE score = 72 - 68 - 67 = 207 |
Below is an context that describes a sql 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 (surface VARCHAR, tournament VARCHAR, date VARCHAR)
### Question:
Tell me the surface for eastbourne 14 june 1999
### Answer:
SELECT surface FROM table_name_6 WHERE tournament = "eastbourne" AND date = "14 june 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_23 (result VARCHAR, week VARCHAR, attendance VARCHAR)
### Question:
What was the result of the game prior to week 9 with an attendance of 49,970?
### Answer:
SELECT result FROM table_name_23 WHERE week < 9 AND attendance = "49,970" |
Below is an context that describes a sql 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 (races VARCHAR, podiums VARCHAR)
### Question:
Which races have #2 podiums?
### Answer:
SELECT races FROM table_name_6 WHERE podiums = "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_28190534_1 (engine VARCHAR, entrant VARCHAR)
### Question:
Name the engine for ecurie lutetia
### Answer:
SELECT engine FROM table_28190534_1 WHERE entrant = "Ecurie Lutetia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677100_5 (hometown VARCHAR, player VARCHAR)
### Question:
What is Josh Hamilton's hometown?
### Answer:
SELECT hometown FROM table_11677100_5 WHERE player = "Josh Hamilton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29679510_2 (week INTEGER)
### Question:
In what week was the first game played?
### Answer:
SELECT MIN(week) FROM table_29679510_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_71 (country VARCHAR, stadium VARCHAR)
### Question:
What country has grandstand stadium as the stadium?
### Answer:
SELECT country FROM table_name_71 WHERE stadium = "grandstand 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_name_75 (silver INTEGER, gold VARCHAR, bronze VARCHAR, rank VARCHAR)
### Question:
What is the smallest Silver value associated with teams having more than 0 gold, 0 bronze, and a rank of 14?
### Answer:
SELECT MIN(silver) FROM table_name_75 WHERE bronze = 0 AND rank = 14 AND gold > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (date VARCHAR, against VARCHAR)
### Question:
What date has an against of pohang steelers?
### Answer:
SELECT date FROM table_name_2 WHERE against = "pohang steelers" |
Below is an context that describes a sql 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 (reg_gp INTEGER, pl_gp VARCHAR, rd__number VARCHAR, pick__number VARCHAR)
### Question:
What is the lowest reg gp of the player with a round # more than 2, a pick # of 80, and a PI GP larger than 0?
### Answer:
SELECT MIN(reg_gp) FROM table_name_69 WHERE rd__number > 2 AND pick__number = 80 AND pl_gp > 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_256286_43 (description VARCHAR, no_votes VARCHAR)
### Question:
What is every description if NO votes is 233759?
### Answer:
SELECT description FROM table_256286_43 WHERE no_votes = 233759 |
Below is an context that describes a sql 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 (margin_of_victory VARCHAR, winning_score VARCHAR)
### Question:
Can you tell me the Margin of victory that has the Winning score of 67-69-67-69=272?
### Answer:
SELECT margin_of_victory FROM table_name_20 WHERE winning_score = 67 - 69 - 67 - 69 = 272 |
Below is an context that describes a sql 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 (territory VARCHAR, channel VARCHAR)
### Question:
Where is channel 83 broadcasted?
### Answer:
SELECT territory FROM table_name_86 WHERE channel = 83 |
Below is an context that describes a sql 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 (college_junior_club_team VARCHAR, nhl_team VARCHAR, position VARCHAR)
### Question:
What is the college/junior/club team of the defence player drafted by the New York Rangers?
### Answer:
SELECT college_junior_club_team FROM table_name_43 WHERE nhl_team = "new york rangers" AND position = "defence" |
Below is an context that describes a sql 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 (city VARCHAR, july VARCHAR)
### Question:
In what city is the July temperature 23/9°c (73/48°f)?
### Answer:
SELECT city FROM table_name_49 WHERE july = "23/9°c (73/48°f)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20745444_1 (opponents INTEGER, record VARCHAR)
### Question:
How many losses were there when the record was 4-0?
### Answer:
SELECT MAX(opponents) FROM table_20745444_1 WHERE record = "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_name_90 (result VARCHAR, category VARCHAR)
### Question:
What was the result for the nomination of Best Revival of a Musical?
### Answer:
SELECT result FROM table_name_90 WHERE category = "best revival 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 table_27616663_1 (theme VARCHAR, original_artist VARCHAR)
### Question:
What was the theme when original artist Rosana's song was performed?
### Answer:
SELECT theme FROM table_27616663_1 WHERE original_artist = "Rosana" |
Below is an context that describes a sql 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 (date VARCHAR, wickets VARCHAR)
### Question:
Wickets of chris gayle caught kapali happened on what date?
### Answer:
SELECT date FROM table_name_16 WHERE wickets = "chris gayle caught kapali" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24138601_2 (date VARCHAR, final_score VARCHAR)
### Question:
Name the date for l 28–15
### Answer:
SELECT date FROM table_24138601_2 WHERE final_score = "L 28–15" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (game_site VARCHAR, record VARCHAR)
### Question:
Where did they play on their bye week?
### Answer:
SELECT game_site FROM table_name_83 WHERE record = "bye" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2638104_1 (channel VARCHAR, broadcast_area VARCHAR)
### Question:
How many channels are there in the Greater Tokyo area?
### Answer:
SELECT COUNT(channel) FROM table_2638104_1 WHERE broadcast_area = "Greater Tokyo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21721351_18 (nationality VARCHAR, player VARCHAR)
### Question:
Which nationality is player Brian Wilks?
### Answer:
SELECT nationality FROM table_21721351_18 WHERE player = "Brian Wilks" |
Below is an context that describes a sql 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 (attendance INTEGER, visitor VARCHAR)
### Question:
What was the maximum attendance when Chicago is the visiting team?
### Answer:
SELECT MAX(attendance) FROM table_name_91 WHERE visitor = "chicago" |
Below is an context that describes a sql 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 (rank VARCHAR, bronze VARCHAR, nation VARCHAR)
### Question:
Where does Norway rank in total medals among countries with fewer than 7 bronzes?
### Answer:
SELECT rank FROM table_name_96 WHERE bronze < 7 AND nation = "norway" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (release_date VARCHAR, location VARCHAR)
### Question:
What is the release date when the location is Europe?
### Answer:
SELECT release_date FROM table_name_37 WHERE location = "europe" |
Below is an context that describes a sql 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 (player VARCHAR, to_par VARCHAR, score VARCHAR)
### Question:
What Player has a To par of +1 and the Score 75-70-71-73=289?
### Answer:
SELECT player FROM table_name_10 WHERE to_par = "+1" AND score = 75 - 70 - 71 - 73 = 289 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_169766_13 (new_returning_same_network VARCHAR, show VARCHAR)
### Question:
What is the new/returning/same network name for This Week in Baseball?
### Answer:
SELECT new_returning_same_network FROM table_169766_13 WHERE show = "This Week in Baseball" |
Below is an context that describes a sql 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, opponent VARCHAR)
### Question:
Name the score with opponent of milos raonic
### Answer:
SELECT score FROM table_name_82 WHERE opponent = "milos raonic" |
Below is an context that describes a sql 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 (attendance INTEGER, venue VARCHAR, result VARCHAR)
### Question:
what was the attendance at the home venue with result w 3-1?
### Answer:
SELECT MAX(attendance) FROM table_name_99 WHERE venue = "home" AND result = "w 3-1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (goals INTEGER, nat VARCHAR, transfer_fee VARCHAR)
### Question:
Name the highest goals for youth system and ita
### Answer:
SELECT MAX(goals) FROM table_name_7 WHERE nat = "ita" AND transfer_fee = "youth system" |
Below is an context that describes a sql 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 (attendance VARCHAR, opponent VARCHAR, date VARCHAR)
### Question:
What was the Attendance on May 12, when the New York Yankees were the Opponent?
### Answer:
SELECT attendance FROM table_name_71 WHERE opponent = "new york yankees" AND date = "may 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_83 (round VARCHAR, result VARCHAR)
### Question:
What round had a result of 6–7 (6–8) , 1–6?
### Answer:
SELECT round FROM table_name_83 WHERE result = "6–7 (6–8) , 1–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_32 (date VARCHAR, score VARCHAR, high_assists VARCHAR, high_points VARCHAR)
### Question:
what is the date when ramon sessions (8) had the high assists, richard jefferson (29) had the high points and the score was w 107–78 (ot)?
### Answer:
SELECT date FROM table_name_32 WHERE high_assists = "ramon sessions (8)" AND high_points = "richard jefferson (29)" AND score = "w 107–78 (ot)" |
Below is an context that describes a sql 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 (wins INTEGER, top_5 INTEGER)
### Question:
How many Wins have a Top 5 smaller than 0?
### Answer:
SELECT SUM(wins) FROM table_name_57 WHERE top_5 < 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_2226817_12 (no_in_series VARCHAR, directed_by VARCHAR)
### Question:
how many episodes has been directed by Mark K. Samuels ?
### Answer:
SELECT COUNT(no_in_series) FROM table_2226817_12 WHERE directed_by = "Mark K. Samuels" |
Below is an context that describes a sql 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 (established INTEGER, championships VARCHAR, club VARCHAR)
### Question:
Name the average established for championships less than 1 and club of erie seawolves
### Answer:
SELECT AVG(established) FROM table_name_53 WHERE championships < 1 AND club = "erie seawolves" |
Below is an context that describes a sql 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 (general_election VARCHAR, _number_of_seats_won VARCHAR, _number_of_candidates VARCHAR)
### Question:
How many general elections that have won smaller than 23 with candidates larger than 108?
### Answer:
SELECT COUNT(general_election) FROM table_name_95 WHERE _number_of_seats_won < 23 AND _number_of_candidates > 108 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19418696_3 (yards VARCHAR, qb_rating VARCHAR)
### Question:
How many yardage figures for the player with 72.3 QB rating?
### Answer:
SELECT COUNT(yards) FROM table_19418696_3 WHERE qb_rating = "72.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_66 (top_5 INTEGER, top_10 VARCHAR, wins VARCHAR, driver VARCHAR)
### Question:
What is Frank Kimmel's lowest top 5 with more than 0 wins and fewer than 14 top 10s?
### Answer:
SELECT MIN(top_5) FROM table_name_66 WHERE wins > 0 AND driver = "frank kimmel" AND top_10 < 14 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR)
### Question:
Which nationality's distance was 200m and had a year more recent than 1994 when the record was 33.778s?
### Answer:
SELECT nationality FROM table_name_10 WHERE distance = "200m" AND year > 1994 AND record = "33.778s" |
Below is an context that describes a sql 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 (constructor VARCHAR, driver VARCHAR)
### Question:
What was Jenson Button's constructor?
### Answer:
SELECT constructor FROM table_name_13 WHERE driver = "jenson button" |
Below is an context that describes a sql 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 (opponents INTEGER, record VARCHAR, vikings_points VARCHAR)
### Question:
Tell me the highest opponents for record of 7-3 and vikings points more than 7
### Answer:
SELECT MAX(opponents) FROM table_name_97 WHERE record = "7-3" AND vikings_points > 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_32 (attendance VARCHAR, loss VARCHAR)
### Question:
Loss of gonzález (0–3) had what attendance?
### Answer:
SELECT attendance FROM table_name_32 WHERE loss = "gonzález (0–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_38 (play_by_play VARCHAR, studio_host VARCHAR, year VARCHAR)
### Question:
Studio host of john ryder, and a Year of 2007-08 had what play by play?
### Answer:
SELECT play_by_play FROM table_name_38 WHERE studio_host = "john ryder" AND year = "2007-08" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15277629_1 (result VARCHAR, director VARCHAR)
### Question:
What was the result for director Fernando Meirelles
### Answer:
SELECT result FROM table_15277629_1 WHERE director = "Fernando Meirelles" |
Below is an context that describes a sql 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 (round INTEGER, position VARCHAR, overall VARCHAR)
### Question:
Which Round is the lowest one that has a Position of wide receiver, and an Overall smaller than 222?
### Answer:
SELECT MIN(round) FROM table_name_34 WHERE position = "wide receiver" AND overall < 222 |
Below is an context that describes a sql 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, time VARCHAR)
### Question:
What result had a time of 1:02?
### Answer:
SELECT result FROM table_name_14 WHERE time = "1:02" |
Below is an context that describes a sql 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 (against INTEGER, draws VARCHAR, losses VARCHAR, wimmera_fl VARCHAR)
### Question:
Which Against has Losses smaller than 5, and a Wimmera FL of warrack eagles, and Draws smaller than 0?
### Answer:
SELECT AVG(against) FROM table_name_68 WHERE losses < 5 AND wimmera_fl = "warrack eagles" AND draws < 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_65 (week_2 VARCHAR, week_3 VARCHAR)
### Question:
Who is week 2 if week 3 is Sara Stokes?
### Answer:
SELECT week_2 FROM table_name_65 WHERE week_3 = "sara stokes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_75 (built INTEGER, name VARCHAR)
### Question:
What is the average building year for Superb?
### Answer:
SELECT AVG(built) FROM table_name_75 WHERE name = "superb" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24172157_3 (date_of_appointment VARCHAR, team VARCHAR, incoming_manager VARCHAR)
### Question:
What was the date of appointment for incoming manager Roy Hodgson and the team is Liverpool?
### Answer:
SELECT date_of_appointment FROM table_24172157_3 WHERE team = "Liverpool" AND incoming_manager = "Roy Hodgson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23338693_1 (races VARCHAR, season VARCHAR, podiums VARCHAR)
### Question:
How many races in 2012 season have 0 podiums?
### Answer:
SELECT COUNT(races) FROM table_23338693_1 WHERE season = 2012 AND podiums = 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_86 (year_s__won VARCHAR, to_par VARCHAR)
### Question:
In which years was the to par +6?
### Answer:
SELECT year_s__won FROM table_name_86 WHERE to_par = "+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_38 (opponent_in_the_final VARCHAR, partner VARCHAR)
### Question:
Which Opponent in the final has a Partner of dustin brown?
### Answer:
SELECT opponent_in_the_final FROM table_name_38 WHERE partner = "dustin brown" |
Below is an context that describes a sql 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 (label VARCHAR, catalogue VARCHAR)
### Question:
What label has brol 34531 as it's catalogue?
### Answer:
SELECT label FROM table_name_31 WHERE catalogue = "brol 34531" |
Below is an context that describes a sql 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 (decile VARCHAR, authority VARCHAR, name VARCHAR)
### Question:
What is the decile for Westminster Christian School with a state integrated authority?
### Answer:
SELECT decile FROM table_name_55 WHERE authority = "state integrated" AND name = "westminster christian school" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE employees (id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE customers (support_rep_id VARCHAR)
### Question:
How many customers does Steve Johnson support?
### Answer:
SELECT COUNT(*) FROM employees AS T1 JOIN customers AS T2 ON T2.support_rep_id = T1.id WHERE T1.first_name = "Steve" AND T1.last_name = "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_27969432_2 (title VARCHAR, written_by VARCHAR)
### Question:
What is the name of the episode written by alison cross?
### Answer:
SELECT title FROM table_27969432_2 WHERE written_by = "Alison Cross" |
Below is an context that describes a sql 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 (service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
### Question:
Which general service in India is a part of the zee variasi network?
### Answer:
SELECT service FROM table_name_96 WHERE origin_of_programming = "india" AND genre = "general" AND network = "zee variasi" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.