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_90 (round VARCHAR, player VARCHAR)
### Question:
What was James Reed's draft round number?
### Answer:
SELECT COUNT(round) FROM table_name_90 WHERE player = "james reed"
|
Below is an context that describes a sql 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 (draw INTEGER, points VARCHAR)
### Question:
What is the highest draw number when 23 points are scored?
### Answer:
SELECT MAX(draw) FROM table_name_36 WHERE points = 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_58 (placing VARCHAR, beat_by VARCHAR, distance VARCHAR)
### Question:
What was the placing of the race in which Chic won by 8gf?
### Answer:
SELECT placing FROM table_name_58 WHERE beat_by = "won" AND distance = "8gf"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (yards INTEGER, average VARCHAR, carries VARCHAR, team VARCHAR)
### Question:
Which Yards have Carries smaller than 23, and a Team of at chi, and an Average smaller than 8.5?
### Answer:
SELECT MIN(yards) FROM table_name_5 WHERE carries < 23 AND team = "at chi" AND average < 8.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_19246_1 (connection_speed VARCHAR, launch_date__ddmmyyyy_ VARCHAR)
### Question:
What was the connection speed when launched on 07.06.2005?
### Answer:
SELECT connection_speed FROM table_19246_1 WHERE launch_date__ddmmyyyy_ = "07.06.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_name_33 (date VARCHAR, location VARCHAR)
### Question:
What is the date of the game at Arrowhead Stadium?
### Answer:
SELECT date FROM table_name_33 WHERE location = "arrowhead 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_11960196_3 (team VARCHAR, date VARCHAR)
### Question:
What is the team of april 25?
### Answer:
SELECT team FROM table_11960196_3 WHERE date = "April 25"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26166836_1 (country VARCHAR, road_race VARCHAR)
### Question:
In which country was the xiamen international marathon?
### Answer:
SELECT country FROM table_26166836_1 WHERE road_race = "Xiamen International Marathon"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342359_15 (first_elected VARCHAR, district VARCHAR)
### Question:
how many first elected with district is kansas 3
### Answer:
SELECT COUNT(first_elected) FROM table_1342359_15 WHERE district = "Kansas 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_27 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)
### Question:
What was the driver with chassis of t45 t44 and rounds of 7?
### Answer:
SELECT driver FROM table_name_27 WHERE chassis = "t45 t44" AND rounds = "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_18703133_6 (wins INTEGER)
### Question:
How many wins?
### Answer:
SELECT MAX(wins) FROM table_18703133_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_34 (catalogue VARCHAR, date VARCHAR)
### Question:
What is the catalogue on october 15, 2004?
### Answer:
SELECT catalogue FROM table_name_34 WHERE date = "october 15, 2004"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26335424_86 (semifinals VARCHAR, round_of_16 VARCHAR)
### Question:
If the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals?
### Answer:
SELECT semifinals FROM table_26335424_86 WHERE round_of_16 = "Yulius Fernando ( INA ) L PTS 5-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_28798161_3 (average VARCHAR, bbi VARCHAR)
### Question:
if the bbi is 4/39 what is the average
### Answer:
SELECT average FROM table_28798161_3 WHERE bbi = "4/39"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (school VARCHAR, position VARCHAR)
### Question:
Which school has a quarterback?
### Answer:
SELECT school FROM table_name_94 WHERE position = "quarterback"
|
Below is an context that describes a sql 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 (points INTEGER, difference VARCHAR, lost VARCHAR)
### Question:
What was the total number of Points when the value Difference was 13, and when the value Lost was greater than 3?
### Answer:
SELECT SUM(points) FROM table_name_75 WHERE difference = "13" AND lost > 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_30 (time VARCHAR, record VARCHAR)
### Question:
What is the Time of the match with a Record of 3-3?
### Answer:
SELECT time FROM table_name_30 WHERE record = "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 products (product_id VARCHAR, product_name VARCHAR, product_price VARCHAR)
### Question:
What are id and name of the products whose price is lower than 600 or higher than 900?
### Answer:
SELECT product_id, product_name FROM products WHERE product_price < 600 OR product_price > 900
|
Below is an context that describes a sql 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:
What is the home team score when the away team is Essendon?
### Answer:
SELECT home_team AS score FROM table_name_77 WHERE away_team = "essendon"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15530244_5 (race_1 VARCHAR, race_3 VARCHAR)
### Question:
Name the race 1 when race 3 is 8
### Answer:
SELECT race_1 FROM table_15530244_5 WHERE race_3 = "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_27734577_8 (record VARCHAR, date VARCHAR)
### Question:
How many records where in January 2?
### Answer:
SELECT COUNT(record) FROM table_27734577_8 WHERE date = "January 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_224840_4 (successor VARCHAR, district VARCHAR)
### Question:
Who was the latest to take office in Massachusetts 3rd district?
### Answer:
SELECT successor FROM table_224840_4 WHERE district = "Massachusetts 3rd"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE cinema (LOCATION VARCHAR, capacity INTEGER)
### Question:
Show all the locations with at least two cinemas with capacity above 300.
### Answer:
SELECT LOCATION FROM cinema WHERE capacity > 300 GROUP BY LOCATION 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_6 (film_title_used_in_nomination VARCHAR, country VARCHAR)
### Question:
What was the film nomination in the Netherlands?
### Answer:
SELECT film_title_used_in_nomination FROM table_name_6 WHERE country = "netherlands"
|
Below is an context that describes a sql 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 (episodes VARCHAR, romaji_title VARCHAR)
### Question:
How many Episodes have a Romaji Title of dragon zakura?
### Answer:
SELECT COUNT(episodes) FROM table_name_90 WHERE romaji_title = "dragon zakura"
|
Below is an context that describes a 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_6 (school VARCHAR, player VARCHAR)
### Question:
Where did Darius Hamilton go?
### Answer:
SELECT school FROM table_11677691_6 WHERE player = "Darius Hamilton"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26565936_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
What was the original air date for the episode with 13.92 million us viewers?
### Answer:
SELECT original_air_date FROM table_26565936_2 WHERE us_viewers__millions_ = "13.92"
|
Below is an context that describes a sql 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 (rank INTEGER, lane VARCHAR)
### Question:
What is the highest rank of a swimmer in lane 5?
### Answer:
SELECT MAX(rank) FROM table_name_20 WHERE 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_name_96 (total VARCHAR, fumble_rec VARCHAR, fumble_force VARCHAR)
### Question:
How many tackles for the player with over 0 fumble recovries and 0 forced fumbles?
### Answer:
SELECT COUNT(total) FROM table_name_96 WHERE fumble_rec > 0 AND fumble_force = 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_23265433_2 (defensive VARCHAR, week VARCHAR)
### Question:
Name the defensive for week 9
### Answer:
SELECT defensive FROM table_23265433_2 WHERE week = 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_26 (constructor VARCHAR, laps VARCHAR)
### Question:
What is the make of the car that drove 54 laps?
### Answer:
SELECT constructor FROM table_name_26 WHERE laps = 54
|
Below is an context that describes a sql 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 (episode INTEGER, performer_1 VARCHAR, performer_4 VARCHAR)
### Question:
What is the episode number where Jim Sweeney was performer 1 and Mike Mcshane was performer 4?
### Answer:
SELECT SUM(episode) FROM table_name_25 WHERE performer_1 = "jim sweeney" AND performer_4 = "mike mcshane"
|
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
Which team plays their home matches at the mcg Venue?
### Answer:
SELECT home_team FROM table_name_16 WHERE venue = "mcg"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15463188_17 (number VARCHAR, school_club_team VARCHAR)
### Question:
How many school/club teams have a player named Manuel Luis Quezon?
### Answer:
SELECT COUNT(number) FROM table_15463188_17 WHERE school_club_team = "Manuel Luis Quezon"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17382360_7 (team VARCHAR, date VARCHAR)
### Question:
what team play in february 18 in the supersonic season
### Answer:
SELECT team FROM table_17382360_7 WHERE date = "February 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_76 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who was the home team when Geelong was the away team?
### Answer:
SELECT home_team FROM table_name_76 WHERE away_team = "geelong"
|
Below is an context that describes a sql 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 (copyright_information VARCHAR, publisher VARCHAR)
### Question:
What was Random House's copyright information?
### Answer:
SELECT copyright_information FROM table_name_7 WHERE publisher = "random house"
|
Below is an context that describes a sql 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 (year VARCHAR, laps INTEGER)
### Question:
What year had less than 36 laps?
### Answer:
SELECT year FROM table_name_17 WHERE laps < 36
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_298550_1 (area__km²_ VARCHAR, population_density__per_km²_ VARCHAR)
### Question:
How many entries for area correspond to a population density of 207.9?
### Answer:
SELECT COUNT(area__km²_) FROM table_298550_1 WHERE population_density__per_km²_ = "207.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_99 (country VARCHAR, to_par VARCHAR, score VARCHAR)
### Question:
What is the Country of the Player with a To par of +1 and a Score of 72-71=143?
### Answer:
SELECT country FROM table_name_99 WHERE to_par = "+1" AND score = 72 - 71 = 143
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (attendance INTEGER, record VARCHAR)
### Question:
Name the most attendance whent he record is 45-57
### Answer:
SELECT MAX(attendance) FROM table_name_2 WHERE record = "45-57"
|
Below is an context that describes a sql 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 (lead VARCHAR, season VARCHAR)
### Question:
Which lead had a season of 2009-10?
### Answer:
SELECT lead FROM table_name_40 WHERE season = "2009-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 products (product_category_code VARCHAR)
### Question:
How many products are there under the category "Seeds"?
### Answer:
SELECT COUNT(*) FROM products WHERE product_category_code = "Seeds"
|
Below is an context that describes a sql 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 (location VARCHAR, enzyme VARCHAR)
### Question:
What is the location of the enzyme Uroporphyrinogen iii Synthase?
### Answer:
SELECT location FROM table_name_24 WHERE enzyme = "uroporphyrinogen iii synthase"
|
Below is an context that describes a sql 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 (zip_code_prefix_es_ VARCHAR, county_seat VARCHAR)
### Question:
what is the zip code of boonville
### Answer:
SELECT zip_code_prefix_es_ FROM table_name_39 WHERE county_seat = "boonville"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13762472_5 (game INTEGER)
### Question:
What is the lowest numbered game on the list?
### Answer:
SELECT MIN(game) FROM table_13762472_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_56 (draft INTEGER, player VARCHAR, pick VARCHAR, round VARCHAR, nationality VARCHAR)
### Question:
Which Draft has a Round of 1, a Nationality of canada, a Pick of 1, and a Player of vincent lecavalier?
### Answer:
SELECT AVG(draft) FROM table_name_56 WHERE round = "1" AND nationality = "canada" AND pick = "1" AND player = "vincent lecavalier"
|
Below is an context that describes a sql 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 (date VARCHAR, week VARCHAR, attendance VARCHAR)
### Question:
What date was the game that was before week 4 and was attended by over 54,015 people ?
### Answer:
SELECT date FROM table_name_33 WHERE week < 4 AND attendance > 54 OFFSET 015
|
Below is an context that describes a sql 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 (class VARCHAR, race VARCHAR)
### Question:
What is the class of the Charlotte Camel gt 500 race?
### Answer:
SELECT class FROM table_name_64 WHERE race = "charlotte camel gt 500"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23285849_7 (record VARCHAR, team VARCHAR)
### Question:
What was the record when the timberwolves were played?
### Answer:
SELECT record FROM table_23285849_7 WHERE team = "Timberwolves"
|
Below is an context that describes a sql 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 (machine VARCHAR, place VARCHAR)
### Question:
What machine has 5 as the place?
### Answer:
SELECT machine FROM table_name_95 WHERE place = 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 Fault_Log_Parts (fault_status VARCHAR)
### Question:
How many fault status codes are recorded in the fault log parts table?
### Answer:
SELECT DISTINCT fault_status FROM Fault_Log_Parts
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22050544_3 (date VARCHAR, event__number VARCHAR)
### Question:
Event number 38m was held on which date?
### Answer:
SELECT date FROM table_22050544_3 WHERE event__number = "38M"
|
Below is an context that describes a sql 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 (earnings__ INTEGER, rank VARCHAR, country VARCHAR, wins VARCHAR)
### Question:
When the united states has 22 wins and a rank greater than 2, what is the total earnings?
### Answer:
SELECT SUM(earnings__) AS $__ FROM table_name_82 WHERE country = "united states" AND wins = 22 AND 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_45 (record VARCHAR, score VARCHAR)
### Question:
What is the record when the score was 2–0?
### Answer:
SELECT record FROM table_name_45 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 Catalog_Contents (catalog_entry_name VARCHAR, capacity VARCHAR, price_in_dollars INTEGER)
### Question:
Find the name and capacity of products with price greater than 700 (in USD).
### Answer:
SELECT catalog_entry_name, capacity FROM Catalog_Contents WHERE price_in_dollars > 700
|
Below is an context that describes a sql 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 (band INTEGER, power__w_ INTEGER)
### Question:
What Band number has a Power (W) of 400 or less?
### Answer:
SELECT SUM(band) FROM table_name_46 WHERE power__w_ < 400
|
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
When was the game with a record of 54-69?
### Answer:
SELECT date FROM table_name_28 WHERE record = "54-69"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_contact_channels (active_to_date INTEGER, customer_id VARCHAR)
### Question:
What is the "active to date" of the latest contact channel used by "Tillman Ernser"?
### Answer:
SELECT MAX(t2.active_to_date) FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = "Tillman Ernser"
|
Below is an context that describes a sql 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 (cfl_team VARCHAR, player VARCHAR)
### Question:
Name the CFL Team which has a Player of chris evraire?
### Answer:
SELECT cfl_team FROM table_name_53 WHERE player = "chris evraire"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2869837_1 (last_final VARCHAR, last_title VARCHAR)
### Question:
What was the year of the last final for the club whose last title was 1990?
### Answer:
SELECT last_final FROM table_2869837_1 WHERE last_title = "1990"
|
Below is an context that describes a sql 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 (icao VARCHAR, callsign VARCHAR)
### Question:
What is the ICAO for Air Busan?
### Answer:
SELECT icao FROM table_name_63 WHERE callsign = "air busan"
|
Below is an context that describes a sql 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 (to_par VARCHAR, place VARCHAR, player VARCHAR)
### Question:
When Ernie Els placed t2, what was his To par?
### Answer:
SELECT to_par FROM table_name_3 WHERE place = "t2" AND player = "ernie els"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (new_entries_this_round VARCHAR, clubs VARCHAR)
### Question:
when there were 48 → 32 clubs?
### Answer:
SELECT new_entries_this_round FROM table_name_82 WHERE clubs = "48 → 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_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR)
### Question:
What time was achieved on Saturday 29th August by the rider who recorded 22' 54.20 98.842mph on Tuesday 25th August?
### Answer:
SELECT sat_29_aug FROM table_23465864_4 WHERE tues_25_aug = "22' 54.20 98.842mph"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27713030_16 (location_attendance VARCHAR, high_assists VARCHAR)
### Question:
What was the location and attendance when lebron james (10) had the high assists?
### Answer:
SELECT location_attendance FROM table_27713030_16 WHERE high_assists = "LeBron James (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_50 (pick__number VARCHAR, position VARCHAR, college_junior_club_team VARCHAR)
### Question:
What is the pick number for position of D from the University of Maine (NCAA)?
### Answer:
SELECT pick__number FROM table_name_50 WHERE position = "d" AND college_junior_club_team = "university of maine (ncaa)"
|
Below is an context that describes a sql 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 (gold INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR)
### Question:
How many gold medals for a nation with rank less than 5, more than 0 silvers and a total of 2 medals?
### Answer:
SELECT AVG(gold) FROM table_name_27 WHERE rank < 5 AND silver > 0 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_name_56 (tournament VARCHAR, date VARCHAR)
### Question:
What is the Tournament with a Date that is apr 16, 1967?
### Answer:
SELECT tournament FROM table_name_56 WHERE date = "apr 16, 1967"
|
Below is an context that describes a sql 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 (number_of_dances INTEGER, place VARCHAR, average VARCHAR)
### Question:
What is the lowest number of dances with a less than 2 place and an average smaller than 27.5?
### Answer:
SELECT MIN(number_of_dances) FROM table_name_83 WHERE place < 2 AND average < 27.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 furniture_manufacte (Furniture_ID VARCHAR, manufacturer_id VARCHAR); CREATE TABLE manufacturer (name VARCHAR, manufacturer_id VARCHAR); CREATE TABLE furniture (Furniture_ID VARCHAR, num_of_component INTEGER)
### Question:
Find the name of the company that produces both furnitures with less than 6 components and furnitures with more than 10 components.
### Answer:
SELECT t3.name FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID JOIN manufacturer AS t3 ON t2.manufacturer_id = t3.manufacturer_id WHERE t1.num_of_component < 6 INTERSECT SELECT t3.name FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID JOIN manufacturer AS t3 ON t2.manufacturer_id = t3.manufacturer_id WHERE t1.num_of_component > 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_34 (winners VARCHAR, runners_up VARCHAR)
### Question:
Who won when np cooper av cooke was runner up?
### Answer:
SELECT winners FROM table_name_34 WHERE runners_up = "np cooper av cooke"
|
Below is an context that describes a sql 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 (location VARCHAR, school VARCHAR)
### Question:
WHere is the friends' school?
### Answer:
SELECT location FROM table_name_65 WHERE school = "the friends' 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_30058355_3 (thurs_25_aug VARCHAR, rank VARCHAR)
### Question:
What is every value on Thursday August 25 for rank 3?
### Answer:
SELECT thurs_25_aug FROM table_30058355_3 WHERE rank = 3
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE orchestra (Conductor_ID VARCHAR); CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR)
### Question:
Show the names of conductors that have conducted more than one orchestras.
### Answer:
SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID 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_24898185_4 (equipment VARCHAR, points VARCHAR)
### Question:
When 556 is the amount of points how much equipment is there?
### Answer:
SELECT COUNT(equipment) FROM table_24898185_4 WHERE points = 556
|
Below is an context that describes a sql 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 (road_team VARCHAR, result VARCHAR)
### Question:
For the game ending in a final result of 99-90, who was the Road Team?
### Answer:
SELECT road_team FROM table_name_68 WHERE result = "99-90"
|
Below is an context that describes a sql 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 (city VARCHAR, year_opened VARCHAR, state VARCHAR)
### Question:
What is the city in Alabama that opened in 1996?
### Answer:
SELECT city FROM table_name_89 WHERE year_opened = "1996" AND state = "alabama"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE WINE (Appelation VARCHAR, Score INTEGER); CREATE TABLE APPELLATIONS (County VARCHAR, Appelation VARCHAR)
### Question:
Find the county where produces the most number of wines with score higher than 90.
### Answer:
SELECT T1.County FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T2.Score > 90 GROUP BY T1.County ORDER BY COUNT(*) DESC LIMIT 1
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (d_42 VARCHAR, d_44 VARCHAR)
### Question:
Name the D 42 which has a D 44 of d 44
### Answer:
SELECT d_42 FROM table_name_29 WHERE d_44 = "d 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_37 (name VARCHAR, games VARCHAR, medal VARCHAR)
### Question:
Which Name had a Games of 2008 beijing, and a Medal of gold?
### Answer:
SELECT name FROM table_name_37 WHERE games = "2008 beijing" AND medal = "gold"
|
Below is an context that describes a sql 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 (format VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR)
### Question:
Which Format has a Label of eagle records, and a Catalogue number(s) of edgcd391?
### Answer:
SELECT format FROM table_name_23 WHERE label = "eagle records" AND catalogue_number_s_ = "edgcd391"
|
Below is an context that describes a sql 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 (young_rider_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR)
### Question:
What is the young rider classification for jesper worre and stage 3
### Answer:
SELECT young_rider_classification FROM table_name_66 WHERE mountains_classification = "jesper worre" AND stage = "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_43 (host_city VARCHAR, hosts VARCHAR)
### Question:
What is the host city that has Alicia Keys listed as a host?
### Answer:
SELECT host_city FROM table_name_43 WHERE hosts = "alicia keys"
|
Below is an context that describes a sql 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 (competition VARCHAR, date VARCHAR)
### Question:
what is the competition on 10 august 2011?
### Answer:
SELECT competition FROM table_name_75 WHERE date = "10 august 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_76 (performer_4 VARCHAR, performer_1 VARCHAR, date VARCHAR)
### Question:
Performer 1 of greg proops, and a Date of 25 august 1995 is what performer 4?
### Answer:
SELECT performer_4 FROM table_name_76 WHERE performer_1 = "greg proops" AND date = "25 august 1995"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (score VARCHAR, record VARCHAR)
### Question:
What is the score of the game that holds a record of 80-61?
### Answer:
SELECT score FROM table_name_69 WHERE record = "80-61"
|
Below is an context that describes a sql 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 (round VARCHAR, overall VARCHAR, mlb_team VARCHAR)
### Question:
What round was less than 545 overall for San Francisco Giants?
### Answer:
SELECT round FROM table_name_92 WHERE overall < 545 AND mlb_team = "san francisco giants"
|
Below is an context that describes a sql 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 (club VARCHAR, score VARCHAR)
### Question:
What club had a score of 18.1?
### Answer:
SELECT club FROM table_name_87 WHERE score = "18.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_27069503_2 (overall VARCHAR, season VARCHAR)
### Question:
What was the overall record for the Pandas in the 2003-04 season?
### Answer:
SELECT overall FROM table_27069503_2 WHERE season = "2003-04"
|
Below is an context that describes a sql 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 (surface VARCHAR, tournament VARCHAR)
### Question:
Which surface was played during Curitiba tournament?
### Answer:
SELECT surface FROM table_name_46 WHERE tournament = "curitiba"
|
Below is an context that describes a sql 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 (lineup VARCHAR, assist_pass VARCHAR)
### Question:
What's the lineup when the assist/pass was Unassisted?
### Answer:
SELECT lineup FROM table_name_42 WHERE assist_pass = "unassisted"
|
Below is an context that describes a sql 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 (time_retired VARCHAR, driver VARCHAR)
### Question:
What is the Time/Retired value for Ludovico Scarfiotti?
### Answer:
SELECT time_retired FROM table_name_80 WHERE driver = "ludovico scarfiotti"
|
Below is an context that describes a sql 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 (visiting_team VARCHAR, stadium VARCHAR)
### Question:
Who was the visiting team who played at the hubert h. humphrey metrodome stadium?
### Answer:
SELECT visiting_team FROM table_name_67 WHERE stadium = "hubert h. humphrey metrodome"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE mill (name VARCHAR, LOCATION VARCHAR)
### Question:
What are the names of the mills which are not located in 'Donceel'?
### Answer:
SELECT name FROM mill WHERE LOCATION <> 'Donceel'
|
Below is an context that describes a sql 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 (date VARCHAR, attendance VARCHAR)
### Question:
Where attendance is 79,431 what is date?
### Answer:
SELECT date FROM table_name_61 WHERE attendance = "79,431"
|
Below is an context that describes a sql 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 (poles VARCHAR, position VARCHAR)
### Question:
Which Poles have a position of 4th?
### Answer:
SELECT poles FROM table_name_63 WHERE position = "4th"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (icao VARCHAR, country VARCHAR, iata VARCHAR)
### Question:
What is the ICAO in India with IATA TRZ?
### Answer:
SELECT icao FROM table_name_90 WHERE country = "india" AND iata = "trz"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12280396_1 (county VARCHAR, peak VARCHAR)
### Question:
Name the county with the peak being indre russetind?
### Answer:
SELECT county FROM table_12280396_1 WHERE peak = "Indre Russetind"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10874596_1 (year_ VARCHAR, e_ VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
In what years was a film submitted with the title The Enigma of Kaspar Hauser?
### Answer:
SELECT year_[e_] AS __ceremony_ FROM table_10874596_1 WHERE film_title_used_in_nomination = "The Enigma of Kaspar Hauser"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.