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_1341549_33 (first_elected VARCHAR, district VARCHAR)
### Question:
how many first elected with district being new york2
### Answer:
SELECT COUNT(first_elected) FROM table_1341549_33 WHERE district = "New York2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26847237_2 (games VARCHAR, height VARCHAR)
### Question:
How many games were played where the height of the player is 1.92m?
### Answer:
SELECT COUNT(games) FROM table_26847237_2 WHERE height = "1.92m" |
Below is an context that describes a sql 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 (venue VARCHAR, batting_partners VARCHAR)
### Question:
What venue did mahela jayawardene and thilan samaraweera play at?
### Answer:
SELECT venue FROM table_name_42 WHERE batting_partners = "mahela jayawardene and thilan samaraweera" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_84 (heat INTEGER, nationality VARCHAR, rank VARCHAR)
### Question:
What is Germany's lowest heat ranked after 24?
### Answer:
SELECT MIN(heat) FROM table_name_84 WHERE nationality = "germany" AND rank > 24 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26301697_2 (age INTEGER, represents VARCHAR)
### Question:
Name the least age for distrito nacional
### Answer:
SELECT MIN(age) FROM table_26301697_2 WHERE represents = "Distrito Nacional" |
Below is an context that describes a sql 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 (other_performer_s_ VARCHAR, director_s_ VARCHAR, album VARCHAR)
### Question:
On the album titled “Loud” who was the other performer on the song directed by Melina Matsoukas?
### Answer:
SELECT other_performer_s_ FROM table_name_4 WHERE director_s_ = "melina matsoukas" AND album = "loud" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (country VARCHAR, place VARCHAR, player VARCHAR)
### Question:
WHAT COUNTRY HAS A T7 PLACE, WITH IAN WOOSNAM?
### Answer:
SELECT country FROM table_name_13 WHERE place = "t7" AND player = "ian woosnam" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19948664_1 (countries_sampled INTEGER, ranking_la__2_ VARCHAR, author___editor___source VARCHAR, year_of_publication VARCHAR)
### Question:
How many countries were sampled in the index created by The Economist, published in 2007 and ranked 2nd in the LA Ranking?
### Answer:
SELECT MAX(countries_sampled) FROM table_19948664_1 WHERE author___editor___source = "The Economist" AND year_of_publication = "2007" AND ranking_la__2_ = "2nd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27588823_2 (branding VARCHAR, location VARCHAR)
### Question:
What is the branding for the station located in san jose del monte?
### Answer:
SELECT branding FROM table_27588823_2 WHERE location = "San Jose Del Monte" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25840200_1 (titles VARCHAR, notes VARCHAR)
### Question:
What was the title for the Undercard of Stevenson/Bellew?
### Answer:
SELECT titles FROM table_25840200_1 WHERE notes = "Undercard of Stevenson/Bellew" |
Below is an context that describes a sql 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 (purpose VARCHAR, band VARCHAR, callsign VARCHAR)
### Question:
Band of am, and a Callsign of 6wh has what purpose?
### Answer:
SELECT purpose FROM table_name_71 WHERE band = "am" AND callsign = "6wh" |
Below is an context that describes a sql 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 (high_rebounds VARCHAR, date VARCHAR)
### Question:
What is High Rebounds, when Date is "March 13"?
### Answer:
SELECT high_rebounds FROM table_name_93 WHERE date = "march 13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17751942_4 (final_win__percentage VARCHAR, team VARCHAR)
### Question:
What is the final win percentage of the Sault Ste. Marie Greyhounds?
### Answer:
SELECT final_win__percentage FROM table_17751942_4 WHERE team = "Sault Ste. Marie Greyhounds" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26986076_5 (tues_24_aug VARCHAR, fri_27_aug VARCHAR)
### Question:
When 20' 58.50 107.929mph is Friday August 27th What is Tuesday 24th August?
### Answer:
SELECT tues_24_aug FROM table_26986076_5 WHERE fri_27_aug = "20' 58.50 107.929mph" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1610301_1 (population__2011_ INTEGER, district VARCHAR)
### Question:
What was the minimum population in 2011 of the district of Prakasam?
### Answer:
SELECT MIN(population__2011_) FROM table_1610301_1 WHERE district = "Prakasam" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27721131_8 (team VARCHAR, game VARCHAR)
### Question:
How many teams listed for game 45?
### Answer:
SELECT COUNT(team) FROM table_27721131_8 WHERE game = 45 |
Below is an context that describes a sql 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 VARCHAR, title VARCHAR)
### Question:
Who was the developer for Vigilance?
### Answer:
SELECT developer FROM table_name_71 WHERE title = "vigilance" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22839669_1 (outcome VARCHAR, score_in_the_final VARCHAR)
### Question:
What was the outcome of the match with score 4–6, 3–6, 2–6?
### Answer:
SELECT outcome FROM table_22839669_1 WHERE score_in_the_final = "4–6, 3–6, 2–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 airport (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)
### Question:
Show the names of aircrafts that are associated with both an airport named "London Heathrow" and an airport named "London Gatwick"
### Answer:
SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = "London Heathrow" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = "London Gatwick" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (title VARCHAR, i_id VARCHAR)
### Question:
Find the names of the items that did not receive any review.
### Answer:
SELECT title FROM item WHERE NOT i_id IN (SELECT i_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_24364690_1 (federal_subjects VARCHAR)
### Question:
What is the minimum 2007 USD in Kabardino-Balkaria?
### Answer:
SELECT MIN(2007 AS __usd_) FROM table_24364690_1 WHERE federal_subjects = "Kabardino-Balkaria" |
Below is an context that describes a sql 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 (date VARCHAR, winning_drivers VARCHAR)
### Question:
What date was the race won by Louis Chiron?
### Answer:
SELECT date FROM table_name_81 WHERE winning_drivers = "louis chiron" |
Below is an context that describes a sql 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 (score VARCHAR, away VARCHAR)
### Question:
What is the score of the match with deportes savio as the away team?
### Answer:
SELECT score FROM table_name_57 WHERE away = "deportes savio" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23274514_5 (high_points VARCHAR, score VARCHAR)
### Question:
Name the high points for l 109–112 (ot)
### Answer:
SELECT high_points FROM table_23274514_5 WHERE score = "L 109–112 (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_1140119_5 (winning_driver VARCHAR, circuit VARCHAR)
### Question:
Who won the race at the Jersey circuit?
### Answer:
SELECT winning_driver FROM table_1140119_5 WHERE circuit = "Jersey" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14098_1 (country_or_territory_with_flag VARCHAR, capital VARCHAR)
### Question:
What country'c capital is santiago?
### Answer:
SELECT country_or_territory_with_flag FROM table_14098_1 WHERE capital = "Santiago" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2527063_3 (rank VARCHAR, district VARCHAR)
### Question:
Name the total number of rank for east midnapore
### Answer:
SELECT COUNT(rank) FROM table_2527063_3 WHERE district = "East Midnapore" |
Below is an context that describes a sql 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 (position VARCHAR, player VARCHAR)
### Question:
What position does Zack Torquato play?
### Answer:
SELECT position FROM table_name_6 WHERE player = "zack torquato" |
Below is an context that describes a sql 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 (date VARCHAR, site VARCHAR, attendance VARCHAR)
### Question:
What date was the game at Dowdy-Ficklen stadium • Greenville, NC, with 27,321 in attendance?
### Answer:
SELECT date FROM table_name_96 WHERE site = "dowdy-ficklen stadium • greenville, nc" AND attendance = "27,321" |
Below is an context that describes a sql 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 (attendance VARCHAR, opponent VARCHAR, week VARCHAR)
### Question:
What was the total attendance at a game against the Pittsburgh Steelers before week 4?
### Answer:
SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "pittsburgh steelers" AND week < 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_26458137_2 (score VARCHAR, opponents_in_the_final VARCHAR)
### Question:
How many times is the opponents in the final is beti sekulovski cindy watson?
### Answer:
SELECT COUNT(score) FROM table_26458137_2 WHERE opponents_in_the_final = "Beti Sekulovski Cindy Watson" |
Below is an context that describes a sql 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 (season VARCHAR, venue VARCHAR, rank VARCHAR)
### Question:
What is the Season that has a Venue of bellerive oval , hobart, and a Rank of 4?
### Answer:
SELECT season FROM table_name_97 WHERE venue = "bellerive oval , hobart" AND rank = "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_26129220_2 (party VARCHAR, senator VARCHAR)
### Question:
What is the party affiliation for Senator David Goodman?
### Answer:
SELECT party FROM table_26129220_2 WHERE senator = "David Goodman" |
Below is an context that describes a sql 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 (venue VARCHAR, home_team VARCHAR)
### Question:
Which Venue has a Home team of essendon?
### Answer:
SELECT venue FROM table_name_47 WHERE home_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_26614365_1 (central VARCHAR, english VARCHAR)
### Question:
What is the central word for "robbers"?
### Answer:
SELECT central FROM table_26614365_1 WHERE english = "robbers" |
Below is an context that describes a sql 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 (venue VARCHAR, date VARCHAR)
### Question:
What was the venue on 14 november 1998?
### Answer:
SELECT venue FROM table_name_82 WHERE date = "14 november 1998" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (year VARCHAR, position VARCHAR)
### Question:
How many years have a Position of 17th (q)?
### Answer:
SELECT COUNT(year) FROM table_name_41 WHERE position = "17th (q)" |
Below is an context that describes a sql 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 (blagojevich__d_ VARCHAR, source VARCHAR, date VARCHAR)
### Question:
Which Blagojevich (D) has a Source of zogby/wsj, and a Date of october 16, 2006?
### Answer:
SELECT blagojevich__d_ FROM table_name_70 WHERE source = "zogby/wsj" AND date = "october 16, 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_24 (south VARCHAR, west VARCHAR, east VARCHAR)
### Question:
What is the south with ev lindau as the west and svg burgkirchen as the east?
### Answer:
SELECT south FROM table_name_24 WHERE west = "ev lindau" AND east = "svg burgkirchen" |
Below is an context that describes a sql 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 (college VARCHAR, player VARCHAR)
### Question:
What college did danny manning go to?
### Answer:
SELECT college FROM table_name_95 WHERE player = "danny manning" |
Below is an context that describes a sql 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 (fastest_lap VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
### Question:
When the winning team of mathiasen motorsports has a pole position of jonathan bomarito, who has the fastest lap?
### Answer:
SELECT fastest_lap FROM table_name_97 WHERE winning_team = "mathiasen motorsports" AND pole_position = "jonathan bomarito" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21091157_1 (date VARCHAR, record VARCHAR)
### Question:
Name the number of date for 1-0 record
### Answer:
SELECT COUNT(date) FROM table_21091157_1 WHERE record = "1-0" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (attendance INTEGER, round VARCHAR, home VARCHAR)
### Question:
Which Attendance has a Round of 52, and a Home of södertälje sk?
### Answer:
SELECT MIN(attendance) FROM table_name_67 WHERE round = 52 AND home = "södertälje sk" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2279413_1 (conversion_from_patent_application VARCHAR, country VARCHAR)
### Question:
In Tonga, what is the conversion from patent application?
### Answer:
SELECT conversion_from_patent_application FROM table_2279413_1 WHERE country = "Tonga" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15475116_1 (league VARCHAR, nickname VARCHAR)
### Question:
What league does the team with the nickname Cavaliers belong to
### Answer:
SELECT league FROM table_15475116_1 WHERE nickname = "Cavaliers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14058433_5 (won VARCHAR, points_for VARCHAR)
### Question:
what's the won with points for being 643
### Answer:
SELECT won FROM table_14058433_5 WHERE points_for = "643" |
Below is an context that describes a sql 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 (advertisement_date VARCHAR, block VARCHAR, ensemble_name VARCHAR)
### Question:
What is Ensemble Name Muxco Gloucestershire's Advertisement Date in Block 10C?
### Answer:
SELECT advertisement_date FROM table_name_17 WHERE block = "10c" AND ensemble_name = "muxco gloucestershire" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_189598_7 (population_density__per_km²_ VARCHAR, name VARCHAR)
### Question:
When buffalo narrows is the name how many measurements of population density per kilometer squared are there?
### Answer:
SELECT COUNT(population_density__per_km²_) FROM table_189598_7 WHERE name = "Buffalo Narrows" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14637853_3 (written_by VARCHAR, original_air_date VARCHAR)
### Question:
who wrote with original air date being september23,1995
### Answer:
SELECT written_by FROM table_14637853_3 WHERE original_air_date = "September23,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_13 (rank VARCHAR, alliance VARCHAR, country VARCHAR)
### Question:
How many airlines have the star alliance and are in brazil?
### Answer:
SELECT COUNT(rank) FROM table_name_13 WHERE alliance = "star alliance" AND country = "brazil" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27712_2 (country VARCHAR)
### Question:
How many data were given on 2010/2011 in Brazil?
### Answer:
SELECT COUNT(2010 AS _11) FROM table_27712_2 WHERE country = "Brazil" |
Below is an context that describes a sql 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 VARCHAR, chassis VARCHAR)
### Question:
What is the rank of the cadillac northstar lmp02 chassis?
### Answer:
SELECT rank FROM table_name_78 WHERE chassis = "cadillac northstar lmp02" |
Below is an context that describes a sql 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 (gold VARCHAR, year VARCHAR, location VARCHAR)
### Question:
Who got the gold in seoul before 2002?
### Answer:
SELECT gold FROM table_name_53 WHERE year < 2002 AND location = "seoul" |
Below is an context that describes a sql 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 (round INTEGER, position VARCHAR, pick__number VARCHAR, overall VARCHAR)
### Question:
What is the highest round with a pick# of 11, a position of offensive tackle, and overall less than 414?
### Answer:
SELECT MAX(round) FROM table_name_24 WHERE pick__number = 11 AND overall < 414 AND position = "offensive tackle" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1984697_85 (school VARCHAR, size VARCHAR)
### Question:
Name the school/s with is size of 604.
### Answer:
SELECT school FROM table_1984697_85 WHERE size = 604 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (year VARCHAR, artist VARCHAR)
### Question:
what year did david whitfield win
### Answer:
SELECT year FROM table_name_14 WHERE artist = "david whitfield" |
Below is an context that describes a sql 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 (event VARCHAR, games VARCHAR)
### Question:
What were the events in the 1976 Innsbruck Games?
### Answer:
SELECT event FROM table_name_60 WHERE games = "1976 innsbruck" |
Below is an context that describes a sql 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 (player VARCHAR, total VARCHAR, to_par VARCHAR)
### Question:
Total smaller than 285, and a To par larger than 1 belongs to what player?
### Answer:
SELECT player FROM table_name_29 WHERE total < 285 AND to_par > 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_63 (name VARCHAR, comparative VARCHAR, intra_molecular_structure VARCHAR, link VARCHAR)
### Question:
Which Name has an Intra-molecular structure of no, and a Link of webserver, and a Comparative of no?
### Answer:
SELECT name FROM table_name_63 WHERE intra_molecular_structure = "no" AND link = "webserver" AND comparative = "no" |
Below is an context that describes a sql 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 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
### Question:
When playing against Yi Jingqian in the final on a hard surface what was the score?
### Answer:
SELECT score FROM table_name_29 WHERE surface = "hard" AND opponent_in_the_final = "yi jingqian" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (location VARCHAR, event VARCHAR)
### Question:
What is the Location, when Event is "100m Butterfly"?
### Answer:
SELECT location FROM table_name_72 WHERE event = "100m butterfly" |
Below is an context that describes a sql 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 (score VARCHAR, away_team VARCHAR)
### Question:
What score has charlton athletic as the away team?
### Answer:
SELECT score FROM table_name_83 WHERE away_team = "charlton athletic" |
Below is an context that describes a sql 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 (country_or_territory VARCHAR)
### Question:
Which 2007 has a Country or territory of china, and a 2002 smaller than 670,099?
### Answer:
SELECT MIN(2007) FROM table_name_96 WHERE country_or_territory = "china" AND 2002 < 670 OFFSET 099 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1939214_1 (year VARCHAR, league VARCHAR, regular_season VARCHAR)
### Question:
In what year did the team compete in the 2nd, Northeast season of the USL PDL League?
### Answer:
SELECT year FROM table_1939214_1 WHERE league = "USL PDL" AND regular_season = "2nd, Northeast" |
Below is an context that describes a sql 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 (league VARCHAR, year VARCHAR, canada___usa_rank VARCHAR)
### Question:
After the year 2011, when the Canada - USA Rank was 46th, what was the League Rank?
### Answer:
SELECT league AS Rank FROM table_name_54 WHERE year > 2011 AND canada___usa_rank = "46th" |
Below is an context that describes a sql 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 (competition VARCHAR, score VARCHAR)
### Question:
Which competition has 4-0 as the score?
### Answer:
SELECT competition FROM table_name_88 WHERE score = "4-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_17386066_2 (result VARCHAR, date VARCHAR)
### Question:
What was the result of the game that was played on Nov. 26, 1972?
### Answer:
SELECT result FROM table_17386066_2 WHERE date = "Nov. 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_31 (country VARCHAR, athletes VARCHAR)
### Question:
What country does Adam van Koeverden play for?
### Answer:
SELECT country FROM table_name_31 WHERE athletes = "adam van koeverden" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28884858_2 (team VARCHAR, capacity_percentage VARCHAR)
### Question:
How many teams had a 99.3% capacity rating?
### Answer:
SELECT COUNT(team) FROM table_28884858_2 WHERE capacity_percentage = "99.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_1475840_1 (stolen_ends INTEGER, locale VARCHAR, Alberta VARCHAR)
### Question:
What is the minimum stolen ends for the locale Alberta?
### Answer:
SELECT MIN(stolen_ends) FROM table_1475840_1 WHERE locale = Alberta |
Below is an context that describes a sql 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 (written_by VARCHAR, no_in_series VARCHAR)
### Question:
Who was the number 24 series written by?
### Answer:
SELECT written_by FROM table_name_36 WHERE no_in_series = 24 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12094300_1 (interview VARCHAR, preliminaries VARCHAR)
### Question:
What is the score for interview when the preliminaries score is 8.425?
### Answer:
SELECT interview FROM table_12094300_1 WHERE preliminaries = "8.425" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26998135_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
### Question:
What is the manner of departure for the date of appointment 24 may 2010?
### Answer:
SELECT manner_of_departure FROM table_26998135_2 WHERE date_of_appointment = "24 May 2010" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1277350_7 (friday_day_six VARCHAR, thursday_day_five VARCHAR)
### Question:
What is friday day six when thursday day five is پچھمبے pachhambey?
### Answer:
SELECT friday_day_six FROM table_1277350_7 WHERE thursday_day_five = "پچھمبے pachhambey" |
Below is an context that describes a sql 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 (quantity_made VARCHAR, inchicore_class VARCHAR)
### Question:
What was the quantity for Inchicore of J7?
### Answer:
SELECT quantity_made FROM table_name_3 WHERE inchicore_class = "j7" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
What home team plays at glenferrie oval?
### Answer:
SELECT home_team FROM table_name_5 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 playlists (name VARCHAR)
### Question:
List the name of all playlist.
### Answer:
SELECT name FROM playlists |
Below is an context that describes a sql 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 (cars_per_set INTEGER, operator VARCHAR)
### Question:
Tell me the sum of cars per set for operator of london midland
### Answer:
SELECT SUM(cars_per_set) FROM table_name_3 WHERE operator = "london midland" |
Below is an context that describes a sql 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 (goals_for VARCHAR, drawn VARCHAR)
### Question:
How many Goals For have Drawn of 10?
### Answer:
SELECT COUNT(goals_for) FROM table_name_83 WHERE drawn = 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_28 (completed VARCHAR, launched VARCHAR)
### Question:
Name what was completed on 12 april 1934
### Answer:
SELECT completed FROM table_name_28 WHERE launched = "12 april 1934" |
Below is an context that describes a sql 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 (home VARCHAR, visitor VARCHAR)
### Question:
Who was the home when the visitor was New York Knicks?
### Answer:
SELECT home FROM table_name_79 WHERE visitor = "new york knicks" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28715942_6 (original_artist VARCHAR, vocal_percussionist VARCHAR)
### Question:
Who is the artist where the vocal percussionist is Benjamin Holder?
### Answer:
SELECT original_artist FROM table_28715942_6 WHERE vocal_percussionist = "Benjamin Holder" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (event VARCHAR, year VARCHAR)
### Question:
Which event has a year of 2000?
### Answer:
SELECT event FROM table_name_72 WHERE year = 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_18862490_2 (year INTEGER, score VARCHAR)
### Question:
What is the first yar that someone won with a score of 68-66-68-71=273?
### Answer:
SELECT MIN(year) FROM table_18862490_2 WHERE score = 68 - 66 - 68 - 71 = 273 |
Below is an context that describes a sql 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 (to_par VARCHAR, place VARCHAR)
### Question:
What was the To par of the golfer that placed t5?
### Answer:
SELECT to_par FROM table_name_66 WHERE place = "t5" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25085059_3 (college VARCHAR, position VARCHAR)
### Question:
What college did the player come from whose position is DL?
### Answer:
SELECT college FROM table_25085059_3 WHERE position = "DL" |
Below is an context that describes a sql 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 (attendance INTEGER, week VARCHAR)
### Question:
what is the highest attendance for week 6?
### Answer:
SELECT MAX(attendance) FROM table_name_82 WHERE week = 6 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (points INTEGER, chassis VARCHAR, year VARCHAR)
### Question:
Name the average points for chassis of stevens and year less than 1950
### Answer:
SELECT AVG(points) FROM table_name_14 WHERE chassis = "stevens" AND year < 1950 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (opponent VARCHAR, location_attendance VARCHAR)
### Question:
Who was the opponent, during the game at the location of keyarena at seattle center?
### Answer:
SELECT opponent FROM table_name_50 WHERE location_attendance = "keyarena at seattle 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_27537870_3 (october VARCHAR, score VARCHAR)
### Question:
On how many days in October was the score 6-1?
### Answer:
SELECT COUNT(october) FROM table_27537870_3 WHERE score = "6-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_96 (weight VARCHAR, club VARCHAR)
### Question:
What is the weight of the player from pvk jadran club?
### Answer:
SELECT weight FROM table_name_96 WHERE club = "pvk jadran" |
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR)
### Question:
What was Fred Couples' score?
### Answer:
SELECT COUNT(score) FROM table_name_15 WHERE player = "fred couples" |
Below is an context that describes a sql 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 (date VARCHAR, set_3 VARCHAR)
### Question:
What is the Date with a Set 3 with 15–6?
### Answer:
SELECT date FROM table_name_98 WHERE set_3 = "15–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_93 (population_density INTEGER, population__2011_ VARCHAR, population__2006_ VARCHAR, county VARCHAR, area__km²_ VARCHAR)
### Question:
In the County of Prince, what was the highest Population density when the Area (km²) was larger than 3.02, and the Population (2006) was larger than 786, and the Population (2011) was smaller than 1135?
### Answer:
SELECT MAX(population_density) FROM table_name_93 WHERE county = "prince" AND area__km²_ > 3.02 AND population__2006_ > 786 AND population__2011_ < 1135 |
Below is an context that describes a sql 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 (third VARCHAR, lead VARCHAR)
### Question:
Which Third has a Lead of zanda bikše?
### Answer:
SELECT third FROM table_name_78 WHERE lead = "zanda bikše" |
Below is an context that describes a sql 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 (date VARCHAR, game_site VARCHAR)
### Question:
What was the date of the game at Joe Robbie Stadium?
### Answer:
SELECT date FROM table_name_14 WHERE game_site = "joe robbie 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_90 (tournament INTEGER, total VARCHAR, team VARCHAR)
### Question:
How many tournament titles for iowa state with 3 total titles?
### Answer:
SELECT MAX(tournament) FROM table_name_90 WHERE total = 3 AND 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_name_99 (date VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR)
### Question:
On what date did the opponent in the Toshiaki Sakai final play on a grass surface?
### Answer:
SELECT date FROM table_name_99 WHERE opponent_in_the_final = "toshiaki sakai" AND surface = "grass" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What is the score of the match on June 4, 2008?
### Answer:
SELECT score FROM table_name_76 WHERE date = "june 4, 2008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE catalogs (catalog_name VARCHAR, date_of_publication VARCHAR, catalog_id VARCHAR); CREATE TABLE catalog_structure (catalog_id VARCHAR)
### Question:
Find the names and publication dates of all catalogs that have catalog level number greater than 5.
### Answer:
SELECT t1.catalog_name, t1.date_of_publication FROM catalogs AS t1 JOIN catalog_structure AS t2 ON t1.catalog_id = t2.catalog_id WHERE catalog_level_number > 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.