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_44 (asian_or_amerindian___percentage_ INTEGER, state VARCHAR, brown___percentage_ VARCHAR)
### Question:
What is the sum of Asian or Amerindian (%), when State is Sergipe, and when Brown (%) is greater than 61,3?
### Answer:
SELECT SUM(asian_or_amerindian___percentage_) FROM table_name_44 WHERE state = "sergipe" AND brown___percentage_ > 61 OFFSET 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 manufacturer (manufacturer_id VARCHAR, num_of_shops VARCHAR); CREATE TABLE furniture_manufacte (manufacturer_id VARCHAR, Price_in_Dollar VARCHAR)
### Question:
Find the id and number of shops for the company that produces the most expensive furniture.
### Answer:
SELECT t1.manufacturer_id, t1.num_of_shops FROM manufacturer AS t1 JOIN furniture_manufacte AS t2 ON t1.manufacturer_id = t2.manufacturer_id ORDER BY t2.Price_in_Dollar 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_34 (name VARCHAR, born_died VARCHAR)
### Question:
What is the Name of the Prime Minister with a Born-Died of 1873–1933?
### Answer:
SELECT name FROM table_name_34 WHERE born_died = "1873–1933" |
Below is an context that describes a sql 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 VARCHAR, rider VARCHAR)
### Question:
What is the grid of rider shinya nakano?
### Answer:
SELECT grid FROM table_name_28 WHERE rider = "shinya nakano" |
Below is an context that describes a sql 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 (qual VARCHAR, grid VARCHAR, laps VARCHAR, rank VARCHAR)
### Question:
Tell me the total number of Qual Laps higher than 93 with a Rank of 32 with Grid less than 32
### Answer:
SELECT COUNT(qual) FROM table_name_16 WHERE laps > 93 AND rank = 32 AND grid < 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_3 (total_goals INTEGER, position VARCHAR, league_apps VARCHAR, total_apps VARCHAR)
### Question:
What is the fewest total goals scored for players with under 171 league appearances, 151 total appearances, and the DF position?
### Answer:
SELECT MIN(total_goals) FROM table_name_3 WHERE league_apps < 171 AND total_apps = 151 AND position = "df" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (opponent VARCHAR, week VARCHAR)
### Question:
Who was the opponent in week 6?
### Answer:
SELECT opponent FROM table_name_30 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_43 (venue VARCHAR, date VARCHAR)
### Question:
Where was the game played on 2004-06-23?
### Answer:
SELECT venue FROM table_name_43 WHERE date = "2004-06-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_89 (visitor VARCHAR, date VARCHAR, home VARCHAR, round VARCHAR)
### Question:
Who is the visitor team on Saturday, November 22 when linköpings hc was the home team and there were more than 20 rounds?
### Answer:
SELECT visitor FROM table_name_89 WHERE home = "linköpings hc" AND round > 20 AND date = "saturday, november 22" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677691_12 (school VARCHAR, hometown VARCHAR)
### Question:
What is the hometown of the players for placer, california
### Answer:
SELECT school FROM table_11677691_12 WHERE hometown = "Placer, California" |
Below is an context that describes a 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_3 (school_club_team_country VARCHAR, years_for_rockets VARCHAR)
### Question:
Which school, club team, or country played for the rockets in the years 2000-01?
### Answer:
SELECT school_club_team_country FROM table_11734041_3 WHERE years_for_rockets = "2000-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_name_65 (laps INTEGER, grid VARCHAR, team VARCHAR, driver VARCHAR)
### Question:
When the grid is under 5 and justin wilson is driving for the team mi-jack conquest racing, what's the highest number of laps driven?
### Answer:
SELECT MAX(laps) FROM table_name_65 WHERE team = "mi-jack conquest racing" AND driver = "justin wilson" AND grid < 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_12 (driver VARCHAR, grid VARCHAR)
### Question:
Which driver drove in grid 19?
### Answer:
SELECT driver FROM table_name_12 WHERE grid = 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_2985987_2 (weight__kg_ VARCHAR, race VARCHAR)
### Question:
What is the autumn classic weight?
### Answer:
SELECT weight__kg_ FROM table_2985987_2 WHERE race = "Autumn Classic" |
Below is an context that describes a sql 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 (team_1 VARCHAR)
### Question:
What is the 1st round result for ECAC Chaumont (D2) as team 1?
### Answer:
SELECT 1 AS st_round FROM table_name_91 WHERE team_1 = "ecac chaumont (d2)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1973729_1 (joined VARCHAR, nickname VARCHAR)
### Question:
How many years are listed under joined for the Nor'easters?
### Answer:
SELECT COUNT(joined) FROM table_1973729_1 WHERE nickname = "Nor'easters" |
Below is an context that describes a sql 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 (language VARCHAR, television_service VARCHAR)
### Question:
What is the Language for Canale Aste?
### Answer:
SELECT language FROM table_name_16 WHERE television_service = "canale aste" |
Below is an context that describes a sql 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 (react INTEGER, mark INTEGER)
### Question:
What is the average React, when Mark is less than 7.93?
### Answer:
SELECT AVG(react) FROM table_name_53 WHERE mark < 7.93 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Owners (last_name VARCHAR, owner_id VARCHAR); CREATE TABLE Dogs (owner_id VARCHAR, age INTEGER); CREATE TABLE Dogs (age INTEGER)
### Question:
List the last name of the owner owning the youngest dog.
### Answer:
SELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T2.age = (SELECT MAX(age) FROM Dogs) |
Below is an context that describes a sql 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 (game INTEGER, date VARCHAR)
### Question:
What is the lowest game on February 10?
### Answer:
SELECT MIN(game) FROM table_name_66 WHERE date = "february 10" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27715173_10 (score VARCHAR, high_rebounds VARCHAR)
### Question:
What was the team score when Tim Duncan (12) got the high rebounds?
### Answer:
SELECT score FROM table_27715173_10 WHERE high_rebounds = "Tim Duncan (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_29 (bronze INTEGER, nation VARCHAR, total VARCHAR)
### Question:
What is the average bronze medals of Uganda's swimmers when they earned over 2 medals?
### Answer:
SELECT AVG(bronze) FROM table_name_29 WHERE nation = "uganda" AND total > 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_21501564_1 (theme VARCHAR, original_artist VARCHAR)
### Question:
How many weeks featured duffy as the original artist?
### Answer:
SELECT COUNT(theme) FROM table_21501564_1 WHERE original_artist = "Duffy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18123274_1 (year__ceremony_ VARCHAR, result VARCHAR, director VARCHAR)
### Question:
Name the year for not nominated for alberto aruelo
### Answer:
SELECT year__ceremony_ FROM table_18123274_1 WHERE result = "Not Nominated" AND director = "Alberto Aruelo" |
Below is an context that describes a sql 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 (purpose VARCHAR, yield VARCHAR, location VARCHAR, elevation_ VARCHAR, _height VARCHAR)
### Question:
Which Purpose has an Elevation + Height of 0 + metres (ft), a Location of bikini, namu (charlie), and a Yield of 220 kt?
### Answer:
SELECT purpose FROM table_name_37 WHERE elevation_ + _height = "0 + metres (ft)" AND location = "bikini, namu (charlie)" AND yield = "220 kt" |
Below is an context that describes a sql 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 (rider VARCHAR, time VARCHAR, grid VARCHAR)
### Question:
Which Rider has a Time of retirement, and a Grid larger than 5?
### Answer:
SELECT rider FROM table_name_61 WHERE time = "retirement" AND grid > 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_14 (draws INTEGER, club VARCHAR, goal_difference VARCHAR)
### Question:
What was the low number of draws for Levante Ud when their goal difference was smaller than 6?
### Answer:
SELECT MIN(draws) FROM table_name_14 WHERE club = "levante ud" AND goal_difference < 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_12243817_1 (year VARCHAR, champion VARCHAR)
### Question:
What is the year that Dewi Claire Schreefel is the champion?
### Answer:
SELECT year FROM table_12243817_1 WHERE champion = "Dewi Claire Schreefel" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (episodes INTEGER, tv_station VARCHAR, japanese_title VARCHAR)
### Question:
Which Episodes have a TV Station of ntv, and a Japanese Title of あいのうた?
### Answer:
SELECT AVG(episodes) FROM table_name_17 WHERE tv_station = "ntv" AND japanese_title = "あいのうた" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21055055_2 (au_air_date VARCHAR, viewers__m_ VARCHAR)
### Question:
When did the episode seen by is 2.267 million people get aired?
### Answer:
SELECT au_air_date FROM table_21055055_2 WHERE viewers__m_ = "2.267" |
Below is an context that describes a sql 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 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR)
### Question:
Which Airing date has a Number of episodes larger than 20, and a Genre of modern drama?
### Answer:
SELECT airing_date FROM table_name_39 WHERE number_of_episodes > 20 AND genre = "modern 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 Documents (document_type_code VARCHAR)
### Question:
Show the document type code with fewer than 3 documents.
### Answer:
SELECT document_type_code FROM Documents GROUP BY document_type_code HAVING COUNT(*) < 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_79 (driver VARCHAR, grid VARCHAR)
### Question:
Which driver's grid is 6?
### Answer:
SELECT driver FROM table_name_79 WHERE grid = "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_81 (matches VARCHAR, name VARCHAR)
### Question:
What was the total amount of matches for Alan Shearer?
### Answer:
SELECT COUNT(matches) FROM table_name_81 WHERE name = "alan shearer" |
Below is an context that describes a sql 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 (name VARCHAR, talent VARCHAR)
### Question:
Whose talent was ballet en pointe?
### Answer:
SELECT name FROM table_name_56 WHERE talent = "ballet en pointe" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
What is the home team score for kardinia park?
### Answer:
SELECT home_team AS score FROM table_name_56 WHERE venue = "kardinia 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_1342292_2 (district VARCHAR, first_elected VARCHAR)
### Question:
what's the district with first elected being 1938
### Answer:
SELECT district FROM table_1342292_2 WHERE first_elected = 1938 |
Below is an context that describes a sql 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 (avg_g INTEGER, loss VARCHAR, gain VARCHAR, name VARCHAR)
### Question:
Which Avg/G has a Gain of 16, and a Name of barnes, freddie, and a Loss smaller than 2?
### Answer:
SELECT SUM(avg_g) FROM table_name_91 WHERE gain = 16 AND name = "barnes, freddie" AND loss < 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_37 (score VARCHAR, date VARCHAR)
### Question:
What was the score on October 16, 1983?
### Answer:
SELECT score FROM table_name_37 WHERE date = "october 16, 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_26375386_17 (couple VARCHAR, vote_percentage VARCHAR)
### Question:
What couple had a vote percentage of 5.2%?
### Answer:
SELECT couple FROM table_26375386_17 WHERE vote_percentage = "5.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_90 (team VARCHAR, game VARCHAR)
### Question:
What is Team, when Game is 77?
### Answer:
SELECT team FROM table_name_90 WHERE game = 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_2305948_1 (country VARCHAR)
### Question:
How many times has a wrestler from the country of England wrestled in this event?
### Answer:
SELECT COUNT(2) FROM table_2305948_1 WHERE country = "England" |
Below is an context that describes a sql 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 (constructor VARCHAR, circuit VARCHAR)
### Question:
What is the constructor where the circuit is Silverstone?
### Answer:
SELECT constructor FROM table_name_8 WHERE circuit = "silverstone" |
Below is an context that describes a sql 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 (rank INTEGER, points INTEGER)
### Question:
What is the rank of the player with less than 34 points?
### Answer:
SELECT SUM(rank) FROM table_name_95 WHERE points < 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 table_13758945_3 (losing_bonus VARCHAR, won VARCHAR, points_against VARCHAR)
### Question:
how many losing bonus with won being 10 and points against being 283
### Answer:
SELECT COUNT(losing_bonus) FROM table_13758945_3 WHERE won = "10" AND points_against = "283" |
Below is an context that describes a sql 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 (tonnage INTEGER, date VARCHAR, name_of_ship VARCHAR)
### Question:
What was the average tonnage for Beatus, raided on 18 October 1940?
### Answer:
SELECT AVG(tonnage) FROM table_name_87 WHERE date = "18 october 1940" AND name_of_ship = "beatus" |
Below is an context that describes a sql 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 (events INTEGER, top_5 VARCHAR, top_25 VARCHAR)
### Question:
what is the average number of events when the top-5 is less than 1 and top 25 more than 1
### Answer:
SELECT AVG(events) FROM table_name_89 WHERE top_5 < 1 AND top_25 > 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_77 (date VARCHAR, country VARCHAR, format VARCHAR, label VARCHAR)
### Question:
What date had a CD format, under Columbia/Legacy from the UK?
### Answer:
SELECT date FROM table_name_77 WHERE format = "cd" AND label = "columbia/legacy" AND country = "uk" |
Below is an context that describes a sql 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 (bronze INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR)
### Question:
What's the number of bronze when they are ranked 29, had a total more than 3 and less than 2 golds?
### Answer:
SELECT MIN(bronze) FROM table_name_71 WHERE gold < 2 AND rank = "29" AND total > 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_2668347_17 (candidates VARCHAR, district VARCHAR)
### Question:
Name the candidates for pennsylvania 14
### Answer:
SELECT candidates FROM table_2668347_17 WHERE district = "Pennsylvania 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_98 (club VARCHAR, shts VARCHAR)
### Question:
What is the club for the 132 SHTS?
### Answer:
SELECT club FROM table_name_98 WHERE shts = 132 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1206583_2 (commissioned VARCHAR, builder VARCHAR, name VARCHAR)
### Question:
What are the commissioned for scotts, greenock and chieftain?
### Answer:
SELECT commissioned FROM table_1206583_2 WHERE builder = "Scotts, Greenock" AND name = "Chieftain" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28211213_1 (affiliation VARCHAR, institution VARCHAR)
### Question:
How many affiliations does the University of Toledo have?
### Answer:
SELECT COUNT(affiliation) FROM table_28211213_1 WHERE institution = "University of Toledo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1820752_1 (constellation VARCHAR, spectral_type VARCHAR)
### Question:
If the spectral type is g1v, what is the constellation?
### Answer:
SELECT constellation FROM table_1820752_1 WHERE spectral_type = "G1V" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2102898_1 (viewers__in_millions_ VARCHAR, broadcast_date VARCHAR)
### Question:
On broadcast date is 28march1970, how many people tuned in?
### Answer:
SELECT viewers__in_millions_ FROM table_2102898_1 WHERE broadcast_date = "28March1970" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2715355_1 (total_prize_pool VARCHAR, location VARCHAR)
### Question:
What was the prize pool in New Orleans?
### Answer:
SELECT total_prize_pool FROM table_2715355_1 WHERE location = "New Orleans" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18220102_1 (number_of_screening VARCHAR, opening_film VARCHAR)
### Question:
How many number of screenings have an opening film of the journey of vaan nguyen?
### Answer:
SELECT COUNT(number_of_screening) FROM table_18220102_1 WHERE opening_film = "The Journey of Vaan Nguyen" |
Below is an context that describes a sql 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 (club_team VARCHAR, overall VARCHAR, player VARCHAR)
### Question:
What club was derrick byfuglien drafted by before 283?
### Answer:
SELECT club_team FROM table_name_96 WHERE overall < 283 AND player = "derrick byfuglien" |
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR, game VARCHAR, march VARCHAR)
### Question:
Which score's game was less than 69 when the march was bigger than 2 and the opponents were the New York Islanders?
### Answer:
SELECT score FROM table_name_80 WHERE game < 69 AND march > 2 AND opponent = "new york 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_92 (executions_in_persona VARCHAR, number_of_autos_da_fé_with_known_sentences VARCHAR)
### Question:
How many executions in persona have a number with known sentences of 2 (1543–1544)?
### Answer:
SELECT executions_in_persona FROM table_name_92 WHERE number_of_autos_da_fé_with_known_sentences = "2 (1543–1544)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27268238_5 (wickets INTEGER)
### Question:
What is the lowest wickets?
### Answer:
SELECT MIN(wickets) FROM table_27268238_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_17355628_10 (location_attendance VARCHAR, high_assists VARCHAR)
### Question:
Name the location attendance for chucky atkins , russell westbrook (4)
### Answer:
SELECT location_attendance FROM table_17355628_10 WHERE high_assists = "Chucky Atkins , Russell Westbrook (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_85 (circuit VARCHAR, feature_winner VARCHAR, country VARCHAR)
### Question:
Which circuit was in Great Britain with Ireland as the winner?
### Answer:
SELECT circuit FROM table_name_85 WHERE feature_winner = "ireland" AND country = "great britain" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1307572_1 (reverse VARCHAR, diameter VARCHAR)
### Question:
How many coins have a diameter of 23mm?
### Answer:
SELECT COUNT(reverse) FROM table_1307572_1 WHERE diameter = "23mm" |
Below is an context that describes a sql 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_attendance VARCHAR, team VARCHAR)
### Question:
Where was the game played when the opponent was Oklahoma City, and what was the attendance?
### Answer:
SELECT location_attendance FROM table_name_9 WHERE team = "oklahoma 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_23 (result VARCHAR, location VARCHAR, score VARCHAR)
### Question:
In guangzhou, who won the game with a score of 1-0?
### Answer:
SELECT result FROM table_name_23 WHERE location = "guangzhou" AND score = "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_name_83 (time VARCHAR, event VARCHAR)
### Question:
What was the time of the NJKF Titans Neo X event?
### Answer:
SELECT time FROM table_name_83 WHERE event = "njkf titans neo x" |
Below is an context that describes a sql 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 (medal VARCHAR, games VARCHAR, sport VARCHAR)
### Question:
What medal was won in the 1996 Atlanta games in wrestling?
### Answer:
SELECT medal FROM table_name_60 WHERE games = "1996 atlanta" AND sport = "wrestling" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22654139_2 (s_analyst VARCHAR)
### Question:
Name the analysts
### Answer:
SELECT s_analyst FROM table_22654139_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_34 (area INTEGER, name VARCHAR, municipal_code VARCHAR)
### Question:
What's the area of askøy, with a Municipal code less than 1247?
### Answer:
SELECT SUM(area) FROM table_name_34 WHERE name = "askøy" AND municipal_code < 1247 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25774493_3 (points_per_game VARCHAR, rebounds_per_game VARCHAR)
### Question:
What were the points per game in the selection where the rebounds per game were 15.0?
### Answer:
SELECT points_per_game FROM table_25774493_3 WHERE rebounds_per_game = "15.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 Attribute_Definitions (attribute_data_type VARCHAR)
### Question:
Find the list of attribute data types possessed by more than 3 attribute definitions.
### Answer:
SELECT attribute_data_type FROM Attribute_Definitions GROUP BY attribute_data_type HAVING COUNT(*) > 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_59 (home_team VARCHAR)
### Question:
What was the score when St Kilda played as the home team?
### Answer:
SELECT home_team AS score FROM table_name_59 WHERE home_team = "st kilda" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE EVENTS (service_id VARCHAR, event_details VARCHAR); CREATE TABLE services (service_type_code VARCHAR, service_id VARCHAR)
### Question:
Which services type had both successful and failure event details?
### Answer:
SELECT T1.service_type_code FROM services AS T1 JOIN EVENTS AS T2 ON T1.service_id = T2.service_id WHERE T2.event_details = 'Success' INTERSECT SELECT T1.service_type_code FROM services AS T1 JOIN EVENTS AS T2 ON T1.service_id = T2.service_id WHERE T2.event_details = 'Fail' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26591309_2 (first_broadcast_uk___bbc_four__ VARCHAR, official_tns_gallup_ratings VARCHAR)
### Question:
When was the first UK broadcast for the episode with an official TNS Gallup rating of 1575000?
### Answer:
SELECT first_broadcast_uk___bbc_four__ FROM table_26591309_2 WHERE official_tns_gallup_ratings = 1575000 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21436373_7 (attendance VARCHAR, date_year VARCHAR)
### Question:
When 2005 is the date/year how many measurements of attendance are there?
### Answer:
SELECT COUNT(attendance) FROM table_21436373_7 WHERE date_year = "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_19210674_1 (rank VARCHAR, hk_viewers VARCHAR)
### Question:
How was the episode seen by 2.26 million HK viewers ranked?
### Answer:
SELECT rank FROM table_19210674_1 WHERE hk_viewers = "2.26 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_55 (games INTEGER, rank INTEGER)
### Question:
What is the average number of games of the player with a rank less than 1?
### Answer:
SELECT AVG(games) FROM table_name_55 WHERE rank < 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_25 (to_par VARCHAR, score VARCHAR, player VARCHAR)
### Question:
What is To Par, when Score is "66", and when Player is "Brad Faxon"?
### Answer:
SELECT to_par FROM table_name_25 WHERE score = 66 AND player = "brad faxon" |
Below is an context that describes a sql 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 (region VARCHAR, _percentage_growth VARCHAR)
### Question:
Which Region that has a growth of −3.6%?
### Answer:
SELECT region FROM table_name_24 WHERE _percentage_growth = "−3.6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (mascot VARCHAR, size VARCHAR, county VARCHAR)
### Question:
What is the mascot for the team smaller than 154 from 49 Marion?
### Answer:
SELECT mascot FROM table_name_21 WHERE size < 154 AND county = "49 marion" |
Below is an context that describes a sql 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 (winner_season VARCHAR, year VARCHAR)
### Question:
Who won the season of 1998?
### Answer:
SELECT winner_season FROM table_name_52 WHERE year = 1998 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (saturday VARCHAR, thursday VARCHAR)
### Question:
Which Saturday has a Thursday of 木曜日 mokuyōbi
### Answer:
SELECT saturday FROM table_name_8 WHERE thursday = "木曜日 mokuyōbi" |
Below is an context that describes a sql 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 (event VARCHAR, method VARCHAR)
### Question:
What is the event name when the method is submission (brabo choke)?
### Answer:
SELECT event FROM table_name_20 WHERE method = "submission (brabo choke)" |
Below is an context that describes a sql 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 (comp INTEGER, rating VARCHAR, yds_game VARCHAR, name VARCHAR)
### Question:
Name the highest Comp which has a Yds/game larger than 0, bostick, and a Rating smaller than 91.77?
### Answer:
SELECT MAX(comp) FROM table_name_19 WHERE yds_game > 0 AND name = "bostick" AND rating < 91.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_84 (circuit VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
### Question:
What is the name of the circuit when Jack Brabham is in the pole position and Graham Hill has the fastest lap?
### Answer:
SELECT circuit FROM table_name_84 WHERE pole_position = "jack brabham" AND fastest_lap = "graham hill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17487395_1 (callsign VARCHAR, frequency VARCHAR)
### Question:
What is the call sign of the station with the frequency of 90.3mhz
### Answer:
SELECT callsign FROM table_17487395_1 WHERE frequency = "90.3MHz" |
Below is an context that describes a sql 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 (team VARCHAR, winner VARCHAR, series VARCHAR)
### Question:
What is the Team of Winner Mark Skaife in ATCC Round 7?
### Answer:
SELECT team FROM table_name_82 WHERE winner = "mark skaife" AND series = "atcc 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_1714685_1 (us_release_date VARCHAR, title VARCHAR)
### Question:
When galaxy angel aa was the title was the us release date?
### Answer:
SELECT us_release_date FROM table_1714685_1 WHERE title = "Galaxy Angel AA" |
Below is an context that describes a sql 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 (height VARCHAR, name VARCHAR)
### Question:
What is Trevard Lindley's height?
### Answer:
SELECT height FROM table_name_42 WHERE name = "trevard lindley" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (hometown__previous_school_ VARCHAR, name VARCHAR)
### Question:
What is the Hometown of Tim Williams?
### Answer:
SELECT hometown__previous_school_ FROM table_name_72 WHERE name = "tim williams" |
Below is an context that describes a sql 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 (year_s__won VARCHAR, total VARCHAR)
### Question:
Which Year(s) won has a Total of 289?
### Answer:
SELECT year_s__won FROM table_name_71 WHERE total = 289 |
Below is an context that describes a sql 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 (week INTEGER, attendance INTEGER)
### Question:
What is the average week number of all the matches where less than 22,604 people attended?
### Answer:
SELECT AVG(week) FROM table_name_75 WHERE attendance < 22 OFFSET 604 |
Below is an context that describes a sql 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 (matches INTEGER, goalkeeper VARCHAR, goals VARCHAR)
### Question:
What is the smallest Matches with a Goalkeeper of josé bermúdez, and Goals larger than 18?
### Answer:
SELECT MIN(matches) FROM table_name_26 WHERE goalkeeper = "josé bermúdez" AND goals > 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_28 (winning_score VARCHAR, tournament VARCHAR)
### Question:
In the Phoenix Open, what was the winning score?
### Answer:
SELECT winning_score FROM table_name_28 WHERE tournament = "phoenix open" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (total VARCHAR, bronze VARCHAR, silver VARCHAR)
### Question:
What is the total number of totals for nations with 1 silver and more than 1 bronze?
### Answer:
SELECT COUNT(total) FROM table_name_4 WHERE bronze > 1 AND silver = 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_56 (matches INTEGER, year VARCHAR, wins VARCHAR, losses VARCHAR)
### Question:
What is the number of matches when the wins are less than 8, and losses of 7, in 2011?
### Answer:
SELECT SUM(matches) FROM table_name_56 WHERE wins < 8 AND losses = 7 AND 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_12 (tournament VARCHAR)
### Question:
What is the listing for the US Open in 1977?
### Answer:
SELECT 1977 FROM table_name_12 WHERE tournament = "us open" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (intra_molecular_structure VARCHAR, comparative VARCHAR, name VARCHAR)
### Question:
Which Intra-molecular structure has a Comparative of no, and a Name of mitarget?
### Answer:
SELECT intra_molecular_structure FROM table_name_76 WHERE comparative = "no" AND name = "mitarget" |
Below is an context that describes a 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 (rank INTEGER, industry VARCHAR, headquarters VARCHAR)
### Question:
What is the highest rank of a company in the oil and gas industry headquartered in Netherlands?
### Answer:
SELECT MAX(rank) FROM table_1682026_7 WHERE industry = "Oil and gas" AND headquarters = "Netherlands" |
Subsets and Splits