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_79 (title VARCHAR, composer_s_ VARCHAR, arranger_s_ VARCHAR)
### Question:
What is the Title, when the Composer(s) is Sakdatorn, and when the Arranger(s) is Jitrakorn Mongkoltham?
### Answer:
SELECT title FROM table_name_79 WHERE composer_s_ = "sakdatorn" AND arranger_s_ = "jitrakorn mongkoltham" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18217753_1 (original_air_date VARCHAR, season__number VARCHAR)
### Question:
What is the original air date of season 9?
### Answer:
SELECT original_air_date FROM table_18217753_1 WHERE season__number = 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_26561509_1 (patient_portrayer VARCHAR, production_code VARCHAR)
### Question:
Who is the patient portrayer of the episode with the production code 3T5004?
### Answer:
SELECT patient_portrayer FROM table_26561509_1 WHERE production_code = "3T5004" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15621965_10 (years_in_orlando VARCHAR, position VARCHAR)
### Question:
Name the years in orlando for forward
### Answer:
SELECT years_in_orlando FROM table_15621965_10 WHERE position = "Forward" |
Below is an context that describes a sql 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 (pick VARCHAR, year VARCHAR, player_name VARCHAR)
### Question:
Which Pick has a Year larger than 1983, and a Player name of brian jozwiak?
### Answer:
SELECT pick FROM table_name_56 WHERE year > 1983 AND player_name = "brian jozwiak" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_261951_1 (population__2010_ INTEGER)
### Question:
What was the smallist population in 2010?
### Answer:
SELECT MIN(population__2010_) FROM table_261951_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_30 (date VARCHAR, loss VARCHAR)
### Question:
What was the date of the game that had a loss of Johnson (9-8)?
### Answer:
SELECT date FROM table_name_30 WHERE loss = "johnson (9-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_9 (region INTEGER, name VARCHAR, population VARCHAR)
### Question:
Which region in Saint-Simon-Les-Mines has a population smaller than 458?
### Answer:
SELECT MAX(region) FROM table_name_9 WHERE name = "saint-simon-les-mines" AND population < 458 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (class VARCHAR, weight VARCHAR)
### Question:
Which Class has a Weight of 203?
### Answer:
SELECT class FROM table_name_57 WHERE weight = 203 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (draw INTEGER, place VARCHAR, votes VARCHAR)
### Question:
What is the draw number of the song with a place lower than 6 and more than 38 votes?
### Answer:
SELECT SUM(draw) FROM table_name_49 WHERE place > 6 AND votes > 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_1341568_48 (party VARCHAR, incumbent VARCHAR)
### Question:
How many parties is Tom Foley a member of?
### Answer:
SELECT COUNT(party) FROM table_1341568_48 WHERE incumbent = "Tom Foley" |
Below is an context that describes a sql 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 (wins INTEGER, poles VARCHAR, podiums VARCHAR)
### Question:
What is the average wins of a team with more than 0 ples and less than 3 podiums?
### Answer:
SELECT AVG(wins) FROM table_name_12 WHERE poles > 0 AND podiums < 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_4 (race VARCHAR, notes VARCHAR, venue VARCHAR)
### Question:
What was the race for the world championship formula 1 at a venue of hungaroring?
### Answer:
SELECT race FROM table_name_4 WHERE notes = "world championship formula 1" AND venue = "hungaroring" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24225238_1 (film VARCHAR, supporting_actor VARCHAR)
### Question:
Which film had Charles Bickford as supporting actor?
### Answer:
SELECT film FROM table_24225238_1 WHERE supporting_actor = "Charles Bickford" |
Below is an context that describes a sql 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 (tonnage__grt_ INTEGER, nationality VARCHAR, name VARCHAR)
### Question:
Which Tonnage (GRT) has a Nationality of united kingdom, and a Name of king gruffydd?
### Answer:
SELECT MIN(tonnage__grt_) FROM table_name_44 WHERE nationality = "united kingdom" AND name = "king gruffydd" |
Below is an context that describes a sql 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 (fourth VARCHAR, event VARCHAR)
### Question:
Who was Fourth in the 2008 Telstra Men's Pro Event?
### Answer:
SELECT fourth FROM table_name_93 WHERE event = "2008 telstra men's pro" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE review (u_id VARCHAR)
### Question:
How many different users wrote some reviews?
### Answer:
SELECT COUNT(DISTINCT u_id) FROM review |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1906920_1 (host VARCHAR)
### Question:
What is the total number of 3rd placed teams when the host is University of Manitoba, Winnipeg, Manitoba?
### Answer:
SELECT COUNT(3 AS rd_place) FROM table_1906920_1 WHERE host = "University of Manitoba, Winnipeg, Manitoba" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (mission VARCHAR, launch_date VARCHAR)
### Question:
Which Mission has a Launch Date of december 30, 1970; 14:50 gmt?
### Answer:
SELECT mission FROM table_name_47 WHERE launch_date = "december 30, 1970; 14:50 gmt" |
Below is an context that describes a sql 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 (silver VARCHAR, nation VARCHAR)
### Question:
How much Silver has a Nation of total, and a Total smaller than 54?
### Answer:
SELECT COUNT(silver) FROM table_name_58 WHERE nation = "total" AND "total" < 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_2 (january INTEGER, game VARCHAR)
### Question:
Which January has a Game of 50?
### Answer:
SELECT AVG(january) FROM table_name_2 WHERE game = 50 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (attendance INTEGER, week VARCHAR, opponent VARCHAR)
### Question:
what is the average attendance when the week is higher than 5 and the opponent is washington redskins?
### Answer:
SELECT AVG(attendance) FROM table_name_81 WHERE week > 5 AND opponent = "washington redskins" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (country VARCHAR, place VARCHAR, player VARCHAR)
### Question:
What country has the t7 place, and player Peter Oosterhuis?
### Answer:
SELECT country FROM table_name_48 WHERE place = "t7" AND player = "peter oosterhuis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14132239_3 (defensive VARCHAR, rookie VARCHAR, offensive VARCHAR)
### Question:
Who was the defensive award winner when the rookie award was given to Daryl Veltman and the offensive award was given to Mark Steenhuis?
### Answer:
SELECT defensive FROM table_14132239_3 WHERE rookie = "Daryl Veltman" AND offensive = "Mark Steenhuis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26454128_7 (country VARCHAR, athlete VARCHAR)
### Question:
Name the country that has ken doherty
### Answer:
SELECT country FROM table_26454128_7 WHERE athlete = "Ken Doherty" |
Below is an context that describes a sql 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 (game_site VARCHAR, opponent VARCHAR)
### Question:
Which game site has an Opponent of buffalo bills?
### Answer:
SELECT game_site FROM table_name_75 WHERE opponent = "buffalo bills" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28925058_1 (race_winner VARCHAR, date VARCHAR)
### Question:
Who won the race on June 26?
### Answer:
SELECT race_winner FROM table_28925058_1 WHERE date = "June 26" |
Below is an context that describes a sql 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 (grid VARCHAR, bike VARCHAR, rider VARCHAR)
### Question:
What is the Grid of Régis Laconi's bike that is a Kawasaki zx-10r?
### Answer:
SELECT grid FROM table_name_50 WHERE bike = "kawasaki zx-10r" AND rider = "régis laconi" |
Below is an context that describes a sql 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 (nationality VARCHAR, school_club_team VARCHAR)
### Question:
What Nationality is the Iowa State team?
### Answer:
SELECT nationality FROM table_name_69 WHERE school_club_team = "iowa 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_25561038_1 (season VARCHAR, position VARCHAR)
### Question:
List the year in which the driver was in 1st place.
### Answer:
SELECT season FROM table_25561038_1 WHERE position = "1st" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11665016_2 (title VARCHAR, directed_by VARCHAR)
### Question:
Which episode was directed by steven depaul
### Answer:
SELECT title FROM table_11665016_2 WHERE directed_by = "Steven DePaul" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (ties_played INTEGER, debut VARCHAR)
### Question:
Tell me the lowest ties played with a debut of 1936
### Answer:
SELECT MIN(ties_played) FROM table_name_15 WHERE debut = 1936 |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)
### Question:
Which Score has a Home of quebec nordiques, and a Visitor of vancouver blazers on february 28?
### Answer:
SELECT score FROM table_name_52 WHERE home = "quebec nordiques" AND visitor = "vancouver blazers" AND date = "february 28" |
Below is an context that describes a sql 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 (game INTEGER, score VARCHAR)
### Question:
Which Game has a Score of 101-109 (ot)?
### Answer:
SELECT AVG(game) FROM table_name_28 WHERE score = "101-109 (ot)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16729457_17 (points INTEGER, driver___passenger VARCHAR)
### Question:
Name the least points for daniël willemsen / kenny van gaalen
### Answer:
SELECT MIN(points) FROM table_16729457_17 WHERE driver___passenger = "Daniël Willemsen / Kenny van Gaalen" |
Below is an context that describes a sql 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 (position VARCHAR, venue VARCHAR)
### Question:
Which position has a venue of Helsinki, Finland?
### Answer:
SELECT position FROM table_name_40 WHERE venue = "helsinki, finland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (average INTEGER, rank_by_average VARCHAR, place VARCHAR, total_points VARCHAR)
### Question:
What is the highest average with less than 3 places, less than 433 total points, and a rank less than 2?
### Answer:
SELECT MAX(average) FROM table_name_62 WHERE place < 3 AND total_points < 433 AND rank_by_average < 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_41 (pba_team VARCHAR, pick VARCHAR, player VARCHAR)
### Question:
What is the PBA team for roberto jabar who was picked before number 11?
### Answer:
SELECT pba_team FROM table_name_41 WHERE pick < 11 AND player = "roberto jabar" |
Below is an context that describes a sql 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 (score VARCHAR, result VARCHAR)
### Question:
Which Score has a Result of 0 – 2?
### Answer:
SELECT score FROM table_name_81 WHERE result = "0 – 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_86 (birthplace VARCHAR, real_name VARCHAR)
### Question:
What Birthplace's Real Name is Charles 'Chuck' Connors?
### Answer:
SELECT birthplace FROM table_name_86 WHERE real_name = "charles 'chuck' connors" |
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR)
### Question:
When was there a game at Arden Street Oval?
### Answer:
SELECT date FROM table_name_21 WHERE venue = "arden street 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_name_37 (source VARCHAR, desus VARCHAR)
### Question:
What is the source for 7% DeSUS?
### Answer:
SELECT source FROM table_name_37 WHERE desus = "7%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (other INTEGER, name VARCHAR, total VARCHAR)
### Question:
What is the sum of Other, when the Name is Simon Gillett Category:Articles with hCards, and when the Total is less than 34?
### Answer:
SELECT SUM(other) FROM table_name_14 WHERE name = "simon gillett category:articles with hcards" AND total < 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_24427210_1 (payout___us$__ VARCHAR, tv VARCHAR, bowl_game VARCHAR)
### Question:
Name the payout for espn for music city bowl
### Answer:
SELECT payout___us$__ FROM table_24427210_1 WHERE tv = "ESPN" AND bowl_game = "Music City Bowl" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23180638_1 (peak_position VARCHAR, oricon_albums_chart VARCHAR)
### Question:
How many peak positions were there on the daily charts?
### Answer:
SELECT peak_position FROM table_23180638_1 WHERE oricon_albums_chart = "Daily Charts" |
Below is an context that describes a sql 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 (name VARCHAR, direction VARCHAR, terminus VARCHAR)
### Question:
Which bi-directional route has a terminus at Ecat/Rosa Park Transit Center?
### Answer:
SELECT name FROM table_name_50 WHERE direction = "bi-directional" AND terminus = "ecat/rosa park transit center" |
Below is an context that describes a sql 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 (attendance INTEGER, record VARCHAR)
### Question:
What was the attendance where the record was 8-4?
### Answer:
SELECT MIN(attendance) FROM table_name_3 WHERE record = "8-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_1 (title VARCHAR, production_code VARCHAR)
### Question:
what is the title of the episode with the production code of ad1a22?
### Answer:
SELECT title FROM table_name_1 WHERE production_code = "ad1a22" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27755784_8 (score VARCHAR, high_points VARCHAR)
### Question:
What is the score when the hight points is Monta Ellis (29)?
### Answer:
SELECT score FROM table_27755784_8 WHERE high_points = "Monta Ellis (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_20872722_1 (position VARCHAR, round VARCHAR)
### Question:
How many positions have round 3?
### Answer:
SELECT COUNT(position) FROM table_20872722_1 WHERE round = 3 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21021796_1 (stroke VARCHAR, applications VARCHAR)
### Question:
For the 1999 w210 e-class , 2000 w203 c-class, what is the stroke?
### Answer:
SELECT stroke FROM table_21021796_1 WHERE applications = "1999 W210 E-Class , 2000 W203 C-Class" |
Below is an context that describes a sql 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 (memory VARCHAR, chipset VARCHAR)
### Question:
Which model's chipset is intel 955?
### Answer:
SELECT memory FROM table_name_63 WHERE chipset = "intel 955" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342198_38 (party VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
### Question:
What is the party for first elected 1948 for william t. granahan
### Answer:
SELECT party FROM table_1342198_38 WHERE first_elected = 1948 AND incumbent = "William T. Granahan" |
Below is an context that describes a sql 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 (wins VARCHAR, cuts_made VARCHAR, top_10 VARCHAR, events VARCHAR)
### Question:
What is the number of wins that has a top-10 of 2, and more events than 8, more cuts than 6?
### Answer:
SELECT COUNT(wins) FROM table_name_52 WHERE top_10 = 2 AND events > 8 AND cuts_made > 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_36 (record VARCHAR, home VARCHAR)
### Question:
What is the Record when Buffalo is at Home?
### Answer:
SELECT record FROM table_name_36 WHERE home = "buffalo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25182437_1 (end_date_of__final__term VARCHAR, prime_minister VARCHAR)
### Question:
If the prime minister is Palmer, Geoffrey Geoffrey Palmer, what is the end date of (final) term?
### Answer:
SELECT end_date_of__final__term FROM table_25182437_1 WHERE prime_minister = "Palmer, Geoffrey Geoffrey Palmer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE TV_Channel (country VARCHAR, id VARCHAR); CREATE TABLE cartoon (Channel VARCHAR, written_by VARCHAR)
### Question:
which countries' tv channels are playing some cartoon written by Todd Casey?
### Answer:
SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (school_club_team VARCHAR, player VARCHAR)
### Question:
Who does jeremy evans play for?
### Answer:
SELECT school_club_team FROM table_name_15 WHERE player = "jeremy evans" |
Below is an context that describes a sql 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 (year INTEGER, kentucky VARCHAR)
### Question:
What is the total Year of jeff van note ( Kentucky)
### Answer:
SELECT SUM(year) FROM table_name_10 WHERE kentucky = "jeff van note" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29398373_2 (team VARCHAR, head_coach VARCHAR)
### Question:
Name the team for javier clemente
### Answer:
SELECT team FROM table_29398373_2 WHERE head_coach = "Javier Clemente" |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
What day did Footscray play as the home team?
### Answer:
SELECT date FROM table_name_20 WHERE home_team = "footscray" |
Below is an context that describes a sql 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 (population INTEGER, area_km_2 VARCHAR, status VARCHAR)
### Question:
What is the population of the town with an area larger than 3.09?
### Answer:
SELECT AVG(population) FROM table_name_59 WHERE area_km_2 > 3.09 AND status = "town" |
Below is an context that describes a sql 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 (stadium VARCHAR, final_score VARCHAR)
### Question:
At what stadium was the final score 31-28?
### Answer:
SELECT stadium FROM table_name_60 WHERE final_score = "31-28" |
Below is an context that describes a sql 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 (iata VARCHAR, country VARCHAR, icao VARCHAR)
### Question:
Which IATA is associated with China and an ICAO of ZSPD?
### Answer:
SELECT iata FROM table_name_59 WHERE country = "china" AND icao = "zspd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)
### Question:
Where did Geelong play as the away team?
### Answer:
SELECT venue FROM table_name_62 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_11944282_1 (integrated VARCHAR, component VARCHAR)
### Question:
What is the name of the integrated where the component are customers?
### Answer:
SELECT integrated FROM table_11944282_1 WHERE component = "Customers" |
Below is an context that describes a sql 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 (bronze VARCHAR, nation VARCHAR)
### Question:
How many bronzes did netherlands win?
### Answer:
SELECT bronze FROM table_name_9 WHERE nation = "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 (years VARCHAR, area VARCHAR, authority VARCHAR)
### Question:
What years is the private school in upper hutt?
### Answer:
SELECT years FROM table_name_90 WHERE area = "upper hutt" AND authority = "private" |
Below is an context that describes a sql 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 (entered_service VARCHAR, delivered_as VARCHAR)
### Question:
What is the Entered service date of the T413?
### Answer:
SELECT entered_service FROM table_name_32 WHERE delivered_as = "t413" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (champion VARCHAR, score VARCHAR)
### Question:
Who is the champion with a score of 7–6, 6–0?
### Answer:
SELECT champion FROM table_name_47 WHERE score = "7–6, 6–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_50 (points_for VARCHAR, club VARCHAR)
### Question:
How many pints does the Cambrian Welfare RFC have?
### Answer:
SELECT points_for FROM table_name_50 WHERE club = "cambrian welfare rfc" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14345690_5 (exited VARCHAR, celebrity VARCHAR)
### Question:
What is the exited day where the celebrity is vic reeves?
### Answer:
SELECT exited FROM table_14345690_5 WHERE celebrity = "Vic Reeves" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29857115_4 (singer VARCHAR)
### Question:
What was gabriella ferrone's result on the 5th evening?
### Answer:
SELECT 5 AS th_evening FROM table_29857115_4 WHERE singer = "Gabriella Ferrone" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2701625_1 (male_life_expectancy INTEGER, country VARCHAR)
### Question:
Name the most male life expectancy for pakistan
### Answer:
SELECT MAX(male_life_expectancy) FROM table_2701625_1 WHERE country = "Pakistan" |
Below is an context that describes a sql 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 (award VARCHAR, result VARCHAR, film VARCHAR)
### Question:
What is Award, when Result is "Nominated", and when Film is "Sankranthi"?
### Answer:
SELECT award FROM table_name_66 WHERE result = "nominated" AND film = "sankranthi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20174050_7 (release_date VARCHAR, title VARCHAR)
### Question:
If the title is The Way Through The Woods, what is the release date?
### Answer:
SELECT release_date FROM table_20174050_7 WHERE title = "The Way Through the Woods" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (percentage VARCHAR, draw VARCHAR)
### Question:
Which Percentage has a Draw of 6?
### Answer:
SELECT percentage FROM table_name_9 WHERE draw = 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 (decision VARCHAR, home VARCHAR)
### Question:
Who had the decision with boston at home?
### Answer:
SELECT decision FROM table_name_34 WHERE home = "boston" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2076522_2 (accreditation VARCHAR, founded VARCHAR)
### Question:
How many schools founded in 2006?
### Answer:
SELECT COUNT(accreditation) FROM table_2076522_2 WHERE founded = 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_name_52 (name VARCHAR, area VARCHAR, roll VARCHAR)
### Question:
Which school in Balclutha has a roll smaller than 55?
### Answer:
SELECT name FROM table_name_52 WHERE area = "balclutha" AND roll < 55 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16779068_5 (total VARCHAR, snatch VARCHAR, one_hand_clean_ VARCHAR, _jerk VARCHAR)
### Question:
Name the total with one hand clean and jerk is 87.5 and snatch is 87.5
### Answer:
SELECT total FROM table_16779068_5 WHERE one_hand_clean_ & _jerk = "87.5" AND snatch = "87.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 (date VARCHAR, attendance VARCHAR)
### Question:
What day had 37,500 attending?
### Answer:
SELECT date FROM table_name_56 WHERE attendance = "37,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_23214833_1 (team_captain VARCHAR, stadium VARCHAR)
### Question:
Who's the captain of the team whose stadium is Gradski Stadion?
### Answer:
SELECT team_captain FROM table_23214833_1 WHERE stadium = "Gradski Stadion" |
Below is an context that describes a sql 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 (label VARCHAR, region VARCHAR, catalog VARCHAR)
### Question:
Tell me the label for US region and catalog of 10008-2
### Answer:
SELECT label FROM table_name_2 WHERE region = "us" AND catalog = "10008-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 (score VARCHAR, competition VARCHAR, season VARCHAR)
### Question:
What was the score of the league cup in the 2007-08 season?
### Answer:
SELECT score FROM table_name_90 WHERE competition = "league cup" AND season = "2007-08" |
Below is an context that describes a sql 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 (season VARCHAR, date VARCHAR)
### Question:
Which season was on 30 October 1977?
### Answer:
SELECT season FROM table_name_50 WHERE date = "30 october 1977" |
Below is an context that describes a sql 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 (place VARCHAR, score VARCHAR)
### Question:
What was the place when the score was 68-75-68=211?
### Answer:
SELECT place FROM table_name_28 WHERE score = 68 - 75 - 68 = 211 |
Below is an context that describes a sql 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 (points INTEGER, points_difference VARCHAR, drawn VARCHAR)
### Question:
What is the Points that has 61 - 15 Point difference and a Drawn larger than 1?
### Answer:
SELECT AVG(points) FROM table_name_80 WHERE points_difference = "61 - 15" AND drawn > 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_31 (drivers VARCHAR, team VARCHAR)
### Question:
Who drove for Arciero Racing?
### Answer:
SELECT drivers FROM table_name_31 WHERE team = "arciero racing" |
Below is an context that describes a sql 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 (location VARCHAR, year VARCHAR)
### Question:
Name the location for 1998
### Answer:
SELECT location FROM table_name_26 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_1341423_23 (results VARCHAR, incumbent VARCHAR)
### Question:
What was the result when incumbent gil gutknecht ran?
### Answer:
SELECT results FROM table_1341423_23 WHERE incumbent = "Gil Gutknecht" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27491610_2 (no_in_season INTEGER, no_in_series VARCHAR)
### Question:
What number in season is number 141 in series?
### Answer:
SELECT MAX(no_in_season) FROM table_27491610_2 WHERE no_in_series = 141 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21781578_2 (season_no VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
What was the number of season number entries that had US Viewers of 12.30 million?
### Answer:
SELECT COUNT(season_no) FROM table_21781578_2 WHERE us_viewers__millions_ = "12.30" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
What was the home team score for the Richmond away team?
### Answer:
SELECT home_team AS score FROM table_name_50 WHERE away_team = "richmond" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (caps VARCHAR, player VARCHAR, club_province VARCHAR, position VARCHAR)
### Question:
How many Caps does the Club/province Munster, position of lock and Mick O'Driscoll have?
### Answer:
SELECT COUNT(caps) FROM table_name_16 WHERE club_province = "munster" AND position = "lock" AND player = "mick o'driscoll" |
Below is an context that describes a sql 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 (floors INTEGER, name VARCHAR, rank VARCHAR)
### Question:
What is the lowest number of floors for the number 2 ranked Joyus Housing?
### Answer:
SELECT MIN(floors) FROM table_name_59 WHERE name = "joyus housing" 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_15852257_1 (races INTEGER)
### Question:
What is the highest value for race?
### Answer:
SELECT MAX(races) FROM table_15852257_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_21904740_1 (year__ceremony_ VARCHAR, spanish_title VARCHAR)
### Question:
When was Viva Cuba submitted?
### Answer:
SELECT year__ceremony_ FROM table_21904740_1 WHERE spanish_title = "Viva Cuba" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13282157_1 (country VARCHAR, player VARCHAR)
### Question:
what is the country where the player is phil mickelson?
### Answer:
SELECT country FROM table_13282157_1 WHERE player = "Phil Mickelson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20193855_2 (publisher VARCHAR, book_title VARCHAR)
### Question:
Who is the publisher of the book titled daughters of an emerald dusk?
### Answer:
SELECT publisher FROM table_20193855_2 WHERE book_title = "Daughters of an Emerald Dusk" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.