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_47 (surface VARCHAR, score_in_the_final VARCHAR)
### Question:
On what surface was the score in the final 0–6, 4–6?
### Answer:
SELECT surface FROM table_name_47 WHERE score_in_the_final = "0–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_70 (round VARCHAR, nationality VARCHAR, player VARCHAR)
### Question:
What is the round of Jimmy Drolet from Canada?
### Answer:
SELECT round FROM table_name_70 WHERE nationality = "canada" AND player = "jimmy drolet" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
Which home team plays at victoria park?
### Answer:
SELECT home_team FROM table_name_40 WHERE venue = "victoria 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_66 (player VARCHAR, score VARCHAR)
### Question:
what player scored 69-72-68=209?
### Answer:
SELECT player FROM table_name_66 WHERE score = 69 - 72 - 68 = 209 |
Below is an context that describes a sql 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 (crowd INTEGER, home_team VARCHAR)
### Question:
What was the lowest attendance when Fitzroy was the home team?
### Answer:
SELECT MIN(crowd) FROM table_name_44 WHERE home_team = "fitzroy" |
Below is an context that describes a sql 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 (circuit VARCHAR, team VARCHAR)
### Question:
What circuit has volvo cars australia as the team?
### Answer:
SELECT circuit FROM table_name_15 WHERE team = "volvo cars 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_name_42 (laps INTEGER, rider VARCHAR)
### Question:
What is the average of laps ridden by Toni Elias?
### Answer:
SELECT AVG(laps) FROM table_name_42 WHERE rider = "toni elias" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22871239_5 (high_rebounds VARCHAR, _number VARCHAR)
### Question:
How many high rebound catagories are listed for game number 5?
### Answer:
SELECT COUNT(high_rebounds) FROM table_22871239_5 WHERE _number = 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_70 (Id VARCHAR)
### Question:
What is 2008, when 2006 is "1R"?
### Answer:
SELECT 2008 FROM table_name_70 WHERE 2006 = "1r" |
Below is an context that describes a sql 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 (week_3_sept_14 VARCHAR, week_6_oct_5 VARCHAR)
### Question:
Which Week 3 Sept 14 has a Week 6 Oct 5 of kansas (4-1)?
### Answer:
SELECT week_3_sept_14 FROM table_name_87 WHERE week_6_oct_5 = "kansas (4-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_40 (socket VARCHAR, turbo VARCHAR)
### Question:
What is the socked when the turbo is 8/8/10/11?
### Answer:
SELECT socket FROM table_name_40 WHERE turbo = "8/8/10/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_8 (college VARCHAR, team VARCHAR)
### Question:
Which college did the player who went to the Boston Patriots go to?
### Answer:
SELECT college FROM table_name_8 WHERE team = "boston patriots" |
Below is an context that describes a sql 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 (grid INTEGER, constructor VARCHAR, driver VARCHAR)
### Question:
Tell me the sum of the grid with alfa romeo and toulo de graffenried
### Answer:
SELECT SUM(grid) FROM table_name_86 WHERE constructor = "alfa romeo" AND driver = "toulo de graffenried" |
Below is an context that describes a sql 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 (rank VARCHAR, year VARCHAR)
### Question:
What was the rank in 1955?
### Answer:
SELECT rank FROM table_name_89 WHERE year = "1955" |
Below is an context that describes a sql 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 (decile VARCHAR, authority VARCHAR, name VARCHAR)
### Question:
How many deciles have an Authority of state and a Name of chertsey school?
### Answer:
SELECT COUNT(decile) FROM table_name_21 WHERE authority = "state" AND name = "chertsey school" |
Below is an context that describes a sql 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 (roll VARCHAR, decile VARCHAR, authority VARCHAR, name VARCHAR)
### Question:
Name the total number of roll for state authority and stanley avenue school with decile more than 5
### Answer:
SELECT COUNT(roll) FROM table_name_31 WHERE authority = "state" AND name = "stanley avenue school" AND decile > 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 Sportsinfo (gamesplayed INTEGER)
### Question:
How many games are played for all students?
### Answer:
SELECT SUM(gamesplayed) 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_name_63 (position INTEGER, wins VARCHAR, goals_against VARCHAR, points VARCHAR)
### Question:
Which lowest position has goals against smaller than 78, Points of 42-2, and Wins larger than 15?
### Answer:
SELECT MIN(position) FROM table_name_63 WHERE goals_against < 78 AND points = "42-2" AND wins > 15 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE station (long INTEGER, id VARCHAR, station_id VARCHAR, bikes_available INTEGER); CREATE TABLE status (long INTEGER, id VARCHAR, station_id VARCHAR, bikes_available INTEGER)
### Question:
What is the average longitude of stations that never had bike availability more than 10?
### Answer:
SELECT AVG(long) FROM station WHERE NOT id IN (SELECT station_id FROM status GROUP BY station_id HAVING MAX(bikes_available) > 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_22 (uni_number VARCHAR, bats VARCHAR, surname VARCHAR)
### Question:
What's the Uni# of Timms, who has bats of R?
### Answer:
SELECT uni_number FROM table_name_22 WHERE bats = "r" AND surname = "timms" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (name VARCHAR, longitude VARCHAR, latitude VARCHAR)
### Question:
Tell me the name for longitude more than 103.8 and latitude of -11.4
### Answer:
SELECT name FROM table_name_80 WHERE longitude > 103.8 AND latitude = -11.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_11 (manufacturer VARCHAR, time VARCHAR)
### Question:
Which manufacturer has a time of +10.142?
### Answer:
SELECT manufacturer FROM table_name_11 WHERE time = "+10.142" |
Below is an context that describes a sql 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 (country VARCHAR, tv_network_s_ VARCHAR)
### Question:
Which country is the Nova TV network from?
### Answer:
SELECT country FROM table_name_53 WHERE tv_network_s_ = "nova tv" |
Below is an context that describes a sql 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 (builder VARCHAR, kanji VARCHAR)
### Question:
Which builder has the the kanji of 曙?
### Answer:
SELECT builder FROM table_name_98 WHERE kanji = "曙" |
Below is an context that describes a sql 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 (week VARCHAR, date VARCHAR)
### Question:
Week that has a Date of december 5, 1959 had what week?
### Answer:
SELECT week FROM table_name_4 WHERE date = "december 5, 1959" |
Below is an context that describes a sql 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 (railway VARCHAR, class VARCHAR, year VARCHAR)
### Question:
Which railway has a class of 250 and year 1936?
### Answer:
SELECT railway FROM table_name_76 WHERE class = "250" AND year = "1936" |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
If fitzroy was the home team what date did they play?
### Answer:
SELECT date FROM table_name_48 WHERE home_team = "fitzroy" |
Below is an context that describes a sql 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 (game INTEGER, time VARCHAR)
### Question:
What is the highest game number that had a time of 2:44?
### Answer:
SELECT MAX(game) FROM table_name_78 WHERE time = "2: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_name_22 (player VARCHAR, score VARCHAR)
### Question:
Which Player has a Score of 67-72-71-75=285?
### Answer:
SELECT player FROM table_name_22 WHERE score = 67 - 72 - 71 - 75 = 285 |
Below is an context that describes a sql 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 (result VARCHAR, attendance VARCHAR)
### Question:
What was the result of the game that was attended by 72,703 people?
### Answer:
SELECT result FROM table_name_76 WHERE attendance = "72,703" |
Below is an context that describes a sql 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 (chassis VARCHAR, points VARCHAR)
### Question:
What chassis had 39 points?
### Answer:
SELECT chassis FROM table_name_5 WHERE points = "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_name_23 (score INTEGER, player VARCHAR)
### Question:
What is the score of Tommy Bolt
### Answer:
SELECT MIN(score) FROM table_name_23 WHERE player = "tommy bolt" |
Below is an context that describes a sql 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 (game_title VARCHAR, metacritic VARCHAR, year_released VARCHAR)
### Question:
What game was released before 2010 with a Metacritic of 85/100?
### Answer:
SELECT game_title FROM table_name_48 WHERE metacritic = "85/100" AND year_released < 2010 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)
### Question:
What was the home team's record on September 30?
### Answer:
SELECT record FROM table_name_44 WHERE date = "september 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_91 (tournament VARCHAR)
### Question:
What is the 2006 when the 2013 is 2r, and a Tournament was the us open?
### Answer:
SELECT 2006 FROM table_name_91 WHERE 2013 = "2r" AND tournament = "us open" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (crowd VARCHAR, away_team VARCHAR)
### Question:
What is the crowd for away team of north melbourne?
### Answer:
SELECT crowd FROM table_name_16 WHERE away_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_12146068_2 (gt1_winning_team VARCHAR, gt2_winning_team VARCHAR)
### Question:
Name the gt1 winning team for #54 bell motorsports
### Answer:
SELECT gt1_winning_team FROM table_12146068_2 WHERE gt2_winning_team = "#54 Bell Motorsports" |
Below is an context that describes a sql 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 (gold INTEGER, total VARCHAR, bronze VARCHAR)
### Question:
What is the sum of the golds of the nation with 5 total and less than 0 bronze medals?
### Answer:
SELECT SUM(gold) FROM table_name_18 WHERE total = 5 AND bronze < 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_1350350_2 (number_of_households VARCHAR, per_capita_income VARCHAR)
### Question:
what's the number of households with per capita income being $16,820
### Answer:
SELECT number_of_households FROM table_1350350_2 WHERE per_capita_income = "$16,820" |
Below is an context that describes a sql 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 (diameter__km_ INTEGER, latitude VARCHAR)
### Question:
WHAT IS THE LOWEST DIAMETER FOR A LATITIDE OF 52.0S?
### Answer:
SELECT MIN(diameter__km_) FROM table_name_78 WHERE latitude = "52.0s" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (carburetor VARCHAR, engine VARCHAR)
### Question:
Tell me the carburetor for engine of 250-1v i-6
### Answer:
SELECT carburetor FROM table_name_69 WHERE engine = "250-1v i-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_99 (points INTEGER, year INTEGER)
### Question:
How many points total are there later than 2003?
### Answer:
SELECT SUM(points) FROM table_name_99 WHERE year > 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_91 (games VARCHAR, ast_avg VARCHAR, total_assists VARCHAR)
### Question:
How many games for the player that has an over 2.7 assist average and over 598 total assists?
### Answer:
SELECT COUNT(games) FROM table_name_91 WHERE ast_avg > 2.7 AND total_assists > 598 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17311759_9 (record VARCHAR, high_assists VARCHAR)
### Question:
When mike bibby (8) had the highest amount of assists what is the record?
### Answer:
SELECT record FROM table_17311759_9 WHERE high_assists = "Mike Bibby (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_66 (silver INTEGER, total INTEGER)
### Question:
what is the average silver when the total is more than 20?
### Answer:
SELECT AVG(silver) FROM table_name_66 WHERE total > 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_28059992_1 (cfl_team VARCHAR, pick__number VARCHAR)
### Question:
What is every CFL team with pick#1?
### Answer:
SELECT cfl_team FROM table_28059992_1 WHERE pick__number = 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_18095719_2 (pole_position VARCHAR, round VARCHAR)
### Question:
Who had pole position in round 7?
### Answer:
SELECT pole_position FROM table_18095719_2 WHERE round = 7 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (extranet VARCHAR, intranet VARCHAR, name VARCHAR)
### Question:
If the intranet entry is Yes, what is the extranet entry for Microsoft Exchange server?
### Answer:
SELECT extranet FROM table_name_72 WHERE intranet = "yes" AND name = "microsoft exchange server" |
Below is an context that describes a sql 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 (envelopment VARCHAR, family VARCHAR)
### Question:
What is the envelopment for the rhabdoviridae family?
### Answer:
SELECT envelopment FROM table_name_83 WHERE family = "rhabdoviridae" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10295819_1 (singles_w_l VARCHAR, player VARCHAR)
### Question:
What is the Singles W-L for the players named Laurynas Grigelis?
### Answer:
SELECT singles_w_l FROM table_10295819_1 WHERE player = "Laurynas Grigelis" |
Below is an context that describes a sql 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 (record VARCHAR, score VARCHAR)
### Question:
What record has the score 111-89?
### Answer:
SELECT record FROM table_name_75 WHERE score = "111-89" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (score VARCHAR, team VARCHAR)
### Question:
What is Score, when Team is "Indiana"?
### Answer:
SELECT score FROM table_name_7 WHERE team = "indiana" |
Below is an context that describes a sql 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 (result VARCHAR, home_away VARCHAR, date VARCHAR)
### Question:
What is the result of the away game played on August 4?
### Answer:
SELECT result FROM table_name_15 WHERE home_away = "away" AND date = "august 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_5 (winning_score VARCHAR, tournament VARCHAR)
### Question:
What was the winning score in the mazda senior tournament players championship?
### Answer:
SELECT winning_score FROM table_name_5 WHERE tournament = "mazda senior tournament players championship" |
Below is an context that describes a sql 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 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
### Question:
Who won in 1979 with +8 to par?
### Answer:
SELECT player FROM table_name_46 WHERE to_par = "+8" AND year_s__won = "1979" |
Below is an context that describes a sql 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, league VARCHAR, season VARCHAR)
### Question:
Which Major League Soccer team for the 2005 season has the lowest goals?
### Answer:
SELECT MIN(goals) FROM table_name_63 WHERE league = "major league soccer" AND season = "2005" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10753917_1 (podiums VARCHAR, team VARCHAR)
### Question:
Which podiums did the alfa romeo team have?
### Answer:
SELECT podiums FROM table_10753917_1 WHERE team = "Alfa Romeo" |
Below is an context that describes a sql 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 (date VARCHAR, surface VARCHAR, location VARCHAR)
### Question:
Name the date for clay surface and location of santos, brazil
### Answer:
SELECT date FROM table_name_84 WHERE surface = "clay" AND location = "santos, brazil" |
Below is an context that describes a sql 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 (silver INTEGER, nation VARCHAR, total VARCHAR)
### Question:
what is the silver when the nation is japan and the total is less than 1?
### Answer:
SELECT SUM(silver) FROM table_name_8 WHERE nation = "japan" 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_name_95 (city VARCHAR, lead VARCHAR)
### Question:
Which City has a Lead of tyler forrest?
### Answer:
SELECT city FROM table_name_95 WHERE lead = "tyler forrest" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25200461_9 (population VARCHAR, city VARCHAR)
### Question:
If the city is Santa Clara, what is the population total number?
### Answer:
SELECT COUNT(population) FROM table_25200461_9 WHERE city = "Santa Clara" |
Below is an context that describes a sql 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 (home_captain VARCHAR, result VARCHAR)
### Question:
Who is the home captain that won AUS by 245 runs?
### Answer:
SELECT home_captain FROM table_name_93 WHERE result = "aus by 245 runs" |
Below is an context that describes a sql 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 (winning_driver VARCHAR, fastest_lap VARCHAR, winning_team VARCHAR, round VARCHAR)
### Question:
Who was the winning driver with the winning team Opel Team Holzer 1, and a round under 9 with the fastest lap being Bernd Schneider?
### Answer:
SELECT winning_driver FROM table_name_96 WHERE winning_team = "opel team holzer 1" AND round < 9 AND fastest_lap = "bernd schneider" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15352382_1 (against VARCHAR, difference VARCHAR)
### Question:
How many under the category of Against have a Difference of 11
### Answer:
SELECT COUNT(against) FROM table_15352382_1 WHERE difference = 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_92 (losses VARCHAR, pct VARCHAR, finish VARCHAR)
### Question:
Which Losses have a Pct of .451 and Finished 6th?
### Answer:
SELECT losses FROM table_name_92 WHERE pct = ".451" AND finish = "6th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (mcintosh VARCHAR, paul_mccartney VARCHAR, whitten VARCHAR, stuart VARCHAR)
### Question:
Which McIntosh has a Whitten of drums, and a Stuart of bass, and a Paul McCartney of electric guitar?
### Answer:
SELECT mcintosh FROM table_name_88 WHERE whitten = "drums" AND stuart = "bass" AND paul_mccartney = "electric guitar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (technology VARCHAR, toxic_materials VARCHAR, moving_parts VARCHAR)
### Question:
What's the technology when there are no moving parts but yes to toxic materials?
### Answer:
SELECT technology FROM table_name_20 WHERE toxic_materials = "yes" AND moving_parts = "no" |
Below is an context that describes a sql 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 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR)
### Question:
What is the maximum torque at rpm for the engine with code BMM?
### Answer:
SELECT max_torque_at_rpm FROM table_name_31 WHERE engine_code_s_ = "bmm" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24222929_3 (live VARCHAR, share VARCHAR)
### Question:
How many total viewers (combined Live and SD) watched the episode with a share of 8?
### Answer:
SELECT live + 7 AS _day_dvr_total_viewers FROM table_24222929_3 WHERE share = "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_93 (city VARCHAR, winner VARCHAR)
### Question:
What city was the event in when Patrik Antonius won?
### Answer:
SELECT city FROM table_name_93 WHERE winner = "patrik antonius" |
Below is an context that describes a sql 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 (release_date VARCHAR, location VARCHAR)
### Question:
What is the US release date?
### Answer:
SELECT release_date FROM table_name_5 WHERE location = "us" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14752049_1 (rank INTEGER, country VARCHAR)
### Question:
What rank is associated with Germany?
### Answer:
SELECT MAX(rank) FROM table_14752049_1 WHERE country = "Germany" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE professor (dept_code VARCHAR); CREATE TABLE department (dept_code VARCHAR)
### Question:
Find the number of professors in accounting department.
### Answer:
SELECT COUNT(*) FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code WHERE DEPT_NAME = "Accounting" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE CAR_NAMES (Model VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (Id VARCHAR, Cylinders VARCHAR, horsepower VARCHAR)
### Question:
For the cars with 4 cylinders, which model has the largest horsepower?
### Answer:
SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Cylinders = 4 ORDER BY T2.horsepower 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_35 (meg_whitman__r_ VARCHAR, margin_of_error VARCHAR)
### Question:
What percentage of the vote with a margin of error of ± 3.3% did Meg Whitman (R) get?
### Answer:
SELECT meg_whitman__r_ FROM table_name_35 WHERE margin_of_error = "± 3.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_32 (lead_supporting_vocal VARCHAR, time VARCHAR)
### Question:
Who was the lead supporting vocalist on the song that was 4:54 long?
### Answer:
SELECT lead_supporting_vocal FROM table_name_32 WHERE time = "4:54" |
Below is an context that describes a sql 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, record VARCHAR)
### Question:
What is the Date of the Game with a Record of 46-22?
### Answer:
SELECT date FROM table_name_17 WHERE record = "46-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_70 (potential_prize_money VARCHAR, mole VARCHAR)
### Question:
When the Mole was Petrina Edge, what was the potential prize money?
### Answer:
SELECT potential_prize_money FROM table_name_70 WHERE mole = "petrina edge" |
Below is an context that describes a sql 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 (opponent VARCHAR, round VARCHAR, event VARCHAR)
### Question:
Who was the opponent during the UFC 90 event with a fight that lasted less than 4 rounds?
### Answer:
SELECT opponent FROM table_name_95 WHERE round < 4 AND event = "ufc 90" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (district VARCHAR, party VARCHAR, elected VARCHAR)
### Question:
In which District(s) has a Democrat held office since 1998?
### Answer:
SELECT district FROM table_name_12 WHERE party = "democrat" AND elected > 1998 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27700375_11 (date VARCHAR, location_attendance VARCHAR)
### Question:
Name the date for the palace of auburn hills 14,554
### Answer:
SELECT date FROM table_27700375_11 WHERE location_attendance = "The Palace of Auburn Hills 14,554" |
Below is an context that describes a sql 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 (shirt_sponsor VARCHAR, kit_manufacturer VARCHAR)
### Question:
Which shirt sponser has Nike as a kit manufacturer?
### Answer:
SELECT shirt_sponsor FROM table_name_68 WHERE kit_manufacturer = "nike" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23851574_2 (nationality_sponsors VARCHAR, mirror_type VARCHAR)
### Question:
How many nationalities/sponsors for mirror/type schmidt uv?
### Answer:
SELECT COUNT(nationality_sponsors) FROM table_23851574_2 WHERE mirror_type = "Schmidt UV" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26202847_6 (championship VARCHAR, score_in_the_final VARCHAR)
### Question:
Where is the championship where 6–1, 3–6, 3–6 is the score in the final?
### Answer:
SELECT championship FROM table_26202847_6 WHERE score_in_the_final = "6–1, 3–6, 3–6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (trailers VARCHAR, motors VARCHAR)
### Question:
I want the trailers for motors of 145
### Answer:
SELECT trailers FROM table_name_92 WHERE motors = "145" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27631002_1 (points VARCHAR, position VARCHAR)
### Question:
How many entries are there for points for the 6th position?
### Answer:
SELECT COUNT(points) FROM table_27631002_1 WHERE position = "6th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (score INTEGER, player VARCHAR)
### Question:
what is the average score for søren kjeldsen?
### Answer:
SELECT AVG(score) FROM table_name_71 WHERE player = "søren kjeldsen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1570003_2 (playoffs VARCHAR, year VARCHAR)
### Question:
What was the playoff advancement during the year 1998?
### Answer:
SELECT playoffs FROM table_1570003_2 WHERE year = 1998 |
Below is an context that describes a sql 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 (visitor VARCHAR, decision VARCHAR, date VARCHAR)
### Question:
On January 29, who had the decision of Mason?
### Answer:
SELECT visitor FROM table_name_17 WHERE decision = "mason" AND date = "january 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_15059783_1 (combination_classification VARCHAR, points_classification VARCHAR, winner VARCHAR)
### Question:
How many combination classifications have the winner as Erik Zabel and a points classification as Alessandro Petacchi
### Answer:
SELECT COUNT(combination_classification) FROM table_15059783_1 WHERE points_classification = "Alessandro Petacchi" AND winner = "Erik Zabel" |
Below is an context that describes a sql 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 (comments VARCHAR, model VARCHAR)
### Question:
Which Comments has a Model of 18sq?
### Answer:
SELECT comments FROM table_name_30 WHERE model = "18sq" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Mar INTEGER, Dec VARCHAR)
### Question:
Give me a list of cities whose temperature in Mar is lower than that in Dec and which have never been host cities.
### Answer:
SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Mar < T2.Dec EXCEPT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id = T4.host_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_48 (country VARCHAR, name VARCHAR)
### Question:
WHAT IS THE COUNTRY WITH NAME OF KANU?
### Answer:
SELECT country FROM table_name_48 WHERE name = "kanu" |
Below is an context that describes a sql 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 (method VARCHAR, opponent VARCHAR)
### Question:
What was the method used when the opponent was Tyson Griffin?
### Answer:
SELECT method FROM table_name_75 WHERE opponent = "tyson griffin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26976615_3 (incoming_manager VARCHAR, date_of_appointment VARCHAR)
### Question:
Who was the incoming manager for the date of appointment of 15 january 2011?
### Answer:
SELECT incoming_manager FROM table_26976615_3 WHERE date_of_appointment = "15 January 2011" |
Below is an context that describes a sql 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 (semi_finalist__number2 VARCHAR, year VARCHAR)
### Question:
Who was the Semi-Finalist #2 in 2001?
### Answer:
SELECT semi_finalist__number2 FROM table_name_26 WHERE year = "2001" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23730973_5 (no INTEGER, rating VARCHAR)
### Question:
What number episode had a rating of 4.7?
### Answer:
SELECT MIN(no) FROM table_23730973_5 WHERE rating = "4.7" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (week_14_nov_27 VARCHAR, week_13_nov_20 VARCHAR)
### Question:
What was Week 14 when Week 13 was Nebraska (8-2)?
### Answer:
SELECT week_14_nov_27 FROM table_name_37 WHERE week_13_nov_20 = "nebraska (8-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_95 (result VARCHAR, game VARCHAR)
### Question:
What was the result of Game 3 of this searson?
### Answer:
SELECT result FROM table_name_95 WHERE game = "game 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_14871601_1 (losses INTEGER, team VARCHAR)
### Question:
What is the largest loss for the Tacuary team?
### Answer:
SELECT MAX(losses) FROM table_14871601_1 WHERE team = "Tacuary" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.