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_18 (driver VARCHAR, laps VARCHAR)
### Question:
Tell me the driver for 58 laps
### Answer:
SELECT driver FROM table_name_18 WHERE laps = 58 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (returning VARCHAR, last_aired VARCHAR)
### Question:
When did a show last aired in 2002 return?
### Answer:
SELECT returning FROM table_name_13 WHERE last_aired = 2002 |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the 2010 value with A in 2008, A in 2011, and 2r in 2012?
### Answer:
SELECT 2010 FROM table_name_50 WHERE 2008 = "a" AND 2011 = "a" AND 2012 = "2r" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11951237_3 (season__number INTEGER, production_code VARCHAR)
### Question:
What is the season # where production code is k1505?
### Answer:
SELECT MIN(season__number) FROM table_11951237_3 WHERE production_code = "K1505" |
Below is an context that describes a sql 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 (goals_conceded VARCHAR, wins VARCHAR, draws VARCHAR, loses VARCHAR)
### Question:
What was the total number of Goals conceded when there were more than 4 losses, less than 5 draws, and more than 9 wins?
### Answer:
SELECT COUNT(goals_conceded) FROM table_name_47 WHERE draws < 5 AND loses > 4 AND wins > 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_1277350_3 (saturday_shani__saturn_ VARCHAR, wednesday_budha__mercury_ VARCHAR)
### Question:
In language where Wednesday is برھ وار budh'var, what is Saturday?
### Answer:
SELECT saturday_shani__saturn_ FROM table_1277350_3 WHERE wednesday_budha__mercury_ = "برھ وار Budh'var" |
Below is an context that describes a sql 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 (lost VARCHAR, period VARCHAR, managed VARCHAR)
### Question:
How many lost when the number managed is over 2 and the period is from 12 november 2012 – 27 november 2012?
### Answer:
SELECT COUNT(lost) FROM table_name_66 WHERE period = "12 november 2012 – 27 november 2012" AND managed > 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_2066296_5 (green__sw_ INTEGER, interior_roof VARCHAR)
### Question:
What's the green (SW) of the model with charcoal/white interior/roof?
### Answer:
SELECT MIN(green__sw_) FROM table_2066296_5 WHERE interior_roof = "Charcoal/white" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Staff (staff_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)
### Question:
Which city does staff with first name as Janessa and last name as Sawayn live?
### Answer:
SELECT T1.city FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn" |
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR, country VARCHAR)
### Question:
Which Player has a Score of 67 in united states?
### Answer:
SELECT player FROM table_name_17 WHERE score = 67 AND country = "united states" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (away_team VARCHAR)
### Question:
What was the score of the away team when Richmond played?
### Answer:
SELECT away_team AS score FROM table_name_85 WHERE away_team = "richmond" |
Below is an context that describes a sql 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 (overall VARCHAR, college VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)
### Question:
How much Overall has a Pick of 10, and a Round smaller than 8, and a Position of e, and a College of tennessee?
### Answer:
SELECT COUNT(overall) FROM table_name_4 WHERE pick = 10 AND round < 8 AND position = "e" AND college = "tennessee" |
Below is an context that describes a sql 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 (rider VARCHAR, manufacturer VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
Which Rider has Laps smaller than 24, and a Grid smaller than 12, and a Manufacturer of aprilia?
### Answer:
SELECT rider FROM table_name_89 WHERE laps < 24 AND grid < 12 AND manufacturer = "aprilia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pID VARCHAR, decision VARCHAR)
### Question:
Find the average and maximum hours for the students whose tryout decision is yes.
### Answer:
SELECT AVG(T1.HS), MAX(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = '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_44 (year INTEGER, name VARCHAR)
### Question:
What was the average year when shri. shambu nath khajuria won the padma shri awards?
### Answer:
SELECT AVG(year) FROM table_name_44 WHERE name = "shri. shambu nath khajuria" |
Below is an context that describes a sql 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 (pick__number INTEGER, player VARCHAR)
### Question:
How many picks did Mike Zaher have?
### Answer:
SELECT SUM(pick__number) FROM table_name_17 WHERE player = "mike zaher" |
Below is an context that describes a sql 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 (runner_up_skip VARCHAR, winning_skip VARCHAR)
### Question:
What person was the runner-up skip when Julie Reddick was the winning skip?
### Answer:
SELECT runner_up_skip FROM table_name_61 WHERE winning_skip = "julie reddick" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21761882_4 (location VARCHAR, date VARCHAR)
### Question:
What location was the game on October 6?
### Answer:
SELECT location FROM table_21761882_4 WHERE date = "October 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_67 (nba_draft VARCHAR, height VARCHAR)
### Question:
What is the NBA draft result of the player with a height of 6-7?
### Answer:
SELECT nba_draft FROM table_name_67 WHERE height = "6-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_27756474_2 (game VARCHAR, high_rebounds VARCHAR)
### Question:
Which game did marc gasol (10) have the high rebounds?
### Answer:
SELECT game FROM table_27756474_2 WHERE high_rebounds = "Marc Gasol (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 trip (duration INTEGER, end_station_id VARCHAR); CREATE TABLE station (name VARCHAR, lat VARCHAR, id VARCHAR)
### Question:
For each station, find its latitude and the minimum duration of trips that ended at the station.
### Answer:
SELECT T1.name, T1.lat, MIN(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id = T2.end_station_id GROUP BY T2.end_station_id |
Below is an context that describes a sql 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 (owner VARCHAR, format VARCHAR)
### Question:
Who is the owner of the radio station that plays adult hits?
### Answer:
SELECT owner FROM table_name_8 WHERE format = "adult hits" |
Below is an context that describes a sql 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 (release_date VARCHAR, developer_s_ VARCHAR)
### Question:
Which Release date has a Developer(s) of microsoft research?
### Answer:
SELECT release_date FROM table_name_84 WHERE developer_s_ = "microsoft research" |
Below is an context that describes a sql 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 (runner_up VARCHAR, tournament VARCHAR)
### Question:
Name the runner-up for algarve tournament
### Answer:
SELECT runner_up FROM table_name_40 WHERE tournament = "algarve" |
Below is an context that describes a sql 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, venue VARCHAR)
### Question:
Which Date has a Venue of junction oval?
### Answer:
SELECT date FROM table_name_39 WHERE venue = "junction 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_24540893_6 (player VARCHAR, cfl_team VARCHAR)
### Question:
Who was drafted by the calgary stampeders?
### Answer:
SELECT player FROM table_24540893_6 WHERE cfl_team = "Calgary Stampeders" |
Below is an context that describes a sql 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 (unit INTEGER, aircraft VARCHAR, location VARCHAR)
### Question:
What is the Unit for the Aircraft F.e.2b, located in Logeast?
### Answer:
SELECT SUM(unit) FROM table_name_20 WHERE aircraft = "f.e.2b" AND location = "logeast" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2150068_1 (nssdc_id VARCHAR, satellite VARCHAR)
### Question:
What is the nssdc id for Echo 1?
### Answer:
SELECT nssdc_id FROM table_2150068_1 WHERE satellite = "Echo 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_21 (grid INTEGER, laps VARCHAR, driver VARCHAR)
### Question:
what is the lowest grid when the laps is more than 7 and the driver is rubens barrichello?
### Answer:
SELECT MIN(grid) FROM table_name_21 WHERE laps > 7 AND driver = "rubens barrichello" |
Below is an context that describes a sql 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 (thai_name VARCHAR, transcription VARCHAR)
### Question:
WHich Thai name has a Transcription of wan phruehatsabodi?
### Answer:
SELECT thai_name FROM table_name_55 WHERE transcription = "wan phruehatsabodi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24850630_4 (distance VARCHAR, race VARCHAR)
### Question:
What is the distance of the Mooresbridge Stakes race?
### Answer:
SELECT distance FROM table_24850630_4 WHERE race = "Mooresbridge Stakes" |
Below is an context that describes a sql 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 (game INTEGER, date VARCHAR)
### Question:
What is the average game that has December 6 as the date?
### Answer:
SELECT AVG(game) FROM table_name_91 WHERE date = "december 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_77 (Id VARCHAR)
### Question:
Name the 2008 for wta premier mandatory tournaments of 2007
### Answer:
SELECT 2008 FROM table_name_77 WHERE 2007 = "wta premier mandatory tournaments" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23184448_3 (opp_points INTEGER, record VARCHAR)
### Question:
How many points did the opposing team get in the game with 6-2 record?
### Answer:
SELECT MIN(opp_points) FROM table_23184448_3 WHERE record = "6-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_15700367_4 (maidens INTEGER, er VARCHAR)
### Question:
Name the most maidens when e.r. 5.11
### Answer:
SELECT MAX(maidens) FROM table_15700367_4 WHERE er = "5.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_1341930_5 (result VARCHAR, first_elected VARCHAR)
### Question:
What is the result for first elected in 1944
### Answer:
SELECT result FROM table_1341930_5 WHERE first_elected = 1944 |
Below is an context that describes a sql 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 (source VARCHAR, attack VARCHAR)
### Question:
What Source has an Attack of 9,77%?
### Answer:
SELECT source FROM table_name_8 WHERE attack = "9,77%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26275503_2 (kickoff VARCHAR, opponent VARCHAR)
### Question:
How many different kickoffs happened when the oppenent was at Rhein Fire?
### Answer:
SELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = "at Rhein Fire" |
Below is an context that describes a sql 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 (year INTEGER, entrant VARCHAR)
### Question:
what is the most recent year for a ligier gitanes blondes
### Answer:
SELECT MAX(year) FROM table_name_84 WHERE entrant = "ligier gitanes blondes" |
Below is an context that describes a sql 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, notes VARCHAR, release_title VARCHAR)
### Question:
Which country had a release of 1 VCD titled Martial Law: Substitutes?
### Answer:
SELECT country FROM table_name_93 WHERE notes = "1 vcd" AND release_title = "martial law: substitutes" |
Below is an context that describes a sql 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 (tv_network_s_ VARCHAR, country VARCHAR)
### Question:
Which TV network was located in Brazil?
### Answer:
SELECT tv_network_s_ FROM table_name_42 WHERE country = "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_1341453_20 (results VARCHAR, incumbent VARCHAR)
### Question:
What were the results for incumbent Jim McCrery?
### Answer:
SELECT results FROM table_1341453_20 WHERE incumbent = "Jim McCrery" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27115960_1 (title VARCHAR, written_by VARCHAR, production_code VARCHAR)
### Question:
Phil Klemmer wrote all titles and production code is 3t6455.
### Answer:
SELECT title FROM table_27115960_1 WHERE written_by = "Phil Klemmer" AND production_code = "3T6455" |
Below is an context that describes a sql 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, tournament VARCHAR)
### Question:
The tournament in Belgrade had what as a score?
### Answer:
SELECT score FROM table_name_7 WHERE tournament = "belgrade" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR)
### Question:
For each election cycle, report the number of voting records.
### Answer:
SELECT Election_Cycle, COUNT(*) FROM VOTING_RECORD GROUP BY Election_Cycle |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668169_2 (district VARCHAR, incumbent VARCHAR)
### Question:
Which district does the incumbent Luther Reily represent?
### Answer:
SELECT district FROM table_2668169_2 WHERE incumbent = "Luther Reily" |
Below is an context that describes a sql 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 (team__number2 VARCHAR)
### Question:
What is the 1st leg with a junior team #2?
### Answer:
SELECT 1 AS st_leg FROM table_name_5 WHERE team__number2 = "junior" |
Below is an context that describes a sql 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 (second VARCHAR, alternate VARCHAR)
### Question:
Who is the second for the curling team which has alternate Margarita Fomina?
### Answer:
SELECT second FROM table_name_48 WHERE alternate = "margarita fomina" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341690_9 (candidates VARCHAR, incumbent VARCHAR)
### Question:
What candidates ran in the election with don fuqua?
### Answer:
SELECT candidates FROM table_1341690_9 WHERE incumbent = "Don Fuqua" |
Below is an context that describes a sql 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 (name VARCHAR, lane VARCHAR, nationality VARCHAR)
### Question:
Which france nationality has a lane larger than 3?
### Answer:
SELECT name FROM table_name_19 WHERE lane > 3 AND nationality = "france" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (total_goals VARCHAR, league_apps VARCHAR, fa_cup_apps VARCHAR, total_apps VARCHAR)
### Question:
The total goals have a FA Cup Apps larger than 1, and a Total Apps of 37, and a League Apps smaller than 30?, what is the total number?
### Answer:
SELECT COUNT(total_goals) FROM table_name_20 WHERE fa_cup_apps > 1 AND total_apps = 37 AND league_apps < 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_22 (military_deaths INTEGER, civilian_deaths__including_foreigners_ VARCHAR, military_and_or_civilian_wounded VARCHAR)
### Question:
What is the average number of military deaths when there are fewer than 38 civilian deaths (including foreigners) and 33 military and/or civilian wounded?
### Answer:
SELECT AVG(military_deaths) FROM table_name_22 WHERE civilian_deaths__including_foreigners_ < 38 AND military_and_or_civilian_wounded = "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_55 (matches VARCHAR, rank VARCHAR, years VARCHAR)
### Question:
Can you tell me the Matches that has the Rank smaller than 6, and the Years of 1943-62?
### Answer:
SELECT matches FROM table_name_55 WHERE rank < 6 AND years = "1943-62" |
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR)
### Question:
What was the Opponent in Week 9?
### Answer:
SELECT opponent FROM table_name_15 WHERE week = 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_66 (date VARCHAR, team VARCHAR)
### Question:
I want the date for rockies
### Answer:
SELECT date FROM table_name_66 WHERE team = "rockies" |
Below is an context that describes a sql 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 (location VARCHAR, res VARCHAR, method VARCHAR)
### Question:
Where was the match held when the result was win, and tko as the method?
### Answer:
SELECT location FROM table_name_32 WHERE res = "win" AND method = "tko" |
Below is an context that describes a sql 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 (long INTEGER, avg_g VARCHAR, loss VARCHAR, gain VARCHAR)
### Question:
What is the long with a loss lower than 133 and more than 0 gain with an avg/G of 29.8?
### Answer:
SELECT AVG(long) FROM table_name_10 WHERE loss < 133 AND gain > 0 AND avg_g = 29.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_261927_1 (institution VARCHAR, nickname VARCHAR)
### Question:
What is the institution with the nickname engineers?
### Answer:
SELECT institution FROM table_261927_1 WHERE nickname = "Engineers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1949994_7 (start_date VARCHAR, end_date VARCHAR)
### Question:
When did the season that end in July ? start?
### Answer:
SELECT start_date FROM table_1949994_7 WHERE end_date = "July ?" |
Below is an context that describes a sql 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 (laps INTEGER, grid VARCHAR, rider VARCHAR)
### Question:
Tell me the highest Laps for grid less than 22 and riderS of ruben xaus
### Answer:
SELECT MAX(laps) FROM table_name_40 WHERE grid < 22 AND rider = "ruben xaus" |
Below is an context that describes a sql 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 (completed VARCHAR, pennant_number VARCHAR)
### Question:
When is the completed date of the destroyer with a pennant number h59?
### Answer:
SELECT completed FROM table_name_50 WHERE pennant_number = "h59" |
Below is an context that describes a sql 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 (mascot VARCHAR, previous_conference VARCHAR, location VARCHAR)
### Question:
What is the Mascot for the team from leo that had a Previous Conference value of independent?
### Answer:
SELECT mascot FROM table_name_13 WHERE previous_conference = "independent" AND location = "leo" |
Below is an context that describes a sql 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 (opponent VARCHAR, series VARCHAR)
### Question:
Who was the opponent when the series was at 1-3?
### Answer:
SELECT opponent FROM table_name_86 WHERE series = "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_name_11 (score VARCHAR, date VARCHAR)
### Question:
What's the score on December 12, 1998?
### Answer:
SELECT score FROM table_name_11 WHERE date = "december 12, 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_21 (games INTEGER, rank VARCHAR)
### Question:
What is the number of Games for the player in Rank 3?
### Answer:
SELECT MAX(games) FROM table_name_21 WHERE 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_67 (home VARCHAR, date VARCHAR)
### Question:
What home has February 10 as the date?
### Answer:
SELECT home FROM table_name_67 WHERE date = "february 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_26 (cardinalatial_order_and_title VARCHAR, elevated VARCHAR)
### Question:
What is the cardinalatial order of the elector elevated circa 1116?
### Answer:
SELECT cardinalatial_order_and_title FROM table_name_26 WHERE elevated = "circa 1116" |
Below is an context that describes a sql 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 (winner VARCHAR, date VARCHAR)
### Question:
Name the winner for 5 june
### Answer:
SELECT winner FROM table_name_80 WHERE date = "5 june" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (result VARCHAR, year VARCHAR, award VARCHAR)
### Question:
Name the result in 2010 for bgm cyworld
### Answer:
SELECT result FROM table_name_98 WHERE year = 2010 AND award = "bgm cyworld" |
Below is an context that describes a sql 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 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR)
### Question:
What is the Total of the Player who won in 1979 with a To par of less than 11?
### Answer:
SELECT MAX(total) FROM table_name_28 WHERE year_s__won = "1979" AND to_par < 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_24887326_6 (away_team VARCHAR, tie_no VARCHAR)
### Question:
Who is the away team for tie no 15?
### Answer:
SELECT away_team FROM table_24887326_6 WHERE tie_no = 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 table_name_39 (no_5 VARCHAR, no_6 VARCHAR, no_2 VARCHAR, no_4 VARCHAR)
### Question:
What is No. 5, when No. 2 is Olivia, when No. 4 is Ava, and when No. 6 is Abigail?
### Answer:
SELECT no_5 FROM table_name_39 WHERE no_2 = "olivia" AND no_4 = "ava" AND no_6 = "abigail" |
Below is an context that describes a sql 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 (points INTEGER, chassis VARCHAR)
### Question:
What are the lowest points for an engine with a Dallara F303 chassis?
### Answer:
SELECT MIN(points) FROM table_name_93 WHERE chassis = "dallara f303" |
Below is an context that describes a sql 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 (result VARCHAR, original_title VARCHAR)
### Question:
What is Result, when Original Title is "Qala"?
### Answer:
SELECT result FROM table_name_38 WHERE original_title = "qala" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16388439_3 (home_team VARCHAR)
### Question:
Name the home team score for brisbane lions
### Answer:
SELECT home_team AS score FROM table_16388439_3 WHERE home_team = "Brisbane Lions" |
Below is an context that describes a sql 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 (release_date VARCHAR, product VARCHAR)
### Question:
When was Glassfish released?
### Answer:
SELECT release_date FROM table_name_15 WHERE product = "glassfish" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23528223_2 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
How many season numbers are there for the episode seen by 13.54 million people in the US?
### Answer:
SELECT COUNT(no_in_season) FROM table_23528223_2 WHERE us_viewers__millions_ = "13.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 camera_lens (focal_length_mm INTEGER)
### Question:
How many camera lenses have a focal length longer than 15 mm?
### Answer:
SELECT COUNT(*) FROM camera_lens WHERE focal_length_mm > 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 table_name_1 (week_8_oct_26 VARCHAR, week_12_nov_23 VARCHAR)
### Question:
What is the week 8 Oct 26 standing with georgia tech (8-2) on week 12 Nov 23?
### Answer:
SELECT week_8_oct_26 FROM table_name_1 WHERE week_12_nov_23 = "georgia tech (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_2618152_1 (no_in_season VARCHAR, written_by VARCHAR)
### Question:
What is the season number of the episode written by Matt Witten , Richard Sweren?
### Answer:
SELECT no_in_season FROM table_2618152_1 WHERE written_by = "Matt Witten , Richard Sweren" |
Below is an context that describes a sql 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 (place VARCHAR, country VARCHAR, player VARCHAR)
### Question:
Where did Calvin Peete of the United States place?
### Answer:
SELECT place FROM table_name_82 WHERE country = "united states" AND player = "calvin peete" |
Below is an context that describes a sql 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 (overall_rank INTEGER, share VARCHAR, timeslot_rank VARCHAR)
### Question:
What is the rank of the episode with a share of 6 and timeslot rank smaller than 4?
### Answer:
SELECT AVG(overall_rank) FROM table_name_39 WHERE share = 6 AND timeslot_rank < 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_61 (capacity VARCHAR, club VARCHAR)
### Question:
What is the total capacity for the Leicester Tigers?
### Answer:
SELECT COUNT(capacity) FROM table_name_61 WHERE club = "leicester tigers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (date VARCHAR, loss VARCHAR)
### Question:
What was the date of the game that had a loss of Politte (0-2)?
### Answer:
SELECT date FROM table_name_25 WHERE loss = "politte (0-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_83 (attendance INTEGER, location VARCHAR, game VARCHAR)
### Question:
What is the number of people in attendance at Oakland-Alameda County Coliseum, and game is 2?
### Answer:
SELECT SUM(attendance) FROM table_name_83 WHERE location = "oakland-alameda county coliseum" AND game = 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_88 (attendance VARCHAR, week VARCHAR)
### Question:
What was the attendance during week 7?
### Answer:
SELECT attendance FROM table_name_88 WHERE week = 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_14981555_1 (venue VARCHAR, distance VARCHAR)
### Question:
Where was the 1400 m held?
### Answer:
SELECT venue FROM table_14981555_1 WHERE distance = "1400 m" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26250199_1 (song_choice VARCHAR, theme VARCHAR)
### Question:
The theme Auditioner's Choice has what song choice?
### Answer:
SELECT song_choice FROM table_26250199_1 WHERE theme = "Auditioner's Choice" |
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
When was the score 56-26?
### Answer:
SELECT date FROM table_name_2 WHERE record = "56-26" |
Below is an context that describes a sql 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 (conference_finals INTEGER, finals INTEGER)
### Question:
Can you tell me the average Conference Finals that has Finals smaller than 5?
### Answer:
SELECT AVG(conference_finals) FROM table_name_32 WHERE finals < 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_55 (opponent VARCHAR, score VARCHAR)
### Question:
Which opponent has the score of 0-3?
### Answer:
SELECT opponent FROM table_name_55 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_19753079_8 (incumbent VARCHAR, first_elected VARCHAR)
### Question:
What incumbent was first elected in 2009?
### Answer:
SELECT incumbent FROM table_19753079_8 WHERE first_elected = 2009 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_24 (seven VARCHAR, date VARCHAR)
### Question:
Name the seven for 29 november 1690
### Answer:
SELECT seven FROM table_name_24 WHERE date = "29 november 1690" |
Below is an context that describes a sql 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 (result VARCHAR, goals VARCHAR)
### Question:
I want the result for goals which has goals of deacon 6/6
### Answer:
SELECT result FROM table_name_52 WHERE goals = "deacon 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_17 (driver VARCHAR, laps VARCHAR)
### Question:
Which driver has 62 laps?
### Answer:
SELECT driver FROM table_name_17 WHERE laps = 62 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE AssignedTo (Scientist VARCHAR, Project VARCHAR); CREATE TABLE Projects (Name VARCHAR, Hours VARCHAR, Code VARCHAR); CREATE TABLE Scientists (Name VARCHAR, SSN VARCHAR)
### Question:
List all the scientists' names, their projects' names, and the hours worked by that scientist on each project, in alphabetical order of project name, and then scientist name.
### Answer:
SELECT T1.Name, T3.Name, T3.Hours FROM Scientists AS T1 JOIN AssignedTo AS T2 ON T1.SSN = T2.Scientist JOIN Projects AS T3 ON T2.Project = T3.Code ORDER BY T3.Name, T1.Name |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23499946_1 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR)
### Question:
How many directed by have 2.80 as u.s. viewers (in millions)?
### Answer:
SELECT COUNT(directed_by) FROM table_23499946_1 WHERE us_viewers__in_millions_ = "2.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_name_23 (team_1 VARCHAR, team_2 VARCHAR)
### Question:
What is Team 1 where Team 2 is gombe united f.c.?
### Answer:
SELECT team_1 FROM table_name_23 WHERE team_2 = "gombe united f.c." |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23242968_1 (no_in_season INTEGER, no_in_series VARCHAR)
### Question:
What episode number of the season was also number 75 in the series?
### Answer:
SELECT MAX(no_in_season) FROM table_23242968_1 WHERE no_in_series = 75 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26250145_1 (order__number VARCHAR, original_artist VARCHAR)
### Question:
What is the order # for the original artist sarah mclachlan?
### Answer:
SELECT order__number FROM table_26250145_1 WHERE original_artist = "Sarah McLachlan" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.