text
stringlengths 293
1.24k
|
---|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (value VARCHAR, british_name VARCHAR)
### Question:
what is the value when the british name is quaver?
### Answer:
SELECT value FROM table_name_23 WHERE british_name = "quaver" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12193259_1 (mens_singles VARCHAR, season VARCHAR)
### Question:
Name the total number for mens single for 2002/2003
### Answer:
SELECT COUNT(mens_singles) FROM table_12193259_1 WHERE season = "2002/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 table_name_25 (date VARCHAR, venue VARCHAR)
### Question:
What the date of the game of the team that plays in princes park?
### Answer:
SELECT date FROM table_name_25 WHERE venue = "princes park" |
Below is an context that describes a sql 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 (home_team VARCHAR, tie_no VARCHAR)
### Question:
What is the Home team of tie no 2?
### Answer:
SELECT home_team FROM table_name_36 WHERE tie_no = "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_3 (date VARCHAR, score VARCHAR)
### Question:
When was the score 3-6 4-6?
### Answer:
SELECT date FROM table_name_3 WHERE score = "3-6 4-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_7 (week INTEGER, attendance INTEGER)
### Question:
How many weeks have an attendance less than 26,048?
### Answer:
SELECT SUM(week) FROM table_name_7 WHERE attendance < 26 OFFSET 048 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1359212_2 (winner VARCHAR, second_place VARCHAR)
### Question:
where is hte second place winner from united kingdom?
### Answer:
SELECT winner FROM table_1359212_2 WHERE second_place = "United Kingdom" |
Below is an context that describes a sql 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 (pick VARCHAR, round VARCHAR, name VARCHAR)
### Question:
Which Pick has a Round larger than 17, and a Name of gene stewart?
### Answer:
SELECT COUNT(pick) FROM table_name_46 WHERE round > 17 AND name = "gene stewart" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28652521_1 (description VARCHAR, singer_part_number VARCHAR)
### Question:
What's the description of the buttonholer whose singer part number is 121795 kit 121908 buttonholer?
### Answer:
SELECT description FROM table_28652521_1 WHERE singer_part_number = "121795 kit 121908 buttonholer" |
Below is an context that describes a sql 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 (area__in_km²_ INTEGER, markatal INTEGER)
### Question:
What is the average Area (in km²), when Markatal is less than 0?
### Answer:
SELECT AVG(area__in_km²_) FROM table_name_81 WHERE markatal < 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_89 (film_title_used_in_nomination VARCHAR, director VARCHAR)
### Question:
What was the film title used in nomination for the film directed by Gheorghe Vitanidis?
### Answer:
SELECT film_title_used_in_nomination FROM table_name_89 WHERE director = "gheorghe vitanidis" |
Below is an context that describes a sql 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 (rank INTEGER, lane VARCHAR)
### Question:
What is the highest rank from Lane 4?
### Answer:
SELECT MAX(rank) FROM table_name_44 WHERE lane = 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_54 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
### Question:
What is the highest rank of Venezuela, which has more than 9 bronze medals?
### Answer:
SELECT MIN(rank) FROM table_name_54 WHERE nation = "venezuela" AND bronze > 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_84 (club VARCHAR, try_bp VARCHAR)
### Question:
Can you tell me the Club thay has the Try BP of 0?
### Answer:
SELECT club FROM table_name_84 WHERE try_bp = "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_58 (club VARCHAR, tries_against VARCHAR)
### Question:
What club has tries against of 75?
### Answer:
SELECT club FROM table_name_58 WHERE tries_against = "75" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17810099_3 (title VARCHAR, episode__number VARCHAR)
### Question:
what was the title of the episode 21a?
### Answer:
SELECT title FROM table_17810099_3 WHERE episode__number = "21a" |
Below is an context that describes a sql 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 (round INTEGER, nationality VARCHAR, draft VARCHAR)
### Question:
What is Canada's highest round before 1973?
### Answer:
SELECT MAX(round) FROM table_name_39 WHERE nationality = "canada" AND draft < 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_27155678_2 (gene_name VARCHAR, genus_species VARCHAR)
### Question:
Name the gene name for methylobacterium nodulans
### Answer:
SELECT gene_name FROM table_27155678_2 WHERE genus_species = "Methylobacterium nodulans" |
Below is an context that describes a sql 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 (team VARCHAR, location_attendance VARCHAR, series VARCHAR)
### Question:
Which Team has a Location Attendance of staples center 18,997, and a Series of 1–0?
### Answer:
SELECT team FROM table_name_29 WHERE location_attendance = "staples center 18,997" AND series = "1–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_25 (loss VARCHAR, score VARCHAR)
### Question:
Who lost that has a score of w 4-3?
### Answer:
SELECT loss FROM table_name_25 WHERE score = "w 4-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_23 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
### Question:
What is the average lap time for retired time of +23.707 and a Grid greater than 21?
### Answer:
SELECT AVG(laps) FROM table_name_23 WHERE time_retired = "+23.707" AND grid > 21 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (engine VARCHAR, year VARCHAR, chassis VARCHAR)
### Question:
Which engine from 1973 has a Brabham bt37 chassis?
### Answer:
SELECT engine FROM table_name_92 WHERE year = 1973 AND chassis = "brabham bt37" |
Below is an context that describes a sql 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 (grid INTEGER, manufacturer VARCHAR, rider VARCHAR)
### Question:
Can you tell me the sum of Grid that has the Manufacturer of aprilia, and the sandro cortese?
### Answer:
SELECT SUM(grid) FROM table_name_96 WHERE manufacturer = "aprilia" AND rider = "sandro cortese" |
Below is an context that describes a sql 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 (lane INTEGER, reaction_time VARCHAR, country VARCHAR, time VARCHAR)
### Question:
Which Lane has a Country of united states, and a Time smaller than 22.01, and a Reaction Time smaller than 0.193?
### Answer:
SELECT MIN(lane) FROM table_name_95 WHERE country = "united states" AND time < 22.01 AND reaction_time < 0.193 |
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR)
### Question:
What date was Ipswich Town the away team?
### Answer:
SELECT date FROM table_name_76 WHERE away_team = "ipswich town" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13241993_3 (part_1 VARCHAR, part_2 VARCHAR)
### Question:
What's the air date of part 1 of the episode whose part 2 aired on December 2, 2007?
### Answer:
SELECT part_1 FROM table_13241993_3 WHERE part_2 = "December 2, 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_10015132_9 (school_club_team VARCHAR, player VARCHAR)
### Question:
What school/club team is Trey Johnson on?
### Answer:
SELECT school_club_team FROM table_10015132_9 WHERE player = "Trey Johnson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
### Question:
what is the grid when the time/retired is oil pressure and the laps are more than 50?
### Answer:
SELECT AVG(grid) FROM table_name_15 WHERE time_retired = "oil pressure" AND laps > 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_name_22 (minoru VARCHAR, hikaru_sato VARCHAR, super_crazy VARCHAR)
### Question:
Name the minoru that has a hikaru sato of x and super crazy of yang (8:36)
### Answer:
SELECT minoru FROM table_name_22 WHERE hikaru_sato = "x" AND super_crazy = "yang (8:36)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR)
### Question:
Which opponent has a record of 3–1?
### Answer:
SELECT opponent FROM table_name_94 WHERE record = "3–1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (finals VARCHAR, goals VARCHAR, assists VARCHAR)
### Question:
How many finals had more than 0 goals and 8 assists?
### Answer:
SELECT finals FROM table_name_14 WHERE goals > 0 AND assists = 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_38 (kk___5 VARCHAR, kk___3 VARCHAR)
### Question:
What is KK -5 if KK - 3 is 310?
### Answer:
SELECT kk___5 FROM table_name_38 WHERE kk___3 = "310" |
Below is an context that describes a sql 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 (club VARCHAR, venue VARCHAR, established VARCHAR, sport VARCHAR)
### Question:
What is the Club that has an Established more than 2000 for soccer plated in kuntz stadium?
### Answer:
SELECT club FROM table_name_90 WHERE established > 2000 AND sport = "soccer" AND venue = "kuntz 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_45 (record VARCHAR, time__seconds_ INTEGER)
### Question:
Tell me the record for a time in seconds smaller than 5.22.
### Answer:
SELECT record FROM table_name_45 WHERE time__seconds_ < 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_44 (tie_no VARCHAR, away_team VARCHAR)
### Question:
Which tie number had an away team of the Tranmere Rovers?
### Answer:
SELECT tie_no FROM table_name_44 WHERE away_team = "tranmere 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_16034882_4 (loses VARCHAR, goals_conceded VARCHAR)
### Question:
What are the total number of losses for the team who has conceded 22?
### Answer:
SELECT COUNT(loses) FROM table_16034882_4 WHERE goals_conceded = 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_31 (position VARCHAR, year VARCHAR, college_country VARCHAR)
### Question:
Regarding players before 2000, what is the USC player's position?
### Answer:
SELECT position FROM table_name_31 WHERE year < 2000 AND college_country = "usc" |
Below is an context that describes a sql 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 (margin_of_victory VARCHAR, tournament VARCHAR)
### Question:
What is the Margin of Victory, when Tournament is Mercedes Championships (3)?
### Answer:
SELECT margin_of_victory FROM table_name_24 WHERE tournament = "mercedes championships (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_14368332_1 (average VARCHAR)
### Question:
What is the result in 91-92 for the team with a 1.053 average?
### Answer:
SELECT 1991 AS _92 FROM table_14368332_1 WHERE average = "1.053" |
Below is an context that describes a sql 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 (rank INTEGER, nationality VARCHAR, time VARCHAR)
### Question:
What is the lowest rank from Great Britain with a time of 2:10.33?
### Answer:
SELECT MIN(rank) FROM table_name_40 WHERE nationality = "great britain" AND time = "2:10.33" |
Below is an context that describes a sql 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 (uefa_cup VARCHAR, total INTEGER)
### Question:
What is the total number of UEFA Cup(s), when Total is greater than 3?
### Answer:
SELECT COUNT(uefa_cup) FROM table_name_44 WHERE total > 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_92 (county VARCHAR, r_bacon VARCHAR)
### Question:
Which county has 438 (4%) listed under R. Bacon?
### Answer:
SELECT county FROM table_name_92 WHERE r_bacon = "438 (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_67 (area VARCHAR, decile VARCHAR, roll VARCHAR)
### Question:
What is the area with decile of 8, and a 25 roll?
### Answer:
SELECT area FROM table_name_67 WHERE decile = 8 AND roll = 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_22962745_35 (season VARCHAR, batsmen VARCHAR)
### Question:
What season was herschelle gibbs andrew symonds venugopal rao batsmen?
### Answer:
SELECT season FROM table_22962745_35 WHERE batsmen = "Herschelle Gibbs Andrew Symonds Venugopal Rao" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14070062_3 (losing_bonus VARCHAR, won VARCHAR)
### Question:
What's the losing bonus count for the club with 9 won games?
### Answer:
SELECT losing_bonus FROM table_14070062_3 WHERE won = "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_83 (player VARCHAR, wins VARCHAR)
### Question:
What player has 14 wins?
### Answer:
SELECT player FROM table_name_83 WHERE wins = 14 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24399615_3 (cable_rank VARCHAR, airdate VARCHAR)
### Question:
What is the cable rank for the airdate of 10 december 2009?
### Answer:
SELECT cable_rank FROM table_24399615_3 WHERE airdate = "10 December 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_39 (total INTEGER, finish VARCHAR)
### Question:
What is the average of the total when t11 is the finish?
### Answer:
SELECT AVG(total) FROM table_name_39 WHERE finish = "t11" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2847477_2 (area VARCHAR, english_name VARCHAR)
### Question:
What is the area of xin county?
### Answer:
SELECT area FROM table_2847477_2 WHERE english_name = "Xin County" |
Below is an context that describes a sql 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 (events INTEGER, tournament VARCHAR, top_25 VARCHAR)
### Question:
What is the total of events when the tournament was U.S. Open and the Top-25 was less than 1?
### Answer:
SELECT SUM(events) FROM table_name_47 WHERE tournament = "u.s. open" AND top_25 < 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_45 (byes INTEGER, wins VARCHAR, against VARCHAR, club VARCHAR)
### Question:
Which Byes has an Against smaller than 1297, and a Club of avoca, and Wins larger than 12?
### Answer:
SELECT AVG(byes) FROM table_name_45 WHERE against < 1297 AND club = "avoca" AND wins > 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_50 (attendance INTEGER, result VARCHAR)
### Question:
What is the highest Attendance with a Result that is w 24-21?
### Answer:
SELECT MAX(attendance) FROM table_name_50 WHERE result = "w 24-21" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21092444_1 (opponents VARCHAR, record VARCHAR)
### Question:
Name the opponents for record of 2-1
### Answer:
SELECT opponents FROM table_21092444_1 WHERE record = "2-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_1858574_2 (sail_number VARCHAR, yacht VARCHAR)
### Question:
When aspect computing is the yacht what is the sail number?
### Answer:
SELECT sail_number FROM table_1858574_2 WHERE yacht = "Aspect Computing" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341453_37 (first_elected INTEGER, incumbent VARCHAR)
### Question:
When was the incumbent Sherrod Brown first elected?
### Answer:
SELECT MAX(first_elected) FROM table_1341453_37 WHERE incumbent = "Sherrod Brown" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (left_office VARCHAR, inaugurated VARCHAR)
### Question:
What is Left Office, when Inaugurate is "15 March 1930"?
### Answer:
SELECT left_office FROM table_name_1 WHERE inaugurated = "15 march 1930" |
Below is an context that describes a sql 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 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
### Question:
Which District has a First Elected of 1904 and an Incumbent of Duncan E. Mckinlay?
### Answer:
SELECT district FROM table_name_31 WHERE first_elected = 1904 AND incumbent = "duncan e. mckinlay" |
Below is an context that describes a sql 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 (director VARCHAR, title VARCHAR)
### Question:
Who directed An Egg Scramble?
### Answer:
SELECT director FROM table_name_53 WHERE title = "an egg scramble" |
Below is an context that describes a sql 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 (tournament VARCHAR, outcome VARCHAR, opponents VARCHAR)
### Question:
what is the tournament when the outcome is winner and the opponents is kerry-anne guse corina morariu?
### Answer:
SELECT tournament FROM table_name_39 WHERE outcome = "winner" AND opponents = "kerry-anne guse corina morariu" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE singer (Name VARCHAR, Citizenship VARCHAR)
### Question:
List the name of singers whose citizenship is not "France".
### Answer:
SELECT Name FROM singer WHERE Citizenship <> "France" |
Below is an context that describes a sql 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 (year INTEGER, edition VARCHAR)
### Question:
What was the latest year with an edition of 14?
### Answer:
SELECT MAX(year) FROM table_name_7 WHERE edition = 14 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (grid INTEGER, driver VARCHAR, points VARCHAR)
### Question:
What is the sum of the grid of driver ryan hunter-reay, who has more than 24 points?
### Answer:
SELECT SUM(grid) FROM table_name_7 WHERE driver = "ryan hunter-reay" AND points > 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_24108789_4 (after INTEGER, player VARCHAR)
### Question:
What is the latest after when the player is Steve Stricker?
### Answer:
SELECT MAX(after) FROM table_24108789_4 WHERE player = "Steve Stricker" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23274514_6 (high_points VARCHAR, game VARCHAR)
### Question:
How many people got high points in game 35?
### Answer:
SELECT COUNT(high_points) FROM table_23274514_6 WHERE game = 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_name_77 (cardinalatial_title VARCHAR, elevator VARCHAR)
### Question:
Which Cardinalatial Title has an Elevator of pope eugenius iv?
### Answer:
SELECT cardinalatial_title FROM table_name_77 WHERE elevator = "pope eugenius iv" |
Below is an context that describes a sql 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 (pitcher VARCHAR, date VARCHAR)
### Question:
Tell me the pitcher on september 6, 2006
### Answer:
SELECT pitcher FROM table_name_8 WHERE date = "september 6, 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 Dogs (breed_code VARCHAR); CREATE TABLE Breeds (breed_name VARCHAR, breed_code VARCHAR)
### Question:
What is the name of the breed with the most dogs?
### Answer:
SELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code = T2.breed_code GROUP BY T1.breed_name 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_13741576_4 (won VARCHAR, try_bonus VARCHAR)
### Question:
Name the won for try bonus of 10
### Answer:
SELECT won FROM table_13741576_4 WHERE try_bonus = "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_47 (player VARCHAR, hometown VARCHAR)
### Question:
Who is from flower mound, tx?
### Answer:
SELECT player FROM table_name_47 WHERE hometown = "flower mound, tx" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (rank INTEGER, worldwide_gross VARCHAR)
### Question:
What is the Rank of the Film with a Worldwide Gross of $183,031,272?
### Answer:
SELECT SUM(rank) FROM table_name_19 WHERE worldwide_gross = "$183,031,272" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (bats VARCHAR, surname VARCHAR, first VARCHAR, throws VARCHAR)
### Question:
Which Bats have a First of josh, and Throws of r, and a Surname of cakebread?
### Answer:
SELECT bats FROM table_name_90 WHERE first = "josh" AND throws = "r" AND surname = "cakebread" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21690339_1 (country VARCHAR, _percentage_cut VARCHAR)
### Question:
What country had a 100% cut?
### Answer:
SELECT country FROM table_21690339_1 WHERE _percentage_cut = "100%" |
Below is an context that describes a sql 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 (decision VARCHAR, visitor VARCHAR)
### Question:
What is the decision when they're at phoenix?
### Answer:
SELECT decision FROM table_name_22 WHERE visitor = "phoenix" |
Below is an context that describes a sql 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 (format VARCHAR, date VARCHAR)
### Question:
What is the format for July 27, 1994?
### Answer:
SELECT format FROM table_name_94 WHERE date = "july 27, 1994" |
Below is an context that describes a 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 (cr_no INTEGER)
### Question:
What is the lowest cr number?
### Answer:
SELECT MIN(cr_no) FROM table_1886270_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_29626583_1 (pick__number INTEGER, mls_team VARCHAR)
### Question:
how many pick# does the chivas usa mls team have
### Answer:
SELECT MAX(pick__number) FROM table_29626583_1 WHERE mls_team = "Chivas USA" |
Below is an context that describes a sql 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 (record VARCHAR, time VARCHAR)
### Question:
Which Record has a Time of 4:50?
### Answer:
SELECT record FROM table_name_58 WHERE time = "4: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_name_75 (builder VARCHAR, launched VARCHAR)
### Question:
what builder launched 20 jun 1953?
### Answer:
SELECT builder FROM table_name_75 WHERE launched = "20 jun 1953" |
Below is an context that describes a sql 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 (talent VARCHAR, hometown VARCHAR)
### Question:
What is the talent of the contestant from Lexington, SC?
### Answer:
SELECT talent FROM table_name_82 WHERE hometown = "lexington, sc" |
Below is an context that describes a sql 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 (time VARCHAR, game VARCHAR)
### Question:
What was the time for game 4?
### Answer:
SELECT time FROM table_name_56 WHERE game = 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_91 (record VARCHAR, date VARCHAR)
### Question:
What is the Record with a Date that is december 20?
### Answer:
SELECT record FROM table_name_91 WHERE date = "december 20" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE loan (branch_id VARCHAR, amount INTEGER); CREATE TABLE bank (bname VARCHAR, branch_id VARCHAR)
### Question:
Find the name of bank branch that provided the greatest total amount of loans.
### Answer:
SELECT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id GROUP BY T1.bname ORDER BY SUM(T2.amount) 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_99 (nat VARCHAR, transfer_fee VARCHAR)
### Question:
What is the nationality of the player with a transfer fee of £400k?
### Answer:
SELECT nat FROM table_name_99 WHERE transfer_fee = "£400k" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1579922_1 (episode VARCHAR, run_time VARCHAR)
### Question:
What episode had a run time of 24:25?
### Answer:
SELECT episode FROM table_1579922_1 WHERE run_time = "24: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 institution (TYPE VARCHAR, enrollment INTEGER)
### Question:
Show institution types, along with the number of institutions and total enrollment for each type.
### Answer:
SELECT TYPE, COUNT(*), SUM(enrollment) FROM institution GROUP BY TYPE |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15346009_1 (date VARCHAR, tournament VARCHAR)
### Question:
What day was Jeld-Wen Tradition held?
### Answer:
SELECT date FROM table_15346009_1 WHERE tournament = "JELD-WEN Tradition" |
Below is an context that describes a sql 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 (pos VARCHAR, points VARCHAR, season VARCHAR)
### Question:
What is the position with 0 points in Season of 2007–08?
### Answer:
SELECT pos FROM table_name_37 WHERE points = "0" AND season = "2007–08" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Person (gender VARCHAR, age INTEGER)
### Question:
Find the number of people who is under 40 for each gender.
### Answer:
SELECT COUNT(*), gender FROM Person WHERE age < 40 GROUP BY gender |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (venue VARCHAR, state VARCHAR)
### Question:
What Venue is in Colorado?
### Answer:
SELECT venue FROM table_name_19 WHERE state = "colorado" |
Below is an context that describes a sql 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 (location VARCHAR, event VARCHAR)
### Question:
Where was the Deep - 30 Impact event held?
### Answer:
SELECT location FROM table_name_55 WHERE event = "deep - 30 impact" |
Below is an context that describes a sql 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 (event VARCHAR, days_held VARCHAR)
### Question:
What event has 8 as the days held?
### Answer:
SELECT event FROM table_name_33 WHERE days_held = "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_71 (conference VARCHAR, school VARCHAR)
### Question:
What conference has mayville state as the school?
### Answer:
SELECT conference FROM table_name_71 WHERE school = "mayville state" |
Below is an context that describes a sql 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 (score VARCHAR, place VARCHAR, country VARCHAR)
### Question:
Which Score has a Place of t5, and a Country of united states?
### Answer:
SELECT score FROM table_name_30 WHERE place = "t5" 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_97 (members_of_parliament VARCHAR, trailing_party VARCHAR)
### Question:
What is Members of Parliament, when Trailing Party is "Bharatiya Lok Dal"?
### Answer:
SELECT members_of_parliament FROM table_name_97 WHERE trailing_party = "bharatiya lok dal" |
Below is an context that describes a sql 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 (name VARCHAR, state VARCHAR, opened__closing_date_if_defunct_ VARCHAR, length VARCHAR)
### Question:
What is the Name with an Opened (closing date if defunct) of 1995 and has a Length of miles (m), in Illinois?
### Answer:
SELECT name FROM table_name_9 WHERE opened__closing_date_if_defunct_ = "1995" AND length = "miles (m)" AND state = "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_25557880_1 (wins INTEGER)
### Question:
What was his minimum number wins in a single year?
### Answer:
SELECT MIN(wins) FROM table_25557880_1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (second VARCHAR, lead VARCHAR)
### Question:
Who is second on the team with Euan Byers at lead?
### Answer:
SELECT second FROM table_name_38 WHERE lead = "euan byers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26591434_1 (ratings__kanto_ VARCHAR, episode VARCHAR)
### Question:
What was the ratings for episode 11?
### Answer:
SELECT ratings__kanto_ FROM table_26591434_1 WHERE episode = 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_47 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
### Question:
What was the total Attendance in weeks previous of 5, playing the Seattle Seahawks?
### Answer:
SELECT COUNT(attendance) FROM table_name_47 WHERE week < 5 AND opponent = "seattle seahawks" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2263152_1 (features VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)
### Question:
If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features?
### Answer:
SELECT features FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.