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_92 (persian VARCHAR, romani VARCHAR)
### Question:
What Persian word(s) has the same meaning as the Romani word duj?
### Answer:
SELECT persian FROM table_name_92 WHERE romani = "duj" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (crowd INTEGER, away_team VARCHAR)
### Question:
What is the size of the biggest crowd for a game where Fitzroy was the away team?
### Answer:
SELECT MAX(crowd) FROM table_name_29 WHERE away_team = "fitzroy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22597626_6 (championship VARCHAR, opponent_in_the_final VARCHAR)
### Question:
Name the championship for peter mcnamara
### Answer:
SELECT championship FROM table_22597626_6 WHERE opponent_in_the_final = "Peter McNamara" |
Below is an context that describes a sql 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 (prize VARCHAR, winner VARCHAR)
### Question:
What was the prize for winner benny spindler?
### Answer:
SELECT prize FROM table_name_11 WHERE winner = "benny spindler" |
Below is an context that describes a sql 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 (year VARCHAR, class VARCHAR)
### Question:
Which year has a railway class of 250?
### Answer:
SELECT year FROM table_name_19 WHERE class = "250" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26176081_29 (name VARCHAR, tfl_yds VARCHAR)
### Question:
What is the name when tfl-yds is 2-2?
### Answer:
SELECT name FROM table_26176081_29 WHERE tfl_yds = "2-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 (to_par VARCHAR, player VARCHAR)
### Question:
What is Tiger Woods' to par?
### Answer:
SELECT to_par FROM table_name_26 WHERE player = "tiger woods" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2847477_2 (pinyin VARCHAR, english_name VARCHAR)
### Question:
What is the pinyin name for the english name xin county?
### Answer:
SELECT pinyin FROM table_2847477_2 WHERE english_name = "Xin County" |
Below is an context that describes a sql 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 (world_ranking INTEGER, date VARCHAR, year VARCHAR)
### Question:
How many world rankings are after Aug 5, 1980 ?
### Answer:
SELECT SUM(world_ranking) FROM table_name_80 WHERE date = "aug 5" AND year > 1980 |
Below is an context that describes a sql 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 (date VARCHAR, nationality VARCHAR, ship VARCHAR)
### Question:
What is the date for the ship Afrika, with nationality Great Britain?
### Answer:
SELECT date FROM table_name_73 WHERE nationality = "great britain" AND ship = "afrika" |
Below is an context that describes a sql 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 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
### Question:
what is the manner of departure when the date of vacancy is 15 september 2008?
### Answer:
SELECT manner_of_departure FROM table_name_14 WHERE date_of_vacancy = "15 september 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_27733909_9 (location_attendance VARCHAR, game VARCHAR)
### Question:
What is the location and attendance of game 70?
### Answer:
SELECT location_attendance FROM table_27733909_9 WHERE game = 70 |
Below is an context that describes a sql 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 (shot_diameter__cm_ VARCHAR, shot_volume__cm_3__ INTEGER)
### Question:
How many times is the shot volume (cm3) less than 172.76?
### Answer:
SELECT COUNT(shot_diameter__cm_) FROM table_name_37 WHERE shot_volume__cm_3__ < 172.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_31 (attendance INTEGER, date VARCHAR, week VARCHAR)
### Question:
What is the average attendance for the games after week 2 on September 23, 1973?
### Answer:
SELECT AVG(attendance) FROM table_name_31 WHERE date = "september 23, 1973" AND week > 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_98 (opponent VARCHAR, game VARCHAR)
### Question:
Who was the opponent in Game 44?
### Answer:
SELECT opponent FROM table_name_98 WHERE game = "44" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (venue VARCHAR, loser VARCHAR)
### Question:
For which venue did Leicester City lose?
### Answer:
SELECT venue FROM table_name_29 WHERE loser = "leicester 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_27816698_2 (founded INTEGER, nickname VARCHAR)
### Question:
When was the Titans founded?
### Answer:
SELECT MAX(founded) FROM table_27816698_2 WHERE nickname = "Titans" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (points VARCHAR, tries_for VARCHAR)
### Question:
What is Points, when Tries For is "correct as of 00:00 11 June 2008"?
### Answer:
SELECT points FROM table_name_90 WHERE tries_for = "correct as of 00:00 11 june 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_9 (position VARCHAR, round VARCHAR)
### Question:
what is the position in round 3?
### Answer:
SELECT position FROM table_name_9 WHERE round = 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_51 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)
### Question:
What is the difference related to 2 losses and fewer than 10 points?
### Answer:
SELECT points_difference FROM table_name_51 WHERE lost = 2 AND points < 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_48 (team VARCHAR, sponsor VARCHAR, tire VARCHAR, chassis VARCHAR)
### Question:
Which team has Firestone Tires a Reynard 95i Chassis and is sponsored by Motorola?
### Answer:
SELECT team FROM table_name_48 WHERE tire = "firestone" AND chassis = "reynard 95i" AND sponsor = "motorola" |
Below is an context that describes a sql 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 (elevator VARCHAR, elector VARCHAR)
### Question:
When Giovanni Gaetano Orsini was the elector who was the elevator?
### Answer:
SELECT elevator FROM table_name_63 WHERE elector = "giovanni gaetano orsini" |
Below is an context that describes a sql 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 (aircraft VARCHAR, tail_number VARCHAR)
### Question:
What type of aircraft was the plane with a tail number of ya-bao?
### Answer:
SELECT aircraft FROM table_name_75 WHERE tail_number = "ya-bao" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
Which tournament had a 2R categorization in 2009 and SF in 2010?
### Answer:
SELECT tournament FROM table_name_83 WHERE 2009 = "2r" AND 2010 = "sf" |
Below is an context that describes a sql 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 (away_team VARCHAR, tie_no VARCHAR)
### Question:
Which away team has a tie number of 14?
### Answer:
SELECT away_team FROM table_name_62 WHERE tie_no = "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_12 (year INTEGER, wins VARCHAR, points VARCHAR)
### Question:
What is the earliest year with fewer than 5 wins and 89 points?
### Answer:
SELECT MIN(year) FROM table_name_12 WHERE wins < 5 AND points = 89 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (time_retired VARCHAR, grid VARCHAR)
### Question:
What was the time of the driver on grid 3?
### Answer:
SELECT time_retired FROM table_name_15 WHERE grid = 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_6 (score VARCHAR, opponent VARCHAR)
### Question:
What was the score against andrei pavel?
### Answer:
SELECT score FROM table_name_6 WHERE opponent = "andrei pavel" |
Below is an context that describes a sql 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 (week VARCHAR, record VARCHAR)
### Question:
What is the week with a record of 2-1?
### Answer:
SELECT COUNT(week) FROM table_name_56 WHERE record = "2-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_261927_1 (colors VARCHAR, nickname VARCHAR)
### Question:
What is the colors for the nickname engineers?
### Answer:
SELECT colors 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_20760802_1 (drawn VARCHAR, points_against VARCHAR)
### Question:
How may drawn equal points against at 129?
### Answer:
SELECT drawn FROM table_20760802_1 WHERE points_against = "129" |
Below is an context that describes a sql 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 (school_country VARCHAR, asts VARCHAR)
### Question:
What is the school/country of the player with 337 assists?
### Answer:
SELECT school_country FROM table_name_48 WHERE asts = 337 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12886178_5 (played VARCHAR, tries_for VARCHAR)
### Question:
How many clubs have tries for count of 50?
### Answer:
SELECT COUNT(played) FROM table_12886178_5 WHERE tries_for = "50" |
Below is an context that describes a sql 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 (years VARCHAR, authority VARCHAR, name VARCHAR)
### Question:
What years does Our Lady Sacred Heart School, which is state integrated, have?
### Answer:
SELECT years FROM table_name_47 WHERE authority = "state integrated" AND name = "our lady sacred heart school" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23292220_3 (episode VARCHAR, seans_team VARCHAR)
### Question:
In which episode is Sean's team made up of Krishnan Guru-Murthy and Vic Reeves?
### Answer:
SELECT episode FROM table_23292220_3 WHERE seans_team = "Krishnan Guru-Murthy and Vic Reeves" |
Below is an context that describes a sql 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 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
In what Year was Labyrinth nominated?
### Answer:
SELECT year__ceremony_ FROM table_name_46 WHERE film_title_used_in_nomination = "labyrinth" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11869952_1 (institutional_authority VARCHAR, rocket_launch VARCHAR)
### Question:
Which authority has a rocket launch called rehbar-ii?
### Answer:
SELECT institutional_authority FROM table_11869952_1 WHERE rocket_launch = "Rehbar-II" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17384764_1 (department VARCHAR, qualification VARCHAR)
### Question:
Which departments have M.Phil(Maths)?
### Answer:
SELECT department FROM table_17384764_1 WHERE qualification = "M.Phil(Maths)" |
Below is an context that describes a sql 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 (wickets INTEGER, average VARCHAR, matches VARCHAR, player VARCHAR)
### Question:
what is the highest wickets when the matches is less than 5, player is jim laker and average is more than 52.44?
### Answer:
SELECT MAX(wickets) FROM table_name_89 WHERE matches < 5 AND player = "jim laker" AND average > 52.44 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28286776_50 (club_s_ VARCHAR, international_debut VARCHAR)
### Question:
When 2010 v australia is the interantional debut what is the club?
### Answer:
SELECT club_s_ FROM table_28286776_50 WHERE international_debut = "2010 v Australia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (league_a VARCHAR, fa_cup VARCHAR)
### Question:
What shows for the League when the FA Cup is 6 (20)?
### Answer:
SELECT league_a FROM table_name_47 WHERE fa_cup = "6 (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_22 (role VARCHAR, pick__number VARCHAR)
### Question:
What role did Pick # 10 have?
### Answer:
SELECT role FROM table_name_22 WHERE pick__number = 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_15299235_1 (date VARCHAR, circuit VARCHAR)
### Question:
What is the date for the Indianapolis circuit?
### Answer:
SELECT date FROM table_15299235_1 WHERE circuit = "Indianapolis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR)
### Question:
Find the first names of professors who are teaching more than one class.
### Answer:
SELECT T2.emp_fname FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num GROUP BY T1.prof_num HAVING COUNT(*) > 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_255602_1 (type VARCHAR, area__km²_ VARCHAR)
### Question:
What are all the political types where area is 155.77?
### Answer:
SELECT type FROM table_255602_1 WHERE area__km²_ = "155.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_name_14 (video VARCHAR, aspect VARCHAR)
### Question:
Which Video has an Aspect of 16:9?
### Answer:
SELECT video FROM table_name_14 WHERE aspect = "16: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_87 (mountain_pass VARCHAR, rank VARCHAR)
### Question:
What is the Mountain Pass with a 21 Rank?
### Answer:
SELECT mountain_pass FROM table_name_87 WHERE rank = 21 |
Below is an context that describes a sql 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 (name VARCHAR, team VARCHAR, wsu_year_s_ VARCHAR)
### Question:
What is Name, when Team is New York Knicks, and when WSU Year(s) is 1965-68?
### Answer:
SELECT name FROM table_name_8 WHERE team = "new york knicks" AND wsu_year_s_ = "1965-68" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (rank VARCHAR, start VARCHAR, laps VARCHAR)
### Question:
What's the rank when the start is 10 and the laps are fewer than 192?
### Answer:
SELECT rank FROM table_name_90 WHERE start = "10" AND laps < 192 |
Below is an context that describes a sql 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 (qual VARCHAR, rank VARCHAR)
### Question:
What was the qual when the rank was 2?
### Answer:
SELECT qual FROM table_name_63 WHERE rank = "2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (interview VARCHAR, state VARCHAR, evening_gown VARCHAR)
### Question:
What is the total interviews of Iowa, and with an evening gown smaller than 9.625?
### Answer:
SELECT COUNT(interview) FROM table_name_23 WHERE state = "iowa" AND evening_gown < 9.625 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29842201_1 (subject VARCHAR, highest_mark VARCHAR)
### Question:
What is the subject when the highest mark is 79?
### Answer:
SELECT subject FROM table_29842201_1 WHERE highest_mark = 79 |
Below is an context that describes a sql 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 (network VARCHAR, viewers VARCHAR)
### Question:
Which Network has 17.5 million Viewers?
### Answer:
SELECT network FROM table_name_99 WHERE viewers = "17.5 million" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (rank INTEGER, location VARCHAR)
### Question:
What was the highest rink for Kingston?
### Answer:
SELECT MAX(rank) FROM table_name_94 WHERE location = "kingston" |
Below is an context that describes a sql 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 (cuts_made INTEGER, events VARCHAR, top_5 VARCHAR, top_10 VARCHAR)
### Question:
What is the number of cuts made when the top-5 is 0, top-10 is 1 and events are fewer than 12?
### Answer:
SELECT AVG(cuts_made) FROM table_name_33 WHERE top_5 = 0 AND top_10 = 1 AND events < 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_11959669_3 (high_rebounds VARCHAR, date VARCHAR)
### Question:
Who had the highest rebounds on November 4
### Answer:
SELECT high_rebounds FROM table_11959669_3 WHERE date = "November 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_58 (sport VARCHAR, name VARCHAR, games VARCHAR)
### Question:
What sport did the National Team play in the 1968 mexico City Games?
### Answer:
SELECT sport FROM table_name_58 WHERE name = "national team" AND games = "1968 mexico 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_6 (team_1 VARCHAR, team_2 VARCHAR)
### Question:
what is team 1 when team 2 is gazélec ajaccio (d3)?
### Answer:
SELECT team_1 FROM table_name_6 WHERE team_2 = "gazélec ajaccio (d3)" |
Below is an context that describes a sql 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 (country VARCHAR, total VARCHAR, year_s__won VARCHAR)
### Question:
What is the Country of the Player with a Total less than 153 and Year(s) won of 1984?
### Answer:
SELECT country FROM table_name_18 WHERE total < 153 AND year_s__won = "1984" |
Below is an context that describes a sql 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 (category VARCHAR, director_s_ VARCHAR)
### Question:
what category is for tom shankland, director?
### Answer:
SELECT category FROM table_name_56 WHERE director_s_ = "tom shankland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (league_goals INTEGER, league_cup_goals INTEGER)
### Question:
How many League Goals have League Cup Goals smaller than 0?
### Answer:
SELECT SUM(league_goals) FROM table_name_43 WHERE league_cup_goals < 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_99 (czechoslovak_president VARCHAR, tenure_begin VARCHAR)
### Question:
Who was the President of Czechoslovakia when an ambassador's tenure began in 1950?
### Answer:
SELECT czechoslovak_president FROM table_name_99 WHERE tenure_begin = "1950" |
Below is an context that describes a sql 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, week VARCHAR, date VARCHAR)
### Question:
Which result happened more recently than week 2, and had a date of November 30, 1958?
### Answer:
SELECT result FROM table_name_98 WHERE week > 2 AND date = "november 30, 1958" |
Below is an context that describes a sql 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 (grid INTEGER, laps VARCHAR, team VARCHAR, points VARCHAR)
### Question:
What is the lowest grid of pkv racing, which had 13 points and less than 64 laps?
### Answer:
SELECT MIN(grid) FROM table_name_28 WHERE team = "pkv racing" AND points = 13 AND laps < 64 |
Below is an context that describes a sql 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 (opposing_teams VARCHAR, against INTEGER)
### Question:
What is Opposing Teams, when Against is less than 6?
### Answer:
SELECT opposing_teams FROM table_name_86 WHERE against < 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_278229_1 (commandery VARCHAR)
### Question:
When gaoliang 高涼 is the commandery what is the commandery capital?
### Answer:
SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Gaoliang 高涼" |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
Which Date has a Home team of rochdale?
### Answer:
SELECT date FROM table_name_60 WHERE home_team = "rochdale" |
Below is an context that describes a sql 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 (drawn INTEGER, played VARCHAR, diff VARCHAR, points VARCHAR)
### Question:
What is the maximum number of draws when the diff is smaller than 186, points are fewer than 12 and games played fewer than 6?
### Answer:
SELECT MAX(drawn) FROM table_name_86 WHERE diff < 186 AND points < 12 AND played < 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_76 (transfer_window VARCHAR, moving_to VARCHAR, name VARCHAR)
### Question:
What is the transfer window when moving to alianza atlético by the name of v. zapata?
### Answer:
SELECT transfer_window FROM table_name_76 WHERE moving_to = "alianza atlético" AND name = "v. zapata" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668378_18 (incumbent VARCHAR, first_elected VARCHAR)
### Question:
Who was the incumbent in the district that first elected someone in 1807?
### Answer:
SELECT incumbent FROM table_2668378_18 WHERE first_elected = "1807" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE list (lastname VARCHAR, classroom VARCHAR)
### Question:
Find the last names of students studying in room 111.
### Answer:
SELECT lastname FROM list WHERE classroom = 111 |
Below is an context that describes a sql 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, score VARCHAR)
### Question:
What is the sum for the game with a score of 103–126?
### Answer:
SELECT SUM(game) FROM table_name_91 WHERE score = "103–126" |
Below is an context that describes a sql 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 (country VARCHAR, player VARCHAR)
### Question:
what is the country when the player is bill nary?
### Answer:
SELECT country FROM table_name_7 WHERE player = "bill nary" |
Below is an context that describes a sql 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 (opponent VARCHAR, score VARCHAR)
### Question:
What team was the Opponent when the Score was 31-6?
### Answer:
SELECT opponent FROM table_name_83 WHERE score = "31-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_62 (result VARCHAR, opponent VARCHAR)
### Question:
What is the Result of the game against Philadelphia Eagles?
### Answer:
SELECT result FROM table_name_62 WHERE opponent = "philadelphia eagles" |
Below is an context that describes a sql 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 (pick INTEGER, new_team VARCHAR, round VARCHAR)
### Question:
What was the biggest pick number for the new team of Texas Rangers, in the compensation-a round?
### Answer:
SELECT MAX(pick) FROM table_name_55 WHERE new_team = "texas rangers" AND round = "compensation-a" |
Below is an context that describes a sql 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 (title VARCHAR, appointed_by VARCHAR)
### Question:
What is the title of the representative appointed by James K. Polk?
### Answer:
SELECT title FROM table_name_52 WHERE appointed_by = "james k. polk" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11916083_1 (year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR)
### Question:
What is the year that the issue price (bu) is $26.95?
### Answer:
SELECT year FROM table_11916083_1 WHERE issue_price__bu_[_clarification_needed_] = "$26.95" |
Below is an context that describes a sql 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 (match VARCHAR, competition VARCHAR, location VARCHAR)
### Question:
Which Match played in a Location of San Francisco has a Competition of Semifinal?
### Answer:
SELECT match FROM table_name_19 WHERE competition = "semifinal" AND location = "san francisco" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
Name the home team for carlton away team
### Answer:
SELECT home_team FROM table_name_77 WHERE away_team = "carlton" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
Which 2008 has a 2009 of A, and a Tournament of cincinnati masters?
### Answer:
SELECT 2008 FROM table_name_39 WHERE 2009 = "a" AND tournament = "cincinnati masters" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1745843_5 (class VARCHAR, part_2 VARCHAR)
### Question:
What is the class of the word who's second participle is laug?
### Answer:
SELECT class FROM table_1745843_5 WHERE part_2 = "laug" |
Below is an context that describes a sql 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 (catalog VARCHAR, format VARCHAR, date VARCHAR)
### Question:
What Catalog released on June 29, 1999 has a Digipak Album Format?
### Answer:
SELECT catalog FROM table_name_8 WHERE format = "digipak album" AND date = "june 29, 1999" |
Below is an context that describes a sql 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 (opponent VARCHAR, loss VARCHAR)
### Question:
Who was the opponent at the game that had a loss of Hendrickson (0-1)?
### Answer:
SELECT opponent FROM table_name_93 WHERE loss = "hendrickson (0-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_15417439_1 (common_name VARCHAR, genus_species VARCHAR)
### Question:
What's the animals name when the genus/species is rattus norvegicus?
### Answer:
SELECT common_name FROM table_15417439_1 WHERE genus_species = "Rattus norvegicus" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2818164_5 (no_in_season VARCHAR, original_air_date VARCHAR)
### Question:
What episoe number in the season originally aired on February 11, 1988?
### Answer:
SELECT no_in_season FROM table_2818164_5 WHERE original_air_date = "February 11, 1988" |
Below is an context that describes a sql 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 (surface VARCHAR, date VARCHAR)
### Question:
What type of surface did they play on 23 October 2000?
### Answer:
SELECT surface FROM table_name_67 WHERE date = "23 october 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_11465521_2 (opponent VARCHAR, attendance VARCHAR)
### Question:
How many opponents were there at the game with 64,087 people in attendance?
### Answer:
SELECT COUNT(opponent) FROM table_11465521_2 WHERE attendance = "64,087" |
Below is an context that describes a sql 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 (date VARCHAR, visiting_team VARCHAR)
### Question:
When did the New England Patriots play as the visiting team?
### Answer:
SELECT date FROM table_name_23 WHERE visiting_team = "new england patriots" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24223834_3 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR)
### Question:
How many million U.S. viewers watched the episode that Daniel H. Forer directed?
### Answer:
SELECT us_viewers__in_millions_ FROM table_24223834_3 WHERE directed_by = "Daniel H. Forer" |
Below is an context that describes a sql 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 (decision VARCHAR, series VARCHAR)
### Question:
Which Decision has a Series of 3 – 3?
### Answer:
SELECT decision FROM table_name_42 WHERE series = "3 – 3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29499399_2 (money_list_rank VARCHAR, best_finish VARCHAR)
### Question:
Which money list ranks had a best finish of 2?
### Answer:
SELECT COUNT(money_list_rank) FROM table_29499399_2 WHERE best_finish = "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_65 (attendance INTEGER, result VARCHAR)
### Question:
What is the combined attendance of all games that had a result of w 35-14?
### Answer:
SELECT SUM(attendance) FROM table_name_65 WHERE result = "w 35-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_57 (status VARCHAR, floors VARCHAR, year VARCHAR)
### Question:
What is the status of the building with more than 28 floor and a year of 2013?
### Answer:
SELECT status FROM table_name_57 WHERE floors > 28 AND year = 2013 |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the 2010 value of the 2013 Grand Slam Tournaments?
### Answer:
SELECT 2010 FROM table_name_1 WHERE 2013 = "grand slam 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_name_84 (her_age INTEGER, _number_of_children VARCHAR, his_age VARCHAR, name VARCHAR)
### Question:
What is the total number of her age figures where his age is less than 33, the bride was diontha walker, and the number of children was less than 0?
### Answer:
SELECT SUM(her_age) FROM table_name_84 WHERE his_age < 33 AND name = "diontha walker" AND _number_of_children < 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 Students (first_name VARCHAR, student_id VARCHAR); CREATE TABLE Student_Addresses (student_id VARCHAR)
### Question:
What are the id and first name of the student whose addresses have the highest average monthly rental?
### Answer:
SELECT T1.student_id, T2.first_name FROM Student_Addresses AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY AVG(monthly_rental) 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_94 (scorers VARCHAR, result_f_a VARCHAR)
### Question:
Who were F–A of 1–0 scorers?
### Answer:
SELECT scorers FROM table_name_94 WHERE result_f_a = "1–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_18703133_1 (wins INTEGER, team VARCHAR)
### Question:
Name the most wins for sport colombia
### Answer:
SELECT MAX(wins) FROM table_18703133_1 WHERE team = "Sport Colombia" |
Below is an context that describes a sql 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 (opponents VARCHAR, progress VARCHAR, score VARCHAR, team VARCHAR)
### Question:
Which Opponents have a Score of 1–2, and a Team of arsenal, and Progress of first round?
### Answer:
SELECT opponents FROM table_name_82 WHERE score = "1–2" AND team = "arsenal" AND progress = "first round" |
Subsets and Splits