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 track (seating INTEGER)
### Question:
What is the minimum, maximum, and average seating for all tracks.
### Answer:
SELECT MIN(seating), MAX(seating), AVG(seating) FROM track |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22570439_1 (written_by VARCHAR, directed_by VARCHAR)
### Question:
Who is the written by when mark worthington is the director?
### Answer:
SELECT written_by FROM table_22570439_1 WHERE directed_by = "Mark Worthington" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21330550_2 (location VARCHAR, big_ten_team VARCHAR)
### Question:
How many locations have #12 Michigan State as the big ten team?
### Answer:
SELECT COUNT(location) FROM table_21330550_2 WHERE big_ten_team = "#12 Michigan 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_63 (game_site VARCHAR, attendance VARCHAR)
### Question:
Where was the game held when the attendance was 56,770?
### Answer:
SELECT game_site FROM table_name_63 WHERE attendance = "56,770" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was the away team's score in the game against North Melbourne?
### Answer:
SELECT away_team AS score FROM table_name_35 WHERE home_team = "north melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19089486_1 (clubs_remaining INTEGER)
### Question:
Name the least clubs remaining
### Answer:
SELECT MIN(clubs_remaining) FROM table_19089486_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_7 (weight VARCHAR, block VARCHAR, spike VARCHAR)
### Question:
What is the number of weight values associated with 340 blocks and more than 353 spikes?
### Answer:
SELECT COUNT(weight) FROM table_name_7 WHERE block = 340 AND spike > 353 |
Below is an context that describes a 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_9 (record VARCHAR, team VARCHAR)
### Question:
What was the record when they played golden state?
### Answer:
SELECT record FROM table_23274514_9 WHERE team = "Golden 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_26996293_3 (player VARCHAR, position VARCHAR)
### Question:
What player drafted was an OG?
### Answer:
SELECT player FROM table_26996293_3 WHERE position = "OG" |
Below is an context that describes a 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_6 (result VARCHAR, district VARCHAR)
### Question:
How many outcomes were there in the elections in California 38?
### Answer:
SELECT COUNT(result) FROM table_1341663_6 WHERE district = "California 38" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (hardness VARCHAR, liquid_at__°c_ VARCHAR)
### Question:
What is the hardness for the alloy that is liquid at 243 degrees C?
### Answer:
SELECT hardness FROM table_name_45 WHERE liquid_at__°c_ = "243" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (wickets INTEGER, runs VARCHAR, matches VARCHAR)
### Question:
What is the total number of wickets that have runs under 4600 and matches under 44?
### Answer:
SELECT SUM(wickets) FROM table_name_64 WHERE runs < 4600 AND matches < 44 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16799784_9 (diameter__km_ VARCHAR, longitude VARCHAR)
### Question:
At a longitude of 293.0e, what is the diameter, in km?
### Answer:
SELECT diameter__km_ FROM table_16799784_9 WHERE longitude = "293.0E" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14418812_1 (opponent VARCHAR, game_site VARCHAR)
### Question:
Name the opponent for astrodome
### Answer:
SELECT opponent FROM table_14418812_1 WHERE game_site = "Astrodome" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25703_1 (birth_2013 VARCHAR, january_september_2013 VARCHAR)
### Question:
How many figures for birth/2013 when January-September is Oryol Oblast?
### Answer:
SELECT COUNT(birth_2013) FROM table_25703_1 WHERE january_september_2013 = "Oryol Oblast" |
Below is an context that describes a sql 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 (race VARCHAR, most_laps_led VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
### Question:
What is Race, when Winning Team is Chip Ganassi Racing, when Pole Position is Ryan Briscoe, and when Most Laps Led is Scott Dixon?
### Answer:
SELECT race FROM table_name_91 WHERE winning_team = "chip ganassi racing" AND pole_position = "ryan briscoe" AND most_laps_led = "scott dixon" |
Below is an context that describes a sql 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 (games INTEGER, name VARCHAR, rank VARCHAR)
### Question:
How many Games for Rank 2 Terrell McIntyre?
### Answer:
SELECT MIN(games) FROM table_name_8 WHERE name = "terrell mcintyre" AND rank > 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_39 (date VARCHAR, score VARCHAR)
### Question:
When has a Score of 6–3, 6–4?
### Answer:
SELECT date FROM table_name_39 WHERE score = "6–3, 6–4" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR)
### Question:
What is the usual attendance for july 2?
### Answer:
SELECT AVG(attendance) FROM table_name_6 WHERE date = "july 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_51 (record VARCHAR, attendance VARCHAR)
### Question:
Which record has 64,053 as the attendance?
### Answer:
SELECT record FROM table_name_51 WHERE attendance = "64,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 bridge (name VARCHAR, architect_id VARCHAR, length_feet VARCHAR); CREATE TABLE architect (id VARCHAR, nationality VARCHAR)
### Question:
show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
### Answer:
SELECT t1.name FROM bridge AS t1 JOIN architect AS t2 ON t1.architect_id = t2.id WHERE t2.nationality = 'American' ORDER BY t1.length_feet |
Below is an context that describes a sql 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 (original_air_date VARCHAR, production_code VARCHAR)
### Question:
What is the air date for the episode with production code ad1c13?
### Answer:
SELECT original_air_date FROM table_name_64 WHERE production_code = "ad1c13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19112_3 (industry VARCHAR, company VARCHAR)
### Question:
Name the total number of industry for maxis
### Answer:
SELECT COUNT(industry) FROM table_19112_3 WHERE company = "Maxis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15621965_1 (nationality VARCHAR, no VARCHAR)
### Question:
Name the nationality of number 9
### Answer:
SELECT nationality FROM table_15621965_1 WHERE no = 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_1671401_2 (team_s_ VARCHAR, top_10 VARCHAR)
### Question:
Name the total number of teams for top 10 being 5
### Answer:
SELECT COUNT(team_s_) FROM table_1671401_2 WHERE top_10 = 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_44 (result VARCHAR, attendance VARCHAR)
### Question:
What is the result when the attendance is 960?
### Answer:
SELECT result FROM table_name_44 WHERE attendance = 960 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2409041_6 (title VARCHAR, no_in_season VARCHAR)
### Question:
What is the title of season 2?
### Answer:
SELECT title FROM table_2409041_6 WHERE no_in_season = 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_71 (attendance VARCHAR, visitor VARCHAR)
### Question:
Name the attendance for when the washington wizards was visiting
### Answer:
SELECT attendance FROM table_name_71 WHERE visitor = "washington wizards" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (pick__number INTEGER, college VARCHAR)
### Question:
What was the highest pick for Penn State?
### Answer:
SELECT MAX(pick__number) FROM table_name_57 WHERE college = "penn 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_87 (date VARCHAR, record VARCHAR)
### Question:
What is the Date with a Record that is 7.39?
### Answer:
SELECT date FROM table_name_87 WHERE record = "7.39" |
Below is an context that describes a 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_10 (viewers VARCHAR, bbc_three_weekly_ranking VARCHAR)
### Question:
How many individuals watched the show that had a bbc ranking of 6?
### Answer:
SELECT COUNT(viewers) FROM table_24399615_10 WHERE bbc_three_weekly_ranking = "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_24353141_1 (original_3rd_us_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR)
### Question:
Who was in the original 3rd us tour cast while scott j. campbell was in the original 1st us tour cast?
### Answer:
SELECT original_3rd_us_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Scott J. Campbell" |
Below is an context that describes a sql 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 (against INTEGER, opposing_team VARCHAR)
### Question:
What is the highest Against for a game against Bristol City?
### Answer:
SELECT MAX(against) FROM table_name_7 WHERE opposing_team = "bristol city" |
Below is an context that describes a sql 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 (date VARCHAR, mach VARCHAR)
### Question:
What Date has a Mach of 0.662?
### Answer:
SELECT date FROM table_name_77 WHERE mach = 0.662 |
Below is an context that describes a sql 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, notes VARCHAR)
### Question:
Which venue has 2:04.22 notes?
### Answer:
SELECT venue FROM table_name_19 WHERE notes = "2:04.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_15 (date VARCHAR, away_team VARCHAR)
### Question:
WHAT IS THE DATE WITH AN AWAY TEAM OF BURTON ALBION?
### Answer:
SELECT date FROM table_name_15 WHERE away_team = "burton albion" |
Below is an context that describes a sql 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 (played INTEGER, losses VARCHAR, wins VARCHAR)
### Question:
How many Played that has Losses of 6, and Wins larger than 33?
### Answer:
SELECT AVG(played) FROM table_name_61 WHERE losses = 6 AND wins > 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_61 (home_team VARCHAR, week VARCHAR)
### Question:
What is the home team in week 1?
### Answer:
SELECT home_team FROM table_name_61 WHERE week = "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_7 (tie_no VARCHAR, away_team VARCHAR)
### Question:
What was the Tie Number of the Bradford City away team?
### Answer:
SELECT tie_no FROM table_name_7 WHERE away_team = "bradford city" |
Below is an context that describes a sql 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 (date VARCHAR, race VARCHAR)
### Question:
What date was the Italian Grand Prix?
### Answer:
SELECT date FROM table_name_12 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_37 (gdp_per_capita__us INTEGER, area__km²_ VARCHAR, state VARCHAR)
### Question:
Which GDP per capita (US$) (2004) is the highest one that has an Area (km²) larger than 148825.6, and a State of roraima?
### Answer:
SELECT MAX(gdp_per_capita__us) AS $___2004_ FROM table_name_37 WHERE area__km²_ > 148825.6 AND state = "roraima" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (date VARCHAR, city VARCHAR)
### Question:
When was the event in the City of Baden?
### Answer:
SELECT date FROM table_name_35 WHERE city = "baden" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10960039_1 (player VARCHAR, college VARCHAR)
### Question:
Which player's college is Saskatchewan?
### Answer:
SELECT player FROM table_10960039_1 WHERE college = "Saskatchewan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (round VARCHAR, player VARCHAR)
### Question:
WHAT IS THE ROUND FOR ZACH BOYCHUK?
### Answer:
SELECT COUNT(round) FROM table_name_6 WHERE player = "zach boychuk" |
Below is an context that describes a sql 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 (driver VARCHAR, time_retired VARCHAR)
### Question:
Which driver has a Time/Retired of +1 lap?
### Answer:
SELECT driver FROM table_name_66 WHERE time_retired = "+1 lap" |
Below is an context that describes a sql 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 (silver INTEGER, rank VARCHAR, total VARCHAR)
### Question:
What is the sum of silvers for countries in rank 8 with totals over 3?
### Answer:
SELECT SUM(silver) FROM table_name_25 WHERE rank = "8" AND 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_25548505_1 (title VARCHAR, directed_by VARCHAR)
### Question:
What is the title of the episode directed by Linda Mendoza?
### Answer:
SELECT title FROM table_25548505_1 WHERE directed_by = "Linda Mendoza" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (issue_date_s_ VARCHAR, artist VARCHAR)
### Question:
Which Issue Date(s) has an Artist of men at work?
### Answer:
SELECT issue_date_s_ FROM table_name_32 WHERE artist = "men at work" |
Below is an context that describes a sql 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 (marriage VARCHAR, became_queen VARCHAR)
### Question:
How is the marriage of who became queen on 30 October 1816 husband's accession?
### Answer:
SELECT marriage FROM table_name_84 WHERE became_queen = "30 october 1816 husband's accession" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28628309_9 (player VARCHAR, category VARCHAR)
### Question:
Who is the player when the category is steals per game?
### Answer:
SELECT player FROM table_28628309_9 WHERE category = "Steals per game" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (year INTEGER, margin VARCHAR)
### Question:
Name the average year for 46 margin
### Answer:
SELECT AVG(year) FROM table_name_95 WHERE margin = 46 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (blood_type VARCHAR, agency VARCHAR)
### Question:
What's the blood type of the member from the vision factory agency?
### Answer:
SELECT blood_type FROM table_name_52 WHERE agency = "vision factory" |
Below is an context that describes a sql 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 (year INTEGER, saar VARCHAR, hessen VARCHAR)
### Question:
What is the average year for a Saar of FK Pirmasens and Hessen of Wormatia Worms?
### Answer:
SELECT AVG(year) FROM table_name_47 WHERE saar = "fk pirmasens" AND hessen = "wormatia worms" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26485957_1 (judging_panel_points INTEGER)
### Question:
What is the minimum score given in judging panel points?
### Answer:
SELECT MIN(judging_panel_points) FROM table_26485957_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_92 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
### Question:
Name the city with 103.1 frequency and ERP W less than 80
### Answer:
SELECT city_of_license FROM table_name_92 WHERE frequency_mhz = 103.1 AND erp_w < 80 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23492454_1 (no_in_series VARCHAR, no_in_season VARCHAR)
### Question:
How many episodes in the series are also episode 18 in the season?
### Answer:
SELECT COUNT(no_in_series) FROM table_23492454_1 WHERE no_in_season = 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_94 (goals VARCHAR, average INTEGER)
### Question:
What is the sum of Goals win an Average larger than 1?
### Answer:
SELECT COUNT(goals) FROM table_name_94 WHERE average > 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 (participants INTEGER, silver INTEGER)
### Question:
What is the total number of Participants that has Silver that's smaller than 0?
### Answer:
SELECT SUM(participants) FROM table_name_38 WHERE silver < 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_86 (goals_against INTEGER, lost VARCHAR, goals_for VARCHAR)
### Question:
What is the smallest number of goals against when 8 games were lost, and the goals for are 60?
### Answer:
SELECT MIN(goals_against) FROM table_name_86 WHERE lost = 8 AND goals_for = 60 |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What was the score on April 20?
### Answer:
SELECT score FROM table_name_3 WHERE date = "april 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 table_name_10 (l2_cache VARCHAR, idle_power VARCHAR, model_number VARCHAR)
### Question:
What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?
### Answer:
SELECT l2_cache FROM table_name_10 WHERE idle_power = "100mw" AND model_number = "nano u3400" |
Below is an context that describes a sql 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 (year INTEGER, venue VARCHAR, event VARCHAR, competition VARCHAR)
### Question:
How many years had a 100 m hurdles event at the world championships in Osaka, Japan?
### Answer:
SELECT SUM(year) FROM table_name_96 WHERE event = "100 m hurdles" AND competition = "world championships" AND venue = "osaka, japan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (shts INTEGER, goalkeeper VARCHAR)
### Question:
What is the highest SHTS of Kasey Keller
### Answer:
SELECT MAX(shts) FROM table_name_56 WHERE goalkeeper = "kasey keller" |
Below is an context that describes a sql 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 (silver INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR)
### Question:
How many silvers on average for nations with less than 3 total, ranked 6, and over 1 bronze?
### Answer:
SELECT AVG(silver) FROM table_name_89 WHERE total < 3 AND rank = 6 AND bronze > 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_98 (longitude_အင်္သာ VARCHAR, latin VARCHAR)
### Question:
What is the longitude of Taurus?
### Answer:
SELECT longitude_အင်္သာ FROM table_name_98 WHERE latin = "taurus" |
Below is an context that describes a sql 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 (goals INTEGER, position VARCHAR, league VARCHAR)
### Question:
Goals that has a Position of 14th of 24, and a League of football conference has what sum?
### Answer:
SELECT SUM(goals) FROM table_name_63 WHERE position = "14th of 24" AND league = "football conference" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (championship VARCHAR, margin VARCHAR)
### Question:
Which championship had a margin of 10 strokes?
### Answer:
SELECT championship FROM table_name_43 WHERE margin = "10 strokes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR)
### Question:
How many teams have the titans as a mascot?
### Answer:
SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = "Titans" |
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR)
### Question:
Which Date has an Away team of south melbourne?
### Answer:
SELECT date FROM table_name_42 WHERE away_team = "south melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2467150_2 (cores VARCHAR, tdp VARCHAR)
### Question:
What is every value for cores if TDP is 17 W?
### Answer:
SELECT cores FROM table_2467150_2 WHERE tdp = "17 W" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (team_a VARCHAR, team_c VARCHAR)
### Question:
Who is Team A when wilma hofschneider-david is team C?
### Answer:
SELECT team_a FROM table_name_35 WHERE team_c = "wilma hofschneider-david" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25595107_1 (loa__metres_ VARCHAR, skipper VARCHAR)
### Question:
What were the LOA (metres) for the yacht where the skipper was Jez Fanstone?
### Answer:
SELECT loa__metres_ FROM table_25595107_1 WHERE skipper = "Jez Fanstone" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13535824_2 (Id VARCHAR)
### Question:
what's the minimum 180s value
### Answer:
SELECT MIN(180 AS s) FROM table_13535824_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_5 (to_par VARCHAR, player VARCHAR)
### Question:
What did billy andrade to par?
### Answer:
SELECT to_par FROM table_name_5 WHERE player = "billy andrade" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14948647_1 (bhofen_number2__rk_ VARCHAR, ga_pa__rk_ VARCHAR)
### Question:
What was the Bhofen #2 score and rank for the player whose GA-PA score and rank was 227.5 (19)?
### Answer:
SELECT bhofen_number2__rk_ FROM table_14948647_1 WHERE ga_pa__rk_ = "227.5 (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_17 (date VARCHAR, away_team VARCHAR)
### Question:
what date were they playing in hawthorn
### Answer:
SELECT date FROM table_name_17 WHERE away_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_name_65 (home_team VARCHAR, venue VARCHAR)
### Question:
What is the home team score at glenferrie oval?
### Answer:
SELECT home_team AS score FROM table_name_65 WHERE venue = "glenferrie oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15796072_1 (original_artist VARCHAR, week__number VARCHAR)
### Question:
Who was the original artist for week number Top 16 (8 women)?
### Answer:
SELECT original_artist FROM table_15796072_1 WHERE week__number = "Top 16 (8 Women)" |
Below is an context that describes a sql 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 (year VARCHAR, position VARCHAR)
### Question:
What year was the position 6/13?
### Answer:
SELECT year FROM table_name_75 WHERE position = "6/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_74 (obesity_rank INTEGER, obese_children_and_adolescents VARCHAR)
### Question:
What's the rank when the obese children and adolescent count is 14.2%?
### Answer:
SELECT SUM(obesity_rank) FROM table_name_74 WHERE obese_children_and_adolescents = "14.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_29697744_1 (level VARCHAR, position VARCHAR)
### Question:
what is the name of the level for the 7th position
### Answer:
SELECT level FROM table_29697744_1 WHERE position = "7th" |
Below is an context that describes a sql 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 (fate VARCHAR, ship VARCHAR)
### Question:
What is the fate for the Bremen ship?
### Answer:
SELECT fate FROM table_name_26 WHERE ship = "bremen" |
Below is an context that describes a sql 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 (pick VARCHAR, school VARCHAR)
### Question:
What pick did Clemson choose?
### Answer:
SELECT pick FROM table_name_38 WHERE school = "clemson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1973729_2 (founded INTEGER)
### Question:
What is the latest founded year?
### Answer:
SELECT MAX(founded) FROM table_1973729_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_20866024_2 (engine VARCHAR, gvw__kg_ton_ VARCHAR, model_designation VARCHAR)
### Question:
What's the engine for the model model designation 97G00 and GVW of 2500/2.46 kg/ton?
### Answer:
SELECT engine FROM table_20866024_2 WHERE gvw__kg_ton_ = "2500/2.46" AND model_designation = "97G00" |
Below is an context that describes a sql 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 (power__kw_ VARCHAR, frequency VARCHAR)
### Question:
What is the Power (kW) for the station with a frequency of 95.1mhz?
### Answer:
SELECT power__kw_ FROM table_name_72 WHERE frequency = "95.1mhz" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16099880_5 (report VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
### Question:
What is the report for races where Will Power had both pole position and fastest lap?
### Answer:
SELECT report FROM table_16099880_5 WHERE pole_position = "Will Power" AND fastest_lap = "Will Power" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE HOTELS (price_range INTEGER, star_rating_code VARCHAR, pets_allowed_yn VARCHAR)
### Question:
Show the average price range of hotels that have 5 star ratings and allow pets.
### Answer:
SELECT AVG(price_range) FROM HOTELS WHERE star_rating_code = "5" AND pets_allowed_yn = 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_27734769_8 (date VARCHAR, high_rebounds VARCHAR)
### Question:
What is the date the high rebounds were by lamarcus aldridge (6)?
### Answer:
SELECT date FROM table_27734769_8 WHERE high_rebounds = "LaMarcus Aldridge (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_48 (player VARCHAR, round VARCHAR, college_junior_club_team__league_ VARCHAR)
### Question:
Which Player has a Round smaller than 4, and a College/junior/club team (league) of usa u-18?
### Answer:
SELECT player FROM table_name_48 WHERE round < 4 AND college_junior_club_team__league_ = "usa u-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_53 (transfer_fee VARCHAR, country VARCHAR)
### Question:
What is the transfer fee for the country of Nir?
### Answer:
SELECT transfer_fee FROM table_name_53 WHERE country = "nir" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
Which 2009 tournament had Grand Slams?
### Answer:
SELECT tournament FROM table_name_58 WHERE 2009 = "grand slams" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2417741_1 (margin_of_victory VARCHAR, winner VARCHAR)
### Question:
When hale irwin is the winner what is the margin of victory?
### Answer:
SELECT margin_of_victory FROM table_2417741_1 WHERE winner = "Hale Irwin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17941032_2 (played VARCHAR, tries_for VARCHAR)
### Question:
How many times were there plays with a try of 56?
### Answer:
SELECT played FROM table_17941032_2 WHERE tries_for = "56" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (away_team VARCHAR, score VARCHAR)
### Question:
Which Away team has a Score of 0–3?
### Answer:
SELECT away_team FROM table_name_4 WHERE score = "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_22460085_1 (original_south_korean_performer VARCHAR, original_manchester_performer VARCHAR)
### Question:
Who was the origianal south korean performer when Adebayo Bolaji performed in Manchester?
### Answer:
SELECT original_south_korean_performer FROM table_22460085_1 WHERE original_manchester_performer = "Adebayo Bolaji" |
Below is an context that describes a sql 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 (grand_final_dual_television_commentator VARCHAR, spokesperson VARCHAR)
### Question:
What is the grand final dual television commentator status of the year when Amaury Vassili was the spokesperson?
### Answer:
SELECT grand_final_dual_television_commentator FROM table_name_52 WHERE spokesperson = "amaury vassili" |
Below is an context that describes a sql 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 (japanese_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR)
### Question:
What is the Japanese title for the episode bigger than 10 on TBS with average ratings of 14.8%?
### Answer:
SELECT japanese_title FROM table_name_70 WHERE episodes > 10 AND tv_station = "tbs" AND average_ratings = "14.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_84 (record VARCHAR, week VARCHAR)
### Question:
What was the record for the Chargers on Week 10?
### Answer:
SELECT record FROM table_name_84 WHERE week = 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_12919003_2 (viewers_millions_ VARCHAR, episode VARCHAR)
### Question:
How many viewers did Episode 5 have?
### Answer:
SELECT viewers_millions_ FROM table_12919003_2 WHERE episode = "episode 5" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.