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_15 (to_par VARCHAR, player VARCHAR)
### Question:
What was willie wood's to par?
### Answer:
SELECT to_par FROM table_name_15 WHERE player = "willie wood" |
Below is an context that describes a sql 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, tie_no VARCHAR)
### Question:
What is Score, when Tie No is "30"?
### Answer:
SELECT score FROM table_name_82 WHERE tie_no = "30" |
Below is an context that describes a sql 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 (title VARCHAR, episode__number VARCHAR, part_6 VARCHAR)
### Question:
What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, 2008?
### Answer:
SELECT title FROM table_name_98 WHERE episode__number > 2 AND part_6 = "january 6, 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_56 (event VARCHAR, winner VARCHAR)
### Question:
What Event did John dibella win?
### Answer:
SELECT event FROM table_name_56 WHERE winner = "john dibella" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25931938_1 (place VARCHAR, aggregate VARCHAR)
### Question:
What was the place for the celebrity whose aggregate was 35?
### Answer:
SELECT place FROM table_25931938_1 WHERE aggregate = 35 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11734041_20 (player VARCHAR, years_for_rockets VARCHAR)
### Question:
what is the total number of player where years for rockets is 2004-06
### Answer:
SELECT COUNT(player) FROM table_11734041_20 WHERE years_for_rockets = "2004-06" |
Below is an context that describes a sql 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 (tyre VARCHAR, fastest_lap VARCHAR)
### Question:
What is the tyre on the race where Bruce Mclaren had the fastest lap?
### Answer:
SELECT tyre FROM table_name_58 WHERE fastest_lap = "bruce mclaren" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341663_19 (candidates VARCHAR, incumbent VARCHAR)
### Question:
What other cadidate ran against Dave Treen?
### Answer:
SELECT candidates FROM table_1341663_19 WHERE incumbent = "Dave Treen" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the 2008 value with a 7 in 2010?
### Answer:
SELECT 2008 FROM table_name_94 WHERE 2010 = "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_74 (goals_scored VARCHAR, points INTEGER)
### Question:
What is the total number of Goals scored that has more than 45 Points?
### Answer:
SELECT COUNT(goals_scored) FROM table_name_74 WHERE points > 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_81 (date VARCHAR, record VARCHAR)
### Question:
On what date was the record 4–0–0?
### Answer:
SELECT date FROM table_name_81 WHERE record = "4–0–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_13512105_3 (fastest_lap VARCHAR, most_laps_led VARCHAR, pole_position VARCHAR)
### Question:
who else along with scott dixon and graham rahal drove with the most speed
### Answer:
SELECT fastest_lap FROM table_13512105_3 WHERE most_laps_led = "Scott Dixon" AND pole_position = "Graham Rahal" |
Below is an context that describes a sql 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 (name VARCHAR, type VARCHAR, rank VARCHAR)
### Question:
What is the name of the dead end type ranked 22?
### Answer:
SELECT name FROM table_name_42 WHERE type = "dead end" AND rank = "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_7 (round VARCHAR, winning_team VARCHAR, date VARCHAR)
### Question:
What is the round on 30 June with a.z.k./roc-compétition a.z.k./roc-compétition as the winning team?
### Answer:
SELECT round FROM table_name_7 WHERE winning_team = "a.z.k./roc-compétition a.z.k./roc-compétition" AND date = "30 june" |
Below is an context that describes a sql 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 (tyre VARCHAR, entrant VARCHAR, rounds VARCHAR)
### Question:
Name the tyre for hb bewaking team ensign with rounds of 13
### Answer:
SELECT tyre FROM table_name_31 WHERE entrant = "hb bewaking team ensign" AND rounds = "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_75 (heat__lane_ VARCHAR, rank VARCHAR)
### Question:
Which heat and lane was in rank of 22?
### Answer:
SELECT heat__lane_ FROM table_name_75 WHERE rank = 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_16 (score VARCHAR, record VARCHAR)
### Question:
Record of 6–1 had what score?
### Answer:
SELECT score FROM table_name_16 WHERE record = "6–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 (injured INTEGER, place VARCHAR)
### Question:
What was the highest number of people injured in incidents in Vaishali, Bihar?
### Answer:
SELECT MAX(injured) FROM table_name_14 WHERE place = "vaishali, bihar" |
Below is an context that describes a sql 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, points VARCHAR, rank VARCHAR)
### Question:
What is year that has points larger than 46, and a rank of 6th?
### Answer:
SELECT SUM(year) FROM table_name_45 WHERE points > 46 AND rank = "6th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (result VARCHAR, category VARCHAR)
### Question:
What is the result of the directorial debut of the year award?
### Answer:
SELECT result FROM table_name_77 WHERE category = "directorial debut of the year" |
Below is an context that describes a sql 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 (compulsory VARCHAR, voluntary VARCHAR, total VARCHAR)
### Question:
What's the total compulsory when the total is more than 69.2 and the voluntary is 38.7?
### Answer:
SELECT COUNT(compulsory) FROM table_name_42 WHERE voluntary = 38.7 AND total > 69.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_59 (primary_language_s_ VARCHAR, director VARCHAR)
### Question:
What is Primary Language(s), when Director is "Ilgar Safat Category:Articles With hCards"?
### Answer:
SELECT primary_language_s_ FROM table_name_59 WHERE director = "ilgar safat category:articles with hcards" |
Below is an context that describes a sql 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 (total VARCHAR, score_points VARCHAR)
### Question:
which Total has a Score points of 11?
### Answer:
SELECT total FROM table_name_13 WHERE score_points = "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 products (manufacturer VARCHAR); CREATE TABLE Manufacturers (code VARCHAR)
### Question:
Select all the data from the products and each product's manufacturer.
### Answer:
SELECT * FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code |
Below is an context that describes a sql 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 (goals INTEGER, name VARCHAR)
### Question:
What is the average goals Sawyer has?
### Answer:
SELECT AVG(goals) FROM table_name_46 WHERE name = "sawyer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (pick INTEGER, team VARCHAR)
### Question:
What is the average pick of the kansas city chiefs?
### Answer:
SELECT AVG(pick) FROM table_name_12 WHERE team = "kansas city chiefs" |
Below is an context that describes a sql 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 (dvd_title VARCHAR, aspect_ratio VARCHAR, release_date VARCHAR)
### Question:
What title was release November 17, 2009 in a 16:9 aspect ratio?
### Answer:
SELECT dvd_title FROM table_name_5 WHERE aspect_ratio = "16:9" AND release_date = "november 17, 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_65 (location VARCHAR, round VARCHAR, method VARCHAR)
### Question:
Where was the fight that lasted 3 rounds and was won or loss by a decision?
### Answer:
SELECT location FROM table_name_65 WHERE round = 3 AND method = "decision" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Documents_with_expenses (budget_type_code VARCHAR)
### Question:
Show budget type codes and the number of documents in each budget type.
### Answer:
SELECT budget_type_code, COUNT(*) FROM Documents_with_expenses GROUP BY budget_type_code |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1373542_1 (date_completed VARCHAR, date_announced VARCHAR)
### Question:
On what date was the asset acquisition that was announced on February 22, 2007 completed?
### Answer:
SELECT date_completed FROM table_1373542_1 WHERE date_announced = "February 22, 2007" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (res VARCHAR, time VARCHAR)
### Question:
Which Res has a Time of 11:58?
### Answer:
SELECT res FROM table_name_27 WHERE time = "11:58" |
Below is an context that describes a sql 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 (tie_no VARCHAR, away_team VARCHAR)
### Question:
What was the tie number of the away game for Ashford Town (Middx)?
### Answer:
SELECT tie_no FROM table_name_79 WHERE away_team = "ashford town (middx)" |
Below is an context that describes a sql 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 (clubs VARCHAR, stadium VARCHAR)
### Question:
What clubs are in the evgrapi shevardnadze stadium?
### Answer:
SELECT clubs FROM table_name_17 WHERE stadium = "evgrapi shevardnadze 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 (venue VARCHAR, competition VARCHAR)
### Question:
What was the Venue of the 2009 Gulf Cup of Nations?
### Answer:
SELECT venue FROM table_name_75 WHERE competition = "2009 gulf cup of nations" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22032599_1 (result VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
What was the result for Gypsy?
### Answer:
SELECT result FROM table_22032599_1 WHERE film_title_used_in_nomination = "Gypsy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1805191_39 (results VARCHAR, district VARCHAR)
### Question:
In district Pennsylvania 11, what was the total numbers of results?
### Answer:
SELECT COUNT(results) FROM table_1805191_39 WHERE district = "Pennsylvania 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_1037590_1 (yards VARCHAR, attempts VARCHAR)
### Question:
How many years were there with 348 attempts?
### Answer:
SELECT COUNT(yards) FROM table_1037590_1 WHERE attempts = 348 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21501511_1 (week__number VARCHAR, theme VARCHAR)
### Question:
What week was themed disco?
### Answer:
SELECT week__number FROM table_21501511_1 WHERE theme = "Disco" |
Below is an context that describes a sql 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 (rank INTEGER, nation VARCHAR, gold VARCHAR)
### Question:
Name the average rank for west germany when gold is more than 1
### Answer:
SELECT AVG(rank) FROM table_name_15 WHERE nation = "west germany" AND gold > 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_9 (bronze INTEGER, sport VARCHAR, silver VARCHAR)
### Question:
What is the football Bronze with more than 1 Silver?
### Answer:
SELECT AVG(bronze) FROM table_name_9 WHERE sport = "football" AND silver > 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_29 (position VARCHAR, nfl_club VARCHAR)
### Question:
What is the position of the pittsburgh steelers?
### Answer:
SELECT position FROM table_name_29 WHERE nfl_club = "pittsburgh 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_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR)
### Question:
Which winner has a points classification of Tony Rominger at stage 17?
### Answer:
SELECT winner FROM table_name_72 WHERE points_classification = "tony rominger" AND stage = "17" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (owgr_pts INTEGER, dates VARCHAR)
### Question:
Which OWGR pts has Dates of may 10-13?
### Answer:
SELECT SUM(owgr_pts) FROM table_name_37 WHERE dates = "may 10-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_2581397_3 (group VARCHAR, weight__kg_ VARCHAR)
### Question:
How man teams had a total weight of 57.5?
### Answer:
SELECT COUNT(group) FROM table_2581397_3 WHERE weight__kg_ = "57.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_26914759_3 (incoming_manager VARCHAR, position_in_table VARCHAR)
### Question:
who was the incoming manager for the 12th position in the table
### Answer:
SELECT incoming_manager FROM table_26914759_3 WHERE position_in_table = "12th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21436373_7 (date_year VARCHAR, result_games VARCHAR)
### Question:
When 9 games (28,002 avg.) is the results of the games what is the date/year?
### Answer:
SELECT date_year FROM table_21436373_7 WHERE result_games = "9 games (28,002 avg.)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26916717_1 (name VARCHAR, team_school VARCHAR)
### Question:
What player attended california university?
### Answer:
SELECT name FROM table_26916717_1 WHERE team_school = "California" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19787093_1 (till_mathura VARCHAR, till_agra VARCHAR)
### Question:
How many have the Till Agra of 500?
### Answer:
SELECT COUNT(till_mathura) FROM table_19787093_1 WHERE till_agra = 500 |
Below is an context that describes a sql 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 (penalties VARCHAR, gf VARCHAR)
### Question:
How many penalties were there in the game with a G.F. of 40?
### Answer:
SELECT penalties FROM table_name_20 WHERE gf = "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_22815568_2 (county VARCHAR, unemployment_rate VARCHAR)
### Question:
Which county had a 3.6% unemployment rate?
### Answer:
SELECT county FROM table_22815568_2 WHERE unemployment_rate = "3.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_25 (series_3 VARCHAR, series_5 VARCHAR)
### Question:
What is the series 3 with gavin duffy in series 5?
### Answer:
SELECT series_3 FROM table_name_25 WHERE series_5 = "gavin duffy" |
Below is an context that describes a sql 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 (network VARCHAR, year VARCHAR, colour_commentator_s_ VARCHAR)
### Question:
For which network was Chris Walby the color commentator after 1990?
### Answer:
SELECT network FROM table_name_83 WHERE year > 1990 AND colour_commentator_s_ = "chris walby" |
Below is an context that describes a sql 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 (height_ft__m_ VARCHAR, name VARCHAR)
### Question:
What is the height in ft and m of the regions bank building?
### Answer:
SELECT height_ft__m_ FROM table_name_90 WHERE name = "regions bank building" |
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR, week VARCHAR)
### Question:
What was the attendance at the game before week 8, held on October 25, 1981?
### Answer:
SELECT SUM(attendance) FROM table_name_62 WHERE date = "october 25, 1981" AND week < 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (to_par VARCHAR, place VARCHAR, player VARCHAR)
### Question:
What was Nolan Henke's To par when he placed in t3?
### Answer:
SELECT to_par FROM table_name_96 WHERE place = "t3" AND player = "nolan henke" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26336739_1 (party VARCHAR, incumbent VARCHAR)
### Question:
how many party classifications are there for the incumbent Mac Collins?
### Answer:
SELECT COUNT(party) FROM table_26336739_1 WHERE incumbent = "Mac Collins" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2618119_1 (no_in_series VARCHAR, no_in_season VARCHAR)
### Question:
How many numbers in series were for the number in season of 8?
### Answer:
SELECT COUNT(no_in_series) FROM table_2618119_1 WHERE no_in_season = 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (score VARCHAR, game VARCHAR, team VARCHAR)
### Question:
What is the score of New York team before game 61?
### Answer:
SELECT score FROM table_name_63 WHERE game < 61 AND team = "new york" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER)
### Question:
How long has the longest song spent in the top 10?
### Answer:
SELECT MAX(weeks_in_top_10) FROM table_27813010_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_75 (events INTEGER, cuts_made VARCHAR, top_25 VARCHAR)
### Question:
What is the lowest number of events a tournament with more tha 5 cuts and less than 13 top-25 has?
### Answer:
SELECT MIN(events) FROM table_name_75 WHERE cuts_made > 5 AND top_25 < 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_16384648_2 (capacity INTEGER, team_nickname VARCHAR)
### Question:
For the flyers, what's the minimum capacity?
### Answer:
SELECT MIN(capacity) FROM table_16384648_2 WHERE team_nickname = "Flyers" |
Below is an context that describes 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 (name VARCHAR, id VARCHAR); CREATE TABLE takes (id VARCHAR)
### Question:
Find the name of students who took any class in the years of 2009 and 2010.
### Answer:
SELECT DISTINCT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id = T2.id WHERE YEAR = 2009 OR YEAR = 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_18852984_2 (all_bills_cosponsored VARCHAR, bills_originally_cosponsored VARCHAR)
### Question:
How many bill cosponsored during those years where bills originally cosponsored is 113?
### Answer:
SELECT all_bills_cosponsored FROM table_18852984_2 WHERE bills_originally_cosponsored = 113 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (wins VARCHAR, top_5 VARCHAR, events VARCHAR)
### Question:
What was Miller Barber wins with Top-5 less than 2 and 19 Events?
### Answer:
SELECT COUNT(wins) FROM table_name_77 WHERE top_5 < 2 AND events = 19 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was the away team that played against home team Leatherhead?
### Answer:
SELECT away_team FROM table_name_53 WHERE home_team = "leatherhead" |
Below is an context that describes a sql 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 (coach VARCHAR, losses VARCHAR)
### Question:
Who was the coach who had 215 losses?
### Answer:
SELECT coach FROM table_name_33 WHERE losses = 215 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27332038_1 (original_air_date VARCHAR, production_code VARCHAR)
### Question:
when was the episode with production code "2arg24" originally aired?
### Answer:
SELECT original_air_date FROM table_27332038_1 WHERE production_code = "2ARG24" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1566852_7 (interview_subject VARCHAR, cover_model VARCHAR)
### Question:
IN THE ISSUE WITH KARA MONACO ON THE COVER, WHO WAS THE INTERVIEW SUBJECT?
### Answer:
SELECT interview_subject FROM table_1566852_7 WHERE cover_model = "Kara Monaco" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17359181_1 (points_2 INTEGER, goal_average_1 VARCHAR)
### Question:
What is the lowest value of Points 2 when the goal average is 1.50?
### Answer:
SELECT MIN(points_2) FROM table_17359181_1 WHERE goal_average_1 = "1.50" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_233830_1 (horizontal_order VARCHAR, channels VARCHAR)
### Question:
If the channels is wxyzrstuvpq, what is the horizontal order?
### Answer:
SELECT horizontal_order FROM table_233830_1 WHERE channels = "WXYZRSTUVPQ" |
Below is an context that describes a sql 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 (league VARCHAR, sport VARCHAR, venue VARCHAR)
### Question:
Sport of football, and a Venue of stadion polonii is what league?
### Answer:
SELECT league FROM table_name_20 WHERE sport = "football" AND venue = "stadion polonii" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341472_15 (first_elected VARCHAR, district VARCHAR)
### Question:
what's the first elected with district illinois 18
### Answer:
SELECT first_elected FROM table_1341472_15 WHERE district = "Illinois 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_46 (units_sold INTEGER, publisher VARCHAR)
### Question:
Tell me the average units sold for square enix
### Answer:
SELECT AVG(units_sold) FROM table_name_46 WHERE publisher = "square enix" |
Below is an context that describes a sql 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 (state___territory VARCHAR, height VARCHAR)
### Question:
What state/territory has 121 m as the height?
### Answer:
SELECT state___territory FROM table_name_58 WHERE height = "121 m" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25714995_2 (Ends VARCHAR, stolen_ends VARCHAR)
### Question:
How many ends won catagories are listed when there are 8 stolen ends?
### Answer:
SELECT COUNT(Ends) AS won FROM table_25714995_2 WHERE stolen_ends = 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (organization VARCHAR, work VARCHAR)
### Question:
Where Work is veterinarian dolittle, what is the Organization?
### Answer:
SELECT organization FROM table_name_82 WHERE work = "veterinarian dolittle" |
Below is an context that describes a sql 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 (assists INTEGER, games VARCHAR, name VARCHAR)
### Question:
What is the average Assists, when Games is greater than 19, and when Name is "Pablo Prigioni"?
### Answer:
SELECT AVG(assists) FROM table_name_64 WHERE games > 19 AND name = "pablo prigioni" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE ship (Id VARCHAR)
### Question:
How many ships are there?
### Answer:
SELECT COUNT(*) FROM ship |
Below is an context that describes a sql 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 (year VARCHAR, site VARCHAR, score VARCHAR)
### Question:
When has a Site of tainan city and a Score of 8–6?
### Answer:
SELECT year FROM table_name_21 WHERE site = "tainan city" AND score = "8–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_19751479_4 (rnd INTEGER, fastest_lap VARCHAR)
### Question:
What is the first round that had #67 the racer's group with the fastest lap?
### Answer:
SELECT MIN(rnd) FROM table_19751479_4 WHERE fastest_lap = "#67 The Racer's Group" |
Below is an context that describes a sql 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 (april INTEGER, game INTEGER)
### Question:
What is the earliest April date with a game less than 76?
### Answer:
SELECT MIN(april) FROM table_name_10 WHERE game < 76 |
Below is an context that describes a sql 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 (set_3 VARCHAR, set_2 VARCHAR, set_5 VARCHAR, set_1 VARCHAR)
### Question:
What is set 3 when set 5 is na, set 1 is 21-25, and set 2 is 25-16?
### Answer:
SELECT set_3 FROM table_name_54 WHERE set_5 = "na" AND set_1 = "21-25" AND set_2 = "25-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_1886270_1 (built VARCHAR, hr_name VARCHAR)
### Question:
When (river garry) is the hr name how many builts are there?
### Answer:
SELECT COUNT(built) FROM table_1886270_1 WHERE hr_name = "(River Garry)" |
Below is an context that describes a sql 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, competition VARCHAR)
### Question:
What was the year that had Anugerah Bintang Popular Berita Harian 23 as competition?
### Answer:
SELECT COUNT(year) FROM table_name_30 WHERE competition = "anugerah bintang popular berita harian 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_56 (driver___passenger VARCHAR, wins VARCHAR, third VARCHAR, position VARCHAR)
### Question:
Who was the driver/passengar when the position was smaller than 8, the third was 1, and there was 1 win?
### Answer:
SELECT driver___passenger FROM table_name_56 WHERE third = "1" AND position < 8 AND wins = "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_23 (stop_no VARCHAR, destination VARCHAR, line VARCHAR)
### Question:
What is Stop No., when Destination is Perth, and when Line is Midland?
### Answer:
SELECT stop_no FROM table_name_23 WHERE destination = "perth" AND line = "midland" |
Below is an context that describes a sql 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 (decile VARCHAR, authority VARCHAR, roll VARCHAR)
### Question:
For a school with authority of state and a roll of 798, what is the decile?
### Answer:
SELECT decile FROM table_name_10 WHERE authority = "state" AND roll = 798 |
Below is an context that describes a sql 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 (head_coach VARCHAR, opponent VARCHAR)
### Question:
Who was the head coach when the opponent was Arsenal?
### Answer:
SELECT head_coach FROM table_name_95 WHERE opponent = "arsenal" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE campuses (Id VARCHAR)
### Question:
How many CSU campuses are there?
### Answer:
SELECT COUNT(*) FROM campuses |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25505246_8 (round VARCHAR, against VARCHAR)
### Question:
in what round types did the opponent come from south africa?
### Answer:
SELECT round FROM table_25505246_8 WHERE against = "South Africa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27268238_5 (player VARCHAR, bbi VARCHAR)
### Question:
Who is the player when the bbi is 5/27?
### Answer:
SELECT player FROM table_27268238_5 WHERE bbi = "5/27" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (position VARCHAR, date_of_birth__age_ VARCHAR, player VARCHAR)
### Question:
What is Postition, when Date of Birth (Age) is Example, and when Player is Mark Spencer?
### Answer:
SELECT position FROM table_name_59 WHERE date_of_birth__age_ = "example" AND player = "mark spencer" |
Below is an context that describes a sql 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 (births__000s_ INTEGER, deaths VARCHAR, year VARCHAR)
### Question:
What was the amount of Births (000s) that had a death rate larger than 7.6, and a Year of 1990-2009?
### Answer:
SELECT SUM(births__000s_) FROM table_name_59 WHERE deaths > 7.6 AND year = "1990-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_25 (score VARCHAR, date VARCHAR)
### Question:
What was the score on January 16, 2010?
### Answer:
SELECT score FROM table_name_25 WHERE date = "january 16, 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_name_21 (rank VARCHAR, premiere VARCHAR)
### Question:
What is the rank for the episode that premiered on September 13, 1978?
### Answer:
SELECT rank FROM table_name_21 WHERE premiere = "september 13, 1978" |
Below is an context that describes a sql 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 (others_number INTEGER, kerry_percentage VARCHAR)
### Question:
What percentage of other candidates did the county which voted 52.1% for Kerry vote for?
### Answer:
SELECT MAX(others_number) FROM table_name_69 WHERE kerry_percentage = "52.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_13619053_4 (score VARCHAR, team VARCHAR)
### Question:
What was the score against san antonio?
### Answer:
SELECT score FROM table_13619053_4 WHERE team = "San Antonio" |
Below is an context that describes a sql 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 (inductee_s_ VARCHAR, venue VARCHAR)
### Question:
What is the name of the inductee for the ecw arena?
### Answer:
SELECT inductee_s_ FROM table_name_56 WHERE venue = "ecw arena" |
Below is an context that describes a sql 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 (draws VARCHAR, wins VARCHAR, byes VARCHAR)
### Question:
What are the draws when wins are fwewer than 9 and byes fewer than 2?
### Answer:
SELECT COUNT(draws) FROM table_name_15 WHERE wins < 9 AND byes < 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 Customers (phone_number VARCHAR, email_address VARCHAR, amount_outstanding INTEGER)
### Question:
List phone number and email address of customer with more than 2000 outstanding balance.
### Answer:
SELECT phone_number, email_address FROM Customers WHERE amount_outstanding > 2000 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.