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_28 (position VARCHAR, character VARCHAR)
### Question:
What was the position of Frank Tripp?
### Answer:
SELECT position FROM table_name_28 WHERE character = "frank tripp" |
Below is an context that describes a sql 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 (metacritic VARCHAR, gamerankings VARCHAR, year_released VARCHAR, platform VARCHAR)
### Question:
What is the Metacritic released after 2005, with a Platform of playstation 3 and a GameRankings of 84.44%?
### Answer:
SELECT metacritic FROM table_name_76 WHERE year_released > 2005 AND platform = "playstation 3" AND gamerankings = "84.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_40 (run_3 VARCHAR, run_1 VARCHAR)
### Question:
What was the run 3 for the team with a run 1 of 1:17.6?
### Answer:
SELECT run_3 FROM table_name_40 WHERE run_1 = "1:17.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_91 (Id VARCHAR)
### Question:
Which 2007 is the lowest one that has a 2004 of 78, and a 2006 smaller than 80?
### Answer:
SELECT MIN(2007) FROM table_name_91 WHERE 2004 = 78 AND 2006 < 80 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (score VARCHAR, location VARCHAR)
### Question:
The game taking place in Lille had what as a score?
### Answer:
SELECT score FROM table_name_96 WHERE location = "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_22644589_4 (event VARCHAR, compulsory_dance__cd_ VARCHAR)
### Question:
In what event was the compulsory dance score 28.12?
### Answer:
SELECT event FROM table_22644589_4 WHERE compulsory_dance__cd_ = "28.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_59 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
### Question:
What is the average Gold when silver is more than 2, and bronze is more than 1
### Answer:
SELECT AVG(gold) FROM table_name_59 WHERE silver > 2 AND bronze > 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_17 (opponent VARCHAR, result VARCHAR, venue VARCHAR)
### Question:
What is Opponent, when Result is Loss, and when Venue is Mosaic Stadium?
### Answer:
SELECT opponent FROM table_name_17 WHERE result = "loss" AND venue = "mosaic stadium" |
Below is an context that describes a sql 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 (party VARCHAR, member VARCHAR, first_elected VARCHAR, state VARCHAR)
### Question:
Which party has a first elected of 1966, qld as the state, and donald milner cameron as the member?
### Answer:
SELECT party FROM table_name_25 WHERE first_elected = "1966" AND state = "qld" AND member = "donald milner cameron" |
Below is an context that describes a sql 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 (construction_completed VARCHAR, cerclis_id VARCHAR)
### Question:
What construction has a CERCLIS ID of ard092916188?
### Answer:
SELECT construction_completed FROM table_name_1 WHERE cerclis_id = "ard092916188" |
Below is an context that describes a sql 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 (developer_s_ VARCHAR, year VARCHAR, genre VARCHAR)
### Question:
Who were the developers for the Action RPG made after 2010?
### Answer:
SELECT developer_s_ FROM table_name_71 WHERE year > 2010 AND genre = "action rpg" |
Below is an context that describes a sql 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 (started VARCHAR, ended VARCHAR)
### Question:
When did the loan that Ended on 15 January Start?
### Answer:
SELECT started FROM table_name_60 WHERE ended = "15 january" |
Below is an context that describes a sql 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 (representative VARCHAR, presentation_of_credentials VARCHAR)
### Question:
Who is the representative with a presentation of credentials date on February 23, 1854?
### Answer:
SELECT representative FROM table_name_32 WHERE presentation_of_credentials = "february 23, 1854" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_261642_3 (c__nf_km_ VARCHAR, l__mh_km_ VARCHAR)
### Question:
what is the c (nf/km) when the l (mh/km) is 0.6099?
### Answer:
SELECT c__nf_km_ FROM table_261642_3 WHERE l__mh_km_ = "0.6099" |
Below is an context that describes a sql 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 (shooter VARCHAR, score_points VARCHAR)
### Question:
Who's the shooter with score points of defending champion?
### Answer:
SELECT shooter FROM table_name_51 WHERE score_points = "defending champion" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22815265_1 (opponents INTEGER, opponent VARCHAR)
### Question:
How many opponents were there when the opponent was Arizona State?
### Answer:
SELECT MIN(opponents) FROM table_22815265_1 WHERE opponent = "Arizona 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_55 (name VARCHAR, points VARCHAR, nation VARCHAR, pts_game VARCHAR)
### Question:
what is the name when the nation is France, the pts/game is more than 3 and points is less than 33?
### Answer:
SELECT name FROM table_name_55 WHERE nation = "france" AND pts_game > 3 AND points < 33 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_78 (rank INTEGER, react VARCHAR, lane VARCHAR)
### Question:
What is the average ranking for a react of 0.17300000000000001 and less than 5 lanes?
### Answer:
SELECT AVG(rank) FROM table_name_78 WHERE react = 0.17300000000000001 AND lane < 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_26178824_1 (f_laps INTEGER)
### Question:
what are the maximum f/laps?
### Answer:
SELECT MAX(f_laps) FROM table_26178824_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 party_events (event_name VARCHAR)
### Question:
find the event names that have more than 2 records.
### Answer:
SELECT event_name FROM party_events GROUP BY event_name HAVING COUNT(*) > 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_18 (krypton VARCHAR, argon VARCHAR)
### Question:
What krypton has an argon of 20.85?
### Answer:
SELECT krypton FROM table_name_18 WHERE argon = "20.85" |
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
On which Date was there a record of 11-8?
### Answer:
SELECT date FROM table_name_37 WHERE record = "11-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_64 (title VARCHAR, released VARCHAR)
### Question:
What CD was released in 2009?
### Answer:
SELECT title FROM table_name_64 WHERE released = 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_98 (total_points VARCHAR, assists VARCHAR)
### Question:
What was the total number of points when there were 7 assists?
### Answer:
SELECT total_points FROM table_name_98 WHERE assists = "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_17325937_8 (high_assists VARCHAR, team VARCHAR)
### Question:
How many assists were made in the game against San Antonio?
### Answer:
SELECT COUNT(high_assists) FROM table_17325937_8 WHERE team = "San Antonio" |
Below is an context that describes a sql 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 (date VARCHAR, opponent VARCHAR)
### Question:
What was the date of the game against Oakland Raiders?
### Answer:
SELECT date FROM table_name_86 WHERE opponent = "oakland raiders" |
Below is an context that describes a sql 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 (count_palatine_of_the_rhine VARCHAR, interregnum_began VARCHAR)
### Question:
What is the name of the Count Palatine of the Rhine with a Interregnum began of 2 april 1657 death of ferdinand iii?
### Answer:
SELECT count_palatine_of_the_rhine FROM table_name_65 WHERE interregnum_began = "2 april 1657 death of ferdinand iii" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (winners_club VARCHAR, event VARCHAR)
### Question:
Which Winners club has an Event of hang tight?
### Answer:
SELECT winners_club FROM table_name_68 WHERE event = "hang tight" |
Below is an context that describes a sql 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 (school VARCHAR, ihsaa_class VARCHAR, enrollment_08_09 VARCHAR)
### Question:
Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244?
### Answer:
SELECT school FROM table_name_67 WHERE ihsaa_class = "a" AND enrollment_08_09 = 244 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27369069_1 (varsity_name VARCHAR, city VARCHAR)
### Question:
What is the team mascot for the soccer team in Charlottetown?
### Answer:
SELECT varsity_name FROM table_27369069_1 WHERE city = "Charlottetown" |
Below is an context that describes a sql 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 (theme VARCHAR, year VARCHAR, issue_price VARCHAR)
### Question:
What theme is associated with a year before 2006 and Issue Price of $25.22?
### Answer:
SELECT theme FROM table_name_14 WHERE year < 2006 AND issue_price = "$25.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_18138132_2 (function VARCHAR, release_date VARCHAR)
### Question:
What functions were released on 2011-06-23?
### Answer:
SELECT function FROM table_18138132_2 WHERE release_date = "2011-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_70 (motion_picture VARCHAR, award VARCHAR, actor VARCHAR, year VARCHAR, result VARCHAR)
### Question:
What Motion Picture after 2003 had Viola Davis nominated for Best Supporting Actress?
### Answer:
SELECT motion_picture FROM table_name_70 WHERE year > 2003 AND result = "nominated" AND actor = "viola davis" AND award = "best supporting actress" |
Below is an context that describes 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 (sex VARCHAR, salary INTEGER)
### Question:
Find the number of employees of each gender whose salary is lower than 50000.
### Answer:
SELECT COUNT(*), sex FROM employee WHERE salary < 50000 GROUP BY sex |
Below is an context that describes a sql 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 (driver VARCHAR, team VARCHAR, points VARCHAR)
### Question:
Who is the driver for team Collé Racing with more than 206 points?
### Answer:
SELECT driver FROM table_name_66 WHERE team = "collé racing" AND points > 206 |
Below is an context that describes a sql 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 (urban_population__2010_ INTEGER, province VARCHAR)
### Question:
What is the highest urban population for Guangxi province?
### Answer:
SELECT MAX(urban_population__2010_) FROM table_name_83 WHERE province = "guangxi" |
Below is an context that describes a sql 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 (attendance VARCHAR, record VARCHAR)
### Question:
Record of 16–29 is how many attendance?
### Answer:
SELECT attendance FROM table_name_32 WHERE record = "16–29" |
Below is an context that describes a sql 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 (week INTEGER, attendance VARCHAR)
### Question:
What was the first week to have attendance of 65,866?
### Answer:
SELECT MIN(week) FROM table_name_31 WHERE attendance = 65 OFFSET 866 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (player VARCHAR, team VARCHAR)
### Question:
Tell me the player for east perth
### Answer:
SELECT player FROM table_name_88 WHERE team = "east perth" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22860_1 (atlantic_europe VARCHAR, central_europe VARCHAR)
### Question:
What is every entry for Atlantic Europe when Central Europe is Wisconsin stage?
### Answer:
SELECT atlantic_europe FROM table_22860_1 WHERE central_europe = "Wisconsin Stage" |
Below is an context that describes a sql 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 (tie_no VARCHAR, away_team VARCHAR)
### Question:
What is Tie No., when Away Team is "Manchester United"?
### Answer:
SELECT tie_no FROM table_name_32 WHERE away_team = "manchester united" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2409041_5 (production_code INTEGER, original_air_date VARCHAR)
### Question:
What is the production code for the episode that originally aired on January 8, 1993?
### Answer:
SELECT MAX(production_code) FROM table_2409041_5 WHERE original_air_date = "January 8, 1993" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (final_position VARCHAR, season VARCHAR)
### Question:
What is the final position for the season 2012?
### Answer:
SELECT final_position FROM table_name_70 WHERE season = "2012" |
Below is an context that describes a sql 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 (medal VARCHAR, name VARCHAR)
### Question:
Which Medal has a Name of alex obeyesekera?
### Answer:
SELECT medal FROM table_name_14 WHERE name = "alex obeyesekera" |
Below is an context that describes a sql 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 (goals_against INTEGER, played INTEGER)
### Question:
Name the least goals against for played more than 38
### Answer:
SELECT MIN(goals_against) FROM table_name_4 WHERE played > 38 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29391888_1 (production_code VARCHAR, original_air_date VARCHAR)
### Question:
What is the production code for the episode whose original air date was May15,2000?
### Answer:
SELECT production_code FROM table_29391888_1 WHERE original_air_date = "May15,2000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (production_company VARCHAR, director_s_ VARCHAR)
### Question:
What was the production company for the film directed by Daniel Cormack?
### Answer:
SELECT production_company FROM table_name_54 WHERE director_s_ = "daniel cormack" |
Below is an context that describes a sql 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 (location VARCHAR, game INTEGER)
### Question:
What was the location of the game after game 6?
### Answer:
SELECT location FROM table_name_80 WHERE game > 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_29799700_2 (tv_network_s_ VARCHAR, country VARCHAR)
### Question:
Which TV network has a country of origin of Iran?
### Answer:
SELECT tv_network_s_ FROM table_29799700_2 WHERE country = "Iran" |
Below is an context that describes a sql 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 (social_democratic VARCHAR, democratic_and_social_centre VARCHAR)
### Question:
What Social Democratic has the Democratic and Social Centre of 4.4% 4 seats?
### Answer:
SELECT social_democratic FROM table_name_86 WHERE democratic_and_social_centre = "4.4% 4 seats" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR)
### Question:
What is the Home team on February 2, 1947?
### Answer:
SELECT home FROM table_name_68 WHERE date = "february 2, 1947" |
Below is an context that describes a sql 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 (opponents VARCHAR, date VARCHAR)
### Question:
Date of 4 august 2007 had what opponents?
### Answer:
SELECT opponents FROM table_name_17 WHERE date = "4 august 2007" |
Below is an context that describes a sql 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 (nation VARCHAR, bronze VARCHAR, silver VARCHAR)
### Question:
Bronze smaller than 5, and a Silver larger than 0 is which nation?
### Answer:
SELECT nation FROM table_name_66 WHERE bronze < 5 AND silver > 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_16741821_8 (surface VARCHAR, opponent VARCHAR)
### Question:
WHAT WAS THE SURFACE MADE OF WHEN THE OPPONENT WAS GEORGE KHRIKADZE?
### Answer:
SELECT surface FROM table_16741821_8 WHERE opponent = "George Khrikadze" |
Below is an context that describes a 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_16 (height_in_ft VARCHAR, years_for_rockets VARCHAR)
### Question:
What is the height in ft for the rockets from 1973-78?
### Answer:
SELECT height_in_ft FROM table_11734041_16 WHERE years_for_rockets = "1973-78" |
Below is an context that describes a sql 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 (result VARCHAR, attendance VARCHAR)
### Question:
What was the final score (result) for the game where 51,100 attended?
### Answer:
SELECT result FROM table_name_36 WHERE attendance = "51,100" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What's the 2005 result when 2001 is sf?
### Answer:
SELECT 2005 FROM table_name_64 WHERE 2001 = "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_35 (years VARCHAR, name VARCHAR)
### Question:
What year was the name mount roskill grammar school?
### Answer:
SELECT years FROM table_name_35 WHERE name = "mount roskill grammar 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_name_80 (sample_size VARCHAR, republican VARCHAR)
### Question:
What was the sample size for the poll featuring Republican Ron Paul?
### Answer:
SELECT sample_size FROM table_name_80 WHERE republican = "ron paul" |
Below is an context that describes a sql 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, set_1 VARCHAR)
### Question:
What day was there a set 1 of 25-18?
### Answer:
SELECT date FROM table_name_23 WHERE set_1 = "25-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_91 (circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
### Question:
On which circuit does lorenzo bandini have the fastest lap as well as the pole position?
### Answer:
SELECT circuit FROM table_name_91 WHERE fastest_lap = "lorenzo bandini" AND pole_position = "lorenzo bandini" |
Below is an context that describes a sql 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 (kilometer_no__layac_basis_ VARCHAR, barangay VARCHAR)
### Question:
What kilometer (Layac-basis) has a Barangay of general lim (capot)?
### Answer:
SELECT kilometer_no__layac_basis_ FROM table_name_29 WHERE barangay = "general lim (capot)" |
Below is an context that describes a sql 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 (competition VARCHAR, date VARCHAR)
### Question:
What competition was played on October 7, 2011?
### Answer:
SELECT competition FROM table_name_95 WHERE date = "october 7, 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_15624586_2 (deficit___surplus_ VARCHAR, _percentage_of_world_demand VARCHAR)
### Question:
What is the deficit (-surplus) of the country who use 5.2% of the world demand of uranium?
### Answer:
SELECT deficit___surplus_ FROM table_15624586_2 WHERE _percentage_of_world_demand = "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_98 (country VARCHAR, score VARCHAR, player VARCHAR)
### Question:
Which country is Brian Henninger from, who had a score larger than 69?
### Answer:
SELECT country FROM table_name_98 WHERE score > 69 AND player = "brian henninger" |
Below is an context that describes a sql 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 (class VARCHAR, vessel_name VARCHAR)
### Question:
In which class would the vessel Hyundai Tenacity be placed?
### Answer:
SELECT class FROM table_name_77 WHERE vessel_name = "hyundai tenacity" |
Below is an context that describes a sql 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 (issue_date INTEGER, highest_position VARCHAR)
### Question:
What is the largest issue date for an album that reached position of 3?
### Answer:
SELECT MAX(issue_date) FROM table_name_6 WHERE highest_position = 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_64 (website VARCHAR, frequency VARCHAR, city_of_license VARCHAR, webcast VARCHAR)
### Question:
Which website includes a webcast of listen live, a frequency under 1050, and is licensed in the city of Monterrey?
### Answer:
SELECT website FROM table_name_64 WHERE city_of_license = "monterrey" AND webcast = "listen live" AND frequency < 1050 |
Below is an context that describes a sql 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 (position VARCHAR, year VARCHAR, event VARCHAR, competition VARCHAR)
### Question:
Which Position has an Event of 10,000 m, and a Competition of world championships, and a Year larger than 1993?
### Answer:
SELECT position FROM table_name_8 WHERE event = "10,000 m" AND competition = "world championships" AND year > 1993 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (winner VARCHAR, season VARCHAR)
### Question:
Who had the women's win when Norway was the winner overall in season 2001/02?
### Answer:
SELECT winner AS Women FROM table_name_68 WHERE winner = "norway" AND season = "2001/02" |
Below is an context that describes a sql 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 (pick__number INTEGER, overall VARCHAR, position VARCHAR)
### Question:
What is the highest pick number of a defensive back with less than 136 overall points?
### Answer:
SELECT MAX(pick__number) FROM table_name_99 WHERE overall < 136 AND position = "defensive back" |
Below is an context that describes a sql 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 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
Who drive 74 laps in a grid larger than 9?
### Answer:
SELECT driver FROM table_name_25 WHERE laps = 74 AND grid > 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_26769_1 (area__km²___per_sqmi_ VARCHAR, population_density_per_km² VARCHAR)
### Question:
What was the area (km²) (per sqmi) of a country with a population density per km² of 8.4/km² (/sqmi)?
### Answer:
SELECT area__km²___per_sqmi_ FROM table_26769_1 WHERE population_density_per_km² = "8.4/km² (/sqmi)" |
Below is an context that describes a sql 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 (goberman VARCHAR, obrist VARCHAR, merkley VARCHAR)
### Question:
Which Goberman has an Obrist of 2%, and a Merkley of 34%?
### Answer:
SELECT goberman FROM table_name_9 WHERE obrist = "2%" AND merkley = "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_26866519_1 (original_airdate VARCHAR, season__number VARCHAR)
### Question:
What are the original air date(s) for season episode 20?
### Answer:
SELECT original_airdate FROM table_26866519_1 WHERE season__number = 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_9 (frequency_mhz INTEGER, program VARCHAR)
### Question:
What is the average MHz Frequency of radio rezonans?
### Answer:
SELECT AVG(frequency_mhz) FROM table_name_9 WHERE program = "radio rezonans" |
Below is an context that describes a sql 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 (democratic_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR)
### Question:
What is the democratic seat plurality with partisan order of New Hampshire?
### Answer:
SELECT democratic_seat_plurality FROM table_name_91 WHERE state_ranked_in_partisan_order = "new hampshire" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14603212_5 (class_aAA VARCHAR, school_year VARCHAR)
### Question:
What are all the AAA classes in the school years of 2004-05?
### Answer:
SELECT class_aAA FROM table_14603212_5 WHERE school_year = "2004-05" |
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR)
### Question:
When did the score of 2-0 take place?
### Answer:
SELECT date FROM table_name_29 WHERE score = "2-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_70 (area__msr_ INTEGER, rank VARCHAR, area__sqdeg_ VARCHAR, family VARCHAR)
### Question:
What is the largest Area (msr) that has an Area less than 291.045, is part of the Per family, and has a rank higher than 78?
### Answer:
SELECT MAX(area__msr_) FROM table_name_70 WHERE area__sqdeg_ < 291.045 AND family = "per" AND rank > 78 |
Below is an context that describes a sql 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 (crowd INTEGER, home_team VARCHAR)
### Question:
What is the average crowd for the home team of North Melbourne?
### Answer:
SELECT AVG(crowd) FROM table_name_97 WHERE home_team = "north 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_15315816_1 (dates VARCHAR, year VARCHAR)
### Question:
When are all dates in the year 2006?
### Answer:
SELECT COUNT(dates) FROM table_15315816_1 WHERE year = "2006" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27786562_1 (starts VARCHAR, driver VARCHAR)
### Question:
Name the starts for bobby labonte
### Answer:
SELECT starts FROM table_27786562_1 WHERE driver = "Bobby Labonte" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2528382_1 (lyricist VARCHAR, music_director VARCHAR)
### Question:
Who was the lyricist for the song with music directed by madan mohan kohli?
### Answer:
SELECT lyricist FROM table_2528382_1 WHERE music_director = "Madan Mohan Kohli" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Ref_template_types (template_type_code VARCHAR, template_type_description VARCHAR)
### Question:
Show all template type codes and descriptions.
### Answer:
SELECT template_type_code, template_type_description FROM Ref_template_types |
Below is an context that describes a sql 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 (mark VARCHAR, group VARCHAR, nationality VARCHAR)
### Question:
What is the mark for Grenada in group A?
### Answer:
SELECT mark FROM table_name_73 WHERE group = "a" AND nationality = "grenada" |
Below is an context that describes a sql 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 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
### Question:
Name the District which has a Reserved for ( SC / ST /None) of sc?
### Answer:
SELECT district FROM table_name_94 WHERE reserved_for___sc___st__none_ = "sc" |
Below is an context that describes a sql 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 (chassis VARCHAR, rank VARCHAR)
### Question:
What Chassis ranked 18th?
### Answer:
SELECT chassis FROM table_name_18 WHERE rank = "18th" |
Below is an context that describes a sql 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 (Group VARCHAR, song VARCHAR)
### Question:
What is Group Song, when Song is 换季?
### Answer:
SELECT Group AS song FROM table_name_80 WHERE song = "换季" |
Below is an context that describes a sql 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 (attendance VARCHAR, loss VARCHAR)
### Question:
What's the attendance of the game where there was a Loss of Yates (3-2)?
### Answer:
SELECT attendance FROM table_name_37 WHERE loss = "yates (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 TRANSACTIONS (date_of_transaction VARCHAR, share_count VARCHAR)
### Question:
Show all date and share count of transactions.
### Answer:
SELECT date_of_transaction, share_count FROM TRANSACTIONS |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
What is the home team for Windy Hill?
### Answer:
SELECT home_team FROM table_name_87 WHERE venue = "windy 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_name_27 (yards__red_tees_ INTEGER, hole VARCHAR, par__white_tees_ VARCHAR)
### Question:
What is the average number of yards on a red tee that has a hole of 1 and a par above 4?
### Answer:
SELECT AVG(yards__red_tees_) FROM table_name_27 WHERE hole = "1" AND par__white_tees_ > 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_43 (crowd INTEGER, venue VARCHAR)
### Question:
What was the average crowd size of games held at Glenferrie Oval?
### Answer:
SELECT AVG(crowd) FROM table_name_43 WHERE venue = "glenferrie oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14249278_1 (bits_14_12 INTEGER, description VARCHAR)
### Question:
Name the most bits 14-12 for output from accumulator to character bus
### Answer:
SELECT MIN(bits_14_12) FROM table_14249278_1 WHERE description = "Output from accumulator to character bus" |
Below is an context that describes a sql 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 (other VARCHAR, firefox VARCHAR)
### Question:
What is the other that has 20.80% as the firefox?
### Answer:
SELECT other FROM table_name_85 WHERE firefox = "20.80%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (gold VARCHAR, nation VARCHAR, total VARCHAR, rank VARCHAR)
### Question:
What is the gold when the total is less than 2, and rank is 3 and Canada is the nation?
### Answer:
SELECT gold FROM table_name_29 WHERE total < 2 AND rank = 3 AND nation = "canada" |
Below is an context that describes a sql 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 (rank VARCHAR, club VARCHAR, points VARCHAR)
### Question:
Which Rank has a Club of zulte waregem, and Points larger than 22?
### Answer:
SELECT COUNT(rank) FROM table_name_93 WHERE club = "zulte waregem" AND points > 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_name_10 (home_team VARCHAR, away_team VARCHAR)
### Question:
What did the team score at home in north melbourne?
### Answer:
SELECT home_team AS score FROM table_name_10 WHERE away_team = "north 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 Invoices (invoice_date VARCHAR, order_id VARCHAR); CREATE TABLE Orders (order_details VARCHAR, order_id VARCHAR)
### Question:
Show invoice dates and order id and details for all invoices.
### Answer:
SELECT T1.invoice_date, T1.order_id, T2.order_details FROM Invoices AS T1 JOIN Orders AS T2 ON T1.order_id = T2.order_id |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.