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_62 (player VARCHAR, place VARCHAR)
### Question:
Which player had a place of T4?
### Answer:
SELECT player FROM table_name_62 WHERE place = "t4" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25794138_1 (stadium VARCHAR, team VARCHAR)
### Question:
What stadium(sO does san juan jabloteh play in?
### Answer:
SELECT stadium FROM table_25794138_1 WHERE team = "San Juan Jabloteh" |
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR)
### Question:
What was the score of Wally Armstrong?
### Answer:
SELECT score FROM table_name_49 WHERE player = "wally armstrong" |
Below is an context that describes a sql 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 (genre VARCHAR, year VARCHAR, game VARCHAR)
### Question:
What's the genre of The Sims before 2002?
### Answer:
SELECT genre FROM table_name_23 WHERE year < 2002 AND game = "the sims" |
Below is an context that describes a sql 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 (part_1 VARCHAR, class VARCHAR)
### Question:
What is the entry for Part 1 for class 7d?
### Answer:
SELECT part_1 FROM table_name_81 WHERE class = "7d" |
Below is an context that describes a sql 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 (club_clubs VARCHAR, player VARCHAR)
### Question:
In what club(s) does Tony Lockett play?
### Answer:
SELECT club_clubs FROM table_name_11 WHERE player = "tony lockett" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23308178_4 (date VARCHAR, opponent VARCHAR)
### Question:
What date did they play agains the New York Rangers?
### Answer:
SELECT date FROM table_23308178_4 WHERE opponent = "New York Rangers" |
Below is an context that describes a sql 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 (opponents_in_the_final VARCHAR, score VARCHAR)
### Question:
Tell me the opponents for score of 6-1 2-6 7-10
### Answer:
SELECT opponents_in_the_final FROM table_name_90 WHERE score = "6-1 2-6 7-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_96 (l2_cache VARCHAR, gpu_model VARCHAR, frequency VARCHAR)
### Question:
What is the L2 cache for the processor with iris pro graphics 5200 and frequency of 2.6 ghz?
### Answer:
SELECT l2_cache FROM table_name_96 WHERE gpu_model = "iris pro graphics 5200" AND frequency = "2.6 ghz" |
Below is an context that describes 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 name of the swimmer who has the most records.
### Answer:
SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id GROUP BY t2.swimmer_id 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_19908313_2 (team VARCHAR, listed_owner_s_ VARCHAR)
### Question:
How many teams does Jeff Wyler own?
### Answer:
SELECT COUNT(team) FROM table_19908313_2 WHERE listed_owner_s_ = "Jeff Wyler" |
Below is an context that describes a sql 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 (place VARCHAR, to_par VARCHAR, score VARCHAR)
### Question:
What is the Place of the Player with a To par of +1 and Score of 74-70-69-72=285?
### Answer:
SELECT place FROM table_name_97 WHERE to_par = "+1" AND score = 74 - 70 - 69 - 72 = 285 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20799905_1 (mccain_percentage VARCHAR, county VARCHAR)
### Question:
What percentage did McCain get in Hamilton county?
### Answer:
SELECT mccain_percentage FROM table_20799905_1 WHERE county = "HAMILTON" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE addresses (address_id VARCHAR, state_province_county VARCHAR)
### Question:
Find the name of customers who are living in Colorado?
### Answer:
SELECT t1.customer_name FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id WHERE t3.state_province_county = "Colorado" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1710426_2 (best_10_year_period VARCHAR, best_15_year_period VARCHAR)
### Question:
Which people had the best 10-year period when Fischer had best 15-year period?
### Answer:
SELECT best_10_year_period FROM table_1710426_2 WHERE best_15_year_period = "Fischer" |
Below is an context that describes a sql 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 (left_office VARCHAR, entered_office VARCHAR)
### Question:
When did the king who entered office in 1012 leave office?
### Answer:
SELECT left_office FROM table_name_34 WHERE entered_office = "1012" |
Below is an context that describes a sql 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 (res VARCHAR, opponent VARCHAR)
### Question:
What is the result of the match with Jeff Monson as opponent?
### Answer:
SELECT res FROM table_name_96 WHERE opponent = "jeff monson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE matches (loser_age INTEGER, winner_age INTEGER)
### Question:
Find the average age of losers and winners of all matches.
### Answer:
SELECT AVG(loser_age), AVG(winner_age) FROM matches |
Below is an context that describes a sql 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 (country VARCHAR, player VARCHAR)
### Question:
Where is Fred Haas from?
### Answer:
SELECT country FROM table_name_93 WHERE player = "fred haas" |
Below is an context that describes a sql 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 (competition VARCHAR, goal VARCHAR)
### Question:
What type of Competition has a Goal of 3?
### Answer:
SELECT competition FROM table_name_84 WHERE goal = 3 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (team VARCHAR, venue VARCHAR)
### Question:
What is Team, when Venue is "Şükrü Saracoğlu Stadium"?
### Answer:
SELECT team FROM table_name_4 WHERE venue = "şükrü saracoğlu 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_95 (top_5 VARCHAR, tournament VARCHAR, events VARCHAR)
### Question:
what is the total number of times the tournament was pga championship and evens is less than 4?
### Answer:
SELECT COUNT(top_5) FROM table_name_95 WHERE tournament = "pga championship" AND events < 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_25 (opponent VARCHAR, rockets_score VARCHAR)
### Question:
Which Opponent has a Rockets score of 107?
### Answer:
SELECT opponent FROM table_name_25 WHERE rockets_score = 107 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2840500_8 (nationality VARCHAR, player VARCHAR)
### Question:
Name the number of nationalities for ryan mckie
### Answer:
SELECT COUNT(nationality) FROM table_2840500_8 WHERE player = "Ryan Mckie" |
Below is an context that describes a sql 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 (authority VARCHAR, decile VARCHAR, roll VARCHAR)
### Question:
What Authority has a decile greater than 5, with a roll of 170?
### Answer:
SELECT authority FROM table_name_62 WHERE decile > 5 AND roll = 170 |
Below is an context that describes a sql 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 (date VARCHAR, circuit VARCHAR)
### Question:
Which date was the syracuse circuit?
### Answer:
SELECT date FROM table_name_67 WHERE circuit = "syracuse" |
Below is an context that describes a sql 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 (game VARCHAR, record VARCHAR)
### Question:
What is the total number of Game, when Record is "11-17-7"?
### Answer:
SELECT COUNT(game) FROM table_name_34 WHERE record = "11-17-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 shipments (order_id VARCHAR, shipment_date INTEGER)
### Question:
Find the ids of orders which are shipped after 2000-01-01.
### Answer:
SELECT order_id FROM shipments WHERE shipment_date > "2000-01-01" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27512025_1 (exercise VARCHAR, equipment VARCHAR)
### Question:
What is the exercise when the equipment is heart rate monitor, water and towel?
### Answer:
SELECT exercise FROM table_27512025_1 WHERE equipment = "Heart rate monitor, water and towel" |
Below is an context that describes a sql 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 (year INTEGER, crowd VARCHAR, winners VARCHAR, season_result VARCHAR)
### Question:
What's the highest year than hawthorn won with a season result of preliminary finalist and a crowd smaller than 27,407?
### Answer:
SELECT MAX(year) FROM table_name_18 WHERE winners = "hawthorn" AND season_result = "preliminary finalist" AND crowd < 27 OFFSET 407 |
Below is an context that describes a sql 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 (round INTEGER, pick VARCHAR, name VARCHAR)
### Question:
Which Round is the highest one that has a Pick smaller than 10, and a Name of tory nixon?
### Answer:
SELECT MAX(round) FROM table_name_7 WHERE pick < 10 AND name = "tory nixon" |
Below is an context that describes a sql 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 (secr_numbers VARCHAR, year_made VARCHAR)
### Question:
What was the SECR number of the item made in 1861?
### Answer:
SELECT secr_numbers FROM table_name_31 WHERE year_made = "1861" |
Below is an context that describes a sql 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 (date VARCHAR, region VARCHAR)
### Question:
What date was the United States the region?
### Answer:
SELECT date FROM table_name_25 WHERE region = "united states" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (tournament VARCHAR)
### Question:
Which tournament has a value of a for 2009?
### Answer:
SELECT tournament FROM table_name_42 WHERE 2009 = "a" |
Below is an context that describes a sql 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 (season VARCHAR, top_goalscorer VARCHAR)
### Question:
In what season was Schädlich the top goalscorer?
### Answer:
SELECT season FROM table_name_79 WHERE top_goalscorer = "schädlich" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (loss VARCHAR, record VARCHAR)
### Question:
Which Loss has a Record of 30-32?
### Answer:
SELECT loss FROM table_name_85 WHERE record = "30-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_54 (grade VARCHAR, chin_up__reps_ VARCHAR)
### Question:
Which grade did the chin-up (reps) 9-10 receive?
### Answer:
SELECT grade FROM table_name_54 WHERE chin_up__reps_ = "9-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_15 (show VARCHAR, network__last_aired_ VARCHAR, last_aired VARCHAR)
### Question:
What show was played on ABC laster after 2002?
### Answer:
SELECT show FROM table_name_15 WHERE network__last_aired_ = "abc" AND last_aired > 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_16795394_3 (points VARCHAR, team__number2 VARCHAR)
### Question:
For team Atlético Nacional, what were the points?
### Answer:
SELECT points FROM table_16795394_3 WHERE team__number2 = "Atlético Nacional" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25429986_1 (distance VARCHAR, position VARCHAR)
### Question:
what is distance for the 7th position?
### Answer:
SELECT COUNT(distance) FROM table_25429986_1 WHERE position = "7th" |
Below is an context that describes a sql 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 (flattening_ratio VARCHAR, equatorial_diameter VARCHAR)
### Question:
What is the Flattening ratio associated with the Equatorial diameter of 49,528km?
### Answer:
SELECT flattening_ratio FROM table_name_79 WHERE equatorial_diameter = "49,528km" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (date VARCHAR, home VARCHAR, score VARCHAR)
### Question:
On what Date is the Detroit Falcons the Home team in a game with a Score of 63–66?
### Answer:
SELECT date FROM table_name_71 WHERE home = "detroit falcons" AND score = "63–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_53 (game VARCHAR, developer_s_ VARCHAR)
### Question:
What game was developed by Ubisoft Montreal?
### Answer:
SELECT game FROM table_name_53 WHERE developer_s_ = "ubisoft montreal" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Customer_Policies (customer_id VARCHAR); CREATE TABLE Customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_details VARCHAR)
### Question:
List the details of the customers who do not have any policies.
### Answer:
SELECT customer_details FROM Customers EXCEPT SELECT T1.customer_details FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.customer_id = T2.customer_id |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_254234_1 (iso_ VARCHAR, chinese_name VARCHAR)
### Question:
How many provinces are named 青海省 qīnghǎi shěng?
### Answer:
SELECT COUNT(iso_) AS № FROM table_254234_1 WHERE chinese_name = "青海省 Qīnghǎi Shěng" |
Below is an context that describes a sql 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 (win_percentage VARCHAR, games VARCHAR, Pwin_percentage VARCHAR, — VARCHAR, term_ VARCHAR, c_ VARCHAR)
### Question:
What is the win% for the game 80 and a PWin% of —, and a Term [c ] of 1987–1988?
### Answer:
SELECT win_percentage FROM table_name_88 WHERE games = 80 AND Pwin_percentage = — AND term_[c_] = "1987–1988" |
Below is an context that describes a sql 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 (position VARCHAR, player VARCHAR)
### Question:
What is the position for Jani Lajunen?
### Answer:
SELECT position FROM table_name_78 WHERE player = "jani lajunen" |
Below is an context that describes a sql 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 (position VARCHAR, player VARCHAR)
### Question:
Which position does Robert Nkemdiche play?
### Answer:
SELECT position FROM table_name_20 WHERE player = "robert nkemdiche" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24216139_2 (institution VARCHAR, nickname VARCHAR)
### Question:
Name the school that is cougars
### Answer:
SELECT institution FROM table_24216139_2 WHERE nickname = "Cougars" |
Below is an context that describes a sql 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 (track VARCHAR, pole_position VARCHAR)
### Question:
On which track did Takashi Kogure hold pole position?
### Answer:
SELECT track FROM table_name_86 WHERE pole_position = "takashi kogure" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the 1988 value when the 1987 value was 1r?
### Answer:
SELECT 1988 FROM table_name_88 WHERE 1987 = "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_19763199_3 (song VARCHAR, total_votes VARCHAR)
### Question:
What song has 24 votes?
### Answer:
SELECT song FROM table_19763199_3 WHERE total_votes = 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_61 (react INTEGER, mark VARCHAR, lane VARCHAR)
### Question:
What is the lowest React, when Mark is 46.26 sb, and when Lane is greater than 6?
### Answer:
SELECT MIN(react) FROM table_name_61 WHERE mark = "46.26 sb" AND lane > 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_21690339_1 (_percentage_cut VARCHAR, alternative_fuel VARCHAR)
### Question:
What was the percent cunt for the nation that had fuel oil stocks need only for industry as their fuel alternative?
### Answer:
SELECT _percentage_cut FROM table_21690339_1 WHERE alternative_fuel = "Fuel oil stocks need only for industry" |
Below is an context that describes a sql 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 (leading_scorer VARCHAR, record VARCHAR)
### Question:
What is the name of the leading scorer when the record was 9–6?
### Answer:
SELECT leading_scorer FROM table_name_18 WHERE record = "9–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_31 (current_club VARCHAR, height VARCHAR, year_born VARCHAR)
### Question:
What player was born in 1978 and smaller than 1.92?
### Answer:
SELECT current_club FROM table_name_31 WHERE height < 1.92 AND year_born > 1978 |
Below is an context that describes a sql 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 (points INTEGER, entrant VARCHAR, year VARCHAR)
### Question:
after 1987 and entrant of first racing what is the highest points?
### Answer:
SELECT MAX(points) FROM table_name_69 WHERE entrant = "first racing" AND year > 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_name_73 (crew VARCHAR, end_time VARCHAR)
### Question:
What is the crew with the end time of 21:11?
### Answer:
SELECT crew FROM table_name_73 WHERE end_time = "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_13537940_1 (launched VARCHAR, name VARCHAR)
### Question:
Which launch date involved the Driade?
### Answer:
SELECT launched FROM table_13537940_1 WHERE name = "Driade" |
Below is an context that describes a sql 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 (high_points VARCHAR, record VARCHAR)
### Question:
For the game that had an end record of 2-4, who was the high points scorer?
### Answer:
SELECT high_points FROM table_name_69 WHERE record = "2-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_12555835_1 (population__mareeba_ INTEGER)
### Question:
What was the smallest population figure for Mareeba?
### Answer:
SELECT MIN(population__mareeba_) FROM table_12555835_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_53 (result VARCHAR, captain_1 VARCHAR, date VARCHAR)
### Question:
Which Result has a Captain 1 of louis burger, and a Date of 30 october–2 november?
### Answer:
SELECT result FROM table_name_53 WHERE captain_1 = "louis burger" AND date = "30 october–2 november" |
Below is an context that describes a sql 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 (earnings___ INTEGER, wins INTEGER)
### Question:
What is the highest earnings for the golfer who has more than 37 wins?
### Answer:
SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE wins > 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_76 (player VARCHAR, position VARCHAR, round VARCHAR)
### Question:
Who is the lw position player from a round greater than 10?
### Answer:
SELECT player FROM table_name_76 WHERE position = "lw" AND round > 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_15 (category VARCHAR, year VARCHAR)
### Question:
Name the category for 2013
### Answer:
SELECT category FROM table_name_15 WHERE year = "2013" |
Below is an context that describes a sql 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 (location VARCHAR, date VARCHAR)
### Question:
Where was September 5?
### Answer:
SELECT location FROM table_name_25 WHERE date = "september 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_47 (poles VARCHAR, position VARCHAR)
### Question:
Which poles were there for the 8th position?
### Answer:
SELECT poles FROM table_name_47 WHERE position = "8th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23292220_4 (episode VARCHAR, seans_team VARCHAR)
### Question:
Which episode has ulrika jonsson and michael mcintyre on sean's team?
### Answer:
SELECT episode FROM table_23292220_4 WHERE seans_team = "Ulrika Jonsson and Michael McIntyre" |
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR, player VARCHAR)
### Question:
Which country has a score of 72 by Andrew Brooks?
### Answer:
SELECT country FROM table_name_41 WHERE score = 72 AND player = "andrew brooks" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (designated_visitors VARCHAR, designated_home VARCHAR)
### Question:
Who were the visitors when the Atlanta Falcons were the home team?
### Answer:
SELECT designated_visitors FROM table_name_42 WHERE designated_home = "atlanta falcons" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17355820_1 (season__number INTEGER, directed_by VARCHAR)
### Question:
In which season did Paul McCrane first direct an episode?
### Answer:
SELECT MIN(season__number) FROM table_17355820_1 WHERE directed_by = "Paul McCrane" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140074_2 (race VARCHAR, date VARCHAR)
### Question:
what's the race winner with date being 12 june
### Answer:
SELECT race AS Winner FROM table_1140074_2 WHERE date = "12 June" |
Below is an context that describes a sql 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_arena VARCHAR, joined_tschl VARCHAR, team_nickname VARCHAR)
### Question:
what is the home arena that joined tschl in 2010 and the team nickname is bearcats?
### Answer:
SELECT home_arena FROM table_name_59 WHERE joined_tschl = 2010 AND team_nickname = "bearcats" |
Below is an context that describes a sql 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 (year INTEGER, engine_s_ VARCHAR)
### Question:
Name the sum of year for engine of brm p202 3.0 v12 brm p200 3.0 v12
### Answer:
SELECT SUM(year) FROM table_name_43 WHERE engine_s_ = "brm p202 3.0 v12 brm p200 3.0 v12" |
Below is an context that describes a sql 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 (record VARCHAR, home VARCHAR)
### Question:
What is the team's record when vancouver was at home?
### Answer:
SELECT record FROM table_name_8 WHERE home = "vancouver" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15700367_2 (runs_conceded VARCHAR, overs_bowled VARCHAR)
### Question:
Name the runs conceded where overs bowled is 53
### Answer:
SELECT COUNT(runs_conceded) FROM table_15700367_2 WHERE overs_bowled = "53" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11656578_2 (area_km²__1998_ VARCHAR, no_of_communes VARCHAR)
### Question:
What's the area of the voivodenship with 51 communes?
### Answer:
SELECT area_km²__1998_ FROM table_11656578_2 WHERE no_of_communes = 51 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2189647_1 (name_or_number VARCHAR, yield__megatons_ VARCHAR)
### Question:
Name the name for 15 yield
### Answer:
SELECT name_or_number FROM table_2189647_1 WHERE yield__megatons_ = "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_96 (loss VARCHAR, date VARCHAR)
### Question:
Name the loss for june 30
### Answer:
SELECT loss FROM table_name_96 WHERE date = "june 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_15621965_3 (years_in_orlando VARCHAR, player VARCHAR)
### Question:
During what years did Chris Corchiani play in Orlando?
### Answer:
SELECT years_in_orlando FROM table_15621965_3 WHERE player = "Chris Corchiani" |
Below is an context that describes a sql 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 (shooter VARCHAR, total VARCHAR)
### Question:
What is Shooter, when Total is "21"?
### Answer:
SELECT shooter FROM table_name_51 WHERE total = "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_25655781_17 (team_classification VARCHAR, winner VARCHAR, points_classification VARCHAR)
### Question:
What was the team classification where andré greipel was the winner and had the points classification?
### Answer:
SELECT team_classification FROM table_25655781_17 WHERE winner = "André Greipel" AND points_classification = "André Greipel" |
Below is an context that describes a sql 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 (total INTEGER, bronze INTEGER)
### Question:
What is the average total for 0 bronze?
### Answer:
SELECT AVG(total) FROM table_name_98 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_56 (points VARCHAR, driver VARCHAR)
### Question:
Which points has the driver Paul Tracy?
### Answer:
SELECT points FROM table_name_56 WHERE driver = "paul tracy" |
Below is an context that describes a sql 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 (goals VARCHAR, country VARCHAR)
### Question:
How many goals did a player from France have?
### Answer:
SELECT goals FROM table_name_6 WHERE country = "france" |
Below is an context that describes a sql 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 (state VARCHAR, mountain_peak VARCHAR)
### Question:
Which state is West Spanish Peak in?
### Answer:
SELECT state FROM table_name_4 WHERE mountain_peak = "west spanish peak" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2076522_2 (accreditation VARCHAR, school VARCHAR)
### Question:
What is the accrediation for united tribes technical college?
### Answer:
SELECT accreditation FROM table_2076522_2 WHERE school = "United Tribes Technical 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_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR)
### Question:
Which School has a Year Joined larger than 1926, and a Mascot of vikings?
### Answer:
SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = "vikings" |
Below is an context that describes a sql 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 (bronze VARCHAR, silver VARCHAR, nation VARCHAR)
### Question:
What is Bronze, when Silver is 2, and when Nation is Italy?
### Answer:
SELECT bronze FROM table_name_20 WHERE silver = "2" AND nation = "italy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1463332_2 (_number_runner_up INTEGER, years__won_in_bold_ VARCHAR)
### Question:
What is the number of runner-up results for the years (won in bold) 1984, 2010?
### Answer:
SELECT MAX(_number_runner_up) FROM table_1463332_2 WHERE years__won_in_bold_ = "1984, 2010" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (icao VARCHAR, airport VARCHAR)
### Question:
What is the ICAO for Antalya Airport?
### Answer:
SELECT icao FROM table_name_86 WHERE airport = "antalya airport" |
Below is an context that describes a sql 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 (year_won INTEGER, player VARCHAR, to_par VARCHAR)
### Question:
What is the average year Rich Beem had a to par less than 17?
### Answer:
SELECT AVG(year_won) FROM table_name_20 WHERE player = "rich beem" AND to_par < 17 |
Below is an context that describes a sql 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 (division INTEGER, goals VARCHAR, season VARCHAR)
### Question:
What is the lowest Division, when Goals is less than 5, and when Season is "2002-03"?
### Answer:
SELECT MIN(division) FROM table_name_15 WHERE goals < 5 AND season = "2002-03" |
Below is an context that describes a sql 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 (enrollment INTEGER, nickname VARCHAR)
### Question:
What is the average enrollment of the Redbirds' school?
### Answer:
SELECT AVG(enrollment) FROM table_name_47 WHERE nickname = "redbirds" |
Below is an context that describes a sql 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 (attendance INTEGER, visitor VARCHAR, date VARCHAR)
### Question:
What is the lowest number of people attending the game on May 30 with Colorado as the visitors?
### Answer:
SELECT MIN(attendance) FROM table_name_27 WHERE visitor = "colorado" AND date = "may 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_1697190_2 (wins INTEGER)
### Question:
how many times did Casey Martin win?
### Answer:
SELECT MAX(wins) FROM table_1697190_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_14966667_19 (class VARCHAR, name VARCHAR)
### Question:
what class is Braxton Kelley in?
### Answer:
SELECT COUNT(class) FROM table_14966667_19 WHERE name = "Braxton Kelley" |
Below is an context that describes a sql 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 (away_team VARCHAR, score VARCHAR)
### Question:
Which Away team has a Score of 4–2?
### Answer:
SELECT away_team 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_81 (stadium VARCHAR, team VARCHAR)
### Question:
what is the stadium for čakovec?
### Answer:
SELECT stadium FROM table_name_81 WHERE team = "čakovec" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2190919_3 (poles INTEGER)
### Question:
What was the maximum amount of the poles?
### Answer:
SELECT MAX(poles) FROM table_2190919_3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.