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_13 (weight VARCHAR, length VARCHAR)
### Question:
What is Weight, when Length is 1168mm / 46 in?
### Answer:
SELECT weight FROM table_name_13 WHERE length = "1168mm / 46 in" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20297668_1 (standard_yarn_weight_system VARCHAR, wraps_per_inch__wpi_ VARCHAR)
### Question:
Name the standard yarn weight system for 9 wpi
### Answer:
SELECT standard_yarn_weight_system FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "9 wpi" |
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR, place VARCHAR)
### Question:
What is Player, when Country is "United States", and when Place is "6"?
### Answer:
SELECT player FROM table_name_41 WHERE country = "united states" AND place = "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_65 (d_50 VARCHAR, d_41 VARCHAR)
### Question:
What is the D 50 when the D 41 is d 41?
### Answer:
SELECT d_50 FROM table_name_65 WHERE d_41 = "d 41" |
Below is an context that describes a sql 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 (address VARCHAR, year VARCHAR)
### Question:
What was the address in 1974?
### Answer:
SELECT address FROM table_name_42 WHERE year = "1974" |
Below is an context that describes a sql 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 (week_of VARCHAR, runner_up VARCHAR)
### Question:
What week was the Runner-up Lori McNeil?
### Answer:
SELECT week_of FROM table_name_70 WHERE runner_up = "lori mcneil" |
Below is an context that describes a sql 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 (round VARCHAR, pick VARCHAR)
### Question:
HOW MANY ROUNDS HAD A PICK OF 7?
### Answer:
SELECT COUNT(round) FROM table_name_11 WHERE pick = "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_13557843_7 (high_rebounds VARCHAR, team VARCHAR)
### Question:
who is the the high rebounds with team being vancouver
### Answer:
SELECT high_rebounds FROM table_13557843_7 WHERE team = "Vancouver" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR)
### Question:
What home is dated march 19?
### Answer:
SELECT home FROM table_name_68 WHERE date = "march 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_27654988_1 (scorers VARCHAR, result VARCHAR)
### Question:
Who were the scorers in the game with final score 0–4 7–1 0–3?
### Answer:
SELECT scorers FROM table_27654988_1 WHERE result = "0–4 7–1 0–3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR)
### Question:
What is the Away Team Score of the Hawthorn Home Team?
### Answer:
SELECT away_team AS score FROM table_name_6 WHERE home_team = "hawthorn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1507852_5 (type VARCHAR, description VARCHAR)
### Question:
what's the type with description being fires when the overflow state changes.
### Answer:
SELECT type FROM table_1507852_5 WHERE description = "Fires when the overflow state changes." |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10812403_4 (position VARCHAR, pick__number VARCHAR)
### Question:
How many people were pick #30?
### Answer:
SELECT COUNT(position) FROM table_10812403_4 WHERE pick__number = 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_82 (date VARCHAR, record VARCHAR)
### Question:
Which Date has a Record of 6-6?
### Answer:
SELECT date FROM table_name_82 WHERE record = "6-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_39 (rank INTEGER, placings VARCHAR)
### Question:
Tell me the sum of rank for placings of 58
### Answer:
SELECT SUM(rank) FROM table_name_39 WHERE placings = 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_11235334_2 (_number INTEGER, air_date VARCHAR)
### Question:
what is the most # that aired on september 29, 2008?
### Answer:
SELECT MAX(_number) FROM table_11235334_2 WHERE air_date = "September 29, 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_98 (total VARCHAR, name VARCHAR)
### Question:
What is the total for danny allsopp?
### Answer:
SELECT total FROM table_name_98 WHERE name = "danny allsopp" |
Below is an context that describes a sql 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 (opponent VARCHAR, attendance VARCHAR)
### Question:
What two teams were competing in the match with 103,158 in attendance?
### Answer:
SELECT opponent FROM table_name_50 WHERE attendance = "103,158" |
Below is an context that describes a sql 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 (date VARCHAR, type_of_game VARCHAR, opponent VARCHAR)
### Question:
What date had an opponent of Sweden and a friendly type game?
### Answer:
SELECT date FROM table_name_44 WHERE type_of_game = "friendly" AND opponent = "sweden" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28286776_52 (player VARCHAR, goal_s_ VARCHAR)
### Question:
How many players had 8 goals?
### Answer:
SELECT COUNT(player) FROM table_28286776_52 WHERE goal_s_ = 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_98 (tries VARCHAR, points VARCHAR, games VARCHAR)
### Question:
Name the tries that has a points of 008 8 and games of 27 27
### Answer:
SELECT tries FROM table_name_98 WHERE points = "008 8" AND games = "27 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_67 (format VARCHAR, region VARCHAR, date VARCHAR)
### Question:
Tell me the format for worldwide region july 22, 2008
### Answer:
SELECT format FROM table_name_67 WHERE region = "worldwide" AND date = "july 22, 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_1140080_2 (rnd INTEGER, race VARCHAR)
### Question:
what's the minimum rnd with race italian grand prix
### Answer:
SELECT MIN(rnd) FROM table_1140080_2 WHERE race = "Italian 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_39 (position INTEGER, draws INTEGER)
### Question:
What is the sum of the position with less than 0 draws?
### Answer:
SELECT SUM(position) FROM table_name_39 WHERE draws < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (round VARCHAR, position VARCHAR, overall VARCHAR)
### Question:
In what round was a defensive tackle drafted with an overall pick smaller than 149?
### Answer:
SELECT COUNT(round) FROM table_name_25 WHERE position = "defensive tackle" AND overall < 149 |
Below is an context that describes a sql 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 (sub_parish__sogn_ VARCHAR, year_built VARCHAR, location_of_the_church VARCHAR)
### Question:
WHAT IS THE SUB-PARISH WITH A YEAR AFTER 1916, IN ortnevik?
### Answer:
SELECT sub_parish__sogn_ FROM table_name_41 WHERE year_built > 1916 AND location_of_the_church = "ortnevik" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24598274_20 (country VARCHAR, presenter_s_ VARCHAR)
### Question:
Which country did Johanna Klum presented the show?
### Answer:
SELECT country FROM table_24598274_20 WHERE presenter_s_ = "Johanna Klum" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12807904_5 (points VARCHAR, points_against VARCHAR)
### Question:
What amount of points where points were 389?
### Answer:
SELECT COUNT(points) FROM table_12807904_5 WHERE points_against = "389" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (result VARCHAR, attendance INTEGER)
### Question:
Which had an attendance of larger than 33,435?
### Answer:
SELECT result FROM table_name_26 WHERE attendance > 33 OFFSET 435 |
Below is an context that describes a sql 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 (season VARCHAR, score VARCHAR)
### Question:
What is the season where Vasco da gama is the score?
### Answer:
SELECT season FROM table_name_87 WHERE score = "vasco da gama" |
Below is an context that describes a sql 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 (tv_time VARCHAR, week VARCHAR)
### Question:
What is the time in week 3?
### Answer:
SELECT tv_time FROM table_name_29 WHERE week = 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_229917_2 (fatalities VARCHAR, brief_description VARCHAR)
### Question:
How many fatalities were there in the crash described as crashed at take-off due to engine failure?
### Answer:
SELECT fatalities FROM table_229917_2 WHERE brief_description = "Crashed at take-off due to engine failure" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (country VARCHAR, top_team VARCHAR, edition VARCHAR)
### Question:
Which Country has a Top Team of jam, and an Edition of 31st?
### Answer:
SELECT country FROM table_name_93 WHERE top_team = "jam" AND edition = "31st" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_78 (opponent VARCHAR, result VARCHAR)
### Question:
Who was the Opponent with a Result of l 17–24?
### Answer:
SELECT opponent FROM table_name_78 WHERE result = "l 17–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_name_93 (identity_ies_ VARCHAR, dvd_volume INTEGER)
### Question:
What identities have more than 5 DVD volumes?
### Answer:
SELECT identity_ies_ FROM table_name_93 WHERE dvd_volume > 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_1341395_36 (district VARCHAR, incumbent VARCHAR)
### Question:
In what district was the incumbent Steve Chabot?
### Answer:
SELECT district FROM table_1341395_36 WHERE incumbent = "Steve Chabot" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_224794_3 (successor VARCHAR, district VARCHAR)
### Question:
Who was the successor for the Kentucky 2nd district?
### Answer:
SELECT successor FROM table_224794_3 WHERE district = "Kentucky 2nd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE ROLES (role_code VARCHAR, role_name VARCHAR, role_description VARCHAR)
### Question:
List all role codes, role names, and role descriptions.
### Answer:
SELECT role_code, role_name, role_description FROM ROLES |
Below is an context that describes a sql 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 (played INTEGER, goals_scored VARCHAR, lost VARCHAR)
### Question:
Name the highest Played of Goals Scored smaller than 18 and a Lost larger than 10?
### Answer:
SELECT MAX(played) FROM table_name_23 WHERE goals_scored < 18 AND lost > 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_81 (moldovans VARCHAR, ukrainians VARCHAR)
### Question:
what is the Moldovans number when there are 14,200 Ukrainians?
### Answer:
SELECT moldovans FROM table_name_81 WHERE ukrainians = "14,200" |
Below is an context that describes a sql 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 (season VARCHAR, pos VARCHAR, head_coach VARCHAR)
### Question:
Which season led to a position of 13, and a head coach of Protasov Lyutyi Talalayev Balakhnin Baidachny?
### Answer:
SELECT season FROM table_name_24 WHERE pos = 13 AND head_coach = "protasov lyutyi talalayev balakhnin baidachny" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29692554_2 (eliminated VARCHAR, time VARCHAR)
### Question:
Who was eliminated a person at 18:48?
### Answer:
SELECT eliminated AS by FROM table_29692554_2 WHERE time = "18:48" |
Below is an context that describes a sql 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 (team VARCHAR, qual_2 VARCHAR)
### Question:
What team had a qual 2 time of 58.385?
### Answer:
SELECT team FROM table_name_92 WHERE qual_2 = "58.385" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Sportsinfo (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR)
### Question:
Show student ids who don't have any sports.
### Answer:
SELECT StuID FROM Student EXCEPT SELECT StuID FROM Sportsinfo |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22977424_8 (name VARCHAR, promoted_to_league VARCHAR)
### Question:
Name the name for plymouth albion orrell
### Answer:
SELECT name FROM table_22977424_8 WHERE promoted_to_league = "Plymouth Albion Orrell" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
I want the score for 30 april 1977
### Answer:
SELECT score FROM table_name_72 WHERE date = "30 april 1977" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18522916_5 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR)
### Question:
Name the date of vacancy for 29 december 2008 being date of appointment
### Answer:
SELECT date_of_vacancy FROM table_18522916_5 WHERE date_of_appointment = "29 December 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_59 (population VARCHAR, official_name VARCHAR, area_km_2 VARCHAR)
### Question:
For Saint-Paul parish, if it has an area of over 228.65 kilometers how many people live there?
### Answer:
SELECT COUNT(population) FROM table_name_59 WHERE official_name = "saint-paul" AND area_km_2 > 228.65 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27537518_7 (date VARCHAR, first_star VARCHAR)
### Question:
What date was M. Grabovski the first start of the game?
### Answer:
SELECT date FROM table_27537518_7 WHERE first_star = "M. Grabovski" |
Below is an context that describes a sql 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 (school VARCHAR, enrollment VARCHAR, ihsaa_football_class VARCHAR)
### Question:
What school has more than 533 enrolled and is an IHSAA Football Class of aa?
### Answer:
SELECT school FROM table_name_27 WHERE enrollment > 533 AND ihsaa_football_class = "aa" |
Below is an context that describes a sql 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 (round VARCHAR, location VARCHAR, time VARCHAR)
### Question:
What is the total number of Rounds held in Nevada, United States in which the time was 1:55?
### Answer:
SELECT COUNT(round) FROM table_name_5 WHERE location = "nevada, united states" AND time = "1:55" |
Below is an context that describes 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 (country VARCHAR)
### Question:
Show all countries and the number of people from each country.
### Answer:
SELECT country, COUNT(*) FROM people GROUP BY country |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (horse VARCHAR, result VARCHAR)
### Question:
What horse has a 65.863 result?
### Answer:
SELECT horse FROM table_name_18 WHERE result = "65.863" |
Below is an context that describes a sql 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 (laps INTEGER, driver VARCHAR)
### Question:
What is the high lap total for pedro diniz?
### Answer:
SELECT MAX(laps) FROM table_name_24 WHERE driver = "pedro diniz" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (lost VARCHAR, points_against VARCHAR)
### Question:
what is lost when the points against is 231?
### Answer:
SELECT lost FROM table_name_28 WHERE points_against = "231" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (hong_kong INTEGER, brisbane VARCHAR, kuala_lumpur VARCHAR)
### Question:
What is the lowest Hong Kong value with a 0 Brisbane value and a greater than 0 Kuala Lumpur value?
### Answer:
SELECT MIN(hong_kong) FROM table_name_52 WHERE brisbane = 0 AND kuala_lumpur > 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_25391981_3 (couple VARCHAR, average VARCHAR)
### Question:
What couple averaged 15.5?
### Answer:
SELECT couple FROM table_25391981_3 WHERE average = "15.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_51 (club VARCHAR, name VARCHAR)
### Question:
What club had Guus Hiddink as outgoing manager?
### Answer:
SELECT club FROM table_name_51 WHERE name = "guus hiddink" |
Below is an context that describes a sql 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 (builder’s_model VARCHAR, total_produced VARCHAR, build_date VARCHAR)
### Question:
Who built the train in 1966 with over 40 produced?
### Answer:
SELECT builder’s_model FROM table_name_83 WHERE total_produced > 40 AND build_date = "1966" |
Below is an context that describes a sql 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 (opponent_in_the_final VARCHAR, tournament VARCHAR)
### Question:
who is the opponent in the final when the tournament is cagnes-sur-mer?
### Answer:
SELECT opponent_in_the_final FROM table_name_64 WHERE tournament = "cagnes-sur-mer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (place VARCHAR, score VARCHAR)
### Question:
What was the place for the score 70-72-69=211?
### Answer:
SELECT place FROM table_name_60 WHERE score = 70 - 72 - 69 = 211 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26387382_1 (turbines VARCHAR, location__county_ VARCHAR, capacity__mw_ VARCHAR)
### Question:
What all turbines have a capacity of 30 and have a Somerset location?
### Answer:
SELECT turbines FROM table_26387382_1 WHERE location__county_ = "Somerset" AND capacity__mw_ = "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_50 (score VARCHAR, date VARCHAR)
### Question:
What is the score of the match on September 24, 2006?
### Answer:
SELECT score FROM table_name_50 WHERE date = "september 24, 2006" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (team VARCHAR, grid VARCHAR)
### Question:
What is the team with grid 9?
### Answer:
SELECT team FROM table_name_10 WHERE grid = 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_11875915_2 (gt2_winning_team VARCHAR, gt3_winning_team VARCHAR)
### Question:
Who was the GT2 winning team when the GT3 winning team was #1 PTG?
### Answer:
SELECT gt2_winning_team FROM table_11875915_2 WHERE gt3_winning_team = "#1 PTG" |
Below is an context that describes a sql 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 (team VARCHAR, score VARCHAR)
### Question:
Which team scored l 87–115 (ot)?
### Answer:
SELECT team FROM table_name_61 WHERE score = "l 87–115 (ot)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140119_5 (constructor VARCHAR, race_name VARCHAR)
### Question:
Would built the winning car in the IV J.C.C. Jersey Road Race?
### Answer:
SELECT constructor FROM table_1140119_5 WHERE race_name = "IV J.C.C. Jersey Road Race" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16278894_1 (population_census_2009 VARCHAR, county VARCHAR)
### Question:
What was the population in Kisumu county as of 2009?
### Answer:
SELECT population_census_2009 FROM table_16278894_1 WHERE county = "Kisumu" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28138035_33 (mens_doubles VARCHAR, mens_singles VARCHAR)
### Question:
How many times has Ma Long won the men's singles?
### Answer:
SELECT COUNT(mens_doubles) FROM table_28138035_33 WHERE mens_singles = "Ma Long" |
Below is an context that describes 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 (major VARCHAR)
### Question:
Which major has most number of students?
### Answer:
SELECT major FROM Student GROUP BY major 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_27704991_1 (armor VARCHAR, special_weapon VARCHAR)
### Question:
If the special weapon is the Grenado, what is the armor?
### Answer:
SELECT armor FROM table_27704991_1 WHERE special_weapon = "Grenado" |
Below is an context that describes a sql 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 (rank VARCHAR)
### Question:
what is the production in 2010 with rank of 8?
### Answer:
SELECT 2010 FROM table_name_39 WHERE rank = "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_21 (silver INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)
### Question:
What is the sum of all silver medals with less than 23 medals in total and more than 3 bronze medals for the United States?
### Answer:
SELECT SUM(silver) FROM table_name_21 WHERE total < 23 AND nation = "united states" AND bronze > 3 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (year INTEGER, start VARCHAR)
### Question:
Which Year has a Start of 14?
### Answer:
SELECT AVG(year) FROM table_name_66 WHERE start = "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_86 (rank VARCHAR, qual VARCHAR)
### Question:
What was the rank with the qual of 115.095?
### Answer:
SELECT rank FROM table_name_86 WHERE qual = "115.095" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342256_38 (candidates VARCHAR, incumbent VARCHAR)
### Question:
what was the number of candidates when Leon Sacks was incumbent?
### Answer:
SELECT COUNT(candidates) FROM table_1342256_38 WHERE incumbent = "Leon Sacks" |
Below is an context that describes a sql 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 (year VARCHAR)
### Question:
Who won the 250cc in 1927?
### Answer:
SELECT 250 AS _cc FROM table_name_31 WHERE year = "1927" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (mountains_classification VARCHAR, stage VARCHAR)
### Question:
What is the mountains classification when stage is 17?
### Answer:
SELECT mountains_classification FROM table_name_60 WHERE 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_97 (country VARCHAR, notes VARCHAR, rank VARCHAR)
### Question:
What country has a rank of 3 and notes of r?
### Answer:
SELECT country FROM table_name_97 WHERE notes = "r" AND rank = 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_17 (points INTEGER, draw VARCHAR, jury VARCHAR, artist VARCHAR)
### Question:
Jury larger than 6, and a Artist of zhenya rasskazova, and a Draw larger than 9 had what sum of points?
### Answer:
SELECT SUM(points) FROM table_name_17 WHERE jury > 6 AND artist = "zhenya rasskazova" AND draw > 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_2 (points VARCHAR, record VARCHAR)
### Question:
Record of 21–29–10 had what total number of points?
### Answer:
SELECT COUNT(points) FROM table_name_2 WHERE record = "21–29–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_14342480_15 (points INTEGER, player VARCHAR)
### Question:
How many points did Duncan Thompson score?
### Answer:
SELECT MAX(points) FROM table_14342480_15 WHERE player = "Duncan Thompson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1875157_1 (winnings VARCHAR, starts VARCHAR)
### Question:
Did this driver have any winnings the season he had 32 starts
### Answer:
SELECT COUNT(winnings) FROM table_1875157_1 WHERE starts = 32 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (attendance VARCHAR, week VARCHAR)
### Question:
what is the attendance when the week is 5?
### Answer:
SELECT attendance FROM table_name_28 WHERE week = 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_26 (long INTEGER, gain VARCHAR, loss VARCHAR, avg_g VARCHAR)
### Question:
When the Gain is 29, and the average per game is 2, and the player lost less than 390 yards, what's the sum of the Long yards?
### Answer:
SELECT SUM(long) FROM table_name_26 WHERE loss < 390 AND avg_g = 2 AND gain > 29 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (gold INTEGER, total VARCHAR, participants VARCHAR, rank VARCHAR)
### Question:
What is the lowest number of Golds that has Participants smaller than 14, and Rank of 1, and Total larger than 1?
### Answer:
SELECT MIN(gold) FROM table_name_1 WHERE participants < 14 AND rank = 1 AND total > 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_17265535_6 (equation VARCHAR)
### Question:
If the equation is (10 times 1) + 3, what is the 2nd throw?
### Answer:
SELECT MAX(2 AS nd_throw) FROM table_17265535_6 WHERE equation = "(10 times 1) + 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_29487895_2 (title_in_country VARCHAR, country___region VARCHAR)
### Question:
What is the title in Canada?
### Answer:
SELECT title_in_country FROM table_29487895_2 WHERE country___region = "Canada" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342198_13 (candidates VARCHAR, incumbent VARCHAR)
### Question:
How many candidates ran against barratt o'hara?
### Answer:
SELECT COUNT(candidates) FROM table_1342198_13 WHERE incumbent = "Barratt O'Hara" |
Below is an context that describes a sql 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 (rank INTEGER, lane VARCHAR, nationality VARCHAR)
### Question:
What is the average Rank for a lane smaller than 3 with a nationality of Australia?
### Answer:
SELECT AVG(rank) FROM table_name_55 WHERE lane < 3 AND nationality = "australia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14945608_1 (result VARCHAR, attendance VARCHAR)
### Question:
How many games had the attendance of 60225?
### Answer:
SELECT COUNT(result) FROM table_14945608_1 WHERE attendance = 60225 |
Below is an context that describes a 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 (gas_storage VARCHAR, alternative_fuel VARCHAR)
### Question:
What was the gas storage status for the nation that had "yes" for alternative fuel?
### Answer:
SELECT gas_storage FROM table_21690339_1 WHERE alternative_fuel = "Yes" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What score occurred on February 6?
### Answer:
SELECT score FROM table_name_31 WHERE date = "february 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_90 (opponent VARCHAR, year VARCHAR, town VARCHAR)
### Question:
who is the opponent when played in trieste before 2007?
### Answer:
SELECT opponent FROM table_name_90 WHERE year < 2007 AND town = "trieste" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13564702_3 (try_bonus VARCHAR, club VARCHAR)
### Question:
Name the try bonus for kenfig hill rfc
### Answer:
SELECT try_bonus FROM table_13564702_3 WHERE club = "Kenfig Hill RFC" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE club_rank (Gold INTEGER)
### Question:
What is the average number of gold medals for clubs?
### Answer:
SELECT AVG(Gold) FROM club_rank |
Below is an context that describes a sql 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 (round VARCHAR, position VARCHAR)
### Question:
Which round's position is according to official website?
### Answer:
SELECT round FROM table_name_30 WHERE position = "according to official website" |
Below is an context that describes a sql 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 (pick VARCHAR, college VARCHAR)
### Question:
What pick number was the player that went to baylor college?
### Answer:
SELECT pick FROM table_name_55 WHERE college = "baylor" |
Below is an context that describes a sql 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 (Highest INTEGER, album_title VARCHAR, sales VARCHAR)
### Question:
What is the lowest high position for 10 years of hits, and over 870,000 sales?
### Answer:
SELECT MIN(Highest) AS position FROM table_name_22 WHERE album_title = "10 years of hits" AND sales > 870 OFFSET 000 |
Below is an context that describes a sql 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 (hometown VARCHAR, name VARCHAR)
### Question:
What is Hasan Shah's hometown?
### Answer:
SELECT hometown FROM table_name_40 WHERE name = "hasan shah" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.