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_35 (money___ INTEGER, to_par VARCHAR, player VARCHAR)
### Question:
What is the highest Money ($), when Top Par is E, and when Player is Ernie Els?
### Answer:
SELECT MAX(money___) AS $__ FROM table_name_35 WHERE to_par = "e" AND player = "ernie els" |
Below is an context that describes a sql 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 (rider_status VARCHAR, team_country VARCHAR, year VARCHAR)
### Question:
What is the rider status for the 1971 netherlands team?
### Answer:
SELECT rider_status FROM table_name_77 WHERE team_country = "netherlands" AND year = 1971 |
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR)
### Question:
What date was the game played at Princes Park?
### Answer:
SELECT date FROM table_name_62 WHERE venue = "princes 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_17085724_1 (sarasota VARCHAR, indianapolis_concerts VARCHAR)
### Question:
Name the sarasota samantha sharpe
### Answer:
SELECT sarasota FROM table_17085724_1 WHERE indianapolis_concerts = "Samantha Sharpe" |
Below is an context that describes a sql 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 (winning_score VARCHAR, year VARCHAR)
### Question:
What is the Winning score in 1956?
### Answer:
SELECT winning_score FROM table_name_57 WHERE year = 1956 |
Below is an context that describes a sql 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)
### Question:
What 2nd leg has rk gold club kozina as team 1?
### Answer:
SELECT 2 AS nd_leg FROM table_name_23 WHERE team_1 = "rk gold club kozina" |
Below is an context that describes a sql 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 (game_4 VARCHAR, position VARCHAR, game_1 VARCHAR)
### Question:
For which Game 4 did Michael O'Connor play wing position?
### Answer:
SELECT game_4 FROM table_name_8 WHERE position = "wing" AND game_1 = "michael o'connor" |
Below is an context that describes a sql 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 (position VARCHAR, mls_team VARCHAR)
### Question:
What position does the player from the MLS New England Revolution team hold?
### Answer:
SELECT position FROM table_name_35 WHERE mls_team = "new england revolution" |
Below is an context that describes a sql 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 (award VARCHAR, organisation VARCHAR)
### Question:
Which award was given to Lianhe Zaobao?
### Answer:
SELECT award FROM table_name_84 WHERE organisation = "lianhe zaobao" |
Below is an context that describes a sql 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 (season INTEGER, level INTEGER)
### Question:
Tell me the least season with level less than 1
### Answer:
SELECT MIN(season) FROM table_name_5 WHERE level < 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_32 (date VARCHAR, home VARCHAR, visitor VARCHAR)
### Question:
What is the date of the game with pittsburgh as the home team and boston as the visitor team?
### Answer:
SELECT date FROM table_name_32 WHERE home = "pittsburgh" AND visitor = "boston" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28677723_14 (tor_fløysvik INTEGER, karianne_gulliksen VARCHAR)
### Question:
Name the most for fløysvik for 8
### Answer:
SELECT MAX(tor_fløysvik) FROM table_28677723_14 WHERE karianne_gulliksen = 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_25 (carrier VARCHAR, package_version VARCHAR)
### Question:
WHAT IS THE CARRIER FOR 4.7.0.208 VERSION?
### Answer:
SELECT carrier FROM table_name_25 WHERE package_version = "4.7.0.208" |
Below is an context that describes a sql 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 (part_1 VARCHAR, class VARCHAR)
### Question:
what is part 1 when the class is 7d?
### Answer:
SELECT part_1 FROM table_name_78 WHERE class = "7d" |
Below is an context that describes a sql 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 (leading_lady VARCHAR, title VARCHAR)
### Question:
Who is the leading lady in a yank in the r.a.f.?
### Answer:
SELECT leading_lady FROM table_name_10 WHERE title = "a yank in the r.a.f." |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR, home_team VARCHAR)
### Question:
What is the score for the game where Birmingham City was the home team on 10 March 1984?
### Answer:
SELECT score FROM table_name_86 WHERE date = "10 march 1984" AND home_team = "birmingham 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_59 (attendance VARCHAR, score VARCHAR)
### Question:
What is the Attendance of the game with a Score of 3–2?
### Answer:
SELECT COUNT(attendance) FROM table_name_59 WHERE score = "3–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_1949746_1 (call_sign VARCHAR, frequency VARCHAR)
### Question:
When 1180 am is the frequency how many call signs are there?
### Answer:
SELECT COUNT(call_sign) FROM table_1949746_1 WHERE frequency = "1180 AM" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29458735_5 (colonel VARCHAR, regiment VARCHAR)
### Question:
what is the name of the coloneo of the 35th regiment
### Answer:
SELECT colonel FROM table_29458735_5 WHERE regiment = "35th regiment" |
Below is an context that describes a sql 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 (score VARCHAR, visitor VARCHAR, date VARCHAR)
### Question:
What is the score of the game on February 27 with New Jersey as the visitor team?
### Answer:
SELECT score FROM table_name_25 WHERE visitor = "new jersey" AND date = "february 27" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (record VARCHAR, score VARCHAR)
### Question:
Which record has a score of 7–6 (12)?
### Answer:
SELECT record FROM table_name_77 WHERE score = "7–6 (12)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (school VARCHAR, pick INTEGER)
### Question:
Which school was the drafted player from in a pick larger than 181?
### Answer:
SELECT school FROM table_name_27 WHERE pick > 181 |
Below is an context that describes a sql 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 (decile INTEGER, roll VARCHAR, area VARCHAR)
### Question:
What is the decile sum with a roll smaller than 25, and franz josef area?
### Answer:
SELECT SUM(decile) FROM table_name_37 WHERE roll < 25 AND area = "franz josef" |
Below is an context that describes a sql 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 (name VARCHAR, circuit VARCHAR)
### Question:
Which Grand Prix has the Circuit of Lille?
### Answer:
SELECT name FROM table_name_20 WHERE circuit = "lille" |
Below is an context that describes a sql 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 (opponent VARCHAR, match_day VARCHAR, date VARCHAR)
### Question:
Who was the opponent on 12 May, when the match day was more than 33?
### Answer:
SELECT opponent FROM table_name_53 WHERE match_day > 33 AND date = "12 may" |
Below is an context that describes a sql 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 (drawn INTEGER, played INTEGER)
### Question:
Which Drawn is the highest one that has a Played smaller than 18?
### Answer:
SELECT MAX(drawn) FROM table_name_36 WHERE played < 18 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (title VARCHAR, genre VARCHAR, year VARCHAR, network VARCHAR)
### Question:
What's the title when the genre is drama and network of KBS2 happening before 2011?
### Answer:
SELECT title FROM table_name_4 WHERE year < 2011 AND network = "kbs2" AND genre = "drama" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_189893_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)
### Question:
What is every value for percentage(2006) with a Polish mother tongue?
### Answer:
SELECT percentage__2006_ FROM table_189893_1 WHERE mother_tongue = "Polish" |
Below is an context that describes a sql 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 (pictorials VARCHAR, date VARCHAR)
### Question:
Which Pictorials is on 5-01?
### Answer:
SELECT pictorials FROM table_name_40 WHERE date = "5-01" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11734041_10 (years_for_rockets VARCHAR, height_in_ft VARCHAR)
### Question:
Rockets height was 6-6 in feet, list the time frame where this was true?
### Answer:
SELECT years_for_rockets FROM table_11734041_10 WHERE height_in_ft = "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_1974545_2 (location VARCHAR, institution VARCHAR)
### Question:
Where is the Westfield State University located?
### Answer:
SELECT location FROM table_1974545_2 WHERE institution = "Westfield State University" |
Below is an context that describes a sql 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 (overall INTEGER, round VARCHAR)
### Question:
Which Overall has a Round of 7?
### Answer:
SELECT MIN(overall) FROM table_name_99 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_96 (points INTEGER, wins VARCHAR, team VARCHAR, year VARCHAR)
### Question:
Before 1981, how many Points did Team Suzuki have with less than 0 Wins?
### Answer:
SELECT SUM(points) FROM table_name_96 WHERE team = "suzuki" AND year < 1981 AND wins < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (player VARCHAR, score VARCHAR)
### Question:
Who is the player with a 75-68-70=213 score?
### Answer:
SELECT player FROM table_name_79 WHERE score = 75 - 68 - 70 = 213 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (score VARCHAR, home_team VARCHAR)
### Question:
What is the score of the wigan athletic home team?
### Answer:
SELECT score FROM table_name_3 WHERE home_team = "wigan athletic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE races (raceid VARCHAR, name VARCHAR); CREATE TABLE results (raceid VARCHAR)
### Question:
How many drivers participated in the race Australian Grand Prix held in 2009?
### Answer:
SELECT COUNT(*) FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid WHERE T2.name = "Australian Grand Prix" 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_28 (theme VARCHAR, paper_type VARCHAR, date_of_issue VARCHAR)
### Question:
What is the Theme with a Paper Type of tullis russell coatings, and a Date with Issue of 1 october 2008?
### Answer:
SELECT theme FROM table_name_28 WHERE paper_type = "tullis russell coatings" AND date_of_issue = "1 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_28 (attendance VARCHAR, date VARCHAR)
### Question:
What's the attendance for the game held on January 2, 2005?
### Answer:
SELECT attendance FROM table_name_28 WHERE date = "january 2, 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_14951643_1 (record VARCHAR, result VARCHAR)
### Question:
what's the record with result being w 52–19
### Answer:
SELECT record FROM table_14951643_1 WHERE result = "W 52–19" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (average VARCHAR)
### Question:
Which 1990-91 has an average number of 1.035?
### Answer:
SELECT 1990 AS _91 FROM table_name_34 WHERE average = 1.035 |
Below is an context that describes a sql 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 (driver VARCHAR, grid VARCHAR)
### Question:
who is the driver when grid is 11?
### Answer:
SELECT driver FROM table_name_81 WHERE 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_75 (sport VARCHAR, medal VARCHAR, event VARCHAR)
### Question:
Name the sport for men's light flyweight with medal of gold
### Answer:
SELECT sport FROM table_name_75 WHERE medal = "gold" AND event = "men's light flyweight" |
Below is an context that describes a sql 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 (laps INTEGER, qual VARCHAR)
### Question:
What car had the fewest laps with a qual of 138.750?
### Answer:
SELECT MIN(laps) FROM table_name_16 WHERE qual = "138.750" |
Below is an context that describes a sql 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 (counties_represented VARCHAR, first_elected VARCHAR, committee VARCHAR)
### Question:
What counties represented have a First Elected of 2006 and a Ways and Means Committee?
### Answer:
SELECT counties_represented FROM table_name_97 WHERE first_elected = 2006 AND committee = "ways and means" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14312471_7 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who played Richmond at home?
### Answer:
SELECT home_team FROM table_14312471_7 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_181892_4 (race_status VARCHAR, chassis VARCHAR)
### Question:
What was the race status(es) with the lotus-ford 38/1 chassis?
### Answer:
SELECT race_status FROM table_181892_4 WHERE chassis = "Lotus-Ford 38/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_53 (venue VARCHAR, away_team VARCHAR)
### Question:
Where was the game when Melbourne was the away team?
### Answer:
SELECT venue FROM table_name_53 WHERE away_team = "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_name_14 (year INTEGER, championship VARCHAR)
### Question:
What is the highest Year with of the open championship?
### Answer:
SELECT MAX(year) FROM table_name_14 WHERE championship = "the open 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_33 (year INTEGER, movie VARCHAR)
### Question:
What's the average year a Rangam movie came out?
### Answer:
SELECT AVG(year) FROM table_name_33 WHERE movie = "rangam" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29690363_3 (fastest_lap VARCHAR, pole_position VARCHAR)
### Question:
Who had the fastest lap(s) when stefan wilson had the pole?
### Answer:
SELECT fastest_lap FROM table_29690363_3 WHERE pole_position = "Stefan Wilson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27654988_1 (result VARCHAR, opponent VARCHAR)
### Question:
What is the result of the game where the opponent is Innsbrucker Kilmarnock CSK VVS Samara?
### Answer:
SELECT result FROM table_27654988_1 WHERE opponent = "Innsbrucker Kilmarnock CSK VVS Samara" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE evaluation (bonus INTEGER)
### Question:
What is total bonus given in all evaluations?
### Answer:
SELECT SUM(bonus) FROM evaluation |
Below is an context that describes a sql 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 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
### Question:
What is the grid total associated with a Time/Retired of +33.634, and a Laps smaller than 19?
### Answer:
SELECT MIN(grid) FROM table_name_77 WHERE time_retired = "+33.634" AND laps < 19 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (division VARCHAR, wins VARCHAR)
### Question:
Which MLB division has a win record of 76?
### Answer:
SELECT division FROM table_name_26 WHERE wins = "76" |
Below is an context that describes a sql 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 (opponent VARCHAR, time VARCHAR)
### Question:
Which opponent has a Time of 1:34?
### Answer:
SELECT opponent FROM table_name_46 WHERE time = "1:34" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)
### Question:
Who performed the song named "Badlands"? Show the first name and the last name.
### Answer:
SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = "Badlands" |
Below is an context that describes a sql 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 (hometown VARCHAR, college VARCHAR)
### Question:
What's the hometown of the player who went to lsu?
### Answer:
SELECT hometown FROM table_name_32 WHERE college = "lsu" |
Below is an context that describes a sql 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 (college_junior_club_team__league_ VARCHAR, round VARCHAR, player VARCHAR)
### Question:
what is the college/junior/club team (league) when the round is more than 2 and the player is bert robertsson (d)?
### Answer:
SELECT college_junior_club_team__league_ FROM table_name_96 WHERE round > 2 AND player = "bert robertsson (d)" |
Below is an context that describes a sql 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 VARCHAR, production VARCHAR, award VARCHAR)
### Question:
During what year was Wicked associated with the Green Room Awards?
### Answer:
SELECT year FROM table_name_44 WHERE production = "wicked" AND award = "green room awards" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2761641_1 (points_per_game VARCHAR, assists_per_game VARCHAR)
### Question:
How many points per game did he have when he had 1.5 assists per game?
### Answer:
SELECT points_per_game FROM table_2761641_1 WHERE assists_per_game = "1.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_16 (overall INTEGER, college VARCHAR)
### Question:
Total overall from penn state?
### Answer:
SELECT SUM(overall) FROM table_name_16 WHERE college = "penn state" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (score VARCHAR, visitor VARCHAR, record VARCHAR)
### Question:
What is the score when Philadelphia was the visitor with a Record of 7–4–0?
### Answer:
SELECT score FROM table_name_79 WHERE visitor = "philadelphia" AND record = "7–4–0" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (rank VARCHAR, lane VARCHAR)
### Question:
What rank was the swimmer in lane 4?
### Answer:
SELECT rank FROM table_name_41 WHERE lane = 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 MODEL_LIST (Maker VARCHAR, model VARCHAR); CREATE TABLE CAR_MAKERS (Maker VARCHAR, Id VARCHAR); CREATE TABLE CARS_DATA (id VARCHAR, year VARCHAR); CREATE TABLE CAR_NAMES (model VARCHAR, MakeId VARCHAR)
### Question:
Find the name of the makers that produced some cars in the year of 1970?
### Answer:
SELECT DISTINCT T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model JOIN CARS_DATA AS T4 ON T3.MakeId = T4.id WHERE T4.year = '1970' |
Below is an context that describes a sql 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 (class VARCHAR, year_made VARCHAR)
### Question:
Which class was made in 1880?
### Answer:
SELECT class FROM table_name_34 WHERE year_made = "1880" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23285849_11 (location_attendance VARCHAR, high_points VARCHAR)
### Question:
When carmelo anthony (39) has the highest amount of points where is the location and what is the attendance?
### Answer:
SELECT location_attendance FROM table_23285849_11 WHERE high_points = "Carmelo Anthony (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_95 (week_3 VARCHAR, week_4 VARCHAR)
### Question:
What Week 3 has a Week 4 of gina blair?
### Answer:
SELECT week_3 FROM table_name_95 WHERE week_4 = "gina blair" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_261954_1 (institution VARCHAR, nickname VARCHAR)
### Question:
What is every institution with the nickname of Quakers?
### Answer:
SELECT institution FROM table_261954_1 WHERE nickname = "Quakers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (result VARCHAR, home_away VARCHAR, opponent VARCHAR)
### Question:
What is the result when you play at home against Pride
### Answer:
SELECT result FROM table_name_73 WHERE home_away = "home" AND opponent = "pride" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1888165_1 (Otl INTEGER, PCt VARCHAR)
### Question:
If the PCT is 0.514, what was the minimum OTL?
### Answer:
SELECT MIN(Otl) FROM table_1888165_1 WHERE PCt = 0.514 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1245350_1 (production_period VARCHAR, units_produced VARCHAR)
### Question:
When were 668 units produced?
### Answer:
SELECT production_period FROM table_1245350_1 WHERE units_produced = 668 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_229917_2 (fatalities VARCHAR, brief_description VARCHAR)
### Question:
How many fatalities were there in the crash described as ditched 300 m short of runway?
### Answer:
SELECT fatalities FROM table_229917_2 WHERE brief_description = "Ditched 300 m short of runway" |
Below is an context that describes a sql 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 (season INTEGER, third_driver VARCHAR)
### Question:
What is the largest season with a Third Driver of jimmy davies?
### Answer:
SELECT MAX(season) FROM table_name_2 WHERE third_driver = "jimmy davies" |
Below is an context that describes a sql 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 (pick__number INTEGER, name VARCHAR, round VARCHAR)
### Question:
Which Pick # is the highest one that has a Name of william middleton, and a Round larger than 5?
### Answer:
SELECT MAX(pick__number) FROM table_name_32 WHERE name = "william middleton" AND round > 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_64 (tournament VARCHAR, week VARCHAR)
### Question:
What is Tournament, when Week is November 23?
### Answer:
SELECT tournament FROM table_name_64 WHERE week = "november 23" |
Below is an context that describes a sql 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 (goals VARCHAR, caps VARCHAR)
### Question:
What were the goals when the caps were set at 48?
### Answer:
SELECT goals FROM table_name_66 WHERE caps = 48 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (results VARCHAR, seed VARCHAR, year VARCHAR)
### Question:
What Results has a Seed #12 and a Year that's smaller than 1996
### Answer:
SELECT results FROM table_name_36 WHERE seed = "#12" AND year < 1996 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26986076_6 (sat_21_aug VARCHAR, tues_24_aug VARCHAR)
### Question:
What was the Sat 21 Aug time for the rider whose Tues 24 Aug time was 20' 38.40 109.680mph?
### Answer:
SELECT sat_21_aug FROM table_26986076_6 WHERE tues_24_aug = "20' 38.40 109.680mph" |
Below is an context that describes a sql 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 (band VARCHAR, callsign VARCHAR)
### Question:
What band does 4cca use?
### Answer:
SELECT band FROM table_name_52 WHERE callsign = "4cca" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24115349_6 (turnout__percentage VARCHAR, brown__percentage VARCHAR)
### Question:
What was the turnout percentage in the place that had 44.6% vote for brown?
### Answer:
SELECT turnout__percentage FROM table_24115349_6 WHERE brown__percentage = "44.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_75 (band VARCHAR, year INTEGER)
### Question:
What band has a year above 2011?
### Answer:
SELECT band FROM table_name_75 WHERE year > 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_6 (crowd INTEGER, away_team VARCHAR)
### Question:
What was the smallest crowd at a game when Richmond was the away team?
### Answer:
SELECT MIN(crowd) FROM table_name_6 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_26198709_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
### Question:
Who wrote the episode with 18.07 million viewers?
### Answer:
SELECT written_by FROM table_26198709_1 WHERE us_viewers__million_ = "18.07" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (score VARCHAR, record VARCHAR)
### Question:
What was the score of the game when the record was 18–43?
### Answer:
SELECT score FROM table_name_3 WHERE record = "18–43" |
Below is an context that describes a sql 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 (drawn VARCHAR, club VARCHAR)
### Question:
what is drawn when the club is hirwaun rfc?
### Answer:
SELECT drawn FROM table_name_80 WHERE club = "hirwaun rfc" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE All_documents (document_id VARCHAR, document_name VARCHAR); CREATE TABLE Document_locations (date_in_location_from VARCHAR, date_in_locaton_to VARCHAR, document_id VARCHAR)
### Question:
What is "the date in location from" and "the date in location to" for the document with name "Robin CV"?
### Answer:
SELECT T1.date_in_location_from, T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = "Robin CV" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE browser (id VARCHAR, market_share VARCHAR, name VARCHAR)
### Question:
What is the id and market share of the browser Safari?
### Answer:
SELECT id, market_share FROM browser WHERE name = 'Safari' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (record VARCHAR, high_rebounds VARCHAR)
### Question:
What is the record when George Hill (11) had the high rebounds?
### Answer:
SELECT record FROM table_name_58 WHERE high_rebounds = "george hill (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_14562722_1 (production_code VARCHAR, written_by VARCHAR, directed_by VARCHAR)
### Question:
What was the production code of the episode that was written by michael dante dimartino and directed by lauren macmullan?
### Answer:
SELECT production_code FROM table_14562722_1 WHERE written_by = "Michael Dante DiMartino" AND directed_by = "Lauren MacMullan" |
Below is an context that describes a sql 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 (state_territory VARCHAR, winning_driver VARCHAR, round VARCHAR)
### Question:
What is the state the winning driver Jamie Whincup from in round 2?
### Answer:
SELECT state_territory FROM table_name_8 WHERE winning_driver = "jamie whincup" AND round = 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_62 (purpose VARCHAR, area_served VARCHAR)
### Question:
What is the Purpose of the Area Braidwood?
### Answer:
SELECT purpose FROM table_name_62 WHERE area_served = "braidwood" |
Below is an context that describes a sql 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, surface VARCHAR, date VARCHAR)
### Question:
What was the April 7, 2008 score on a clay surface?
### Answer:
SELECT score FROM table_name_71 WHERE surface = "clay" AND date = "april 7, 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_4 (crowd VARCHAR, away_team VARCHAR)
### Question:
How big was the crowd when the away team was Richmond?
### Answer:
SELECT crowd FROM table_name_4 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_9 (location VARCHAR, round VARCHAR, opponent VARCHAR)
### Question:
Which location had a round of 3, and an Opponent of matt horwich?
### Answer:
SELECT location FROM table_name_9 WHERE round < 3 AND opponent = "matt horwich" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1682026_7 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)
### Question:
What is the market value in billions when the assets totaled 1,380.88?
### Answer:
SELECT market_value__billion_$_ FROM table_1682026_7 WHERE assets__billion_$_ = "1,380.88" |
Below is an context that describes a sql 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 (martin VARCHAR, date VARCHAR)
### Question:
What martin is on july 8–9, 2008?
### Answer:
SELECT martin FROM table_name_36 WHERE date = "july 8–9, 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_4 (react INTEGER, athlete VARCHAR, rank VARCHAR)
### Question:
What is the average react of athlete muna lee, who is ranked greater than 3?
### Answer:
SELECT AVG(react) FROM table_name_4 WHERE athlete = "muna lee" AND rank > 3 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1133844_4 (candidates_winning_candidate_in_bold VARCHAR, state__linked_to_summaries_below_ VARCHAR)
### Question:
who were the winners in west virginia
### Answer:
SELECT candidates_winning_candidate_in_bold FROM table_1133844_4 WHERE state__linked_to_summaries_below_ = "West Virginia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1251878_3 (least_compression_at_24_fps VARCHAR, mpix VARCHAR)
### Question:
What is the smallest frames per minute when the pixels are 5.0
### Answer:
SELECT least_compression_at_24_fps FROM table_1251878_3 WHERE mpix = "5.0" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR)
### Question:
What was the lowest crowd size at MCG?
### Answer:
SELECT MIN(crowd) FROM table_name_1 WHERE venue = "mcg" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.