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_1341522_50 (first_elected INTEGER, incumbent VARCHAR)
### Question:
What year was incumbent jim mcdermott first elected?
### Answer:
SELECT MIN(first_elected) FROM table_1341522_50 WHERE incumbent = "Jim McDermott" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE movie (director VARCHAR)
### Question:
How many movie directors are there?
### Answer:
SELECT COUNT(DISTINCT director) FROM movie |
Below is an context that describes a sql 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 (game INTEGER, score VARCHAR)
### Question:
Which Game has a Score of l 102–114 (ot)?
### Answer:
SELECT AVG(game) FROM table_name_90 WHERE score = "l 102–114 (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_name_59 (year INTEGER, developer_s_ VARCHAR)
### Question:
What year was the developer(s) Bioware?
### Answer:
SELECT AVG(year) FROM table_name_59 WHERE developer_s_ = "bioware" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342393_10 (district VARCHAR, incumbent VARCHAR)
### Question:
what is the section where gordon lee ran
### Answer:
SELECT district FROM table_1342393_10 WHERE incumbent = "Gordon Lee" |
Below is an context that describes a sql 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 (city VARCHAR, prize VARCHAR)
### Question:
What is City, when Prize is "$146,000"?
### Answer:
SELECT city FROM table_name_18 WHERE prize = "$146,000" |
Below is an context that describes a sql 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 (points VARCHAR, artist VARCHAR)
### Question:
How many points did Joe O'Meara have?
### Answer:
SELECT COUNT(points) FROM table_name_93 WHERE artist = "joe o'meara" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28046929_2 (driver VARCHAR, co_driver VARCHAR)
### Question:
who is the other person where the assistant is paulo babo
### Answer:
SELECT driver FROM table_28046929_2 WHERE co_driver = "Paulo Babo" |
Below is an context that describes a sql 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 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)
### Question:
WHAT WAS THE SCORE IN THE FINAL PLAYED AGAINST JOSE CHECA-CALVO IN THE SANT CUGAT TOURNAMENT ?
### Answer:
SELECT score FROM table_name_80 WHERE tournament = "sant cugat" AND opponent_in_the_final = "jose checa-calvo" |
Below is an context that describes a 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, tournament VARCHAR)
### Question:
How many assists per game in the tournament 2010 fiba world championship?
### Answer:
SELECT assists_per_game FROM table_2387461_1 WHERE tournament = "2010 FIBA World Championship" |
Below is an context that describes a sql 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 (date VARCHAR, tie_no VARCHAR)
### Question:
On what Date is Tie no 19?
### Answer:
SELECT date FROM table_name_36 WHERE tie_no = "19" |
Below is an context that describes a sql 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 (co_driver VARCHAR, position VARCHAR, laps VARCHAR)
### Question:
Who is the co-driver for the 6th position and more than 159 laps?
### Answer:
SELECT co_driver FROM table_name_36 WHERE position = "6th" AND laps > 159 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE list (classroom VARCHAR)
### Question:
Find the number of students in one classroom.
### Answer:
SELECT COUNT(*), classroom FROM list GROUP BY classroom |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10015132_16 (school_club_team VARCHAR, years_in_toronto VARCHAR)
### Question:
which club was in toronto 2003-06
### Answer:
SELECT school_club_team FROM table_10015132_16 WHERE years_in_toronto = "2003-06" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10706961_2 (rd INTEGER, pole_position VARCHAR)
### Question:
What is the highest Rd that Tom Sneva had the pole position in?
### Answer:
SELECT MAX(rd) FROM table_10706961_2 WHERE pole_position = "Tom Sneva" |
Below is an context that describes a sql 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 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
### Question:
What's the total when the bronze was more than 1, silver was 3, and gold was less than 5?
### Answer:
SELECT SUM(total) FROM table_name_90 WHERE bronze > 1 AND silver = 3 AND gold < 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_97 (office VARCHAR, greenback_ticket VARCHAR)
### Question:
Which office was Richard M. Griffin vying for on the Greenback ticket?
### Answer:
SELECT office FROM table_name_97 WHERE greenback_ticket = "richard m. griffin" |
Below is an context that describes a sql 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 (points INTEGER, entrant VARCHAR, year VARCHAR, engine VARCHAR)
### Question:
What is Brown Motors best point total using the Offenhauser L4 engine since 1950?
### Answer:
SELECT MAX(points) FROM table_name_72 WHERE year > 1950 AND engine = "offenhauser l4" AND entrant = "brown motors" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341663_44 (district VARCHAR, party VARCHAR)
### Question:
Which district is republican?
### Answer:
SELECT district FROM table_1341663_44 WHERE party = "Republican" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (name VARCHAR, perfection VARCHAR)
### Question:
Who had a perfection percentage of 73.24%?
### Answer:
SELECT name FROM table_name_62 WHERE perfection = "73.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 Dogs (name VARCHAR, owner_id VARCHAR); CREATE TABLE Owners (first_name VARCHAR, owner_id VARCHAR, state VARCHAR)
### Question:
Which dogs are owned by someone who lives in Virginia? List the owner's first name and the dog's name.
### Answer:
SELECT T1.first_name, T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T1.state = 'Virginia' |
Below is an context that describes a sql 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, date VARCHAR)
### Question:
Name the venue for march 28, 2008
### Answer:
SELECT venue FROM table_name_47 WHERE date = "march 28, 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 table_name_49 (year INTEGER, chassis VARCHAR)
### Question:
What is the average Year with Chassis equalling cooper t60?
### Answer:
SELECT AVG(year) FROM table_name_49 WHERE chassis = "cooper t60" |
Below is an context that describes a 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_2 (index__year_ VARCHAR, world_ranking__1_ VARCHAR)
### Question:
How many years were recorded when world ranking was 21st?
### Answer:
SELECT COUNT(index__year_) FROM table_19948664_2 WHERE world_ranking__1_ = "21st" |
Below is an context that describes a sql 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 (fcc_info VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
### Question:
What is the FCC frequency for the station w262al which has a Frequency MHz larger than 92.7?
### Answer:
SELECT fcc_info FROM table_name_35 WHERE frequency_mhz > 92.7 AND call_sign = "w262al" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_214920_1 (seat_of_rcm VARCHAR, density__pop_per_km2_ VARCHAR)
### Question:
What is the seat of the RCM in the county that has a density of 9.7?
### Answer:
SELECT seat_of_rcm FROM table_214920_1 WHERE density__pop_per_km2_ = "9.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_91 (retired VARCHAR, notes VARCHAR)
### Question:
What year was the aircraft retired when it was replaced by 737-300s?
### Answer:
SELECT retired FROM table_name_91 WHERE notes = "replaced by 737-300s" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (lane INTEGER, country VARCHAR, time VARCHAR, react VARCHAR)
### Question:
What is the average lane of the athlete from cuba who has a time greater than 22.57 and react less than 0.245?
### Answer:
SELECT AVG(lane) FROM table_name_8 WHERE time > 22.57 AND react < 0.245 AND country = "cuba" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE people (Age VARCHAR, Height VARCHAR)
### Question:
What is the age of the tallest person?
### Answer:
SELECT Age FROM people ORDER BY Height DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (opponent VARCHAR, date VARCHAR)
### Question:
Who played on december 12, 1993?
### Answer:
SELECT opponent FROM table_name_37 WHERE date = "december 12, 1993" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_224672_2 (term_began VARCHAR, term_ended VARCHAR)
### Question:
When did the term begin that ended January 3, 1995?
### Answer:
SELECT term_began FROM table_224672_2 WHERE term_ended = "January 3, 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_2 (rd__number INTEGER, player VARCHAR, pick__number VARCHAR)
### Question:
What's the average Rd number for dane jackson with a pick number over 44?
### Answer:
SELECT AVG(rd__number) FROM table_name_2 WHERE player = "dane jackson" AND pick__number > 44 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (score VARCHAR, competition_round VARCHAR, date VARCHAR)
### Question:
What is the score of the copa libertadores group 3 competition round on 2 February 1994?
### Answer:
SELECT score FROM table_name_11 WHERE competition_round = "copa libertadores group 3" AND date = "2 february 1994" |
Below is an context that describes a sql 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 (date VARCHAR, leading_scorer VARCHAR)
### Question:
What date was Leo Mainoldi (24) the leading scorer?
### Answer:
SELECT date FROM table_name_72 WHERE leading_scorer = "leo mainoldi (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_40 (Box VARCHAR, away_team VARCHAR)
### Question:
What was the box score for the game where the away team was the sydney spirit?
### Answer:
SELECT Box AS score FROM table_name_40 WHERE away_team = "sydney spirit" |
Below is an context that describes a sql 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 (position VARCHAR, time VARCHAR)
### Question:
Which position has a time of 1:45:53:00?
### Answer:
SELECT position FROM table_name_41 WHERE time = "1:45:53:00" |
Below is an context that describes a sql 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 (party VARCHAR, position VARCHAR, name VARCHAR)
### Question:
What Party is Member Alicia Hughes from?
### Answer:
SELECT party FROM table_name_95 WHERE position = "member" AND name = "alicia hughes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (icao VARCHAR, airline VARCHAR)
### Question:
What is the ICAO for Asiana Airlines?
### Answer:
SELECT icao FROM table_name_8 WHERE airline = "asiana airlines" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10335_1 (operational VARCHAR, camp VARCHAR)
### Question:
what's the operational period with camp sajmište
### Answer:
SELECT operational FROM table_10335_1 WHERE camp = "Sajmište" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13555999_1 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR, specification VARCHAR)
### Question:
What amount is the junior high school where the gender is male and the specification is minimum diameter of sakigawa?
### Answer:
SELECT junior_high_school__12_15_yrs_ FROM table_13555999_1 WHERE gender = "Male" AND specification = "Minimum diameter of sakigawa" |
Below is an context that describes a sql 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 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR)
### Question:
What is the primary sponsor of driver Mark Martin?
### Answer:
SELECT primary_sponsor_s_ FROM table_name_78 WHERE driver_s_ = "mark martin" |
Below is an context that describes a sql 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 (round INTEGER, college VARCHAR, overall VARCHAR)
### Question:
WHAT IS THE ROUND FROM MICHIGAN COLLEGE, AND OVERALL LARGER THAN 37?
### Answer:
SELECT SUM(round) FROM table_name_55 WHERE college = "michigan" AND overall > 37 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (score VARCHAR, home_team VARCHAR)
### Question:
What score has grays athletic as the home team?
### Answer:
SELECT score FROM table_name_27 WHERE home_team = "grays 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_24418525_1 (frequency VARCHAR, coverage VARCHAR)
### Question:
What frequency is mega manila set to?
### Answer:
SELECT frequency FROM table_24418525_1 WHERE coverage = "Mega Manila" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15463188_16 (name VARCHAR, school_club_team VARCHAR)
### Question:
Name the name for visayas
### Answer:
SELECT name FROM table_15463188_16 WHERE school_club_team = "Visayas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE teaches (id VARCHAR)
### Question:
How many different instructors have taught some course?
### Answer:
SELECT COUNT(DISTINCT id) FROM teaches |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22815568_2 (status VARCHAR, market_income_per_capita VARCHAR)
### Question:
What is the status of the county with per capita market income of $24,326?
### Answer:
SELECT status FROM table_22815568_2 WHERE market_income_per_capita = "$24,326" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR)
### Question:
What is Maksim Botin's position?
### Answer:
SELECT position FROM table_14038363_1 WHERE player = "Maksim Botin" |
Below is an context that describes a sql 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 (wins INTEGER, tournament VARCHAR, events VARCHAR)
### Question:
How many wins were in the Masters Tournament with less than 15 events?
### Answer:
SELECT MAX(wins) FROM table_name_20 WHERE tournament = "masters tournament" AND events < 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_20 (bike VARCHAR, grid VARCHAR)
### Question:
What bike has 26 as the grid?
### Answer:
SELECT bike FROM table_name_20 WHERE grid = 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_28846752_4 (innings INTEGER, highest_score VARCHAR)
### Question:
What is the innings when the highest score is 72?
### Answer:
SELECT MAX(innings) FROM table_28846752_4 WHERE highest_score = "72" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24192031_2 (age VARCHAR, height VARCHAR)
### Question:
How old is the person with the height of m (ft 3⁄4 in)?
### Answer:
SELECT age FROM table_24192031_2 WHERE height = "m (ft 3⁄4 in)" |
Below is an context that describes a sql 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 (team VARCHAR, series VARCHAR)
### Question:
What team did they play when the series was 1-1?
### Answer:
SELECT team FROM table_name_51 WHERE series = "1-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_15 (score VARCHAR, game VARCHAR, record VARCHAR)
### Question:
What is the Score of the game larger than 57 with a Record of 4–55?
### Answer:
SELECT score FROM table_name_15 WHERE game > 57 AND record = "4–55" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1965650_9 (player VARCHAR, college_junior_club_team VARCHAR)
### Question:
When kitchener rangers (oha) is the college, junior, or club team team who is the player?
### Answer:
SELECT player FROM table_1965650_9 WHERE college_junior_club_team = "Kitchener Rangers (OHA)" |
Below is an context that describes a sql 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 (three VARCHAR, date VARCHAR)
### Question:
Name the three for 16 december 1676
### Answer:
SELECT three FROM table_name_83 WHERE date = "16 december 1676" |
Below is an context that describes a sql 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 (byes INTEGER, losses VARCHAR, against VARCHAR)
### Question:
What is the average Byes for the losses of 15, and before 1874?
### Answer:
SELECT AVG(byes) FROM table_name_46 WHERE losses = 15 AND against < 1874 |
Below is an context that describes a sql 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 (date VARCHAR, athlete VARCHAR)
### Question:
What was the date that Elvir Krehmic made a high jump record?
### Answer:
SELECT date FROM table_name_78 WHERE athlete = "elvir krehmic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1615980_4 (no VARCHAR, tournament VARCHAR)
### Question:
How many tournament wins were at Volvo Masters Andalucia?
### Answer:
SELECT COUNT(no) FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE people (Party VARCHAR)
### Question:
Show the party that has the most people.
### Answer:
SELECT Party FROM people GROUP BY Party ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (format VARCHAR, label VARCHAR, catalog VARCHAR)
### Question:
What format was the release in form the Edsel label, and that was from the EDCD 262 catalog?
### Answer:
SELECT format FROM table_name_62 WHERE label = "edsel" AND catalog = "edcd 262" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (pole INTEGER, flap VARCHAR, race VARCHAR)
### Question:
What is the lowest pole with a Flap larger than 5, and a before race 155?
### Answer:
SELECT MIN(pole) FROM table_name_49 WHERE flap > 5 AND race < 155 |
Below is an context that describes a sql 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 (wins INTEGER, points VARCHAR, year VARCHAR)
### Question:
What is the lowest win number of the competitor who had 90 points before 1994?
### Answer:
SELECT MIN(wins) FROM table_name_41 WHERE points = 90 AND year < 1994 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (date VARCHAR, score VARCHAR)
### Question:
Whic Date has a Score of 4–2?
### Answer:
SELECT date FROM table_name_33 WHERE score = "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_4 (county VARCHAR, c_abate VARCHAR)
### Question:
Which county has 728 (43%) listed under C. Abate?
### Answer:
SELECT county FROM table_name_4 WHERE c_abate = "728 (43%)" |
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
When was there a record of 13–17–3?
### Answer:
SELECT date FROM table_name_63 WHERE record = "13–17–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_1 (tournament VARCHAR, score VARCHAR)
### Question:
what is the tournament when the score is 2-6, 4-6?
### Answer:
SELECT tournament FROM table_name_1 WHERE score = "2-6, 4-6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (occupational_pensions VARCHAR, working_tax_credit VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR, other_income_sources VARCHAR, state_pensions VARCHAR)
### Question:
Other income sources of 2%, and a State pensions of 7%, and a Working tax credit of 2%, and a Employment ( salaries & wages) of 66% has what occupational pensions?
### Answer:
SELECT occupational_pensions FROM table_name_34 WHERE other_income_sources = "2%" AND state_pensions = "7%" AND working_tax_credit = "2%" AND employment___salaries_ & _wages_ = "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_261946_3 (enrollment VARCHAR, location__all_in_ohio_ VARCHAR)
### Question:
What is the enrollment for Ashland University?
### Answer:
SELECT enrollment FROM table_261946_3 WHERE location__all_in_ohio_ = "Ashland" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
What was the score of the Home team that played against Carlton's Away game?
### Answer:
SELECT home_team AS score FROM table_name_3 WHERE away_team = "carlton" |
Below is an context that describes a sql 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 (bodyweight INTEGER, snatch INTEGER)
### Question:
Which weightlifter with a snatch larger than 117.5 had the lowest bodyweight?
### Answer:
SELECT MIN(bodyweight) FROM table_name_35 WHERE snatch > 117.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_38 (result VARCHAR, date VARCHAR)
### Question:
What was the result of the game that was played on february 27, 2000?
### Answer:
SELECT result FROM table_name_38 WHERE date = "february 27, 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_name_11 (third VARCHAR, second VARCHAR)
### Question:
Which Third has a Second of agnieszka ogrodniczek?
### Answer:
SELECT third FROM table_name_11 WHERE second = "agnieszka ogrodniczek" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (release_date VARCHAR, production_num VARCHAR, director VARCHAR)
### Question:
Which Release date has a Production Num larger than 5888, and a Director of hugh harman and friz freleng?
### Answer:
SELECT release_date FROM table_name_69 WHERE production_num > 5888 AND director = "hugh harman and friz freleng" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26593762_3 (outgoing_manager VARCHAR, incoming_manager VARCHAR)
### Question:
Who was the outgoing manager of the team whose incoming manager was Dougie Freedman?
### Answer:
SELECT outgoing_manager FROM table_26593762_3 WHERE incoming_manager = "Dougie Freedman" |
Below is an context that describes a sql 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 (position VARCHAR, height INTEGER)
### Question:
What is the position of the player who is taller than 2.12?
### Answer:
SELECT position FROM table_name_30 WHERE height > 2.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_62 (company VARCHAR, market_value__billion_$_ VARCHAR, profits__billion_$_ VARCHAR, sales__billion_$_ VARCHAR, rank VARCHAR)
### Question:
What company has more than 195.34 billion in sales, ranked greater than 7, more than 11.29 billion in profits, and a market value greater than 198.14 billion?
### Answer:
SELECT company FROM table_name_62 WHERE sales__billion_$_ > 195.34 AND rank > 7 AND profits__billion_$_ > 11.29 AND market_value__billion_$_ > 198.14 |
Below is an context that describes a sql 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 (title VARCHAR, japan VARCHAR)
### Question:
Tell me the title for japan august 23, 2012
### Answer:
SELECT title FROM table_name_57 WHERE japan = "august 23, 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_37 (disposition_of_ship VARCHAR, tonnage VARCHAR, ship_name VARCHAR)
### Question:
The ship named Bacchus with a tonnage of t had what disposition of ship?
### Answer:
SELECT disposition_of_ship FROM table_name_37 WHERE tonnage = "t" AND ship_name = "bacchus" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29836557_2 (affiliation VARCHAR, player VARCHAR)
### Question:
What university was Kevan George affiliated with?
### Answer:
SELECT affiliation FROM table_29836557_2 WHERE player = "Kevan George" |
Below is an context that describes a sql 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 (player VARCHAR, opponent VARCHAR)
### Question:
which athlete played against Queensland?
### Answer:
SELECT player FROM table_name_17 WHERE opponent = "queensland" |
Below is an context that describes a sql 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 (to_par VARCHAR, score VARCHAR)
### Question:
what is the to par when the score is 69-70-72-72=283?
### Answer:
SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 - 72 = 283 |
Below is an context that describes a sql 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 (avg_finish INTEGER, year VARCHAR, starts VARCHAR)
### Question:
in 2007, what is the avg finish that had a start less than 1?
### Answer:
SELECT SUM(avg_finish) FROM table_name_91 WHERE year = 2007 AND starts < 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_93 (fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR)
### Question:
What is the FIS Nordic World Ski Championship years when the winter Olympics took place in 1968?
### Answer:
SELECT fis_nordic_world_ski_championships FROM table_name_93 WHERE winter_olympics = 1968 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_173475_1 (title VARCHAR, release VARCHAR)
### Question:
What titles were released in 2006?
### Answer:
SELECT title FROM table_173475_1 WHERE release = 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_75 (pick INTEGER, player VARCHAR, round VARCHAR)
### Question:
When was Mario Elie picked in a round before 7?
### Answer:
SELECT MAX(pick) FROM table_name_75 WHERE player = "mario elie" AND round < 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 player (name VARCHAR, points INTEGER)
### Question:
what are the name of players who get more than the average points.
### Answer:
SELECT name FROM player WHERE points > (SELECT AVG(points) FROM player) |
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR)
### Question:
What was the final score for the game played against the New York Knicks?
### Answer:
SELECT score FROM table_name_11 WHERE opponent = "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 university (affiliation VARCHAR)
### Question:
Find how many different affiliation types there are.
### Answer:
SELECT COUNT(DISTINCT affiliation) FROM university |
Below is an context that describes a sql 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 (pick INTEGER, player VARCHAR)
### Question:
What is the average pick of player jim h. mitchell?
### Answer:
SELECT AVG(pick) FROM table_name_3 WHERE player = "jim h. mitchell" |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
Name the away team score for lake oval
### Answer:
SELECT away_team AS score FROM table_name_1 WHERE venue = "lake 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_57 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR, top_5 VARCHAR)
### Question:
Which Top-10 has a Top-25 smaller than 18, and a Top-5 of 6, and a Cuts made smaller than 20?
### Answer:
SELECT MAX(top_10) FROM table_name_57 WHERE top_25 < 18 AND top_5 = 6 AND cuts_made < 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_83 (decision VARCHAR, date VARCHAR)
### Question:
Which team won the game on January 12?
### Answer:
SELECT decision FROM table_name_83 WHERE date = "january 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_72 (avg_g VARCHAR, yards VARCHAR, long VARCHAR, gp_gs VARCHAR)
### Question:
What is the total number of avg/g with a long of 50, a gp-gs of 3-0, and 926 yards?
### Answer:
SELECT COUNT(avg_g) FROM table_name_72 WHERE long = 50 AND gp_gs = "3-0" AND yards > 926 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17928023_1 (result VARCHAR, game_site VARCHAR)
### Question:
For game site Schaefer Stadium, what were the results?
### Answer:
SELECT result FROM table_17928023_1 WHERE game_site = "Schaefer 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 (player VARCHAR, to_par VARCHAR)
### Question:
What is the Player that has a To standard of –4?
### Answer:
SELECT player FROM table_name_15 WHERE to_par = "–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_33 (Id VARCHAR)
### Question:
Which 2012 has a 2009 smaller than 3.38?
### Answer:
SELECT AVG(2012) FROM table_name_33 WHERE 2009 < 3.38 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22355_62 (rank INTEGER, gold VARCHAR)
### Question:
What is the maximum rank of the nation that won 4 gold medals?
### Answer:
SELECT MAX(rank) FROM table_22355_62 WHERE gold = 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 record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR)
### Question:
Find the names of swimmers who has a result of "win".
### Answer:
SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win' |
Below is an context that describes a sql 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 (name VARCHAR, goals VARCHAR, club_source_ VARCHAR, i_ VARCHAR)
### Question:
What is Name, when Goals is "80", and when Club Source [I ] is "71 [ dead link ]"?
### Answer:
SELECT name FROM table_name_60 WHERE goals = 80 AND club_source_[i_] = "71 [ dead link ]" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.