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_57 (away VARCHAR, time VARCHAR)
### Question:
Who was the away team of the game at the time 15:00?
### Answer:
SELECT away FROM table_name_57 WHERE time = "15:00" |
Below is an context that describes a sql 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 (podiums INTEGER, wins VARCHAR, season VARCHAR)
### Question:
What is the highest Podiums with 0 as wins, and a season later than 1985?
### Answer:
SELECT MAX(podiums) FROM table_name_31 WHERE wins = 0 AND season > 1985 |
Below is an context that describes a sql 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 (performer_3 VARCHAR, performer_2 VARCHAR)
### Question:
Who was performer 3 with karen maruyama as performer 2?
### Answer:
SELECT performer_3 FROM table_name_67 WHERE performer_2 = "karen maruyama" |
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR)
### Question:
What was the attendance on september 29?
### Answer:
SELECT MAX(attendance) FROM table_name_83 WHERE date = "september 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_12 (gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR, rank VARCHAR)
### Question:
How many golds had a silver of more than 1, rank more than 1, total of more than 4 when the bronze was also more than 4?
### Answer:
SELECT SUM(gold) FROM table_name_12 WHERE silver > 1 AND rank > 1 AND total > 4 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_44 (mark VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR)
### Question:
What is the mark number when the lane for Rabangaki Nawai when it is greater than 2 and the heat is larger than 4?
### Answer:
SELECT mark FROM table_name_44 WHERE lane > 2 AND heat > 4 AND name = "rabangaki nawai" |
Below is an context that describes a sql 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 (bronze INTEGER, gold VARCHAR, total VARCHAR)
### Question:
What is the lowest number of bronze medals for nations with over 6 total and 2 golds?
### Answer:
SELECT MIN(bronze) FROM table_name_71 WHERE gold = 2 AND total > 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_21091127_1 (result VARCHAR, game VARCHAR)
### Question:
How many results have a game of 5?
### Answer:
SELECT COUNT(result) FROM table_21091127_1 WHERE game = 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_40 (score VARCHAR, record VARCHAR)
### Question:
Which Score has a Record of 1-2?
### Answer:
SELECT score FROM table_name_40 WHERE record = "1-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_7 (opponent VARCHAR, competition VARCHAR, score VARCHAR)
### Question:
At the VFL Reserves, who was the opponent when the score was 18.6 (114) - 21.14 (140)?
### Answer:
SELECT opponent FROM table_name_7 WHERE competition = "vfl reserves" AND score = "18.6 (114) - 21.14 (140)" |
Below is an context that describes a sql 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 (city VARCHAR, province VARCHAR)
### Question:
What city is in Saskatchewan?
### Answer:
SELECT city FROM table_name_70 WHERE province = "saskatchewan" |
Below is an context that describes a sql 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 (attendance VARCHAR, week VARCHAR)
### Question:
What was the attendance on week 7?
### Answer:
SELECT attendance FROM table_name_26 WHERE week = 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_7 (tries_against VARCHAR, points_for VARCHAR)
### Question:
Which Tries against has Points for of 564?
### Answer:
SELECT tries_against FROM table_name_7 WHERE points_for = "564" |
Below is an context that describes a sql 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 (round INTEGER, event VARCHAR)
### Question:
Tell me the lowest round for total combat 15
### Answer:
SELECT MIN(round) FROM table_name_97 WHERE event = "total combat 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_70 (pick__number VARCHAR, name VARCHAR)
### Question:
What number pick was Bill Athey?
### Answer:
SELECT pick__number FROM table_name_70 WHERE name = "bill athey" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22329326_1 (owned_since INTEGER)
### Question:
What was the earliest year a station was owned since?
### Answer:
SELECT MIN(owned_since) FROM table_22329326_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_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
### Question:
How many shows had 12.46 total viewers?
### Answer:
SELECT COUNT(title) FROM table_23793770_2 WHERE total_viewers__in_millions_ = "12.46" |
Below is an context that describes a sql 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 (academy_award VARCHAR, film VARCHAR)
### Question:
What is the Academy Award for the Film Educating Peter?
### Answer:
SELECT academy_award FROM table_name_34 WHERE film = "educating peter" |
Below is an context that describes a sql 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 (winner VARCHAR, trainer VARCHAR)
### Question:
Who won under Gary Simms?
### Answer:
SELECT winner FROM table_name_92 WHERE trainer = "gary simms" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17971449_2 (deployable_military__2011 VARCHAR, _thousands_ VARCHAR, country VARCHAR)
### Question:
Name the deployable military 2011 for denmark
### Answer:
SELECT deployable_military__2011, _thousands_ FROM table_17971449_2 WHERE country = "Denmark" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (athlete VARCHAR, time VARCHAR)
### Question:
Who had the time 13.6?
### Answer:
SELECT athlete FROM table_name_76 WHERE time = 13.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_34 (points INTEGER, grid VARCHAR, time_retired VARCHAR)
### Question:
What is the biggest points when the grid is less than 13 and the time/retired is +7.538 secs?
### Answer:
SELECT MAX(points) FROM table_name_34 WHERE grid < 13 AND time_retired = "+7.538 secs" |
Below is an context that describes a sql 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 (name VARCHAR, license VARCHAR, platform VARCHAR)
### Question:
Which name has a License of gpl, and a Platform of windows?
### Answer:
SELECT name FROM table_name_47 WHERE license = "gpl" AND platform = "windows" |
Below is an context that describes a sql 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, player VARCHAR)
### Question:
What is John Flatters' nationality?
### Answer:
SELECT nationality FROM table_name_10 WHERE player = "john flatters" |
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR)
### Question:
What is the name of the venue that they away team Collingwood played at?
### Answer:
SELECT venue FROM table_name_95 WHERE away_team = "collingwood" |
Below is an context that describes a sql 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 (cuts_made VARCHAR, wins VARCHAR, events VARCHAR)
### Question:
What cuts made has a wins less than 3 and 23 for the events?
### Answer:
SELECT cuts_made FROM table_name_43 WHERE wins < 3 AND events = 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_64 (date VARCHAR, score VARCHAR)
### Question:
On what Date was the match with a Score of 6-2, 6-4?
### Answer:
SELECT date FROM table_name_64 WHERE score = "6-2, 6-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_11 (nominated_by_the_taoiseach INTEGER, administrative_panel VARCHAR, industrial_and_commercial_panel VARCHAR)
### Question:
What is the highest number of nominations by Taoiseach of the composition with an administrative panel greater than 0 and an industrial and commercial panel less than 1?
### Answer:
SELECT MAX(nominated_by_the_taoiseach) FROM table_name_11 WHERE administrative_panel > 0 AND industrial_and_commercial_panel < 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_22 (place INTEGER, points VARCHAR, draw VARCHAR, english_translation VARCHAR)
### Question:
What is the total ranking when there are less than 16 draws, less than 1 point, and the English translation is in love with you?
### Answer:
SELECT SUM(place) FROM table_name_22 WHERE draw < 16 AND english_translation = "in love with you" 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_16381914_1 (affiliation VARCHAR, location VARCHAR)
### Question:
What affiliation is Erie, Pennsylvania?
### Answer:
SELECT affiliation FROM table_16381914_1 WHERE location = "Erie, Pennsylvania" |
Below is an context that describes a sql 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 (att_cmp_int VARCHAR, gp_gs VARCHAR, avg_g VARCHAR)
### Question:
What is the att-cmp-int that has 12 for the gp-gs and 174.3 as the avg/g?
### Answer:
SELECT att_cmp_int FROM table_name_16 WHERE gp_gs = "12" AND avg_g = 174.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_58 (badge_serial_number VARCHAR, date_of_death VARCHAR, rank VARCHAR, cause_of_death VARCHAR)
### Question:
What is the Badge/Serial Number of the Policeman who died in Gunfire on 1919-02-18?
### Answer:
SELECT badge_serial_number FROM table_name_58 WHERE rank = "policeman" AND cause_of_death = "gunfire" AND date_of_death = "1919-02-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_82 (career_w_l VARCHAR)
### Question:
What is theW-L of the tournament listed as A for 1976?
### Answer:
SELECT career_w_l FROM table_name_82 WHERE 1976 = "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_1553485_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR)
### Question:
Which city of license/market has 3 (26) as their channel tv (dt)?
### Answer:
SELECT city_of_license__market FROM table_1553485_1 WHERE channel_tv___dt__ = "3 (26)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15582870_1 (weight VARCHAR, college VARCHAR)
### Question:
How heavy were the players who attended Arkansas?
### Answer:
SELECT weight FROM table_15582870_1 WHERE college = "Arkansas" |
Below is an context that describes a sql 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 (total INTEGER, player VARCHAR)
### Question:
count the the average Total of ian baker-finch?
### Answer:
SELECT AVG(total) FROM table_name_39 WHERE player = "ian baker-finch" |
Below is an context that describes a sql 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 (round INTEGER, school_club_team VARCHAR)
### Question:
What is the highest round number for the player who came from team Missouri?
### Answer:
SELECT MAX(round) FROM table_name_38 WHERE school_club_team = "missouri" |
Below is an context that describes a sql 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 (margin_of_victory VARCHAR, tournament VARCHAR)
### Question:
Which Margin of victory has a Tournament of u.s. senior open?
### Answer:
SELECT margin_of_victory FROM table_name_34 WHERE tournament = "u.s. senior open" |
Below is an context that describes a sql 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 (pick INTEGER, position VARCHAR, player VARCHAR)
### Question:
What was the lowest pick for the RHP position and player Mike Biko?
### Answer:
SELECT MIN(pick) FROM table_name_67 WHERE position = "rhp" AND player = "mike biko" |
Below is an context that describes a sql 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 (record VARCHAR, attendance VARCHAR)
### Question:
What was the record at the game attended by 10,389?
### Answer:
SELECT record FROM table_name_48 WHERE attendance = "10,389" |
Below is an context that describes a sql 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 (final_score VARCHAR, stadium VARCHAR)
### Question:
What was the final score in Robert F. Kennedy Memorial Stadium?
### Answer:
SELECT final_score FROM table_name_26 WHERE stadium = "robert f. kennedy memorial 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_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
### Question:
Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5?
### Answer:
SELECT AVG(attendance) FROM table_name_32 WHERE opponent = "pittsburgh pirates" AND date = "may 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 (site VARCHAR, date VARCHAR)
### Question:
What is Site, when Date is "November 13"?
### Answer:
SELECT site FROM table_name_15 WHERE date = "november 13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (shooter VARCHAR, score_points VARCHAR, rank_points VARCHAR)
### Question:
Who's the shooter with 13 score points and 10 rank points?
### Answer:
SELECT shooter FROM table_name_32 WHERE score_points = "13" AND rank_points = "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_90 (date VARCHAR, result VARCHAR, opponent VARCHAR)
### Question:
Which date has a Result of 5β0, and an Opponent of tooting & mitcham?
### Answer:
SELECT date FROM table_name_90 WHERE result = "5β0" AND opponent = "tooting & mitcham" |
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR)
### Question:
What country has a score of 74-70=144
### Answer:
SELECT country FROM table_name_2 WHERE score = 74 - 70 = 144 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28211213_2 (team_nickname VARCHAR, location VARCHAR)
### Question:
When sylvania, oh is the location what is the team nickname?
### Answer:
SELECT team_nickname FROM table_28211213_2 WHERE location = "Sylvania, OH" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27723228_11 (location_attendance VARCHAR, team VARCHAR)
### Question:
What was the location and attendance of the game against Dallas?
### Answer:
SELECT location_attendance FROM table_27723228_11 WHERE team = "Dallas" |
Below is an context that describes a sql 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 (grid INTEGER, laps INTEGER)
### Question:
For Laps smaller than 6, what does the Grid add up to?
### Answer:
SELECT SUM(grid) FROM table_name_5 WHERE laps < 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_27501030_3 (score VARCHAR, opponent VARCHAR)
### Question:
What was the score for the opponent florida panthers?
### Answer:
SELECT COUNT(score) FROM table_27501030_3 WHERE opponent = "Florida Panthers" |
Below is an context that describes a sql 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 (laps VARCHAR, driver VARCHAR)
### Question:
How many laps does driver dario franchitti have?
### Answer:
SELECT laps FROM table_name_46 WHERE driver = "dario franchitti" |
Below is an context that describes a sql 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 (total_viewers__in_millions_ INTEGER, episode_number_production_number VARCHAR)
### Question:
What was the fewest number of viewers for the episode production number of 109 5-22?
### Answer:
SELECT MIN(total_viewers__in_millions_) FROM table_name_54 WHERE episode_number_production_number = "109 5-22" |
Below is an context that describes a sql 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 (state VARCHAR, electorate VARCHAR)
### Question:
In what state was the electorate fowler?
### Answer:
SELECT state FROM table_name_1 WHERE electorate = "fowler" |
Below is an context that describes a sql 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 (games VARCHAR, finals VARCHAR, w_league VARCHAR)
### Question:
How many games does the player with 1 (0) finals and a w-league of 28 (1) have?
### Answer:
SELECT games FROM table_name_12 WHERE finals = "1 (0)" AND w_league = "28 (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_46 (attendance INTEGER, record VARCHAR)
### Question:
What attendance does 1-6 record have?
### Answer:
SELECT SUM(attendance) FROM table_name_46 WHERE record = "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_93 (performer_1 VARCHAR, performer_3 VARCHAR, performer_4 VARCHAR)
### Question:
Performer 3 of paul merton, and a Performer 4 of sandi toksvig is which performer 1?
### Answer:
SELECT performer_1 FROM table_name_93 WHERE performer_3 = "paul merton" AND performer_4 = "sandi toksvig" |
Below is an context that describes a sql 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 (award VARCHAR, category VARCHAR)
### Question:
Which award is for the category Best New Artist?
### Answer:
SELECT award FROM table_name_55 WHERE category = "best new artist" |
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR)
### Question:
What was the average attendance on october 3, 1976?
### Answer:
SELECT AVG(attendance) FROM table_name_68 WHERE date = "october 3, 1976" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (product VARCHAR)
### Question:
What is the 2003 statistic for general cargo?
### Answer:
SELECT 2003 FROM table_name_94 WHERE product = "general cargo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (date VARCHAR, result VARCHAR)
### Question:
What date had a result of W 41-0?
### Answer:
SELECT date FROM table_name_29 WHERE result = "w 41-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_92 (gold VARCHAR, bronze VARCHAR, total VARCHAR)
### Question:
How many golds were there when there was more than 11 bronze and 29 in total?
### Answer:
SELECT COUNT(gold) FROM table_name_92 WHERE bronze > 11 AND total = 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_55 (record VARCHAR, loss VARCHAR)
### Question:
What was the record at the game that had a loss of Blyleven (4-5)?
### Answer:
SELECT record FROM table_name_55 WHERE loss = "blyleven (4-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_95 (avg_g INTEGER, gain VARCHAR, loss VARCHAR, name VARCHAR)
### Question:
What is the sum of Avg/G for Dan Dierking when the Loss is 0 and the Gain is more than 34?
### Answer:
SELECT SUM(avg_g) FROM table_name_95 WHERE loss = 0 AND name = "dan dierking" AND gain > 34 |
Below is an context that describes a sql 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 (name VARCHAR, average VARCHAR, overs VARCHAR, wickets VARCHAR)
### Question:
Who has fewer than 2047.3 overs, more than 200 wickets and an average of 29.02?
### Answer:
SELECT name FROM table_name_53 WHERE overs < 2047.3 AND wickets > 200 AND average > 29.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_6 (silver VARCHAR, rank VARCHAR)
### Question:
What is the total number of silver with rank number 6?
### Answer:
SELECT COUNT(silver) FROM table_name_6 WHERE rank = 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_30 (year VARCHAR, venue VARCHAR)
### Question:
What year was the game at Bad Neuenahr Eppelborn?
### Answer:
SELECT year FROM table_name_30 WHERE venue = "bad neuenahr eppelborn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (silver INTEGER, nation VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR)
### Question:
what is the most silver when bronze is more than 0, total is more than 1, gold is more than 0 and the nation is china (chn)?
### Answer:
SELECT MAX(silver) FROM table_name_62 WHERE bronze > 0 AND total > 1 AND gold > 0 AND nation = "china (chn)" |
Below is an context that describes a sql 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 (class VARCHAR, livery VARCHAR)
### Question:
What is the Class when Wessex Trains Pink is the Livery?
### Answer:
SELECT class FROM table_name_90 WHERE livery = "wessex trains pink" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23575917_4 (episode VARCHAR, first_broadcast VARCHAR)
### Question:
What is the episode number that was first broadcast on 3 September 2010?
### Answer:
SELECT episode FROM table_23575917_4 WHERE first_broadcast = "3 September 2010" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16494599_1 (nationality VARCHAR, school_club_team VARCHAR)
### Question:
What nationality is the player who went to school at South Florida?
### Answer:
SELECT nationality FROM table_16494599_1 WHERE school_club_team = "South Florida" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR, Age VARCHAR, Sex VARCHAR)
### Question:
Show first name, last name, age for all female students. Their sex is F.
### Answer:
SELECT Fname, Lname, Age FROM Student WHERE Sex = '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_name_14 (novelty VARCHAR, name VARCHAR)
### Question:
What is the novelty of Tylocephale?
### Answer:
SELECT novelty FROM table_name_14 WHERE name = "tylocephale" |
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
What was the date of the game when the Lightning had a record of 9β8β1?
### Answer:
SELECT date FROM table_name_58 WHERE record = "9β8β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_88 (Id VARCHAR)
### Question:
What is the maximum 1985 GDP for the region where 1990 GDP is less than 267, 2000 GDP is 333 and 2005 GDP is less than 658?
### Answer:
SELECT MAX(1985) FROM table_name_88 WHERE 1990 < 267 AND 2000 = 333 AND 2005 < 658 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1942683_1 (house_mascot VARCHAR, house_colour VARCHAR)
### Question:
How many house mascots are associated with yellow house colours?
### Answer:
SELECT COUNT(house_mascot) FROM table_1942683_1 WHERE house_colour = "Yellow" |
Below is an context that describes a sql 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 (laps INTEGER, grid VARCHAR, driver VARCHAR)
### Question:
what is the lowest laps when the grid is smaller than 5 and the driver is juan manuel fangio?
### Answer:
SELECT MIN(laps) FROM table_name_45 WHERE grid < 5 AND driver = "juan manuel fangio" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (wins INTEGER, years VARCHAR, games VARCHAR)
### Question:
What was the average of games that were one in 1978 that were smaller than 141?
### Answer:
SELECT AVG(wins) FROM table_name_42 WHERE years = "1978" AND games < 141 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25595209_1 (state_country VARCHAR, skipper VARCHAR)
### Question:
How many states is Grant Wharington from?
### Answer:
SELECT COUNT(state_country) FROM table_25595209_1 WHERE skipper = "Grant Wharington" |
Below is an context that describes a sql 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 (fastest_lap VARCHAR, round VARCHAR)
### Question:
I want the fastest lap for round of 16
### Answer:
SELECT fastest_lap FROM table_name_18 WHERE round = 16 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (score INTEGER, to_par VARCHAR, country VARCHAR)
### Question:
What was the score of the golfer from the united states who had a To par of e?
### Answer:
SELECT SUM(score) FROM table_name_96 WHERE to_par = "e" 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_name_95 (english_title VARCHAR, original_title VARCHAR)
### Question:
What's the English title listed that has an Original title of The Crying Game?
### Answer:
SELECT english_title FROM table_name_95 WHERE original_title = "the crying game" |
Below is an context that describes a sql 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 (captain VARCHAR, manager VARCHAR)
### Question:
Which captain has billy bonds as the manager?
### Answer:
SELECT captain FROM table_name_34 WHERE manager = "billy bonds" |
Below is an context that describes a sql 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 (lane INTEGER, heat VARCHAR, time VARCHAR)
### Question:
What is the highest lane for heat 6 with a time of dns?
### Answer:
SELECT MAX(lane) FROM table_name_81 WHERE heat = 6 AND time = "dns" |
Below is an context that describes a sql 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 (winning_score VARCHAR, margin_of_victory VARCHAR)
### Question:
What was the winning score for the tournament with a margin of victory of 7 strokes?
### Answer:
SELECT winning_score FROM table_name_6 WHERE margin_of_victory = "7 strokes" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR, goal VARCHAR)
### Question:
What was the score of the match played on 14 October 1998, resulting in more than 10 goals?
### Answer:
SELECT score FROM table_name_59 WHERE date = "14 october 1998" AND goal > 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_19161046_1 (notes VARCHAR, model VARCHAR)
### Question:
What are the notes recorded for the model HIS HD4850 (512MB)?
### Answer:
SELECT notes FROM table_19161046_1 WHERE model = "HIS HD4850 (512MB)" |
Below is an context that describes a sql 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 (year INTEGER, sets VARCHAR, aces VARCHAR, opponent VARCHAR)
### Question:
what's the most recent year that samantha stosur was the opponent with 20 aces and having played more than 2 sets?
### Answer:
SELECT MAX(year) FROM table_name_55 WHERE aces = 20 AND opponent = "samantha stosur" AND sets > 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_1233808_2 (competition VARCHAR, date_and_time VARCHAR)
### Question:
What competitions record a date and time of 17.04.1920 at 15:00?
### Answer:
SELECT competition FROM table_1233808_2 WHERE date_and_time = "17.04.1920 at 15:00" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18540104_1 (theme_song_s_ VARCHAR, romaji_title VARCHAR)
### Question:
What is the theme song for Magarikado no Kanojo?
### Answer:
SELECT theme_song_s_ FROM table_18540104_1 WHERE romaji_title = "Magarikado no Kanojo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10798928_1 (director VARCHAR, original_title VARCHAR)
### Question:
Who directed Dulcinea?
### Answer:
SELECT director FROM table_10798928_1 WHERE original_title = "Dulcinea" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_24 (opponent_in_the_final VARCHAR, date VARCHAR)
### Question:
Who is the opponent in the final of the match on 19 February 2006?
### Answer:
SELECT opponent_in_the_final FROM table_name_24 WHERE date = "19 february 2006" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (country VARCHAR, name VARCHAR)
### Question:
Which country does the player pele belong to?
### Answer:
SELECT country FROM table_name_85 WHERE name = "pele" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24212608_1 (starring VARCHAR, episode VARCHAR)
### Question:
Who starred in episode 3?
### Answer:
SELECT starring FROM table_24212608_1 WHERE episode = 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 Rooms (decor VARCHAR, roomName VARCHAR)
### Question:
What is the decor of room Recluse and defiance?
### Answer:
SELECT decor FROM Rooms WHERE roomName = "Recluse and defiance" |
Below is an context that describes a sql 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 (first VARCHAR, dob VARCHAR)
### Question:
Which first was born on 5 february 1979?
### Answer:
SELECT first FROM table_name_30 WHERE dob = "5 february 1979" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30047613_13 (streak VARCHAR, date VARCHAR)
### Question:
How many games had they won or lost in a row on May 9?
### Answer:
SELECT streak FROM table_30047613_13 WHERE date = "May 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_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR)
### Question:
What time was achieved on Saturday 29th August by the rider who recorded 23' 18.82 97.102mph on Tuesday 25th August?
### Answer:
SELECT sat_29_aug FROM table_23465864_4 WHERE tues_25_aug = "23' 18.82 97.102mph" |
Below is an context that describes a sql 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 (year INTEGER, player_name VARCHAR, round VARCHAR)
### Question:
What is the greatest Year with a Player name of dave adams category:articles with hcards, and a Round smaller than 23?
### Answer:
SELECT MAX(year) FROM table_name_35 WHERE player_name = "dave adams category:articles with hcards" AND round < 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_24628683_2 (method_of_elimination VARCHAR, time VARCHAR)
### Question:
What was the method of elimination in the chamber with a time of 24:02?
### Answer:
SELECT method_of_elimination FROM table_24628683_2 WHERE time = "24: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_61 (away_team VARCHAR, venue VARCHAR)
### Question:
When the Venue was victoria park, what was the Away team score?
### Answer:
SELECT away_team AS score FROM table_name_61 WHERE venue = "victoria park" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.