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_17781886_1 (game_site VARCHAR, date VARCHAR)
### Question:
Where was the December 12, 1965 game?
### Answer:
SELECT game_site FROM table_17781886_1 WHERE date = "December 12, 1965" |
Below is an context that describes a sql 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 (other_mozilla VARCHAR, opera VARCHAR)
### Question:
What percentage of users were using other Mozilla browsers during the period in which 2.29% were using Opera?
### Answer:
SELECT other_mozilla FROM table_name_97 WHERE opera = "2.29%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10798421_1 (village__german_ VARCHAR, percent_of_slovenes_1951 VARCHAR)
### Question:
Provide me with the names of all the villages (German) that has 76.3% of Slovenes in 1951.
### Answer:
SELECT village__german_ FROM table_10798421_1 WHERE percent_of_slovenes_1951 = "76.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 (host_team VARCHAR, date VARCHAR)
### Question:
Who was the host team on December 19?
### Answer:
SELECT host_team FROM table_name_4 WHERE date = "december 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 region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR)
### Question:
Show the region name with at least two storms.
### Answer:
SELECT T1.region_name FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_id HAVING COUNT(*) >= 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (year INTEGER, laps INTEGER)
### Question:
What is the highest Year, when Laps is greater than 161?
### Answer:
SELECT MAX(year) FROM table_name_82 WHERE laps > 161 |
Below is an context that describes a sql 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 (home_team VARCHAR)
### Question:
What was South Melbourne's score as the home team?
### Answer:
SELECT home_team AS score FROM table_name_19 WHERE home_team = "south melbourne" |
Below is an context that describes a sql 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 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR)
### Question:
What is the type for the Cathay Pacific Holidays company, an incorporation of Hong Kong and listed activities as Travel Agency?
### Answer:
SELECT type FROM table_name_42 WHERE incorporated_in = "hong kong" AND principal_activities = "travel agency" AND company = "cathay pacific holidays" |
Below is an context that describes a sql 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 (director VARCHAR, english_title VARCHAR)
### Question:
Who is the Director of the Olsen Gang Sees Red?
### Answer:
SELECT director FROM table_name_11 WHERE english_title = "the olsen gang sees red" |
Below is an context that describes a sql 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 (circuit VARCHAR, date VARCHAR)
### Question:
What was the circuit had a race on September 20.
### Answer:
SELECT circuit FROM table_name_46 WHERE date = "september 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_10 (name VARCHAR, group VARCHAR, mark VARCHAR)
### Question:
Who is in group B and has a mark of 6.33?
### Answer:
SELECT name FROM table_name_10 WHERE group = "b" AND mark = "6.33" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342338_6 (party VARCHAR, incumbent VARCHAR)
### Question:
What is the party for richard j. welch?
### Answer:
SELECT party FROM table_1342338_6 WHERE incumbent = "Richard J. Welch" |
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
### Question:
What is Score, when Country is "United States", when Place is "T9", and when Player is "Jay Hebert"?
### Answer:
SELECT score FROM table_name_28 WHERE country = "united states" AND place = "t9" AND player = "jay hebert" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (location VARCHAR, opponent_team VARCHAR, match VARCHAR, tournament VARCHAR)
### Question:
Where is the location of the friendly match larger than 1 where the Super Reds were the opponent?
### Answer:
SELECT location FROM table_name_87 WHERE match > 1 AND tournament = "friendly" AND opponent_team = "super reds" |
Below is an context that describes a sql 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 (score_final VARCHAR, apparatus VARCHAR)
### Question:
What was her final score on the ribbon apparatus?
### Answer:
SELECT score_final FROM table_name_86 WHERE apparatus = "ribbon" |
Below is an context that describes a sql 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 (left_office VARCHAR, minister VARCHAR)
### Question:
Tell me the left office for mirko tremaglia
### Answer:
SELECT left_office FROM table_name_20 WHERE minister = "mirko tremaglia" |
Below is an context that describes a sql 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 (record VARCHAR, athlete VARCHAR)
### Question:
What is Milcah Chemos' record?
### Answer:
SELECT record FROM table_name_80 WHERE athlete = "milcah chemos" |
Below is an context that describes a sql 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 (grid INTEGER, laps INTEGER)
### Question:
What is the minimum grid when there was more than 22 laps?
### Answer:
SELECT MIN(grid) FROM table_name_83 WHERE laps > 22 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18077713_1 (ebit__us_$m_ VARCHAR, net_profit__us_$m_ VARCHAR)
### Question:
What is the dollar amount of ebit when the net profit is 120.6?
### Answer:
SELECT ebit__us_$m_ FROM table_18077713_1 WHERE net_profit__us_$m_ = "120.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_1 (opponent_number VARCHAR, attendance VARCHAR)
### Question:
Who were the opponents when there was an attendance of 48,165?
### Answer:
SELECT opponent_number FROM table_name_1 WHERE attendance = "48,165" |
Below is an context that describes a sql 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 (place VARCHAR, singer VARCHAR, points VARCHAR)
### Question:
What is the total for the place when the singer is Mariza Ikonomi when points are larger than 20?
### Answer:
SELECT COUNT(place) FROM table_name_88 WHERE singer = "mariza ikonomi" AND points > 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_61 (per_capita_income VARCHAR, median_family_income VARCHAR)
### Question:
What is the per capita income of the county with a median family income of $40,492?
### Answer:
SELECT per_capita_income FROM table_name_61 WHERE median_family_income = "$40,492" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10748727_1 (season VARCHAR, points VARCHAR)
### Question:
What year had a score of 9?
### Answer:
SELECT season FROM table_10748727_1 WHERE points = "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_1717824_1 (_percentage_2011 VARCHAR, province VARCHAR)
### Question:
What was the percentage in Manitoba in 2011?
### Answer:
SELECT _percentage_2011 FROM table_1717824_1 WHERE province = "Manitoba" |
Below is an context that describes a sql 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 (tries INTEGER, points VARCHAR, goals VARCHAR, position VARCHAR)
### Question:
Tell me the lowest tries for goals more than 0 with centre position and points less than 54
### Answer:
SELECT MIN(tries) FROM table_name_40 WHERE goals > 0 AND position = "centre" AND points < 54 |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR, game VARCHAR)
### Question:
On what date was the game 1 played at Portland?
### Answer:
SELECT date FROM table_name_73 WHERE home_team = "portland" AND game = "game 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_28 (gold VARCHAR, bronze VARCHAR)
### Question:
What shows for gold when bronze is 1?
### Answer:
SELECT gold FROM table_name_28 WHERE bronze = 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_85 (total_congregations VARCHAR, _percentage_lds VARCHAR, population VARCHAR)
### Question:
What is the total number of Total Congregations, when % LDS is 0.54%, and when Population is greater than 105,275?
### Answer:
SELECT COUNT(total_congregations) FROM table_name_85 WHERE _percentage_lds = "0.54%" AND population > 105 OFFSET 275 |
Below is an context that describes a sql 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 (draw INTEGER, place VARCHAR, televote VARCHAR, artist VARCHAR)
### Question:
What draw average has a televote less than 633 and Vilma Voroblevaitė as artist and the place is greater than 14?
### Answer:
SELECT AVG(draw) FROM table_name_68 WHERE televote < 633 AND artist = "vilma voroblevaitė" AND place > 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_27781212_1 (winnings VARCHAR, driver VARCHAR)
### Question:
how many winnings does jeff gordon have?
### Answer:
SELECT winnings FROM table_27781212_1 WHERE driver = "Jeff Gordon" |
Below is an context that describes a sql 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 (years VARCHAR, roll VARCHAR, authority VARCHAR, decile VARCHAR)
### Question:
Name the years with authority of state and decile more than 6 with roll less than 33
### Answer:
SELECT years FROM table_name_40 WHERE authority = "state" AND decile > 6 AND roll < 33 |
Below is an context that describes a 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 (market_income_per_capita VARCHAR, poverty_rate VARCHAR)
### Question:
What is the market income per capita of the county with the 9.4% poverty rate?
### Answer:
SELECT market_income_per_capita FROM table_22815568_2 WHERE poverty_rate = "9.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_16 (away_team VARCHAR, venue VARCHAR)
### Question:
Which away team played at western oval?
### Answer:
SELECT away_team FROM table_name_16 WHERE venue = "western 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_10 (Leading VARCHAR, opponent VARCHAR)
### Question:
Which Leading Scorer has an Opponent of @ indiana?
### Answer:
SELECT Leading AS scorer FROM table_name_10 WHERE opponent = "@ indiana" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11381701_3 (windows VARCHAR, other VARCHAR)
### Question:
When the value of "other" is 0.7%, what is the percentage for Windows?
### Answer:
SELECT windows FROM table_11381701_3 WHERE other = "0.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_65 (ties INTEGER, wins VARCHAR, losses VARCHAR, starts VARCHAR)
### Question:
Which Ties is the highest one that has Losses smaller than 9, and Starts of 26, and Wins smaller than 21?
### Answer:
SELECT MAX(ties) FROM table_name_65 WHERE losses < 9 AND starts = 26 AND wins < 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_12 (team__number1 VARCHAR, team__number2 VARCHAR)
### Question:
with team #2 as akasvayu girona what is team #1?
### Answer:
SELECT team__number1 FROM table_name_12 WHERE team__number2 = "akasvayu girona" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (try_bonus VARCHAR, points_for VARCHAR)
### Question:
That is the value for Try bonus when the value for Points is 418?
### Answer:
SELECT try_bonus FROM table_name_82 WHERE points_for = "418" |
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR)
### Question:
With a Record of 9-24, what was the Score?
### Answer:
SELECT score FROM table_name_40 WHERE record = "9-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_3 (games INTEGER, name VARCHAR, rank VARCHAR)
### Question:
How many Games has a Name of stéphane dumas and a Rank larger than 5?
### Answer:
SELECT AVG(games) FROM table_name_3 WHERE name = "stéphane dumas" AND rank > 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_70 (color_commentator_s_ VARCHAR, network VARCHAR)
### Question:
Who is the color commentator for ESPN from 1990 to 1992?
### Answer:
SELECT color_commentator_s_ FROM table_name_70 WHERE network = "espn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28898948_3 (incumbent VARCHAR, reason VARCHAR, by_election VARCHAR)
### Question:
When 1881 is the by-election and death is the reason who is the incumbent?
### Answer:
SELECT incumbent FROM table_28898948_3 WHERE reason = "Death" AND by_election = 1881 |
Below is an context that describes a sql 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 (player VARCHAR, to_par VARCHAR)
### Question:
What is the Player that has a To standard of –4?
### Answer:
SELECT player FROM table_name_71 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_67 (type VARCHAR, capacity VARCHAR, number VARCHAR)
### Question:
Which Type has a Capacity of 28 passengers, and a Number of 16?
### Answer:
SELECT type FROM table_name_67 WHERE capacity = "28 passengers" AND number = "16" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (nationality VARCHAR, time VARCHAR, athlete VARCHAR)
### Question:
What's the nationality of Ray norton with a time of 20.6?
### Answer:
SELECT nationality FROM table_name_70 WHERE time = "20.6" AND athlete = "ray norton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (date VARCHAR, film VARCHAR)
### Question:
When did the film 'Monsters' come out?
### Answer:
SELECT date FROM table_name_96 WHERE film = "monsters" |
Below is an context that describes a sql 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 (round INTEGER, overall VARCHAR)
### Question:
What is the highest round of the player with an overall of 152?
### Answer:
SELECT MAX(round) FROM table_name_38 WHERE overall = 152 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE pets (weight VARCHAR, pet_age VARCHAR)
### Question:
Find the weight of the youngest dog.
### Answer:
SELECT weight FROM pets ORDER BY pet_age 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_2 (poles VARCHAR, team VARCHAR)
### Question:
What Poles do Team jva have?
### Answer:
SELECT poles FROM table_name_2 WHERE team = "team jva" |
Below is an context that describes a sql 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 (stadium VARCHAR, final_score VARCHAR)
### Question:
What stadium was the game held in when the final score was 17-31?
### Answer:
SELECT stadium FROM table_name_88 WHERE final_score = "17-31" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30049462_5 (high_points VARCHAR, team VARCHAR)
### Question:
in the detroit team who made the high points
### Answer:
SELECT high_points FROM table_30049462_5 WHERE team = "Detroit" |
Below is an context that describes a sql 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 (event VARCHAR, record VARCHAR)
### Question:
Which Event has a Record of 4:02.54?
### Answer:
SELECT event FROM table_name_90 WHERE record = "4:02.54" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (geust VARCHAR, result VARCHAR)
### Question:
What is the geust with a 0:1 result?
### Answer:
SELECT geust FROM table_name_65 WHERE result = "0: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_7 (competition_ VARCHAR, _federation_ VARCHAR, _or_league VARCHAR, team VARCHAR)
### Question:
What competition, federation, or league are the Tennessee Titans a member of?
### Answer:
SELECT competition_, _federation_, _or_league FROM table_name_7 WHERE team = "tennessee titans" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Settlements (Date_Claim_Made VARCHAR, Date_Claim_Settled VARCHAR)
### Question:
What are the claim dates and settlement dates of all the settlements?
### Answer:
SELECT Date_Claim_Made, Date_Claim_Settled FROM Settlements |
Below is an context that describes a sql 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 (bore VARCHAR, name VARCHAR)
### Question:
What bore goes with an 18 AB?
### Answer:
SELECT bore FROM table_name_9 WHERE name = "18 ab" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (sub_parish__sogn_ VARCHAR, church_name VARCHAR)
### Question:
Which Sub-Parish (Sogn) has a church named Jostedal Kyrkje?
### Answer:
SELECT sub_parish__sogn_ FROM table_name_99 WHERE church_name = "jostedal kyrkje" |
Below is an context that describes a sql 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 (lkf_cup VARCHAR, europe VARCHAR, regional_competitions VARCHAR)
### Question:
WHAT IS THE LKF CUP WITH euroleague group stage AND bbl elite division finalist?
### Answer:
SELECT lkf_cup FROM table_name_69 WHERE europe = "euroleague group stage" AND regional_competitions = "bbl elite division finalist" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the maximum 2002 figure when 2008 is 19.5, 2006 is less than 24.5 and 1999 is 18.3?
### Answer:
SELECT MAX(2002) FROM table_name_38 WHERE 2008 > 19.5 AND 2006 < 24.5 AND 1999 = 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_77 (loci VARCHAR, software VARCHAR)
### Question:
Is there Loci in the Cinderella software?
### Answer:
SELECT loci FROM table_name_77 WHERE software = "cinderella" |
Below is an context that describes a sql 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 (date VARCHAR, circuit VARCHAR)
### Question:
What date is the circuit at wanneroo park?
### Answer:
SELECT date FROM table_name_64 WHERE circuit = "wanneroo park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26282750_1 (date_of_ceremony VARCHAR, participants_recipients VARCHAR)
### Question:
What date was the participant/recipient takakazu watanabe?
### Answer:
SELECT date_of_ceremony FROM table_26282750_1 WHERE participants_recipients = "Takakazu Watanabe" |
Below is an context that describes a sql 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 (year INTEGER, reg_season VARCHAR, division VARCHAR)
### Question:
Which Year is the highest one that has a Reg Season of 3rd, western, and a Division larger than 2?
### Answer:
SELECT MAX(year) FROM table_name_30 WHERE reg_season = "3rd, western" AND division > 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 (attendance INTEGER, opponent VARCHAR)
### Question:
What is the low attendance rate against buffalo bills?
### Answer:
SELECT MIN(attendance) FROM table_name_98 WHERE opponent = "buffalo bills" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
Name the 2010 for tournament of us open
### Answer:
SELECT 2010 FROM table_name_95 WHERE tournament = "us open" |
Below is an context that describes a 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_21 (no INTEGER, years_in_toronto VARCHAR)
### Question:
What number is the player that played 1998-2001
### Answer:
SELECT MIN(no) FROM table_10015132_21 WHERE years_in_toronto = "1998-2001" |
Below is an context that describes a sql 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 (format VARCHAR, label VARCHAR, region VARCHAR)
### Question:
Tell me the format for geffen of the united states
### Answer:
SELECT format FROM table_name_3 WHERE label = "geffen" AND 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_20159025_1 (part_3 VARCHAR, driver VARCHAR)
### Question:
What was the time in part 3 when Heikki Kovalainen was the driver?
### Answer:
SELECT part_3 FROM table_20159025_1 WHERE driver = "Heikki Kovalainen" |
Below is an context that describes a sql 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 (film VARCHAR, status VARCHAR, name VARCHAR)
### Question:
What Ken Watanabe film as nominated?
### Answer:
SELECT film FROM table_name_96 WHERE status = "nominated" AND name = "ken watanabe" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19283982_4 (_number_of_candidates VARCHAR, _number_of_seats_won VARCHAR)
### Question:
Name the number of candidates for # of seats won being 43
### Answer:
SELECT _number_of_candidates FROM table_19283982_4 WHERE _number_of_seats_won = 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_19948664_1 (world_ranking__1_ VARCHAR, author___editor___source VARCHAR)
### Question:
What's the wold ranking of the index by Transparency International?
### Answer:
SELECT world_ranking__1_ FROM table_19948664_1 WHERE author___editor___source = "Transparency International" |
Below is an context that describes a sql 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 (date_of_birth VARCHAR, player VARCHAR)
### Question:
When was avishka gunawardene born?
### Answer:
SELECT date_of_birth FROM table_name_51 WHERE player = "avishka gunawardene" |
Below is an context that describes a sql 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 (headquarter VARCHAR, type VARCHAR)
### Question:
What is Headquarter, when Type is Independent Online News Portal?
### Answer:
SELECT headquarter FROM table_name_49 WHERE type = "independent online news portal" |
Below is an context that describes a sql 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, series VARCHAR)
### Question:
What is Date, when Series is Amscar Round 3?
### Answer:
SELECT date FROM table_name_36 WHERE series = "amscar 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_15299235_1 (grand_prix VARCHAR)
### Question:
Who won the spanish grand prix?
### Answer:
SELECT 250 AS cc_winner FROM table_15299235_1 WHERE grand_prix = "Spanish grand_prix" |
Below is an context that describes a sql 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 (matches VARCHAR, runs VARCHAR, wickets VARCHAR, career VARCHAR)
### Question:
Name the total number of matches with wickets less than 537 and career of 1898/99-1919/20 with runs more than 4476
### Answer:
SELECT COUNT(matches) FROM table_name_73 WHERE wickets < 537 AND career = "1898/99-1919/20" AND runs > 4476 |
Below is an context that describes a 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_4 (runs_conceded INTEGER, name VARCHAR)
### Question:
Name the least runs conceded for brett lee
### Answer:
SELECT MIN(runs_conceded) FROM table_15700367_4 WHERE name = "Brett 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_25246990_2 (no_in_series VARCHAR, prod_code VARCHAR)
### Question:
What number episode in the series had a production code of 111?
### Answer:
SELECT no_in_series FROM table_25246990_2 WHERE prod_code = "111" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (score VARCHAR)
### Question:
What score has 15.0% as the 2012?
### Answer:
SELECT score FROM table_name_16 WHERE 2012 = "15.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_18442691_2 (no VARCHAR, released VARCHAR)
### Question:
When cannot handle non-empty timestamp argument! 2007 is released what is the no.?
### Answer:
SELECT no FROM table_18442691_2 WHERE released = "Cannot handle non-empty timestamp argument! 2007" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11664625_2 (no_in_season INTEGER, us_viewers__millions_ VARCHAR)
### Question:
When is the first season there were 14.57 million U.S viewers?
### Answer:
SELECT MIN(no_in_season) FROM table_11664625_2 WHERE us_viewers__millions_ = "14.57" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (silver INTEGER, total INTEGER)
### Question:
What is the low silver total associated with under 1 total?
### Answer:
SELECT MIN(silver) FROM table_name_99 WHERE total < 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_13 (water__sqmi_ INTEGER, county VARCHAR, ansi_code VARCHAR)
### Question:
Which Water (sqmi) has a County of benson, and an ANSI code smaller than 1759243?
### Answer:
SELECT MIN(water__sqmi_) FROM table_name_13 WHERE county = "benson" AND ansi_code < 1759243 |
Below is an context that describes a sql 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 (river_mile INTEGER, location_ VARCHAR, l_ VARCHAR)
### Question:
What is the total of the River Mile in Greenup, Kentucky?
### Answer:
SELECT SUM(river_mile) FROM table_name_34 WHERE location_[l_] = "greenup, kentucky" |
Below is an context that describes a sql 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 (wins INTEGER, class VARCHAR, year VARCHAR)
### Question:
Class of 125cc, and a Year smaller than 1966 had what lowest wins?
### Answer:
SELECT MIN(wins) FROM table_name_95 WHERE class = "125cc" AND year < 1966 |
Below is an context that describes a sql 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 (different_holders INTEGER, country VARCHAR, giro_wins VARCHAR)
### Question:
what is the least different holders when the country is ireland and giro wins is less than 1?
### Answer:
SELECT MIN(different_holders) FROM table_name_93 WHERE country = "ireland" AND giro_wins < 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_35 (loan_club VARCHAR, name VARCHAR)
### Question:
From which club is player C. Dickinson?
### Answer:
SELECT loan_club FROM table_name_35 WHERE name = "c. dickinson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18812411_3 (r2 INTEGER)
### Question:
What was the minimum score for r2?
### Answer:
SELECT MIN(r2) FROM table_18812411_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_11 (visitor VARCHAR, home VARCHAR, date VARCHAR)
### Question:
Who were the Visitor of the Toronto Maple Leafs Home game on December 22?
### Answer:
SELECT visitor FROM table_name_11 WHERE home = "toronto maple leafs" AND date = "december 22" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1368649_9 (spokesperson VARCHAR, year_s_ VARCHAR)
### Question:
Who was the spokesperson for France in 1970?
### Answer:
SELECT spokesperson FROM table_1368649_9 WHERE year_s_ = 1970 |
Below is an context that describes a sql 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 (player VARCHAR, jersey_number_s_ VARCHAR)
### Question:
Which player wears the number 2 on his jersey?
### Answer:
SELECT player FROM table_name_18 WHERE jersey_number_s_ = "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 (security_forces VARCHAR, civilians VARCHAR)
### Question:
Name the security forces with civilians being 67
### Answer:
SELECT security_forces FROM table_name_81 WHERE civilians = "67" |
Below is an context that describes a sql 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 (score VARCHAR, visitor VARCHAR, date VARCHAR)
### Question:
What is the Score that has a Winnipeg Jets as Visitor on april 7?
### Answer:
SELECT score FROM table_name_10 WHERE visitor = "winnipeg jets" AND date = "april 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_16 (date VARCHAR, record VARCHAR)
### Question:
On what date was a game played, which left the team with a record of 5-7?
### Answer:
SELECT date FROM table_name_16 WHERE record = "5-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_54 (status VARCHAR, builder VARCHAR)
### Question:
Name the status with builder of orenstein and koppel
### Answer:
SELECT status FROM table_name_54 WHERE builder = "orenstein and koppel" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26476336_2 (location VARCHAR, team_nickname VARCHAR)
### Question:
Where is the nickname the Red Raiders?
### Answer:
SELECT location FROM table_26476336_2 WHERE team_nickname = "Red Raiders" |
Below is an context that describes a sql 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 (competition VARCHAR, notes VARCHAR)
### Question:
In which competition was Moradi's time 1:48.58?
### Answer:
SELECT competition FROM table_name_12 WHERE notes = "1:48.58" |
Below is an context that describes a sql 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, home_team VARCHAR)
### Question:
What is the Away team at the Wolverhampton Wanderers Home game with a Score of 2–0?
### Answer:
SELECT away_team FROM table_name_33 WHERE score = "2–0" AND home_team = "wolverhampton wanderers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (enrolment INTEGER, founded VARCHAR, denomination VARCHAR, day_boarding VARCHAR)
### Question:
What is the largest enrollment for anglican day schools founded after 1929?
### Answer:
SELECT MAX(enrolment) FROM table_name_82 WHERE denomination = "anglican" AND day_boarding = "day" AND founded > 1929 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15187735_19 (segment_c VARCHAR, segment_b VARCHAR)
### Question:
What is the segment C of the episode where segment B is Film Digitization?
### Answer:
SELECT segment_c FROM table_15187735_19 WHERE segment_b = "Film Digitization" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.