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_58 (july VARCHAR, december VARCHAR)
### Question:
Who is the July playmate with a December playmate Morgan Fox?
### Answer:
SELECT july FROM table_name_58 WHERE december = "morgan fox" |
Below is an context that describes a sql 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 (identity VARCHAR, builder VARCHAR)
### Question:
What is the identity of the brighton works built train?
### Answer:
SELECT identity FROM table_name_48 WHERE builder = "brighton works" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (work VARCHAR, result VARCHAR, year VARCHAR)
### Question:
what is the work when the result is won and the year is after 2002?
### Answer:
SELECT work FROM table_name_91 WHERE result = "won" AND year > 2002 |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the 2003 value with 2r in 2008 and 1r in 2011?
### Answer:
SELECT 2003 FROM table_name_59 WHERE 2008 = "2r" AND 2011 = "1r" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (country VARCHAR, score VARCHAR)
### Question:
What is the country of the player with a 70-71-68=209 score?
### Answer:
SELECT country FROM table_name_98 WHERE score = 70 - 71 - 68 = 209 |
Below is an context that describes a sql 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 (silver INTEGER, gold VARCHAR, total VARCHAR)
### Question:
What is listed as the highest Silver that also has a Gold of 4 and a Total that's larger than 25?
### Answer:
SELECT MAX(silver) FROM table_name_70 WHERE gold = 4 AND total > 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_19730892_1 (nation VARCHAR, name VARCHAR)
### Question:
Name the nation where jeff barker is from
### Answer:
SELECT nation FROM table_19730892_1 WHERE name = "Jeff Barker" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
How many sets were played in the 2011 Tournament in which there were 3R in 2007?
### Answer:
SELECT 2011 FROM table_name_81 WHERE 2007 = "3r" |
Below is an context that describes a sql 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 (total INTEGER, bronze VARCHAR, silver VARCHAR)
### Question:
What is the highest total medals won by a nation that had 7 bronze but more than 12 silver medals?
### Answer:
SELECT MAX(total) FROM table_name_43 WHERE bronze = 7 AND silver > 12 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_180802_2 (zodiac_sign VARCHAR, thai_name VARCHAR)
### Question:
How many zodiac signs does the month by the Thai name of กันยายน belong to?
### Answer:
SELECT COUNT(zodiac_sign) FROM table_180802_2 WHERE thai_name = "กันยายน" |
Below is an context that describes a sql 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 (date VARCHAR, result VARCHAR)
### Question:
On what date was the result Eng by 1 wkt?
### Answer:
SELECT date FROM table_name_79 WHERE result = "eng by 1 wkt" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (mark VARCHAR, name VARCHAR)
### Question:
What is Mark, when Name is Dmytro Hlushchenko?
### Answer:
SELECT mark FROM table_name_19 WHERE name = "dmytro hlushchenko" |
Below is an context that describes a sql 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 (role VARCHAR, title VARCHAR)
### Question:
When alvin and the chipmunks meet frankenstein, what was the role?
### Answer:
SELECT role FROM table_name_99 WHERE title = "alvin and the chipmunks meet frankenstein" |
Below is an context that describes a sql 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 (location VARCHAR, wrestler VARCHAR)
### Question:
What location has tatsuhito takaiwa as the wrestler?
### Answer:
SELECT location FROM table_name_14 WHERE wrestler = "tatsuhito takaiwa" |
Below is an context that describes a sql 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 (venue VARCHAR, past_season VARCHAR)
### Question:
What Venue has a Past Season of 2nd?
### Answer:
SELECT venue FROM table_name_89 WHERE past_season = "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 Customers_cards (Id VARCHAR)
### Question:
Show the number of customer cards.
### Answer:
SELECT COUNT(*) FROM Customers_cards |
Below is an context that describes a sql 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 (polling_firm VARCHAR, green VARCHAR, date_of_polling VARCHAR)
### Question:
What june 21–22, 2011 polling has green smaller than 13?
### Answer:
SELECT polling_firm FROM table_name_89 WHERE green < 13 AND date_of_polling = "june 21–22, 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_6 (score VARCHAR, home_team VARCHAR)
### Question:
What was the final score for the tie where Leeds United was the home team?
### Answer:
SELECT score FROM table_name_6 WHERE home_team = "leeds united" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (venue VARCHAR, city VARCHAR)
### Question:
What is the venue in Seattle?
### Answer:
SELECT venue FROM table_name_22 WHERE city = "seattle" |
Below is an context that describes a sql 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 (electorate VARCHAR, member VARCHAR)
### Question:
Who was the electorate when the member was rex connor?
### Answer:
SELECT electorate FROM table_name_61 WHERE member = "rex connor" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1974482_1 (institution VARCHAR, nickname VARCHAR)
### Question:
Name the institution for statesmen
### Answer:
SELECT institution FROM table_1974482_1 WHERE nickname = "Statesmen" |
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR)
### Question:
Which Score had an Opponent of chris evert-lloyd?
### Answer:
SELECT score FROM table_name_53 WHERE opponent = "chris evert-lloyd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2818164_5 (production_code INTEGER, no_in_series VARCHAR)
### Question:
What is the production code for episode 96 in the series?
### Answer:
SELECT MIN(production_code) FROM table_2818164_5 WHERE no_in_series = "96" |
Below is an context that describes a sql 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 (round VARCHAR, opponent VARCHAR)
### Question:
Which round has an opponent of Freiburg?
### Answer:
SELECT round FROM table_name_39 WHERE opponent = "freiburg" |
Below is an context that describes a sql 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 (time VARCHAR, arranger_s_ VARCHAR)
### Question:
What are the lengths of the tracks arranged by ROZ?
### Answer:
SELECT time FROM table_name_79 WHERE arranger_s_ = "roz" |
Below is an context that describes a sql 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 (attendance VARCHAR, record VARCHAR)
### Question:
For the game showing a final record of 0-5, what was the attendance level?
### Answer:
SELECT attendance FROM table_name_95 WHERE record = "0-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_15938543_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
### Question:
How many episodes had an original air date with 5.1 million viewers
### Answer:
SELECT COUNT(original_air_date) FROM table_15938543_1 WHERE us_viewers__million_ = "5.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_1979619_3 (district VARCHAR, representative VARCHAR)
### Question:
Name the total number of districts for rob teplitz
### Answer:
SELECT COUNT(district) FROM table_1979619_3 WHERE representative = "Rob Teplitz" |
Below is an context that describes a sql 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 (grid VARCHAR, constructor VARCHAR, time_retired VARCHAR)
### Question:
What is the grid with a Toyota constructor and +1:09.718 as time/retired?
### Answer:
SELECT grid FROM table_name_24 WHERE constructor = "toyota" AND time_retired = "+1:09.718" |
Below is an context that describes a sql 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 (gothic_letter VARCHAR, proto_germanic_origin VARCHAR)
### Question:
Which Gothic Letter has Proto-Germanic origin of /ɸ/; /b/?
### Answer:
SELECT gothic_letter FROM table_name_4 WHERE proto_germanic_origin = "/ɸ/; /b/" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (first_match VARCHAR, final_position VARCHAR, final_round VARCHAR)
### Question:
On what date did the first match occur for the competition that ended with a final position of winners and the final round in the finals?
### Answer:
SELECT first_match FROM table_name_35 WHERE final_position = "winners" AND final_round = "finals" |
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR)
### Question:
What to par has tom kite as the player?
### Answer:
SELECT to_par FROM table_name_92 WHERE player = "tom kite" |
Below is an context that describes a sql 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 (place_of_birth VARCHAR, elector VARCHAR)
### Question:
What is the place of birth for the elector Laborante de Panormo?
### Answer:
SELECT place_of_birth FROM table_name_94 WHERE elector = "laborante de panormo" |
Below is an context that describes a sql 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 (chassis VARCHAR, points VARCHAR, year VARCHAR, entrant VARCHAR)
### Question:
What is the Chassis having a year later than 1990, and Minardi Scuderia Italia as an entrant, and 4 points?
### Answer:
SELECT chassis FROM table_name_41 WHERE year > 1990 AND entrant = "minardi scuderia italia" AND points = 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_14 (attendance INTEGER, away VARCHAR)
### Question:
What was the highest attendance against Real Juventud?
### Answer:
SELECT MAX(attendance) FROM table_name_14 WHERE away = "real juventud" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18277458_2 (ticket_price_s_ VARCHAR, date_s_ VARCHAR)
### Question:
How much do the tickets cost for August 7, 1987?
### Answer:
SELECT ticket_price_s_ FROM table_18277458_2 WHERE date_s_ = "August 7, 1987" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2387461_1 (assists_per_game VARCHAR, rebounds_per_game VARCHAR)
### Question:
How many assists per game have 4.2 rebounds per game?
### Answer:
SELECT assists_per_game FROM table_2387461_1 WHERE rebounds_per_game = "4.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 (pos VARCHAR, tyres VARCHAR, laps VARCHAR)
### Question:
What position that has m tyres and 352 or more laps?
### Answer:
SELECT pos FROM table_name_56 WHERE tyres = "m" AND laps > 352 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11545282_18 (player VARCHAR, years_for_jazz VARCHAR)
### Question:
Which player played 2004-05
### Answer:
SELECT player FROM table_11545282_18 WHERE years_for_jazz = "2004-05" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (lost INTEGER, games INTEGER)
### Question:
How many games lost for teams with over 6 games?
### Answer:
SELECT MIN(lost) FROM table_name_46 WHERE games > 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_64 (country VARCHAR, player VARCHAR)
### Question:
Where is Eduardo Romero from?
### Answer:
SELECT country FROM table_name_64 WHERE player = "eduardo romero" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_169766_13 (retitled_as_same VARCHAR, last_aired VARCHAR)
### Question:
Did the name change for the program last aired in 1958?
### Answer:
SELECT retitled_as_same FROM table_169766_13 WHERE last_aired = 1958 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24689168_5 (episode VARCHAR, viewers__millions_ VARCHAR)
### Question:
How many episodes had 11.47 million viewers?
### Answer:
SELECT COUNT(episode) FROM table_24689168_5 WHERE viewers__millions_ = "11.47" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE race (Id VARCHAR)
### Question:
How many races are there?
### Answer:
SELECT COUNT(*) FROM race |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2182562_2 (top_5 INTEGER, avg_finish VARCHAR)
### Question:
What was the top 5 in the year with an average finish of 8.2?
### Answer:
SELECT MIN(top_5) FROM table_2182562_2 WHERE avg_finish = "8.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 (team VARCHAR, position VARCHAR)
### Question:
Which Team has a Position of linebacker?
### Answer:
SELECT team FROM table_name_86 WHERE position = "linebacker" |
Below is an context that describes a sql 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 (player VARCHAR, pos VARCHAR)
### Question:
Which player has a position of FW?
### Answer:
SELECT player FROM table_name_25 WHERE pos = "fw" |
Below is an context that describes a sql 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 (score VARCHAR, loss VARCHAR)
### Question:
What was the score of the game that had a loss of Cox (6–2)?
### Answer:
SELECT score FROM table_name_44 WHERE loss = "cox (6–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_59 (home_team VARCHAR, venue VARCHAR)
### Question:
What is glenferrie oval's home team?
### Answer:
SELECT home_team FROM table_name_59 WHERE venue = "glenferrie oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_84 (high_points VARCHAR, game VARCHAR)
### Question:
Who had the most points in game 81?
### Answer:
SELECT high_points FROM table_name_84 WHERE game = 81 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE manufacturers (name VARCHAR, revenue INTEGER, headquarter VARCHAR)
### Question:
Find the name of companies whose revenue is smaller than the revenue of all companies based in Austin.
### Answer:
SELECT name FROM manufacturers WHERE revenue < (SELECT MIN(revenue) FROM manufacturers WHERE headquarter = 'Austin') |
Below is an context that describes a sql 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 (outcome VARCHAR, score_in_the_final VARCHAR)
### Question:
Which Outcome has a Score in the final of 1–6, 6–4, 7–5?
### Answer:
SELECT outcome FROM table_name_61 WHERE score_in_the_final = "1–6, 6–4, 7–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_11 (car__number INTEGER, current_car VARCHAR, year_started VARCHAR)
### Question:
WHAT WAS THE LOWEST CAR # WITH SON-E-WA, AND 2012 START YEAR?
### Answer:
SELECT MIN(car__number) FROM table_name_11 WHERE current_car = "son-e-wa" AND year_started < 2012 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (winner VARCHAR, date VARCHAR)
### Question:
Who won the race on wednesday, august 27?
### Answer:
SELECT winner FROM table_name_18 WHERE date = "wednesday, august 27" |
Below is an context that describes a sql 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 (undecided VARCHAR, source VARCHAR, murray VARCHAR)
### Question:
What is the undecided percentage of the poll from Suffolk University with Murray at 11%?
### Answer:
SELECT undecided FROM table_name_80 WHERE source = "suffolk university" AND murray = "11%" |
Below is an context that describes a sql 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 (location VARCHAR, method VARCHAR)
### Question:
Which Location has a Method of decision?
### Answer:
SELECT location FROM table_name_40 WHERE method = "decision" |
Below is an context that describes a sql 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 (silver INTEGER, bronze INTEGER)
### Question:
What's the average number of silver medals when bronze is less than 0?
### Answer:
SELECT AVG(silver) FROM table_name_86 WHERE bronze < 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_64 (college VARCHAR, player VARCHAR)
### Question:
What was the college for Alex Poythress?
### Answer:
SELECT college FROM table_name_64 WHERE player = "alex poythress" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23286112_7 (high_points VARCHAR, location_attendance VARCHAR)
### Question:
Who has high points when toyota center 15,095 is location attendance?
### Answer:
SELECT high_points FROM table_23286112_7 WHERE location_attendance = "Toyota Center 15,095" |
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR)
### Question:
Name the record for august 28
### Answer:
SELECT record FROM table_name_24 WHERE date = "august 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_1149495_1 (host VARCHAR, fourth_place VARCHAR)
### Question:
How many people hosted the show in the year when Chenoa ended up in fourth place?
### Answer:
SELECT COUNT(host) FROM table_1149495_1 WHERE fourth_place = "Chenoa" |
Below is an context that describes a sql 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 (district VARCHAR, college_name VARCHAR)
### Question:
What is the district where the thanjavur medical college is located?
### Answer:
SELECT district FROM table_name_93 WHERE college_name = "thanjavur medical college" |
Below is an context that describes a sql 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 (power VARCHAR, model VARCHAR, years VARCHAR)
### Question:
What is the power for model 2.0 tdi (cr) dpf, and a Years of 2010–2011?
### Answer:
SELECT power FROM table_name_28 WHERE model = "2.0 tdi (cr) dpf" AND years = "2010–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_15 (constructor VARCHAR, driver VARCHAR)
### Question:
What is the name of the company that constructed the vehicle for Timo Glock?
### Answer:
SELECT constructor FROM table_name_15 WHERE driver = "timo glock" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (tv_time VARCHAR, date VARCHAR)
### Question:
What is the TV Time of the game on December 27, 2003?
### Answer:
SELECT tv_time FROM table_name_51 WHERE date = "december 27, 2003" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
What was the score for the home team who plays their matches at the mcg venue?
### Answer:
SELECT home_team AS score FROM table_name_4 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_name_76 (attendance VARCHAR, week VARCHAR, date VARCHAR)
### Question:
How many people were in attendance in a week over 4 on December 6, 1981?
### Answer:
SELECT COUNT(attendance) FROM table_name_76 WHERE week > 4 AND date = "december 6, 1981" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_197446_1 (elected VARCHAR, term_began VARCHAR)
### Question:
What year was the congressional service elected for a term beginning on January 3, 1989?
### Answer:
SELECT elected FROM table_197446_1 WHERE term_began = "January 3, 1989" |
Below is an context that describes a sql 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 (money___ INTEGER, player VARCHAR)
### Question:
What is the lowest amount of money that Craig Stadler won?
### Answer:
SELECT MIN(money___) AS $__ FROM table_name_64 WHERE player = "craig stadler" |
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR)
### Question:
In Week 13, who was the opponent?
### Answer:
SELECT opponent FROM table_name_98 WHERE week = 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_name_66 (sub_parish__sogn_ VARCHAR, location_of_the_church VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR)
### Question:
Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and is located in the Church of Gaupne?
### Answer:
SELECT sub_parish__sogn_ FROM table_name_66 WHERE year_built < 1883 AND parish__prestegjeld_ = "jostedal parish" AND location_of_the_church = "gaupne" |
Below is an context that describes a sql 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 (round INTEGER, player VARCHAR)
### Question:
What is the average round of player Sammy Morris?
### Answer:
SELECT AVG(round) FROM table_name_13 WHERE player = "sammy morris" |
Below is an context that describes a sql 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 (points INTEGER, games VARCHAR, rank VARCHAR)
### Question:
What is the highest value for Points, when Games is 21, and when Rank is greater than 2?
### Answer:
SELECT MAX(points) FROM table_name_52 WHERE games = 21 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_78 (total VARCHAR, set_1 VARCHAR, score VARCHAR, date VARCHAR)
### Question:
What is the Total with a Score of 3–0, and a Date of 14 oct, and has a Set 1 of 15–12?
### Answer:
SELECT total FROM table_name_78 WHERE score = "3–0" AND date = "14 oct" AND set_1 = "15–12" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (total VARCHAR, set_2 VARCHAR)
### Question:
What is the total when the score for set 2 is 25–22?
### Answer:
SELECT total FROM table_name_86 WHERE set_2 = "25–22" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR, grade INTEGER)
### Question:
Show the names of students who have a grade higher than 5 and have at least 2 friends.
### Answer:
SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id 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_29 (rank VARCHAR, goals INTEGER)
### Question:
What is the Rank with a Goal number smaller than 66?
### Answer:
SELECT rank FROM table_name_29 WHERE goals < 66 |
Below is an context that describes a sql 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 (british VARCHAR, examples VARCHAR)
### Question:
Which British has Examples of exit?
### Answer:
SELECT british FROM table_name_88 WHERE examples = "exit" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (result VARCHAR, year VARCHAR, competition VARCHAR)
### Question:
what is the result for the world group, semifinals after the year 1997?
### Answer:
SELECT result FROM table_name_19 WHERE year > 1997 AND competition = "world group, semifinals" |
Below is an context that describes a sql 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 (season VARCHAR, league VARCHAR, away VARCHAR)
### Question:
What season has a league 3rd liga, and away of 1-0?
### Answer:
SELECT season FROM table_name_89 WHERE league = "3rd liga" AND away = "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_28 (class_aAAA VARCHAR, class_aAA VARCHAR, gonzales VARCHAR)
### Question:
What is the Class AAAAA when the Class AAA is Gonzales?
### Answer:
SELECT class_aAAA FROM table_name_28 WHERE class_aAA = gonzales |
Below is an context that describes a sql 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 (label VARCHAR, date VARCHAR, catalog VARCHAR)
### Question:
What is the label from 1973 that has a catalog number of l 35023?
### Answer:
SELECT label FROM table_name_98 WHERE date = "1973" AND catalog = "l 35023" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26591434_1 (writer VARCHAR, ratings__kanto_ VARCHAR)
### Question:
Who is the writer with the ratings 14.8?
### Answer:
SELECT writer FROM table_26591434_1 WHERE ratings__kanto_ = "14.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_41 (runner_s__up VARCHAR, year VARCHAR)
### Question:
What are the Runner(s)-up of the 1972 Championship?
### Answer:
SELECT runner_s__up FROM table_name_41 WHERE year = "1972" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1745843_8 (class VARCHAR, part_4 VARCHAR)
### Question:
What class in the word with part 4 "giheizan"?
### Answer:
SELECT class FROM table_1745843_8 WHERE part_4 = "giheizan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21756039_1 (maac VARCHAR, overall VARCHAR)
### Question:
What is the maac when the overall is 26-8?
### Answer:
SELECT maac FROM table_21756039_1 WHERE overall = "26-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_11677691_5 (school VARCHAR, player VARCHAR)
### Question:
Zach Banner is a player at which school?
### Answer:
SELECT school FROM table_11677691_5 WHERE player = "Zach Banner" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17311783_9 (high_points VARCHAR, team VARCHAR)
### Question:
Who had the high point total against cleveland?
### Answer:
SELECT high_points FROM table_17311783_9 WHERE team = "Cleveland" |
Below is an context that describes a sql 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, winning_drivers VARCHAR)
### Question:
What race was won by Tazio Nuvolari?
### Answer:
SELECT name FROM table_name_63 WHERE winning_drivers = "tazio nuvolari" |
Below is an context that describes a sql 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 (brand VARCHAR, model VARCHAR)
### Question:
What brand is the RW-2100 model?
### Answer:
SELECT brand FROM table_name_95 WHERE model = "rw-2100" |
Below is an context that describes a sql 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 (attendance INTEGER, result VARCHAR)
### Question:
What is the average Attendance at a game with a Result of w 30-23?
### Answer:
SELECT AVG(attendance) FROM table_name_16 WHERE result = "w 30-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_23981771_1 (song_title VARCHAR, artist VARCHAR)
### Question:
What is the song for Dixie Chicks?
### Answer:
SELECT song_title FROM table_23981771_1 WHERE artist = "Dixie Chicks" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11959669_6 (score VARCHAR, high_points VARCHAR)
### Question:
What is the score when high points is from pierce (30)?
### Answer:
SELECT score FROM table_11959669_6 WHERE high_points = "Pierce (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 (acquisition_via VARCHAR, season VARCHAR)
### Question:
What is Acquisition via, when Season is 2006-2012?
### Answer:
SELECT acquisition_via FROM table_name_50 WHERE season = "2006-2012" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (nordbayern VARCHAR, year VARCHAR, württemberg VARCHAR)
### Question:
What's the Nordbayern with a Württemberg of Union Böckingen in the year before 1932?
### Answer:
SELECT nordbayern FROM table_name_92 WHERE year < 1932 AND württemberg = "union böckingen" |
Below is an context that describes a sql 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 (rounds VARCHAR, team VARCHAR, rider VARCHAR)
### Question:
What is the rounds of rider Mika Kallio 1 of the Ducati Marlboro team?
### Answer:
SELECT rounds FROM table_name_67 WHERE team = "ducati marlboro team" AND rider = "mika kallio 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_41 (genre VARCHAR, developer_s_ VARCHAR)
### Question:
What's the genre of developer(s) Lionhead Studios?
### Answer:
SELECT genre FROM table_name_41 WHERE developer_s_ = "lionhead studios" |
Below is an context that describes a sql 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 (volume_lbs VARCHAR, set_4 VARCHAR)
### Question:
How many lbs does a set 4 of 115lb x 8reps have?
### Answer:
SELECT volume_lbs FROM table_name_53 WHERE set_4 = "115lb x 8reps" |
Below is an context that describes a sql 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 (game INTEGER, score VARCHAR)
### Question:
Which Game has a Score of 4–1?
### Answer:
SELECT SUM(game) FROM table_name_47 WHERE score = "4–1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (opponent VARCHAR, week VARCHAR)
### Question:
Who was the opponent in week 3?
### Answer:
SELECT opponent FROM table_name_34 WHERE week = 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.