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_26040604_1 (die_size__mm_2__ VARCHAR, texture___gt__s_ VARCHAR)
### Question:
How many die sizes have a texture of exactly 34?
### Answer:
SELECT COUNT(die_size__mm_2__) FROM table_26040604_1 WHERE texture___gt__s_ = "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_12807904_5 (played VARCHAR, tries_for VARCHAR)
### Question:
what amount played tried for 60?
### Answer:
SELECT COUNT(played) FROM table_12807904_5 WHERE tries_for = "60"
|
Below is an context that describes a sql 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 (result VARCHAR, venue VARCHAR)
### Question:
what number of people went to the tiger stadium
### Answer:
SELECT result FROM table_name_89 WHERE venue = "tiger 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_89 (points INTEGER, year VARCHAR, chassis VARCHAR)
### Question:
What are the lowest points from 1992 with a Chassis of Minardi m192?
### Answer:
SELECT MIN(points) FROM table_name_89 WHERE year = 1992 AND chassis = "minardi m192"
|
Below is an context that describes a sql 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 (best_10_year_period VARCHAR, best_2_year_period VARCHAR)
### Question:
Which best 10-year period has a best 2-year period of petrosian?
### Answer:
SELECT best_10_year_period FROM table_name_32 WHERE best_2_year_period = "petrosian"
|
Below is an context that describes a sql 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 (goals VARCHAR, since VARCHAR, app_gs_sub_ VARCHAR)
### Question:
Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28)
### Answer:
SELECT goals FROM table_name_57 WHERE since < 2007 AND app_gs_sub_ = "97 (69/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_64 (delivered_as VARCHAR, locomotive VARCHAR)
### Question:
What is the Delivered as name of the H3 Locomotive?
### Answer:
SELECT delivered_as FROM table_name_64 WHERE locomotive = "h3"
|
Below is an context that describes a sql 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 (attendance INTEGER, leading_scorer VARCHAR, home VARCHAR)
### Question:
How many people attended the game where the leading scorer was Tim Duncan (24), and the home team was the Spurs?
### Answer:
SELECT MIN(attendance) FROM table_name_96 WHERE leading_scorer = "tim duncan (24)" AND home = "spurs"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1233026_4 (competition VARCHAR, aggregate VARCHAR)
### Question:
What is the competition when aggregate is 1–4?
### Answer:
SELECT competition FROM table_1233026_4 WHERE aggregate = "1–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_39 (overall VARCHAR, round VARCHAR, pick VARCHAR)
### Question:
How many Overall went in a round larger than 7 with a pick less than 7?
### Answer:
SELECT COUNT(overall) FROM table_name_39 WHERE round > 7 AND pick < 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_31 (elector VARCHAR, elevator VARCHAR, cardinalatial_title VARCHAR)
### Question:
What Elector has an Elevator of Alexander III and a Cardinalatial title of Bishop of Palestrina?
### Answer:
SELECT elector FROM table_name_31 WHERE elevator = "alexander iii" AND cardinalatial_title = "bishop of palestrina"
|
Below is an context that describes a sql 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 (year VARCHAR, champion VARCHAR, runner_up VARCHAR)
### Question:
When Ilie Năstase beat runner-up Peter Fleming what year was it?
### Answer:
SELECT COUNT(year) FROM table_name_56 WHERE champion = "ilie năstase" AND runner_up = "peter fleming"
|
Below is an context that describes a sql 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 (games INTEGER, lost INTEGER)
### Question:
What is the lowest number of games with less than 1 loss?
### Answer:
SELECT MIN(games) FROM table_name_12 WHERE lost < 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_11545282_19 (player VARCHAR, position VARCHAR)
### Question:
Which player's position is the shooting guard?
### Answer:
SELECT player FROM table_11545282_19 WHERE position = "Shooting guard"
|
Below is an context that describes a sql 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 (exit_date VARCHAR, transfer_fee VARCHAR, to_club VARCHAR)
### Question:
What is the exit date of the player transferred to Reggina for free?
### Answer:
SELECT exit_date FROM table_name_19 WHERE transfer_fee = "free" AND to_club = "reggina"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (district VARCHAR, first_elected VARCHAR, result VARCHAR)
### Question:
Which district had a first elected in 1882 with a result of re-elected?
### Answer:
SELECT district FROM table_name_7 WHERE first_elected = 1882 AND result = "re-elected"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14342210_6 (points INTEGER, player VARCHAR)
### Question:
What is the least amount of points made by Herrnstein?
### Answer:
SELECT MIN(points) FROM table_14342210_6 WHERE player = "Herrnstein"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20726262_2 (production_code VARCHAR, no_in_series VARCHAR)
### Question:
What was the production code for episode #1?
### Answer:
SELECT production_code FROM table_20726262_2 WHERE no_in_series = 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_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)
### Question:
How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471?
### Answer:
SELECT COUNT(tot_enlisted) FROM table_23508196_2 WHERE enlisted_o_s = 801471
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, general_classification VARCHAR)
### Question:
Who led sprints classification when Chris Horner led general classification?
### Answer:
SELECT sprints_classification FROM table_26257223_13 WHERE general_classification = "Chris Horner"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27514362_7 (status VARCHAR, entrant VARCHAR)
### Question:
How many status figures does James Finch have?
### Answer:
SELECT COUNT(status) FROM table_27514362_7 WHERE entrant = "James Finch"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (position VARCHAR, years_in_orlando VARCHAR)
### Question:
Which Position has a Years in Orlando of 1997–1998?
### Answer:
SELECT position FROM table_name_68 WHERE years_in_orlando = "1997–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 Faculty (FacID VARCHAR); CREATE TABLE Student (advisor VARCHAR)
### Question:
Show the ids for all the faculty members who have at least 2 students.
### Answer:
SELECT T1.FacID FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.FacID 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_43 (date VARCHAR, record VARCHAR)
### Question:
What date was the record 21-11?
### Answer:
SELECT date FROM table_name_43 WHERE record = "21-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_66 (result VARCHAR, date VARCHAR)
### Question:
What was the Result on October 27, 2002?
### Answer:
SELECT result FROM table_name_66 WHERE date = "october 27, 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_75 (average INTEGER, swimsuit VARCHAR, evening_gown VARCHAR)
### Question:
Which is the largest average number when the swimsuit is 9.4 and the evening gown stat is less than 9.486?
### Answer:
SELECT MAX(average) FROM table_name_75 WHERE swimsuit = 9.4 AND evening_gown < 9.486
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (trofeo_fast_team VARCHAR, points_classification VARCHAR, stage VARCHAR)
### Question:
Which team had a final stage when Claudio Chiappucci had the points?
### Answer:
SELECT trofeo_fast_team FROM table_name_23 WHERE points_classification = "claudio chiappucci" AND stage = "final"
|
Below is an context that describes a sql 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 (grid VARCHAR, time_retired VARCHAR)
### Question:
What is the grid with a +6.8359 time/retired?
### Answer:
SELECT grid FROM table_name_53 WHERE time_retired = "+6.8359"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18335117_2 (original_air_date VARCHAR, production_code VARCHAR)
### Question:
When did the episode first air that had a production code of 102?
### Answer:
SELECT original_air_date FROM table_18335117_2 WHERE production_code = 102
|
Below is an context that describes a sql 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 (mintage INTEGER, artist VARCHAR, year VARCHAR)
### Question:
What is the fewest mintage from Dora de Pédery-Hunt, and the year was before 2002?
### Answer:
SELECT MIN(mintage) FROM table_name_93 WHERE artist = "dora de pédery-hunt" 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_97 (name VARCHAR, listed VARCHAR, cerclis_id VARCHAR)
### Question:
What name was listed 02/21/1990, and a CERCLIS ID of scd980844005?
### Answer:
SELECT name FROM table_name_97 WHERE listed = "02/21/1990" AND cerclis_id = "scd980844005"
|
Below is an context that describes a sql 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 (score VARCHAR, home VARCHAR, record VARCHAR)
### Question:
What was the score did phoenix have with a Record of 3–6–0 at home?
### Answer:
SELECT score FROM table_name_88 WHERE home = "phoenix" AND record = "3–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_57 (played VARCHAR, points_1 VARCHAR, goals_for VARCHAR)
### Question:
What is the played number with points 1 is 80, and goals for is more than 77?
### Answer:
SELECT COUNT(played) FROM table_name_57 WHERE points_1 = "80" AND goals_for > 77
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (opponent VARCHAR, november VARCHAR)
### Question:
who is the opponent on november 24?
### Answer:
SELECT opponent FROM table_name_68 WHERE november = 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_name_55 (to_par VARCHAR, place VARCHAR, country VARCHAR)
### Question:
Which To par has a Place in t9 and a Country of Spain?
### Answer:
SELECT to_par FROM table_name_55 WHERE place = "t9" AND country = "spain"
|
Below is an context that describes a sql 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 (score VARCHAR, competition VARCHAR)
### Question:
What was the score for the World Cup Qualifier?
### Answer:
SELECT score FROM table_name_72 WHERE competition = "world cup qualifier"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13464416_4 (high_rebounds VARCHAR, team VARCHAR)
### Question:
Who had the high rebound total against golden state?
### Answer:
SELECT high_rebounds FROM table_13464416_4 WHERE team = "Golden 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_41 (crowd INTEGER, venue VARCHAR)
### Question:
What was the attendance at Moorabbin Oval?
### Answer:
SELECT AVG(crowd) FROM table_name_41 WHERE venue = "moorabbin 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_26919_7 (geez VARCHAR, proto_semitic VARCHAR)
### Question:
If the proto-semitic is *bayt-, what are the geez?
### Answer:
SELECT geez FROM table_26919_7 WHERE proto_semitic = "*bayt-"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_237199_1 (country VARCHAR, company_name VARCHAR)
### Question:
Which country has doosan infracore as then company name?
### Answer:
SELECT country FROM table_237199_1 WHERE company_name = "Doosan Infracore"
|
Below is an context that describes a sql 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 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR)
### Question:
WHAT IS THE YEAR'S TALLEST VALUE WITH FLOORS LESS THAN 24, AND 05.0 210 north charles street?
### Answer:
SELECT years_as_tallest FROM table_name_10 WHERE floors < 24 AND street_address = "05.0 210 north charles street"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1682026_2 (company VARCHAR, profits__billion_$_ VARCHAR)
### Question:
Which company had profits of 26.9?
### Answer:
SELECT company FROM table_1682026_2 WHERE profits__billion_$_ = "26.9"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (country VARCHAR)
### Question:
What is the 2013 press freedom index of the country Egypt?
### Answer:
SELECT 2013 AS _press_freedom_index FROM table_name_20 WHERE country = "egypt"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2610582_3 (branding VARCHAR, callsign VARCHAR)
### Question:
What is the branding of the callsign DWBA-TV?
### Answer:
SELECT branding FROM table_2610582_3 WHERE callsign = "DWBA-TV"
|
Below is an context that describes a sql 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 (round VARCHAR, time VARCHAR)
### Question:
What is the number of rounds that took place for the fight that lasted 6:21?
### Answer:
SELECT COUNT(round) FROM table_name_1 WHERE time = "6:21"
|
Below is an context that describes a sql 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 (set_2 VARCHAR, set_1 VARCHAR)
### Question:
What Set 2 has a set one at 19:21?
### Answer:
SELECT set_2 FROM table_name_3 WHERE set_1 = "19:21"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13557843_7 (high_assists VARCHAR, score VARCHAR)
### Question:
how many high assbeingts with score being l 90–98 (ot)
### Answer:
SELECT COUNT(high_assists) FROM table_13557843_7 WHERE score = "L 90–98 (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_15572443_1 (district VARCHAR, election_date VARCHAR)
### Question:
Name the number of districts for december 1799
### Answer:
SELECT COUNT(district) FROM table_15572443_1 WHERE election_date = "December 1799"
|
Below is an context that describes a sql 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 (language VARCHAR, director VARCHAR)
### Question:
What is the language of the film directed by Hans Kristensen?
### Answer:
SELECT language FROM table_name_14 WHERE director = "hans kristensen"
|
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
what is the tournament with the performance in 2010 and 2011 is 1r?
### Answer:
SELECT tournament FROM table_name_12 WHERE 2010 = "1r" 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_44 (branding VARCHAR, frequency VARCHAR)
### Question:
What is the branding for the radio with a frequency of 1150 am?
### Answer:
SELECT branding FROM table_name_44 WHERE frequency = "1150 am"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE student (fname VARCHAR, city_code VARCHAR, age VARCHAR)
### Question:
Find the first name of students living in city PHL whose age is between 20 and 25.
### Answer:
SELECT fname FROM student WHERE city_code = 'PHL' AND age BETWEEN 20 AND 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 checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR)
### Question:
Find the total checking and saving balance of all accounts sorted by the total balance in ascending order.
### Answer:
SELECT T1.balance + T2.balance FROM checking AS T1 JOIN savings AS T2 ON T1.custid = T2.custid ORDER BY T1.balance + T2.balance
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE region (region_id VARCHAR, region_name VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR)
### Question:
Show all storm names affecting region "Denmark".
### Answer:
SELECT T3.name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id WHERE T2.region_name = 'Denmark'
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17282875_3 (team__number1 VARCHAR)
### Question:
When they played San Lorenzo, what was the score of the second leg?
### Answer:
SELECT 2 AS nd_leg FROM table_17282875_3 WHERE team__number1 = "San Lorenzo"
|
Below is an context that describes a sql 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 (fixtures INTEGER, round VARCHAR, clubs_involved VARCHAR)
### Question:
In the sixth round, what is the sum of fixtures when there were more than 15 clubs involved?
### Answer:
SELECT SUM(fixtures) FROM table_name_67 WHERE round = "sixth round" AND clubs_involved > 15
|
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR)
### Question:
What was the total attendance on 10/05/1974?
### Answer:
SELECT COUNT(attendance) FROM table_name_10 WHERE date = "10/05/1974"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10128185_2 (wales INTEGER, northern_england VARCHAR)
### Question:
How many votes did Wales cast when Northern England cast 6?
### Answer:
SELECT MIN(wales) FROM table_10128185_2 WHERE northern_england = 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 Apartment_Facilities (apt_id VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR)
### Question:
How many apartments do not have any facility?
### Answer:
SELECT COUNT(*) FROM Apartments WHERE NOT apt_id IN (SELECT apt_id FROM Apartment_Facilities)
|
Below is an context that describes a sql 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 (record VARCHAR, score VARCHAR)
### Question:
What is the record of the game with a 110-106 score?
### Answer:
SELECT record FROM table_name_89 WHERE score = "110-106"
|
Below is an context that describes a sql 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 (opponents VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR)
### Question:
Who were the Opponents in the match on a Hard Surface with Catherine Suire as Partner and Outcome of runner-up?
### Answer:
SELECT opponents FROM table_name_6 WHERE outcome = "runner-up" AND surface = "hard" AND partner = "catherine suire"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2187333_1 (avg_start VARCHAR, avg_finish VARCHAR)
### Question:
Name the avg start for avg finish of 18.3
### Answer:
SELECT avg_start FROM table_2187333_1 WHERE avg_finish = "18.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_24 (number_of_seats INTEGER, make VARCHAR, quantity VARCHAR)
### Question:
What is the largest number of seats with more than 32 of a MCI make?
### Answer:
SELECT MAX(number_of_seats) FROM table_name_24 WHERE make = "mci" AND quantity > 32
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (result VARCHAR, date VARCHAR)
### Question:
What was the result of the game played on May 5?
### Answer:
SELECT result FROM table_name_5 WHERE date = "may 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_40 (overall_pick VARCHAR, round INTEGER)
### Question:
What was the overall pick number of the player selected before round 3?
### Answer:
SELECT COUNT(overall_pick) FROM table_name_40 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_27816698_2 (institution VARCHAR, founded VARCHAR)
### Question:
Which institution was founded in 1932?
### Answer:
SELECT institution FROM table_27816698_2 WHERE founded = 1932
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2282444_1 (h_ci__ka_m_ VARCHAR, b_r__t_ VARCHAR)
### Question:
When 0.6–1.4 is the b r (t) what is the h ci (ka/m)?
### Answer:
SELECT h_ci__ka_m_ FROM table_2282444_1 WHERE b_r__t_ = "0.6–1.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_16857_2 (season INTEGER)
### Question:
When was the first season?
### Answer:
SELECT MIN(season) FROM table_16857_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_58 (earnings___ INTEGER, country VARCHAR, score VARCHAR)
### Question:
What is the average earnings of a United States player who had a score of 72-68-74-72=286?
### Answer:
SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE country = "united states" AND score = 72 - 68 - 74 - 72 = 286
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10082596_1 (location VARCHAR, affiliation VARCHAR)
### Question:
How many of the schools are designated private/Presbyterian?
### Answer:
SELECT COUNT(location) FROM table_10082596_1 WHERE affiliation = "Private/Presbyterian"
|
Below is an context that describes a sql 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 (pos VARCHAR, race VARCHAR, co_driver VARCHAR)
### Question:
What position did Co-driver Jackie Oliver finish in the 24 hours of Le Mans?
### Answer:
SELECT pos FROM table_name_39 WHERE race = "24 hours of le mans" AND co_driver = "jackie oliver"
|
Below is an context that describes a sql 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 (class_aA VARCHAR, class_aAA VARCHAR, giddings VARCHAR, school_year VARCHAR)
### Question:
What is the Class AA of the school year 2009-10 with a class AAA of Giddings?
### Answer:
SELECT class_aA FROM table_name_95 WHERE class_aAA = giddings AND school_year = "2009-10"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (stadium VARCHAR, opponent VARCHAR)
### Question:
What was the Stadium against Bye?
### Answer:
SELECT stadium FROM table_name_41 WHERE opponent = "bye"
|
Below is an context that describes a sql 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 (ihsaa_class VARCHAR, school VARCHAR)
### Question:
Which IHSAA Class has a School of taylor?
### Answer:
SELECT ihsaa_class FROM table_name_51 WHERE school = "taylor"
|
Below is an context that describes a sql 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 (tie_no VARCHAR, away_team VARCHAR)
### Question:
What is the Tie no of Hereford United's Away game?
### Answer:
SELECT tie_no FROM table_name_83 WHERE away_team = "hereford 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_90 (date VARCHAR, catalogue VARCHAR)
### Question:
What date has a catalogue of asw 40362?
### Answer:
SELECT date FROM table_name_90 WHERE catalogue = "asw 40362"
|
Below is an context that describes a sql 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 (purpose VARCHAR, freq_currently VARCHAR, area_served VARCHAR)
### Question:
What is the purpose for the katherine freq of 8rn?
### Answer:
SELECT purpose FROM table_name_50 WHERE freq_currently = "8rn" AND area_served = "katherine"
|
Below is an context that describes a sql 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 (competition VARCHAR, opponents VARCHAR)
### Question:
Name the competition for motherwell opponents
### Answer:
SELECT competition FROM table_name_17 WHERE opponents = "motherwell"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (studio VARCHAR, worldwide_gross VARCHAR)
### Question:
In what studio was the film grossing $457,640,427 made?
### Answer:
SELECT studio FROM table_name_7 WHERE worldwide_gross = "$457,640,427"
|
Below is an context that describes a sql 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 (status VARCHAR, commissioned VARCHAR)
### Question:
What is the status of the fleet that was commissioned on July 28, 1963?
### Answer:
SELECT status FROM table_name_9 WHERE commissioned = "july 28, 1963"
|
Below is an context that describes a sql 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 (artist VARCHAR, televote_sms VARCHAR)
### Question:
who is the artist when the televote/sms is 3.20%?
### Answer:
SELECT artist FROM table_name_20 WHERE televote_sms = "3.20%"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (opponent VARCHAR, week VARCHAR, game_site VARCHAR)
### Question:
Who was the opponent at the game at Sullivan Stadium before week 11?
### Answer:
SELECT opponent FROM table_name_30 WHERE week < 11 AND game_site = "sullivan 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_15 (driver VARCHAR, winnings VARCHAR, car__number VARCHAR, laps VARCHAR, points VARCHAR)
### Question:
Who is the Driver that has a Laps smaller than 498, less than 58 points, a car number bigger than 22 and who has won $93,514?
### Answer:
SELECT driver FROM table_name_15 WHERE laps < 498 AND points < 58 AND car__number > 22 AND winnings = "$93,514"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15431122_2 (wins INTEGER)
### Question:
What is the minimum number of wins?
### Answer:
SELECT MIN(wins) FROM table_15431122_2
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (gold INTEGER, silver VARCHAR, nation VARCHAR)
### Question:
What is the average value for Gold, when the value for Silver is greater than 2, and when the Nation is West Germany?
### Answer:
SELECT AVG(gold) FROM table_name_98 WHERE silver > 2 AND nation = "west germany"
|
Below is an context that describes a 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_2 (part_1 VARCHAR, class VARCHAR)
### Question:
What is listed under part 1 for class 3b?
### Answer:
SELECT part_1 FROM table_1745843_2 WHERE class = "3b"
|
Below is an context that describes a sql 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, competition VARCHAR)
### Question:
Where did the Paris Marathon occur?
### Answer:
SELECT venue FROM table_name_47 WHERE competition = "paris marathon"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE status (id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER); CREATE TABLE station (id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER)
### Question:
What are the ids of stations that are located in San Francisco and have average bike availability above 10.
### Answer:
SELECT id FROM station WHERE city = "San Francisco" INTERSECT SELECT station_id FROM status GROUP BY station_id HAVING AVG(bikes_available) > 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_2159537_3 (district VARCHAR, date_successor_seated VARCHAR)
### Question:
In what district was the successor seated August 31, 1943?
### Answer:
SELECT district FROM table_2159537_3 WHERE date_successor_seated = "August 31, 1943"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21297652_1 (series VARCHAR, points VARCHAR)
### Question:
In what series did the driver get 30 points?
### Answer:
SELECT series FROM table_21297652_1 WHERE points = 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 dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dorm_name VARCHAR, dormid VARCHAR)
### Question:
Find the name of dorms that do not have any amenity
### Answer:
SELECT dorm_name FROM dorm WHERE NOT dormid IN (SELECT dormid FROM has_amenity)
|
Below is an context that describes a sql 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 (class VARCHAR, team VARCHAR, points VARCHAR)
### Question:
What is listed for the Class that's got a Team of Cagiva and Points of 4?
### Answer:
SELECT class FROM table_name_17 WHERE team = "cagiva" 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_79 (driver VARCHAR, grid VARCHAR)
### Question:
What driver has a 9 grid total?
### Answer:
SELECT driver FROM table_name_79 WHERE grid = 9
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR)
### Question:
how many titles have the name "quick callanetics"?
### Answer:
SELECT COUNT(catalog_number) FROM table_11222744_3 WHERE title = "Quick Callanetics"
|
Below is an context that describes a sql 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 (points INTEGER, year VARCHAR, entrant VARCHAR)
### Question:
What's the least amount of points that Walter Wolf Racing had after 1974?
### Answer:
SELECT MIN(points) FROM table_name_3 WHERE year > 1974 AND entrant = "walter wolf 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_51 (original_week INTEGER, date VARCHAR)
### Question:
Tell me the sum of original week for september 16, 1982
### Answer:
SELECT SUM(original_week) FROM table_name_51 WHERE date = "september 16, 1982"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE editor (Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal_committee (Editor_ID VARCHAR)
### Question:
Show the names of editors that are on at least two journal committees.
### Answer:
SELECT T1.Name FROM editor AS T1 JOIN journal_committee AS T2 ON T1.Editor_ID = T2.Editor_ID GROUP BY T1.Name HAVING COUNT(*) >= 2
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (silver VARCHAR, bronze VARCHAR)
### Question:
Who won the Silver the Year Katie Curtis Unknown won the Bronze?
### Answer:
SELECT silver FROM table_name_28 WHERE bronze = "katie curtis unknown"
|
Below is an context that describes a sql 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 (opponent_in_the_final VARCHAR, tournament VARCHAR)
### Question:
What opponent in the final has rockford, Illinois as the tournament?
### Answer:
SELECT opponent_in_the_final FROM table_name_12 WHERE tournament = "rockford, illinois"
|
Below is an context that describes a sql 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 (college VARCHAR, player VARCHAR)
### Question:
Which college does Peyton Siva play for?
### Answer:
SELECT college FROM table_name_44 WHERE player = "peyton siva"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.