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_38 (nickname VARCHAR, location VARCHAR, affiliation VARCHAR, founded VARCHAR)
### Question:
What school has a public nickname, founded after 1838 in Harrisonburg, Va?
### Answer:
SELECT nickname FROM table_name_38 WHERE affiliation = "public" AND founded > 1838 AND location = "harrisonburg, va" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16376436_1 (nfl_team VARCHAR, college VARCHAR)
### Question:
What is the NFL team for the player who's college was North Carolina?
### Answer:
SELECT nfl_team FROM table_16376436_1 WHERE college = "North Carolina" |
Below is an context that describes a sql 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 (losses VARCHAR, appearances INTEGER)
### Question:
How many losses did the division who appeared less than 16 times have?
### Answer:
SELECT losses FROM table_name_95 WHERE appearances < 16 |
Below is an context that describes a sql 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 (record VARCHAR, opponent VARCHAR)
### Question:
Who won when the Patriots played the Denver Broncos?
### Answer:
SELECT record FROM table_name_38 WHERE opponent = "denver broncos" |
Below is an context that describes a sql 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 (career VARCHAR)
### Question:
What is the career for the 2006 3r, and the 1999 2r?
### Answer:
SELECT career FROM table_name_70 WHERE 2006 = "3r" AND 1999 = "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_name_45 (Id VARCHAR)
### Question:
What 2009 has 39th as the 2011?
### Answer:
SELECT 2009 FROM table_name_45 WHERE 2011 = "39th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27932399_1 (release_title VARCHAR, artist VARCHAR)
### Question:
What was the name of the album released by Heavy Winged?
### Answer:
SELECT release_title FROM table_27932399_1 WHERE artist = "Heavy Winged" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13619135_5 (high_points VARCHAR, team VARCHAR)
### Question:
Which players scored the most points when the opposing team was Seattle and how many points did they score?
### Answer:
SELECT high_points FROM table_13619135_5 WHERE team = "Seattle" |
Below is an context that describes a sql 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 (year VARCHAR, rank VARCHAR)
### Question:
with rank of 31 what is the year?
### Answer:
SELECT COUNT(year) FROM table_name_48 WHERE rank = "31" |
Below is an context that describes a sql 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 (drawn INTEGER, played INTEGER)
### Question:
What is the whole of Drawn that has a Played larger than 14?
### Answer:
SELECT SUM(drawn) FROM table_name_42 WHERE played > 14 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (visitor VARCHAR, date VARCHAR)
### Question:
Who was the visitor for the April 17 game?
### Answer:
SELECT visitor FROM table_name_93 WHERE date = "april 17" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14875671_1 (attendance INTEGER, week VARCHAR)
### Question:
What was the attendance in week 8?
### Answer:
SELECT MAX(attendance) FROM table_14875671_1 WHERE week = 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_69 (round INTEGER, school VARCHAR, pick VARCHAR)
### Question:
What was the highest round for Bowling Green with a pick smaller than 210?
### Answer:
SELECT MAX(round) FROM table_name_69 WHERE school = "bowling green" AND pick < 210 |
Below is an context that describes a sql 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 (gold VARCHAR, year VARCHAR, place VARCHAR)
### Question:
What gold has a year after 1970, with milan as the place?
### Answer:
SELECT gold FROM table_name_65 WHERE year > 1970 AND place = "milan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17120964_7 (date VARCHAR, man_of_the_match VARCHAR)
### Question:
How many dates did David Savage get man of the match?
### Answer:
SELECT COUNT(date) FROM table_17120964_7 WHERE man_of_the_match = "David Savage" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_97 (f_laps VARCHAR, wins VARCHAR, position VARCHAR)
### Question:
What was the F/Laps when the Wins were 0 and the Position was 4th?
### Answer:
SELECT f_laps FROM table_name_97 WHERE wins = "0" AND position = "4th" |
Below is an context that describes a sql 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 (parish__prestegjeld_ VARCHAR, year_built VARCHAR)
### Question:
Which Parish (Prestegjeld) was built in 1907?
### Answer:
SELECT parish__prestegjeld_ FROM table_name_2 WHERE year_built = "1907" |
Below is an context that describes a sql 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 (play_by_play VARCHAR, year VARCHAR, network VARCHAR)
### Question:
Who did the play-by-play before 1998 on Fox network?
### Answer:
SELECT play_by_play FROM table_name_56 WHERE year < 1998 AND network = "fox" |
Below is an context that describes a sql 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 (original_nfl_team VARCHAR, college VARCHAR, pos VARCHAR)
### Question:
What is the original NFL team of the College of Oregon DT Player?
### Answer:
SELECT original_nfl_team FROM table_name_51 WHERE college = "oregon" AND pos = "dt" |
Below is an context that describes a sql 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 INTEGER, date VARCHAR)
### Question:
What is the highest week of the game on November 9, 1997?
### Answer:
SELECT MAX(week) FROM table_name_1 WHERE date = "november 9, 1997" |
Below is an context that describes a sql 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 (murder_and_non_negligent_manslaughter INTEGER, larceny_theft VARCHAR, burglary VARCHAR)
### Question:
What is the total rate of murder and non-negligent manslaughter when larceny-theft is 3,693.9 and burglary is more than 1,027.0?
### Answer:
SELECT SUM(murder_and_non_negligent_manslaughter) FROM table_name_86 WHERE larceny_theft = "3,693.9" AND burglary > 1 OFFSET 027.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 patient (PCP VARCHAR); CREATE TABLE physician (name VARCHAR, employeeid VARCHAR)
### Question:
How many patients do each physician take care of? List their names and number of patients they take care of.
### Answer:
SELECT T1.name, COUNT(*) FROM physician AS T1 JOIN patient AS T2 ON T1.employeeid = T2.PCP GROUP BY T1.employeeid |
Below is an context that describes a sql 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 (province VARCHAR, location VARCHAR)
### Question:
Tell me the province for 260km ese of calgary
### Answer:
SELECT province FROM table_name_15 WHERE location = "260km ese of calgary" |
Below is an context that describes a sql 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 (price VARCHAR, internet_plan VARCHAR)
### Question:
What is the price of the internet 150 plans?
### Answer:
SELECT price FROM table_name_63 WHERE internet_plan = "internet 150" |
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR, score VARCHAR)
### Question:
Can you tell me the Player that has the Country of united states, and the Score of 77-72-72=221?
### Answer:
SELECT player FROM table_name_68 WHERE country = "united states" AND score = 77 - 72 - 72 = 221 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29436238_1 (original_air_date VARCHAR, no_in_season VARCHAR)
### Question:
What date did episode 4 in the season originally air?
### Answer:
SELECT original_air_date FROM table_29436238_1 WHERE no_in_season = 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_63 (resurrection_of144 VARCHAR, judgmentof_religion VARCHAR, christ_madeking VARCHAR, separating_sheep_ VARCHAR, goats VARCHAR)
### Question:
What is the resurrection of 144,000 date with a Christ made king date in 1914, a separting sheep & goats date during Christ's presence, and a judgment of religion date in 1878?
### Answer:
SELECT resurrection_of144, 000 FROM table_name_63 WHERE christ_madeking = "1914" AND separating_sheep_ & goats = "during christ's presence" AND judgmentof_religion = "1878" |
Below is an context that describes a sql 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 (year VARCHAR, entrant VARCHAR)
### Question:
What is the total number of years that Scuderia Guastalla was an entrant?
### Answer:
SELECT COUNT(year) FROM table_name_24 WHERE entrant = "scuderia guastalla" |
Below is an context that describes a sql 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 (total INTEGER, season VARCHAR, second VARCHAR)
### Question:
What is the highest Total, when Season is "1996-97", and when Second is less than 33?
### Answer:
SELECT MAX(total) FROM table_name_23 WHERE season = "1996-97" AND second < 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_74 (tournament VARCHAR, result VARCHAR, year VARCHAR)
### Question:
What is Tournament, when Result is 2nd, and when Year is 2009?
### Answer:
SELECT tournament FROM table_name_74 WHERE result = "2nd" AND year = 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_49 (attendance VARCHAR, week VARCHAR, date VARCHAR)
### Question:
What is the total number in attendance for the game after week 8 that was on November 25, 1979?
### Answer:
SELECT COUNT(attendance) FROM table_name_49 WHERE week > 8 AND date = "november 25, 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_89 (reg_season VARCHAR, avg_attendance_† VARCHAR)
### Question:
What regular season had an average attendance of 1,242?
### Answer:
SELECT reg_season FROM table_name_89 WHERE avg_attendance_† = "1,242" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (draw INTEGER, place VARCHAR)
### Question:
What is the greatest draw that has 4th for place?
### Answer:
SELECT MAX(draw) FROM table_name_62 WHERE place = "4th" |
Below is an context that describes a sql 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 (nationality VARCHAR, school_club_team VARCHAR)
### Question:
What is the nationality of the Team Georgia Tech?
### Answer:
SELECT nationality FROM table_name_47 WHERE school_club_team = "georgia tech" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22824312_1 (player VARCHAR, weight VARCHAR)
### Question:
Who are the player's who weighed 170?
### Answer:
SELECT player FROM table_22824312_1 WHERE weight = 170 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1067441_1 (_in_€_ VARCHAR, gdp_per_cap__2003 INTEGER, province VARCHAR)
### Question:
What is Friesland's gdp per capita?
### Answer:
SELECT MIN(gdp_per_cap__2003), _in_€_ FROM table_1067441_1 WHERE province = "Friesland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (bronze INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR)
### Question:
Total of 3, and a Gold larger than 0, and a Nation of belarus, and a Silver larger than 2 has what sum of bronze?
### Answer:
SELECT SUM(bronze) FROM table_name_27 WHERE total = 3 AND gold > 0 AND nation = "belarus" AND silver > 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_60 (attendance VARCHAR, result VARCHAR, date VARCHAR)
### Question:
How many people attended the game that lost 2-4 and the date was higher than 15?
### Answer:
SELECT COUNT(attendance) FROM table_name_60 WHERE result = "lost 2-4" AND date > 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_36 (date VARCHAR, week VARCHAR)
### Question:
What day did they play in week 6?
### Answer:
SELECT date FROM table_name_36 WHERE week = 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_44 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR)
### Question:
What companyw as the constructor when the Time/Retired was collision, and a Grid of 11?
### Answer:
SELECT constructor FROM table_name_44 WHERE time_retired = "collision" AND grid = "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_96 (home VARCHAR, decision VARCHAR, visitor VARCHAR)
### Question:
Who was the home team at the game with a decision of Mason and a visiting team of Dallas?
### Answer:
SELECT home FROM table_name_96 WHERE decision = "mason" AND visitor = "dallas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (venue VARCHAR, tournament VARCHAR, result VARCHAR)
### Question:
Which Venue has a Tournament of olympic games with a Result of 4th?
### Answer:
SELECT venue FROM table_name_33 WHERE tournament = "olympic games" AND result = "4th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (winning_party_2003 VARCHAR, constituency VARCHAR)
### Question:
Can you tell me the Winning party of 2003 that has the Constituency of aberdeen north?
### Answer:
SELECT winning_party_2003 FROM table_name_62 WHERE constituency = "aberdeen north" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (date VARCHAR, away_team VARCHAR)
### Question:
When did Richmond play an away game against Collingwood?
### Answer:
SELECT date FROM table_name_36 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_61 (label VARCHAR, format VARCHAR, region VARCHAR, date VARCHAR)
### Question:
Which label has UK for its region, is on a CD, and is dated from 1986?
### Answer:
SELECT label FROM table_name_61 WHERE region = "uk" AND date = "1986" AND format = "cd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140082_2 (location VARCHAR, race VARCHAR)
### Question:
Where is the German Grand Prix?
### Answer:
SELECT location FROM table_1140082_2 WHERE race = "German 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_95 (location_attendance VARCHAR, record VARCHAR)
### Question:
What is the location/attendance with a 26-11 record?
### Answer:
SELECT location_attendance FROM table_name_95 WHERE record = "26-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_25118909_3 (_number INTEGER, former_school VARCHAR)
### Question:
Name the most number for notre dame prep
### Answer:
SELECT MAX(_number) FROM table_25118909_3 WHERE former_school = "Notre Dame Prep" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (country VARCHAR, date VARCHAR)
### Question:
What is the country associated with the date in 2003?
### Answer:
SELECT country FROM table_name_34 WHERE date = "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_62 (circumstances VARCHAR, location VARCHAR)
### Question:
What were the circumstances for the Baghlan location?
### Answer:
SELECT circumstances FROM table_name_62 WHERE location = "baghlan" |
Below is an context that describes a sql 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 (founded VARCHAR, suburb VARCHAR)
### Question:
What year did the Nerang Suburb get founded?
### Answer:
SELECT COUNT(founded) FROM table_name_96 WHERE suburb = "nerang" |
Below is an context that describes a sql 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 (ground VARCHAR, score VARCHAR)
### Question:
What is the Ground with a Score that is 49-80?
### Answer:
SELECT ground FROM table_name_61 WHERE score = "49-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_71 (stadium VARCHAR, final_score VARCHAR)
### Question:
Where was the game played when the final score was 35-62?
### Answer:
SELECT stadium FROM table_name_71 WHERE final_score = "35-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_12 (fa_cup_goals INTEGER, total_apps VARCHAR)
### Question:
what is the fa cup goals when total apps is 10 (4)?
### Answer:
SELECT SUM(fa_cup_goals) FROM table_name_12 WHERE total_apps = "10 (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_76 (result VARCHAR, date VARCHAR)
### Question:
What's the Result listed that has a Date of June 12, 1997?
### Answer:
SELECT result FROM table_name_76 WHERE date = "june 12, 1997" |
Below is an context that describes a sql 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 (white_hat VARCHAR, ullrich VARCHAR, dakota_mission VARCHAR, deloria_ VARCHAR, _boas VARCHAR)
### Question:
Dakota Mission of t, and a Deloria & Boas of tʽ, and a Ullrich of tȟ had what white hat?
### Answer:
SELECT white_hat FROM table_name_98 WHERE dakota_mission = "t" AND deloria_ & _boas = "tʽ" AND ullrich = "tȟ" |
Below is an context that describes a sql 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 (rank_2013 VARCHAR)
### Question:
Which 2009–10 has a Rank 2013 of 18?
### Answer:
SELECT 2009 AS _10 FROM table_name_87 WHERE rank_2013 = "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_13258876_2 (record VARCHAR, date VARCHAR)
### Question:
What was the Seahawks record on September 18, 1983?
### Answer:
SELECT record FROM table_13258876_2 WHERE date = "September 18, 1983" |
Below is an context that describes a sql 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 VARCHAR, date VARCHAR)
### Question:
What score has october 16, 2000 as the date?
### Answer:
SELECT score FROM table_name_71 WHERE date = "october 16, 2000" |
Below is an context that describes a sql 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 (score VARCHAR, home VARCHAR)
### Question:
What is the score of the game where the NY Islanders are the home team?
### Answer:
SELECT score FROM table_name_10 WHERE home = "ny islanders" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (series VARCHAR, director VARCHAR, title VARCHAR)
### Question:
What's the series of Buddy The Woodsman by director Jack King?
### Answer:
SELECT series FROM table_name_33 WHERE director = "jack king" AND title = "buddy the woodsman" |
Below is an context that describes a sql 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 (downhill VARCHAR, points VARCHAR)
### Question:
What is the 1st run that is down hill less than 46, and 84.45 points?
### Answer:
SELECT 1 AS st_run FROM table_name_95 WHERE downhill < 46 AND points = "84.45" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1974443_1 (institution VARCHAR, location VARCHAR)
### Question:
What institution is located in Watertown, Wisconsin?
### Answer:
SELECT institution FROM table_1974443_1 WHERE location = "Watertown, Wisconsin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (total VARCHAR, championship VARCHAR, league_cup VARCHAR)
### Question:
What i the total number of championships less than 2, and a league cup larger than 1?
### Answer:
SELECT COUNT(total) FROM table_name_9 WHERE championship < 2 AND league_cup > 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_36 (score VARCHAR, date VARCHAR)
### Question:
Name the score for december 5
### Answer:
SELECT score FROM table_name_36 WHERE date = "december 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_65 (year INTEGER, world_rank VARCHAR, result VARCHAR)
### Question:
What's the lowest Year with a World Rank of 5th, with a Result greater than 20.31?
### Answer:
SELECT MIN(year) FROM table_name_65 WHERE world_rank = "5th" AND result > 20.31 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (podiums INTEGER, stage_wins VARCHAR, points VARCHAR)
### Question:
what is the highest podiums when the stage wins is 91 and the points is less than 140?
### Answer:
SELECT MAX(podiums) FROM table_name_60 WHERE stage_wins = 91 AND points < 140 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_97 (length_feet VARCHAR, length_meters VARCHAR, parish VARCHAR, km_from_kingston VARCHAR)
### Question:
What is the total number of Length Feet, when Parish is Clarendon, when Km From Kingston is 71.2, and when Length Meters is less than 21.3?
### Answer:
SELECT COUNT(length_feet) FROM table_name_97 WHERE parish = "clarendon" AND km_from_kingston = 71.2 AND length_meters < 21.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_50 (goals_against INTEGER, played VARCHAR, position VARCHAR, drawn VARCHAR, lost VARCHAR)
### Question:
Which Goals Against has a Drawn larger than 9, a Lost larger than 15, a Position of 24, and a Played smaller than 46?
### Answer:
SELECT AVG(goals_against) FROM table_name_50 WHERE drawn > 9 AND lost > 15 AND position = 24 AND played < 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_36 (record VARCHAR, game VARCHAR)
### Question:
What is game 9's record?
### Answer:
SELECT record FROM table_name_36 WHERE game = 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_57 (role VARCHAR, genre VARCHAR, year VARCHAR)
### Question:
What drama role does she play in 1973?
### Answer:
SELECT role FROM table_name_57 WHERE genre = "drama" AND year = 1973 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14058433_5 (points_for VARCHAR, points_against VARCHAR)
### Question:
how many points for with points against being 177
### Answer:
SELECT COUNT(points_for) FROM table_14058433_5 WHERE points_against = "177" |
Below is an context that describes a sql 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 (game INTEGER, high_assists VARCHAR)
### Question:
What is the lowest Game, when High Assists is "Maurice Williams (8)"?
### Answer:
SELECT MIN(game) FROM table_name_11 WHERE high_assists = "maurice williams (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_81 (drawn VARCHAR, team VARCHAR, lost VARCHAR)
### Question:
How many draws took place for team Corinthians with more than 5 losses?
### Answer:
SELECT COUNT(drawn) FROM table_name_81 WHERE team = "corinthians" AND lost > 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_76 (name VARCHAR, year VARCHAR)
### Question:
What is the Name for 1997–99?
### Answer:
SELECT name FROM table_name_76 WHERE year = "1997–99" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2015453_1 (remarks VARCHAR, date VARCHAR)
### Question:
What are the remarks for 8 October 2008?
### Answer:
SELECT remarks FROM table_2015453_1 WHERE date = "8 October 2008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (developer_s_ VARCHAR, game VARCHAR)
### Question:
Who was the developer of XCom: Enemy Unknown?
### Answer:
SELECT developer_s_ FROM table_name_98 WHERE game = "xcom: enemy unknown" |
Below is an context that describes a sql 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 VARCHAR, opponent VARCHAR)
### Question:
Which Score has an Opponent of @ seattle?
### Answer:
SELECT score FROM table_name_71 WHERE opponent = "@ seattle" |
Below is an context that describes a sql 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 (byes INTEGER, wins VARCHAR, against VARCHAR, losses VARCHAR)
### Question:
Which Byes have an Against larger than 1235, and Losses smaller than 10, and Wins larger than 7?
### Answer:
SELECT MAX(byes) FROM table_name_87 WHERE against > 1235 AND losses < 10 AND wins > 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_91 (swimsuit INTEGER, evening_gown VARCHAR, interview VARCHAR)
### Question:
What is the highest swimsuit score of the contestant with an evening gown larger than 9.175 and an interview score less than 8.425?
### Answer:
SELECT MAX(swimsuit) FROM table_name_91 WHERE evening_gown > 9.175 AND interview < 8.425 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23449363_1 (round VARCHAR, clubs_involved VARCHAR)
### Question:
Which rounds had 32 clubs involved?
### Answer:
SELECT round FROM table_23449363_1 WHERE clubs_involved = 32 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, result VARCHAR)
### Question:
What is the attendance in a week earlier than 4, and result is w 31-20?
### Answer:
SELECT AVG(attendance) FROM table_name_5 WHERE week < 4 AND result = "w 31-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_97 (bass VARCHAR, year VARCHAR, album VARCHAR)
### Question:
Who played the bass for the Against the Grain album after 1982?
### Answer:
SELECT bass FROM table_name_97 WHERE year > 1982 AND album = "against the grain" |
Below is an context that describes a sql 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 (year_separated VARCHAR, reason_for_separation VARCHAR, english_name VARCHAR)
### Question:
What year was Wilfred Lau separated because Capital stopped recording music?
### Answer:
SELECT year_separated FROM table_name_74 WHERE reason_for_separation = "capital stopped recording music" AND english_name = "wilfred lau" |
Below is an context that describes a sql 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 (party VARCHAR, election VARCHAR, inhabitants VARCHAR)
### Question:
What party has more than 241,310 inhabitants after 2012?
### Answer:
SELECT party FROM table_name_20 WHERE election > 2012 AND inhabitants > 241 OFFSET 310 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (number VARCHAR, percentage___percentage_ VARCHAR)
### Question:
What is the number with an 80.62 percentage?
### Answer:
SELECT number FROM table_name_91 WHERE percentage___percentage_ = "80.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_27091128_2 (date_of_appointment VARCHAR, replaced_by VARCHAR)
### Question:
What was date of appointment for Ergün Penbe?
### Answer:
SELECT date_of_appointment FROM table_27091128_2 WHERE replaced_by = "Ergün Penbe" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the 2007 Lukoil oil prodroduction when in 2010 oil production 3.137 million tonnes?
### Answer:
SELECT 2007 FROM table_name_8 WHERE 2010 = "3.137" |
Below is an context that describes a sql 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 (time VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR)
### Question:
What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar?
### Answer:
SELECT time FROM table_name_19 WHERE lane < 6 AND heat < 4 AND name = "joanne malar" |
Below is an context that describes a sql 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 (competition VARCHAR, result VARCHAR)
### Question:
What competition has 17-1 as the result?
### Answer:
SELECT competition FROM table_name_71 WHERE result = "17-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_65 (score VARCHAR, record VARCHAR)
### Question:
What Score has a Record of 35-28-6?
### Answer:
SELECT score FROM table_name_65 WHERE record = "35-28-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 customers (customer_name VARCHAR, payment_method VARCHAR)
### Question:
What are the names of customers using the most popular payment method?
### Answer:
SELECT customer_name FROM customers WHERE payment_method = (SELECT payment_method FROM customers GROUP BY payment_method ORDER BY COUNT(*) DESC LIMIT 1) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (grid VARCHAR, laps VARCHAR, driver VARCHAR)
### Question:
How many grids have less than 41 laps and a Driver of pedro de la rosa?
### Answer:
SELECT COUNT(grid) FROM table_name_11 WHERE laps < 41 AND driver = "pedro de la rosa" |
Below is an context that describes a sql 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 (year INTEGER, film VARCHAR)
### Question:
Which Year has a Film of baazigar?
### Answer:
SELECT MAX(year) FROM table_name_32 WHERE film = "baazigar" |
Below is an context that describes a sql 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 (high_points VARCHAR, opponent VARCHAR, date VARCHAR)
### Question:
What was the high points for opponent Mid-Michigan destroyers on January 3?
### Answer:
SELECT high_points FROM table_name_22 WHERE opponent = "mid-michigan destroyers" AND date = "january 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_14934885_1 (performer_2 VARCHAR, episode VARCHAR)
### Question:
Who is the second performer in episode 5?
### Answer:
SELECT performer_2 FROM table_14934885_1 WHERE episode = 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_97 (capacity INTEGER, stadium VARCHAR)
### Question:
What is the average capacity that has rod laver arena as the stadium?
### Answer:
SELECT AVG(capacity) FROM table_name_97 WHERE stadium = "rod laver arena" |
Below is an context that describes a sql 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 (feature INTEGER, wins VARCHAR, sprint VARCHAR)
### Question:
What is the lowest feature with 2 wins and 2 sprints?
### Answer:
SELECT MIN(feature) FROM table_name_32 WHERE wins = 2 AND sprint = 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_26 (home_team VARCHAR, road_team VARCHAR, game VARCHAR)
### Question:
Which home team played against Los Angeles in game 1?
### Answer:
SELECT home_team FROM table_name_26 WHERE road_team = "los angeles" AND game = "game 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_1828368_1 (pop_density__km_2__ VARCHAR, area__km_2__ VARCHAR)
### Question:
What are the population densities of all communes with an are of 28.3 sq.km.?
### Answer:
SELECT pop_density__km_2__ FROM table_1828368_1 WHERE area__km_2__ = "28.3" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.