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_21 (tournament VARCHAR, away_team VARCHAR, home_team VARCHAR)
### Question:
What was the tournament where Japan was the home team and Mexico was the away team?
### Answer:
SELECT tournament FROM table_name_21 WHERE away_team = "mexico" AND home_team = "japan" |
Below is an context that describes a sql 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 (country VARCHAR, winner VARCHAR)
### Question:
What country was ole ellefsæter from?
### Answer:
SELECT country FROM table_name_34 WHERE winner = "ole ellefsæter" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15869204_5 (high_assists VARCHAR, location_attendance VARCHAR)
### Question:
Name the high assists for delta center 19,639
### Answer:
SELECT high_assists FROM table_15869204_5 WHERE location_attendance = "Delta Center 19,639" |
Below is an context that describes a sql 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 (drawn INTEGER, played INTEGER)
### Question:
What is the largest drawn that has a played less than 38?
### Answer:
SELECT MAX(drawn) FROM table_name_8 WHERE played < 38 |
Below is an context that describes a sql 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 (field_goals__5_points_ VARCHAR, total_points VARCHAR, touchdowns__5_points_ VARCHAR)
### Question:
How many Field goals (5 points) have a Total Points of 123, and Touchdowns (5 points) larger than 13?
### Answer:
SELECT COUNT(field_goals__5_points_) FROM table_name_59 WHERE total_points = 123 AND touchdowns__5_points_ > 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 Rating (mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)
### Question:
What is the name of the movie that is rated by most of times?
### Answer:
SELECT T2.title, T1.mID FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (result VARCHAR, date VARCHAR)
### Question:
What is the Result of the Game on April 9?
### Answer:
SELECT result FROM table_name_87 WHERE date = "april 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_6 (score VARCHAR, country VARCHAR, player VARCHAR)
### Question:
What was Australia's score when Peter Lonard played?
### Answer:
SELECT score FROM table_name_6 WHERE country = "australia" AND player = "peter lonard" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21636599_1 (insurgents VARCHAR, period VARCHAR)
### Question:
How many insurgents have 2003 as a period?
### Answer:
SELECT COUNT(insurgents) FROM table_21636599_1 WHERE period = "2003" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE People (Name VARCHAR, Height VARCHAR)
### Question:
What are the names of people in ascending order of height?
### Answer:
SELECT Name FROM People ORDER BY Height |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10568553_1 (location VARCHAR, roads_intersected VARCHAR)
### Question:
Where does Route 24 intersect?
### Answer:
SELECT location FROM table_10568553_1 WHERE roads_intersected = "Route 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_26757_4 (slovak VARCHAR, belarusian VARCHAR)
### Question:
When вуха (vúkha) is the belarusian how many slovaks are there?
### Answer:
SELECT COUNT(slovak) FROM table_26757_4 WHERE belarusian = "вуха (vúkha)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2897457_2 (player VARCHAR, college_junior_club_team VARCHAR)
### Question:
What player came from Cornell University (NCAA)?
### Answer:
SELECT player FROM table_2897457_2 WHERE college_junior_club_team = "Cornell University (NCAA)" |
Below is an context that describes a sql 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 (country VARCHAR, to_par VARCHAR, player VARCHAR)
### Question:
What country has a to par less than 13, with wayne grady as the player?
### Answer:
SELECT country FROM table_name_6 WHERE to_par < 13 AND player = "wayne grady" |
Below is an context that describes a sql 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 (transfer_window VARCHAR, moving_to VARCHAR)
### Question:
What is the transfer window of the player moving to Panionios?
### Answer:
SELECT transfer_window FROM table_name_97 WHERE moving_to = "panionios" |
Below is an context that describes a sql 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 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
### Question:
When the time/retired is electrical how many laps did Rubens Barrichello have?
### Answer:
SELECT laps FROM table_name_53 WHERE time_retired = "electrical" AND driver = "rubens barrichello" |
Below is an context that describes a sql 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 (goal_difference INTEGER, draws VARCHAR, wins VARCHAR, losses VARCHAR)
### Question:
What is the lowest goal difference a club with more than 13 wins, less than 8 losses, and less than 11 draws has?
### Answer:
SELECT MIN(goal_difference) FROM table_name_81 WHERE wins > 13 AND losses < 8 AND draws < 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_81 (to_par VARCHAR, place VARCHAR, score VARCHAR)
### Question:
What player was place of t1 in To Par and had a score of 70-73-69=212?
### Answer:
SELECT to_par FROM table_name_81 WHERE place = "t1" AND score = 70 - 73 - 69 = 212 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12707313_2 (constr VARCHAR, first_win VARCHAR)
### Question:
Name the number of constr with the first win at the 1978 brazilian grand prix
### Answer:
SELECT COUNT(constr) FROM table_12707313_2 WHERE first_win = "1978 Brazilian Grand Prix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (overall VARCHAR, college VARCHAR)
### Question:
What is the overall number for the College of Wyoming?
### Answer:
SELECT COUNT(overall) FROM table_name_6 WHERE college = "wyoming" |
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR, opponent VARCHAR)
### Question:
What was the date of the match at venue A with the celtic as the opponent?
### Answer:
SELECT date FROM table_name_41 WHERE venue = "a" AND opponent = "celtic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24051013_3 (total_evm_votes INTEGER)
### Question:
What is the highest total for evm votes
### Answer:
SELECT MAX(total_evm_votes) FROM table_24051013_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_15861776_1 (directed_by VARCHAR, tv_broadcast VARCHAR)
### Question:
Who directed the TV broadcast s03e19?
### Answer:
SELECT directed_by FROM table_15861776_1 WHERE tv_broadcast = "S03E19" |
Below is an context that describes a sql 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 (date VARCHAR, goal VARCHAR)
### Question:
What was the date of the game with 6 goals?
### Answer:
SELECT date FROM table_name_61 WHERE goal = 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_35 (position VARCHAR, player VARCHAR)
### Question:
What position did tomasz kiełbowicz play?
### Answer:
SELECT position FROM table_name_35 WHERE player = "tomasz kiełbowicz" |
Below is an context that describes a sql 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 (railway VARCHAR, location VARCHAR, objectnumber VARCHAR)
### Question:
Which Railway has a Location of shildon, and an ObjectNumber of 1975-7022?
### Answer:
SELECT railway FROM table_name_58 WHERE location = "shildon" AND objectnumber = "1975-7022" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What was the score of the game on May 26?
### Answer:
SELECT score FROM table_name_24 WHERE date = "may 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_name_17 (award VARCHAR, year VARCHAR, result VARCHAR)
### Question:
What is the name of the award in a year more than 2005, and the Result of nominated?
### Answer:
SELECT award FROM table_name_17 WHERE year > 2005 AND result = "nominated" |
Below is an context that describes a sql 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 (province VARCHAR, party VARCHAR)
### Question:
Which province has the partido Socialista del Pueblo Extremeño party?
### Answer:
SELECT province FROM table_name_31 WHERE party = "partido socialista del pueblo extremeño" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_44 (format VARCHAR, date VARCHAR)
### Question:
Which Format has a Date of may 24, 2008?
### Answer:
SELECT format FROM table_name_44 WHERE date = "may 24, 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_5 (height_ft__m_ VARCHAR, rank VARCHAR)
### Question:
How tall is the building ranked #13?
### Answer:
SELECT height_ft__m_ FROM table_name_5 WHERE rank = "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_98 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
### Question:
What is the nomination title used for the original film, Zwartboek?
### Answer:
SELECT film_title_used_in_nomination FROM table_name_98 WHERE original_title = "zwartboek" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24600706_1 (released INTEGER, song VARCHAR)
### Question:
Name the most released for apologize
### Answer:
SELECT MAX(released) FROM table_24600706_1 WHERE song = "Apologize" |
Below is an context that describes a sql 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 (month VARCHAR, sort_restore VARCHAR, deaths VARCHAR)
### Question:
Which month had a sort value under 39 and 2 deaths?
### Answer:
SELECT month FROM table_name_73 WHERE sort_restore < 39 AND deaths = "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_11 (start INTEGER, lost VARCHAR, tries VARCHAR)
### Question:
What is the number of starts for the player who lost fewer than 22 and has more than 4 tries?
### Answer:
SELECT AVG(start) FROM table_name_11 WHERE lost < 22 AND tries > 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_245801_1 (duration__days_ VARCHAR, crew VARCHAR)
### Question:
Name the duration for georgi grechko
### Answer:
SELECT duration__days_ FROM table_245801_1 WHERE crew = "Georgi Grechko" |
Below is an context that describes a sql 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 (athlete VARCHAR, react VARCHAR)
### Question:
who is the athlete when react is 0.164?
### Answer:
SELECT athlete FROM table_name_46 WHERE react = 0.164 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_174151_5 (power_provided VARCHAR, transfer_speed__mb_s_ VARCHAR)
### Question:
Name the power provided for transfer speed mb/s is 1250
### Answer:
SELECT power_provided FROM table_174151_5 WHERE transfer_speed__mb_s_ = "1250" |
Below is an context that describes a sql 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 (ticket_price_s_ VARCHAR, venue VARCHAR)
### Question:
What is the ticket price at Canadian National Exhibition Stadium?
### Answer:
SELECT ticket_price_s_ FROM table_name_7 WHERE venue = "canadian national exhibition 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_91 (pole_winner VARCHAR, date VARCHAR)
### Question:
Tell me the pole winner of may 12
### Answer:
SELECT pole_winner FROM table_name_91 WHERE 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_91 (driver VARCHAR, grid VARCHAR, laps VARCHAR)
### Question:
What Driver has 28 Laps and a Grid greater than 5?
### Answer:
SELECT driver FROM table_name_91 WHERE grid > 5 AND laps = 28 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14655757_1 (pick__number INTEGER)
### Question:
What is the lowest pick number?
### Answer:
SELECT MIN(pick__number) FROM table_14655757_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_14 (home_captain VARCHAR, venue VARCHAR)
### Question:
Who is the home captain at the Adelaide Oval?
### Answer:
SELECT home_captain FROM table_name_14 WHERE venue = "adelaide oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10021158_3 (best_finish VARCHAR, scoring_rank VARCHAR)
### Question:
When the scoring rank was 117, what was the best finish?
### Answer:
SELECT best_finish FROM table_10021158_3 WHERE scoring_rank = "117" |
Below is an context that describes a sql 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 (decile INTEGER, authority VARCHAR, area VARCHAR)
### Question:
Name the average decile for state authority and area of fernridge
### Answer:
SELECT AVG(decile) FROM table_name_62 WHERE authority = "state" AND area = "fernridge" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What shows for 2005 when 2002 shows 0–1?
### Answer:
SELECT 2005 FROM table_name_16 WHERE 2002 = "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_1057262_2 (new_south_wales VARCHAR, crop__kilotonnes_ VARCHAR)
### Question:
what's the new south wales with crop (kilotonnes) being canola
### Answer:
SELECT new_south_wales FROM table_1057262_2 WHERE crop__kilotonnes_ = "Canola" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE EMPLOYEE (City VARCHAR, EmployeeId VARCHAR); CREATE TABLE CUSTOMER (SupportRepId VARCHAR, PostalCode VARCHAR)
### Question:
What city does the employee who helps the customer with postal code 70174 live in?
### Answer:
SELECT T2.City FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.PostalCode = "70174" |
Below is an context that describes a sql 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 (written_by VARCHAR, season_no VARCHAR, series_no VARCHAR)
### Question:
Who wrote the series number 49 with a season larger than 4?
### Answer:
SELECT written_by FROM table_name_27 WHERE season_no > 4 AND series_no = 49 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (date VARCHAR, time VARCHAR)
### Question:
On what date was the time of 16:24.12 achieved?
### Answer:
SELECT date FROM table_name_36 WHERE time = "16:24.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_70 (group VARCHAR, name VARCHAR)
### Question:
What is the group of ESPN International Sports?
### Answer:
SELECT group FROM table_name_70 WHERE name = "espn international sports" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Research_outcomes (outcome_code VARCHAR, outcome_description VARCHAR); CREATE TABLE Project_outcomes (project_id VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)
### Question:
List the project details of the projects with the research outcome described with the substring 'Published'.
### Answer:
SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id JOIN Research_outcomes AS T3 ON T2.outcome_code = T3.outcome_code WHERE T3.outcome_description LIKE '%Published%' |
Below is an context that describes a sql 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 (wins VARCHAR, series VARCHAR, season VARCHAR)
### Question:
What is the value for Wins, when the Series is GP2 Series, and when the Season is before 2009?
### Answer:
SELECT wins FROM table_name_41 WHERE series = "gp2 series" AND season < 2009 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (pd_per_game INTEGER, pa_per_game VARCHAR, streak VARCHAR, rank VARCHAR, winning__percentage VARCHAR)
### Question:
Which PD per game has a Rank smaller than 4, a Winning % of 78.6%, a Streak of w1, and a PA per game smaller than 81.5?
### Answer:
SELECT MIN(pd_per_game) FROM table_name_49 WHERE rank < 4 AND winning__percentage = "78.6%" AND streak = "w1" AND pa_per_game < 81.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_33 (year INTEGER, category VARCHAR, stage VARCHAR)
### Question:
What is the lowest year for stage 12, category 1?
### Answer:
SELECT MIN(year) FROM table_name_33 WHERE category = "1" AND stage = 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_41 (round INTEGER, position VARCHAR, overall VARCHAR)
### Question:
What is the average round in which a Safety with an overall rank higher than 89 was drafted?
### Answer:
SELECT AVG(round) FROM table_name_41 WHERE position = "safety" AND overall > 89 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE files (formats VARCHAR)
### Question:
For each file format, return the number of artists who released songs in that format.
### Answer:
SELECT COUNT(*), formats FROM files GROUP BY formats |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27537870_5 (december INTEGER, location_attendance VARCHAR)
### Question:
Name the least december for hsbc arena/18,017
### Answer:
SELECT MIN(december) FROM table_27537870_5 WHERE location_attendance = "HSBC Arena/18,017" |
Below is an context that describes a sql 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 (miss_universe_philippines VARCHAR, second_runner_up VARCHAR)
### Question:
Who won Miss Universe Philippines when Regina Hahn was second runner-up?
### Answer:
SELECT miss_universe_philippines FROM table_name_86 WHERE second_runner_up = "regina hahn" |
Below is an context that describes a sql 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 (year INTEGER, original_title VARCHAR)
### Question:
Name the least year for les triplettes de belleville
### Answer:
SELECT MIN(year) FROM table_name_45 WHERE original_title = "les triplettes de belleville" |
Below is an context that describes a sql 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 (semifinalists VARCHAR, tournament VARCHAR)
### Question:
WHO WAS THE SEMIFINALISTS FOR THE HAMBURG TOURNAMENT?
### Answer:
SELECT semifinalists FROM table_name_82 WHERE tournament = "hamburg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1420954_1 (book_title VARCHAR, artist_s_ VARCHAR)
### Question:
timothy truman worked on what books
### Answer:
SELECT book_title FROM table_1420954_1 WHERE artist_s_ = "Timothy Truman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341577_50 (candidates VARCHAR, first_elected VARCHAR)
### Question:
Who were the candidates that ran when Jim Moody was up for reelection after 1982?
### Answer:
SELECT candidates FROM table_1341577_50 WHERE first_elected = 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 table_name_47 (time VARCHAR, rank VARCHAR)
### Question:
What is the time of the swimmer in rank 40?
### Answer:
SELECT time FROM table_name_47 WHERE rank = 40 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (attendance VARCHAR, home VARCHAR)
### Question:
What is the total number of attendance for games where buffalo was the home team?
### Answer:
SELECT COUNT(attendance) FROM table_name_83 WHERE home = "buffalo" |
Below is an context that describes a sql 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 (status VARCHAR, against VARCHAR)
### Question:
What is the Status of the 44 Against?
### Answer:
SELECT status FROM table_name_86 WHERE against = 44 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29141354_2 (first_broadcast VARCHAR, episode VARCHAR)
### Question:
When was episode 02x02 first broadcast?
### Answer:
SELECT first_broadcast FROM table_29141354_2 WHERE episode = "02x02" |
Below is an context that describes a sql 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 (laps VARCHAR, grid VARCHAR, rider VARCHAR)
### Question:
How many laps did ben spies do on the grid less than 7?
### Answer:
SELECT COUNT(laps) FROM table_name_86 WHERE grid < 7 AND rider = "ben spies" |
Below is an context that describes a sql 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 (runner VARCHAR, total VARCHAR)
### Question:
How many 5K wins did Emily Chebet, who had more than 2 total, have?
### Answer:
SELECT SUM(5 AS k_wins) FROM table_name_14 WHERE runner = "emily chebet" AND total > 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_17355628_10 (score VARCHAR, team VARCHAR)
### Question:
Name the score for charlotte
### Answer:
SELECT score FROM table_17355628_10 WHERE team = "Charlotte" |
Below is an context that describes a sql 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 (stake VARCHAR, wards__branches_in_arkansas VARCHAR)
### Question:
What stake has 16 wards/branches in Arkansas?
### Answer:
SELECT stake FROM table_name_97 WHERE wards__branches_in_arkansas = 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_56 (part_number_s_ VARCHAR, l2_cache VARCHAR, frequency VARCHAR)
### Question:
What's the part number of the processor that has an 1.8 ghz frequency and 2 × 256 kb L@ Cache?
### Answer:
SELECT part_number_s_ FROM table_name_56 WHERE l2_cache = "2 × 256 kb" AND frequency = "1.8 ghz" |
Below is an context that describes a sql 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 (year INTEGER, points INTEGER)
### Question:
What was the earliest year that had less than 1 point?
### Answer:
SELECT MIN(year) FROM table_name_85 WHERE 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_name_89 (verb_meaning VARCHAR, part_3 VARCHAR)
### Question:
What is the verb meaning for Gaben in part 3?
### Answer:
SELECT verb_meaning FROM table_name_89 WHERE part_3 = "gaben" |
Below is an context that describes a sql 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 (shirt_sponsor VARCHAR, team VARCHAR)
### Question:
Who was the shirt sponsor for the Blackburn Rovers?
### Answer:
SELECT shirt_sponsor FROM table_name_59 WHERE team = "blackburn rovers" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
What home team plays at Arden Street Oval?
### Answer:
SELECT home_team FROM table_name_72 WHERE venue = "arden street oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (incumbent VARCHAR, result VARCHAR)
### Question:
Who was the incumbent that retired to run for the senate democratic hold?
### Answer:
SELECT incumbent FROM table_name_82 WHERE result = "retired to run for the senate democratic hold" |
Below is an context that describes a sql 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 (rank VARCHAR, total_gdp__€_bn__ VARCHAR)
### Question:
Which rank has a Total GDP (€ bn) of €11.243??
### Answer:
SELECT rank FROM table_name_98 WHERE total_gdp__€_bn__ = "€11.243" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16779068_5 (snatch VARCHAR, body_weight VARCHAR)
### Question:
Name the snatch when body weight is 73.7
### Answer:
SELECT snatch FROM table_16779068_5 WHERE body_weight = "737" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19905183_1 (team VARCHAR, province VARCHAR)
### Question:
What team is from the Eastern province?
### Answer:
SELECT team FROM table_19905183_1 WHERE province = "Eastern" |
Below is an context that describes a sql 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 (total VARCHAR, set_2 VARCHAR)
### Question:
What is the total when the score for set 2 is 20–25?
### Answer:
SELECT total FROM table_name_21 WHERE set_2 = "20–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_6 (class VARCHAR, driver VARCHAR, chassis VARCHAR, rounds VARCHAR)
### Question:
what is the class when the chassis is dallara f308, rounds is all and the driver is sam abay?
### Answer:
SELECT class FROM table_name_6 WHERE chassis = "dallara f308" AND rounds = "all" AND driver = "sam abay" |
Below is an context that describes a sql 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 (established INTEGER, venue VARCHAR)
### Question:
When was the venue named nassau veterans memorial coliseum established??
### Answer:
SELECT MAX(established) FROM table_name_45 WHERE venue = "nassau veterans memorial coliseum" |
Below is an context that describes a 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_6 (scores VARCHAR, lees_team VARCHAR)
### Question:
When kevin bridges and katy wix are both on the less team what is the score?
### Answer:
SELECT scores FROM table_23575917_6 WHERE lees_team = "Kevin Bridges and Katy Wix" |
Below is an context that describes a sql 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 (group VARCHAR, award VARCHAR, result VARCHAR, year VARCHAR)
### Question:
After 2008, which Group has the Result, nominated, and the Award, Best Lead Actor in a Television Drama?
### Answer:
SELECT group FROM table_name_54 WHERE result = "nominated" AND year > 2008 AND award = "best lead actor in a television drama" |
Below is an context that describes a sql 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 (march INTEGER, record VARCHAR, game VARCHAR)
### Question:
What day in March is the game with a 48-13-11 record and a game number less than 72?
### Answer:
SELECT SUM(march) FROM table_name_12 WHERE record = "48-13-11" AND game < 72 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30049462_4 (location_attendance VARCHAR, team VARCHAR)
### Question:
What was the location and it's corresponding attendance during the game against Los Angeles?
### Answer:
SELECT location_attendance FROM table_30049462_4 WHERE team = "Los Angeles" |
Below is an context that describes a sql 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 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)
### Question:
In what League is Left Wing Yanick Dupre?
### Answer:
SELECT college_junior_club_team__league_ FROM table_name_94 WHERE position = "left wing" AND player = "yanick dupre" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2897457_8 (pick__number VARCHAR, nhl_team VARCHAR)
### Question:
What pick number did the New York Rangers have?
### Answer:
SELECT pick__number FROM table_2897457_8 WHERE nhl_team = "New York Rangers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22753245_1 (party VARCHAR, constituency VARCHAR)
### Question:
What is the party when the constituency is 1. Chennai North?
### Answer:
SELECT party FROM table_22753245_1 WHERE constituency = "1. Chennai North" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (first_day_cover_cancellation VARCHAR, date_of_issue VARCHAR)
### Question:
What's listed as the First Day Cover Cancellation with a Date of Issue of 13 June 2005?
### Answer:
SELECT first_day_cover_cancellation FROM table_name_4 WHERE date_of_issue = "13 june 2005" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (date VARCHAR, week VARCHAR)
### Question:
What's the date for HOF week?
### Answer:
SELECT date FROM table_name_63 WHERE week = "hof" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29612224_1 (colors VARCHAR, location VARCHAR)
### Question:
What are the team colors from Tolono, Illinois?
### Answer:
SELECT colors FROM table_29612224_1 WHERE location = "Tolono, Illinois" |
Below is an context that describes a sql 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 (position VARCHAR, college VARCHAR)
### Question:
Rutgers college holds what position?
### Answer:
SELECT position FROM table_name_32 WHERE college = "rutgers" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who was the home team in the match that had an away team of Convoy Sun Hei Team B?
### Answer:
SELECT home_team FROM table_name_97 WHERE away_team = "convoy sun hei team b" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (forward_caste VARCHAR, scheduled_tribe VARCHAR)
### Question:
WHAT IS THE FORWARD CASTE WITH A SCHEDULED TRIBE OF 0.90%?
### Answer:
SELECT forward_caste FROM table_name_87 WHERE scheduled_tribe = "0.90%" |
Below is an context that describes a sql 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 (record VARCHAR, season VARCHAR)
### Question:
What was the record during the 1973 season?
### Answer:
SELECT record FROM table_name_74 WHERE season = 1973 |
Below is an context that describes a sql 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 (tournament VARCHAR, opponent_team VARCHAR)
### Question:
At which tournament does Milan play against Hungary's league selection?
### Answer:
SELECT tournament FROM table_name_97 WHERE opponent_team = "hungary's league selection" |
Below is an context that describes a sql 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 (delegates INTEGER, candidate VARCHAR, counties VARCHAR)
### Question:
What is the lowest number of delegates when John McCain was the candidate with less than 45 candidates?
### Answer:
SELECT MIN(delegates) FROM table_name_75 WHERE candidate = "john mccain" AND counties < 45 |
Below is an context that describes a sql 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 (years INTEGER, lost VARCHAR, tied VARCHAR, total_games VARCHAR)
### Question:
What is the year total for teams with under 37 games tied, over 33 games, and 15 losses?
### Answer:
SELECT SUM(years) FROM table_name_7 WHERE tied < 37 AND total_games > 33 AND lost = 15 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.