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_44 (goals_scored INTEGER, goals_conceded VARCHAR, draw VARCHAR, points VARCHAR)
### Question:
what is the goals scored when draw is less than 8, points is 19 and goals conceded is more than 26?
### Answer:
SELECT SUM(goals_scored) FROM table_name_44 WHERE draw < 8 AND points = 19 AND goals_conceded > 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_name_50 (signed VARCHAR, school VARCHAR)
### Question:
Was the University of Southern California Signed?
### Answer:
SELECT signed FROM table_name_50 WHERE school = "university of southern california" |
Below is an context that describes a sql 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 (chassis VARCHAR, rank VARCHAR)
### Question:
Which chassis is ranked 24th?
### Answer:
SELECT chassis FROM table_name_96 WHERE rank = "24th" |
Below is an context that describes a sql 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 (record VARCHAR, attendance INTEGER)
### Question:
Which record has an attendance larger than 28,459?
### Answer:
SELECT record FROM table_name_43 WHERE attendance > 28 OFFSET 459 |
Below is an context that describes a sql 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 (wickets INTEGER, career VARCHAR, maidens VARCHAR)
### Question:
What are the fewest wickets when player's career spanned 1946-1960 and maidens were more than 419?
### Answer:
SELECT MIN(wickets) FROM table_name_84 WHERE career = "1946-1960" AND maidens > 419 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17001658_7 (high_rebounds VARCHAR, game VARCHAR)
### Question:
Who got the game high rebounds in game 46?
### Answer:
SELECT high_rebounds FROM table_17001658_7 WHERE game = 46 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342359_5 (party VARCHAR, incumbent VARCHAR)
### Question:
what's the party with incumbent being william e. evans
### Answer:
SELECT party FROM table_1342359_5 WHERE incumbent = "William E. Evans" |
Below is an context that describes a sql 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 (yam_ VARCHAR, y_ VARCHAR, maize___corn_ VARCHAR, a_ VARCHAR)
### Question:
What is the Yam amount when the Maze/Corn amount is 1355?
### Answer:
SELECT yam_[y_] FROM table_name_80 WHERE maize___corn_[a_] = "1355" |
Below is an context that describes a sql 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 (drawn VARCHAR, tries_for VARCHAR)
### Question:
How many resulted in draws with 34 tries for?
### Answer:
SELECT drawn FROM table_name_99 WHERE tries_for = "34" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)
### Question:
What was the date when the opponent was at South carolina?
### Answer:
SELECT date FROM table_name_8 WHERE opponent = "at south carolina" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11347578_1 (wind_power__wp_ VARCHAR, country VARCHAR)
### Question:
What is the symbol for Windpower in China?
### Answer:
SELECT wind_power__wp_ FROM table_11347578_1 WHERE country = "China" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29612224_1 (school_website VARCHAR, location VARCHAR)
### Question:
What's the website of the school in Macon, Illinois?
### Answer:
SELECT school_website FROM table_29612224_1 WHERE location = "Macon, Illinois" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (mutated_from VARCHAR, habit VARCHAR, pattern VARCHAR)
### Question:
Who's the inventor when it was mutated from Redsport Type 2, has a stripe pattern and a spur habit?
### Answer:
SELECT "inventor" FROM table_name_2 WHERE habit = "spur" AND pattern = "stripe" AND mutated_from = "redsport type 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 (position VARCHAR, player VARCHAR, Becchio VARCHAR)
### Question:
What is the position for the player becchio?
### Answer:
SELECT position FROM table WHERE player = Becchio |
Below is an context that describes a sql 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 (notes VARCHAR, call_sign VARCHAR)
### Question:
What is the Notes of the Frequency with Call sign CFUN-FM-1?
### Answer:
SELECT notes FROM table_name_33 WHERE call_sign = "cfun-fm-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_81 (tyre VARCHAR, entrant VARCHAR)
### Question:
what is the tyre when the entrant is scuderia milano?
### Answer:
SELECT tyre FROM table_name_81 WHERE entrant = "scuderia milano" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (country VARCHAR, indigenous_mining_production_2006 VARCHAR)
### Question:
Which country has an Indigenous mining production 2006 of 0?
### Answer:
SELECT country FROM table_name_26 WHERE indigenous_mining_production_2006 = "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_11 (tie_no INTEGER, home_team VARCHAR)
### Question:
what is the average tie no when the home team is stamford a.f.c.?
### Answer:
SELECT AVG(tie_no) FROM table_name_11 WHERE home_team = "stamford a.f.c." |
Below is an context that describes a sql 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 (founded INTEGER, coach VARCHAR, location VARCHAR)
### Question:
What is the average year that the club located in enfield was founded with an unknown coach?
### Answer:
SELECT AVG(founded) FROM table_name_87 WHERE coach = "unknown" AND location = "enfield" |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
Who was the away team at Lake Oval?
### Answer:
SELECT away_team FROM table_name_36 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_51 (candidates_nominated INTEGER, date VARCHAR, votes VARCHAR)
### Question:
How many candidates were nominated in 1952 with under 305,133 votes?
### Answer:
SELECT SUM(candidates_nominated) FROM table_name_51 WHERE date = "1952" AND votes < 305 OFFSET 133 |
Below is an context that describes a sql 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 (player VARCHAR, year_s__won VARCHAR)
### Question:
Who is the player that won in the year 1978?
### Answer:
SELECT player FROM table_name_81 WHERE year_s__won = "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_99 (package_option VARCHAR, television_service VARCHAR)
### Question:
Which package/option has sky wwe 24/7 television service?
### Answer:
SELECT package_option FROM table_name_99 WHERE television_service = "sky wwe 24/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_83 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
### Question:
What is the highest attendance that has oakland raiders as the opponent, with a week greater than 9?
### Answer:
SELECT MAX(attendance) FROM table_name_83 WHERE opponent = "oakland raiders" AND week > 9 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (venue VARCHAR, year VARCHAR)
### Question:
Which Venue has a Year of 1911?
### Answer:
SELECT venue FROM table_name_60 WHERE year = 1911 |
Below is an context that describes a sql 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 (purpose VARCHAR, frequency VARCHAR)
### Question:
What is the purpose for Frequency of 102.3?
### Answer:
SELECT purpose FROM table_name_65 WHERE frequency = "102.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_58 (storm VARCHAR, dance VARCHAR, clash VARCHAR)
### Question:
Which storm has a clash of 3 and a dance of 4?
### Answer:
SELECT storm FROM table_name_58 WHERE dance = "4" AND clash = "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_36 (place VARCHAR, country VARCHAR)
### Question:
What is the Place of the Player from Scotland?
### Answer:
SELECT place FROM table_name_36 WHERE country = "scotland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
### Question:
What Utah Jazz guard, played at BYU?
### Answer:
SELECT player FROM table_name_52 WHERE position = "guard" AND school_club_team = "byu" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (winning_driver VARCHAR, location VARCHAR)
### Question:
Which winning driver is located in Imola?
### Answer:
SELECT winning_driver FROM table_name_48 WHERE location = "imola" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1876825_5 (title VARCHAR, production_code VARCHAR)
### Question:
What is title of episode 06-02-406?
### Answer:
SELECT title FROM table_1876825_5 WHERE production_code = "06-02-406" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (stadium VARCHAR, final_score VARCHAR)
### Question:
At what stadium was the game with the final score of 26-24 played?
### Answer:
SELECT stadium FROM table_name_29 WHERE final_score = "26-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_38 (metropolitan_population__2006__millions INTEGER, metropolitan_area VARCHAR, gdp__ppp__us$_per_capita VARCHAR)
### Question:
What is the average 2006 metropolitan population of Lima with a GDP per capita over $13,100?
### Answer:
SELECT AVG(metropolitan_population__2006__millions) FROM table_name_38 WHERE metropolitan_area = "lima" AND gdp__ppp__us$_per_capita > 13 OFFSET 100 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE EMPLOYEE (BirthDate VARCHAR, City VARCHAR)
### Question:
What are the birth dates of employees living in Edmonton?
### Answer:
SELECT BirthDate FROM EMPLOYEE WHERE City = "Edmonton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (covalent__single_bond_ VARCHAR, name VARCHAR)
### Question:
What is the covalent (single bond) value of sodium?
### Answer:
SELECT covalent__single_bond_ FROM table_name_21 WHERE name = "sodium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE wrestler (Name VARCHAR, Days_held VARCHAR)
### Question:
What is the name of the wrestler with the fewest days held?
### Answer:
SELECT Name FROM wrestler ORDER BY Days_held 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_79 (score VARCHAR, competition VARCHAR, date VARCHAR)
### Question:
What is the score of the 1996 Emarate cup on March 25, 1996?
### Answer:
SELECT score FROM table_name_79 WHERE competition = "1996 emarate cup" AND date = "march 25, 1996" |
Below is an context that describes a sql 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 (car_make VARCHAR, record VARCHAR)
### Question:
What kind of car has the NASCAR Camping World Truck Series record?
### Answer:
SELECT car_make FROM table_name_7 WHERE record = "nascar camping world truck series" |
Below is an context that describes a sql 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 (bronze INTEGER, gold INTEGER)
### Question:
Which is the highest bronze with gold less than 0?
### Answer:
SELECT MAX(bronze) FROM table_name_17 WHERE gold < 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_74 (elimination VARCHAR, time VARCHAR)
### Question:
What is the elimination number for the time 13:43?
### Answer:
SELECT elimination FROM table_name_74 WHERE time = "13: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_72 (no_of_premierships VARCHAR, nickname VARCHAR)
### Question:
How many Premierships have Nicknamed of kangaroos?
### Answer:
SELECT COUNT(no_of_premierships) FROM table_name_72 WHERE nickname = "kangaroos" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (date VARCHAR, home VARCHAR)
### Question:
What is the Date, when the home team is the NY Rangers?
### Answer:
SELECT date FROM table_name_22 WHERE home = "ny 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_19897294_11 (location_s_ VARCHAR, family_families VARCHAR)
### Question:
How many locations featured the Webb Family?
### Answer:
SELECT COUNT(location_s_) FROM table_19897294_11 WHERE family_families = "The Webb Family" |
Below is an context that describes a sql 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 (field_goals INTEGER, points INTEGER)
### Question:
What is the average number of field goals for players with more than 60 points?
### Answer:
SELECT AVG(field_goals) FROM table_name_65 WHERE points > 60 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (laps INTEGER, grid VARCHAR, driver VARCHAR)
### Question:
I want the sum of Laps with Grid less than 11 for jean-pierre jarier
### Answer:
SELECT SUM(laps) FROM table_name_7 WHERE grid < 11 AND driver = "jean-pierre jarier" |
Below is an context that describes a sql 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 (club VARCHAR, goals_against VARCHAR, goal_difference VARCHAR)
### Question:
Which club had fewer than 29 goals against and a difference smaller than 26?
### Answer:
SELECT club FROM table_name_47 WHERE goals_against < 29 AND goal_difference < 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_name_42 (ground VARCHAR, date VARCHAR)
### Question:
What is the Ground with a Date that is 2008-06-20?
### Answer:
SELECT ground FROM table_name_42 WHERE date = "2008-06-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_86 (host_team VARCHAR, final_score VARCHAR)
### Question:
Which Host Team has Final Score of 42-23?
### Answer:
SELECT host_team FROM table_name_86 WHERE final_score = "42-23" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1610301_1 (headquarters VARCHAR, population__2011_ VARCHAR)
### Question:
Where is the headquarters of the place whose population in 2011 was 3811738?
### Answer:
SELECT headquarters FROM table_1610301_1 WHERE population__2011_ = 3811738 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Allergy_type (allergytype VARCHAR)
### Question:
Show all allergy types.
### Answer:
SELECT DISTINCT allergytype FROM Allergy_type |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14638077_2 (winning_driver VARCHAR, pole_position VARCHAR, race_name VARCHAR)
### Question:
who is the the winning driver with pole position being paul tracy and race name being miller genuine draft 200
### Answer:
SELECT winning_driver FROM table_14638077_2 WHERE pole_position = "Paul Tracy" AND race_name = "Miller Genuine Draft 200" |
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR)
### Question:
What was the To par of Jack Nicklaus?
### Answer:
SELECT to_par FROM table_name_71 WHERE player = "jack nicklaus" |
Below is an context that describes a sql 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 (record VARCHAR, opponent VARCHAR)
### Question:
What was the record after the game against the Houston Oilers?
### Answer:
SELECT record FROM table_name_98 WHERE opponent = "houston oilers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24399615_5 (cable_rank VARCHAR, episode_no VARCHAR)
### Question:
How many times did episode number 8 air?
### Answer:
SELECT COUNT(cable_rank) FROM table_24399615_5 WHERE episode_no = 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24463470_1 (difficulty VARCHAR, circuit VARCHAR)
### Question:
What is the difficulty of the athens circuit?
### Answer:
SELECT difficulty FROM table_24463470_1 WHERE circuit = "Athens" |
Below is an context that describes a sql 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 (division VARCHAR, tms VARCHAR, pos VARCHAR)
### Question:
What is the division in the season with 13 tms and pos smaller than 8?
### Answer:
SELECT COUNT(division) FROM table_name_36 WHERE tms = 13 AND pos < 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (events INTEGER, wins VARCHAR, earnings___$__ VARCHAR)
### Question:
What is the largest events number for more than 2 wins and less than $446,893 in earnings?
### Answer:
SELECT MAX(events) FROM table_name_65 WHERE wins > 2 AND earnings___$__ < 446 OFFSET 893 |
Below is an context that describes a sql 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 (places INTEGER, nation VARCHAR, rank VARCHAR)
### Question:
What is the Places amount of the United States Ranking 8?
### Answer:
SELECT AVG(places) FROM table_name_71 WHERE nation = "united states" AND rank = 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (wins VARCHAR, top_5 VARCHAR, top_10 VARCHAR, cuts_made VARCHAR)
### Question:
How many Wins have a Top-10 smaller than 6, and Cuts made larger than 7, and a Top-5 of 0?
### Answer:
SELECT COUNT(wins) FROM table_name_57 WHERE top_10 < 6 AND cuts_made > 7 AND top_5 = 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_20 (year_completed VARCHAR, line VARCHAR)
### Question:
What year was the Line of Gardermobanen completed?
### Answer:
SELECT year_completed FROM table_name_20 WHERE line = "gardermobanen" |
Below is an context that describes a sql 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 (week VARCHAR, result VARCHAR)
### Question:
What week's game had a result of bye?
### Answer:
SELECT week FROM table_name_67 WHERE result = "bye" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (series VARCHAR, date VARCHAR)
### Question:
What is the series record for the game on April 24?
### Answer:
SELECT series FROM table_name_41 WHERE date = "april 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_12 (first VARCHAR, surname VARCHAR, position VARCHAR, uni_number VARCHAR, throws VARCHAR)
### Question:
Which First has a Uni # larger than 34, and Throws of r, and a Position of rhp, and a Surname of stockman?
### Answer:
SELECT first FROM table_name_12 WHERE uni_number > 34 AND throws = "r" AND position = "rhp" AND surname = "stockman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16381914_1 (affiliation VARCHAR, location VARCHAR)
### Question:
What kind of school is Canton, New York?
### Answer:
SELECT affiliation FROM table_16381914_1 WHERE location = "Canton, New York" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28490105_1 (rnd INTEGER, gt_winning_car VARCHAR)
### Question:
What is the earliest round where the gt winning car is max angelelli?
### Answer:
SELECT MIN(rnd) FROM table_28490105_1 WHERE gt_winning_car = "Max Angelelli" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2649597_1 (team_s_ VARCHAR, start VARCHAR)
### Question:
What teams started at 39.1?
### Answer:
SELECT team_s_ FROM table_2649597_1 WHERE start = "39.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_29273182_1 (written_by VARCHAR, production_code VARCHAR)
### Question:
Who wrote the episode with ip03012 as the production code?
### Answer:
SELECT written_by FROM table_29273182_1 WHERE production_code = "IP03012" |
Below is an context that describes a sql 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 (years VARCHAR, league VARCHAR)
### Question:
The league of 400 (21) has what years listed?
### Answer:
SELECT years FROM table_name_87 WHERE league = "400 (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_51 (ihsaa_class VARCHAR, size VARCHAR, mascot VARCHAR)
### Question:
What is the IHSAA class of the school with less than 400 students and a mascot of the Tigers?
### Answer:
SELECT ihsaa_class FROM table_name_51 WHERE size < 400 AND mascot = "tigers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24108789_6 (events INTEGER, _number VARCHAR)
### Question:
Name the least events for number 7
### Answer:
SELECT MIN(events) FROM table_24108789_6 WHERE _number = 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_26 (week INTEGER, attendance VARCHAR)
### Question:
What is the week for the stadium that had an attendance of 22,286?
### Answer:
SELECT AVG(week) FROM table_name_26 WHERE attendance = "22,286" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_100518_1 (guardian_mātṛkā VARCHAR, consort VARCHAR)
### Question:
What is the guardian mātṛkā for the guardian whose consort is Svāhā?
### Answer:
SELECT guardian_mātṛkā FROM table_100518_1 WHERE consort = "Svāhā" |
Below is an context that describes a sql 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 (decile VARCHAR, area VARCHAR, authority VARCHAR, roll VARCHAR)
### Question:
Which Decile has an Authority of state, a Roll smaller than 61, and an Area of kotemaori?
### Answer:
SELECT decile FROM table_name_34 WHERE authority = "state" AND roll < 61 AND area = "kotemaori" |
Below is an context that describes a sql 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 (date VARCHAR, catalog VARCHAR)
### Question:
What date had a catalog of kicp-1321?
### Answer:
SELECT date FROM table_name_61 WHERE catalog = "kicp-1321" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE appointment (Id VARCHAR)
### Question:
How many appointments are there?
### Answer:
SELECT COUNT(*) FROM appointment |
Below is an context that describes a sql 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 (name VARCHAR, location VARCHAR)
### Question:
What is the name of the building at Aston?
### Answer:
SELECT name FROM table_name_59 WHERE location = "aston" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR)
### Question:
what is the rank when silver is 0, bronze is more than 1 and the total is more than 3?
### Answer:
SELECT rank FROM table_name_32 WHERE silver = 0 AND bronze > 1 AND total > 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_53 (top_10s INTEGER, starts VARCHAR)
### Question:
Which of the top-10s has a starts value of 14?
### Answer:
SELECT MAX(top_10s) FROM table_name_53 WHERE starts = 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_15 (outgoing_manager VARCHAR, team VARCHAR)
### Question:
Tell me the outgoing manager for livingston
### Answer:
SELECT outgoing_manager FROM table_name_15 WHERE team = "livingston" |
Below is an context that describes a sql 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 (dates_active VARCHAR, storm_name VARCHAR)
### Question:
what date did the irwin storm take place
### Answer:
SELECT dates_active FROM table_name_78 WHERE storm_name = "irwin" |
Below is an context that describes a 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_4 (position VARCHAR, college_junior_club_team VARCHAR)
### Question:
What position does that draft pick play from Lake Superior State University (NCAA)?
### Answer:
SELECT position FROM table_2840500_4 WHERE college_junior_club_team = "Lake Superior State University (NCAA)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
### Question:
What are all the characteristic names of product "sesame"?
### Answer:
SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE book_club (Id VARCHAR)
### Question:
How many book clubs are there?
### Answer:
SELECT COUNT(*) FROM book_club |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27615520_1 (speed___iops__ VARCHAR, storage_medium VARCHAR)
### Question:
What is the Input/output operations per second for the emlc flash?
### Answer:
SELECT speed___iops__ FROM table_27615520_1 WHERE storage_medium = "eMLC Flash" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (date VARCHAR, opponent VARCHAR)
### Question:
What was the date of the game against seattle?
### Answer:
SELECT date FROM table_name_52 WHERE opponent = "seattle" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (years_in_toronto VARCHAR, nationality VARCHAR, school_club_team VARCHAR)
### Question:
What year is United States school/club team from Arkansas play in Toronto
### Answer:
SELECT years_in_toronto FROM table_name_87 WHERE nationality = "united states" AND school_club_team = "arkansas" |
Below is an context that describes a sql 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 (sanskrit_संस्कृतम् VARCHAR, tamil_தமிழ் VARCHAR)
### Question:
What kind of Sanskrit संस्कृतम् has a Tamil தமிழ் of rōkiṇi ரோகிணி?
### Answer:
SELECT sanskrit_संस्कृतम् FROM table_name_23 WHERE tamil_தமிழ் = "rōkiṇi ரோகிணி" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, used_kb INTEGER)
### Question:
List the phone hardware model and company name for the phones whose screen usage in kb is between 10 and 15.
### Answer:
SELECT DISTINCT T2.Hardware_Model_name, T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.used_kb BETWEEN 10 AND 15 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (earth VARCHAR, metal VARCHAR)
### Question:
Which earth has west metal?
### Answer:
SELECT earth FROM table_name_10 WHERE metal = "west" |
Below is an context that describes a sql 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 (height_of_ground_station_m_ VARCHAR, name VARCHAR, height_of_mountain_station_m_ VARCHAR)
### Question:
How much Height of ground station(m) has a Name of lutersee, and a Height of mountain station(m) larger than 2398?
### Answer:
SELECT COUNT(height_of_ground_station_m_) FROM table_name_35 WHERE name = "lutersee" AND height_of_mountain_station_m_ > 2398 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (name VARCHAR, wsu_year_s_ VARCHAR)
### Question:
What is Name, when WSU Year(s) is 1981-82?
### Answer:
SELECT name FROM table_name_89 WHERE wsu_year_s_ = "1981-82" |
Below is an context that describes a sql 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 (time_elapsed VARCHAR, destination VARCHAR, closest_approach VARCHAR)
### Question:
With the Destination of Jupiter and the Closest approach of 4 February 2004, what is the Time elapsed?
### Answer:
SELECT time_elapsed FROM table_name_11 WHERE destination = "jupiter" AND closest_approach = "4 february 2004" |
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR)
### Question:
What was the smallest crowd size for away team st kilda?
### Answer:
SELECT MIN(crowd) FROM table_name_25 WHERE away_team = "st kilda" |
Below is an context that describes a sql 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 (position VARCHAR, round VARCHAR)
### Question:
What position has 14 rounds?
### Answer:
SELECT position FROM table_name_15 WHERE round = 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_93 (score VARCHAR, date VARCHAR)
### Question:
Name the score for september 25
### Answer:
SELECT score FROM table_name_93 WHERE date = "september 25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_84 (city VARCHAR, venue VARCHAR)
### Question:
In which city is Hayman Hall (Tom Gola Arena) located?
### Answer:
SELECT city FROM table_name_84 WHERE venue = "hayman hall (tom gola arena)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (decile INTEGER, gender VARCHAR)
### Question:
Which is the lowest Decile that is coed?
### Answer:
SELECT MIN(decile) FROM table_name_94 WHERE gender = "coed" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (total INTEGER, bronze VARCHAR, gold VARCHAR)
### Question:
What's the smallest total with a bronze count of 5 and a gold count less than 8?
### Answer:
SELECT MIN(total) FROM table_name_89 WHERE bronze = 5 AND gold < 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25839957_5 (execution_units INTEGER)
### Question:
What's the minimum number of execution units?
### Answer:
SELECT MIN(execution_units) FROM table_25839957_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_6 (position INTEGER, points VARCHAR, bike_no VARCHAR, driver___passenger VARCHAR)
### Question:
What is the lowest Postion, when Bike No is greater than 10, when Driver / Passenger is Nicky Pulinx / Ondrej Cermak, and when Points is greater than 244?
### Answer:
SELECT MIN(position) FROM table_name_6 WHERE bike_no > 10 AND driver___passenger = "nicky pulinx / ondrej cermak" AND points > 244 |
Subsets and Splits