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_16 (top_25 VARCHAR, top_5 VARCHAR, top_10 VARCHAR, tournament VARCHAR)
### Question:
What is the total number of top-25 in the Masters Tournament, which has 0 top-10 and more than 0 top-5?
### Answer:
SELECT COUNT(top_25) FROM table_name_16 WHERE top_10 = 0 AND tournament = "masters tournament" 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_18 (date VARCHAR, loss VARCHAR)
### Question:
What was the date of the game with a loss of Bush (1–5)?
### Answer:
SELECT date FROM table_name_18 WHERE loss = "bush (1–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_44 (pick__number INTEGER, round VARCHAR, position VARCHAR, college VARCHAR)
### Question:
A Round larger than 1, a College of Oklahoma state, and a average Pick # that has a Position of tight end is what?
### Answer:
SELECT AVG(pick__number) FROM table_name_44 WHERE position = "tight end" AND college = "oklahoma state" AND round > 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_23 (iata VARCHAR, city VARCHAR)
### Question:
What is the IATA for the city of Amsterdam?
### Answer:
SELECT iata FROM table_name_23 WHERE city = "amsterdam" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21284653_1 (municipal_status VARCHAR, population_density VARCHAR)
### Question:
What is the municipal status where the population density is 895.5?
### Answer:
SELECT municipal_status FROM table_21284653_1 WHERE population_density = "895.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_32 (game INTEGER, record VARCHAR, opponents VARCHAR)
### Question:
In which game did the opponent score more than 103 and the record was 1-3?
### Answer:
SELECT AVG(game) FROM table_name_32 WHERE record = "1-3" AND opponents > 103 |
Below is an context that describes a sql 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 (role VARCHAR, year VARCHAR)
### Question:
What was the role in 1996?
### Answer:
SELECT role FROM table_name_80 WHERE year = "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_48 (nba_draft VARCHAR, college VARCHAR)
### Question:
What is the NBA draft result of the player from the College of Kansas?
### Answer:
SELECT nba_draft FROM table_name_48 WHERE college = "kansas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21269143_1 (result VARCHAR, round VARCHAR)
### Question:
Name the result for round 13
### Answer:
SELECT result FROM table_21269143_1 WHERE round = "13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15887683_16 (hdtv VARCHAR, television_service VARCHAR)
### Question:
How many values of HDTV correspond to television service of la sorgente sat 1?
### Answer:
SELECT COUNT(hdtv) FROM table_15887683_16 WHERE television_service = "La Sorgente Sat 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_2147588_4 (district VARCHAR, successor VARCHAR)
### Question:
When william b. campbell (u) is the successor what is the district?
### Answer:
SELECT district FROM table_2147588_4 WHERE successor = "William B. Campbell (U)" |
Below is an context that describes a sql 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 (game_site VARCHAR, result VARCHAR)
### Question:
What game site has a result of bye?
### Answer:
SELECT game_site FROM table_name_52 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_66 (screen_pixels VARCHAR, maker VARCHAR, weight VARCHAR)
### Question:
For Amazon.com's device with a weight of 221g (7.8oz) how many screen pixels does the device have?
### Answer:
SELECT screen_pixels FROM table_name_66 WHERE maker = "amazon.com" AND weight = "221g (7.8oz)" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
Which Away team score has a Home team of richmond?
### Answer:
SELECT away_team AS score FROM table_name_58 WHERE home_team = "richmond" |
Below is an context that describes a sql 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 (release_date VARCHAR, sspec_number VARCHAR)
### Question:
What's the release date for the processor spec number SLBEQ(d0)?
### Answer:
SELECT release_date FROM table_name_29 WHERE sspec_number = "slbeq(d0)" |
Below is an context that describes a sql 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 (record VARCHAR, visitor VARCHAR)
### Question:
Atlanta was a visitor on December 8, what was their record?
### Answer:
SELECT record FROM table_name_68 WHERE visitor = "atlanta" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24807406_1 (assists VARCHAR, minutes VARCHAR)
### Question:
What is the assists total number if the minutes is 1?
### Answer:
SELECT COUNT(assists) FROM table_24807406_1 WHERE minutes = 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_26375386_23 (result VARCHAR, total VARCHAR)
### Question:
What was the result for the total of 12?
### Answer:
SELECT result FROM table_26375386_23 WHERE total = 12 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (quantity_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
### Question:
What is the quantity when the wheel arrangement is 2-8-0, and class is f-4?
### Answer:
SELECT quantity_made FROM table_name_92 WHERE wheel_arrangement = "2-8-0" AND class = "f-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_56 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
### Question:
What is the total rank for New Zealand, when less than 1 bronze medals were won?
### Answer:
SELECT SUM(rank) FROM table_name_56 WHERE nation = "new zealand" AND 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_98 (format VARCHAR, label VARCHAR)
### Question:
What is Candlelight Records format?
### Answer:
SELECT format FROM table_name_98 WHERE label = "candlelight records" |
Below is an context that describes a sql 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 (transmission VARCHAR, trim VARCHAR)
### Question:
What is the Removal that has a Trim of xe (2009)?
### Answer:
SELECT transmission FROM table_name_32 WHERE trim = "xe (2009)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR)
### Question:
What is the largest number in attendance when the record is 1-1-0?
### Answer:
SELECT MAX(attendance) FROM table_name_63 WHERE record = "1-1-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_63 (league_cup_apps INTEGER, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)
### Question:
What is the sum of league cup appearances for the players with FA cup goals larger than 0 and FA cup appearances less than 2?
### Answer:
SELECT SUM(league_cup_apps) FROM table_name_63 WHERE fa_cup_goals > 0 AND fa_cup_apps < 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_18813011_6 (high_assists VARCHAR, date VARCHAR)
### Question:
Who had the most assist and how many on July 26?
### Answer:
SELECT high_assists FROM table_18813011_6 WHERE date = "July 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_17 (laps INTEGER, team VARCHAR)
### Question:
What are Perkins Engineering's fewest laps?
### Answer:
SELECT MIN(laps) FROM table_name_17 WHERE team = "perkins engineering" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10712301_5 (licence_award_date VARCHAR, region VARCHAR)
### Question:
What is the license award date for North East England?
### Answer:
SELECT licence_award_date FROM table_10712301_5 WHERE region = "North East England" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (total INTEGER, to_par INTEGER)
### Question:
Name the most total with to par more than 16
### Answer:
SELECT MAX(total) FROM table_name_14 WHERE to_par > 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_23 (episode__number VARCHAR, original_airdate VARCHAR)
### Question:
What is the episode # of the episode that aired on April 5, 1998?
### Answer:
SELECT episode__number FROM table_name_23 WHERE original_airdate = "april 5, 1998" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_203802_2 (english_party_name VARCHAR)
### Question:
How many parties are named the Center Alliance
### Answer:
SELECT COUNT(2013 AS _parliamentary_election) FROM table_203802_2 WHERE english_party_name = "Center Alliance" |
Below is an context that describes a sql 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 (modern_title_of_house VARCHAR, translation VARCHAR)
### Question:
Which modern house title translates to prison?
### Answer:
SELECT modern_title_of_house FROM table_name_46 WHERE translation = "prison" |
Below is an context that describes a sql 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 (manuals VARCHAR, opus VARCHAR)
### Question:
What manuals have the opus of 135?
### Answer:
SELECT manuals FROM table_name_31 WHERE opus = "135" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2175858_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR)
### Question:
How many miles were driven with the average speed at 116.81?
### Answer:
SELECT miles__km_ FROM table_2175858_1 WHERE average_speed__mph_ = "116.81" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341690_35 (candidates VARCHAR, first_elected VARCHAR)
### Question:
Who were the candidates in the districts that was first elected in 1966?
### Answer:
SELECT candidates FROM table_1341690_35 WHERE first_elected = 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 department (dept_name VARCHAR, budget INTEGER)
### Question:
Find the name and budget of departments whose budgets are more than the average budget.
### Answer:
SELECT dept_name, budget FROM department WHERE budget > (SELECT AVG(budget) FROM department) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (goals VARCHAR, caps VARCHAR)
### Question:
How many goals were scored when there were 73 caps?
### Answer:
SELECT goals FROM table_name_63 WHERE caps = "73" |
Below is an context that describes a sql 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 (highest_position VARCHAR, album_title VARCHAR, issue_date VARCHAR)
### Question:
What is the highest position Talk on Corners, which had an issue date greater than 1, had?
### Answer:
SELECT COUNT(highest_position) FROM table_name_29 WHERE album_title = "talk on corners" AND issue_date > 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 (location VARCHAR, year VARCHAR)
### Question:
What is the location for 2012?
### Answer:
SELECT location FROM table_name_13 WHERE year = 2012 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (silver INTEGER, gold VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)
### Question:
Tell me the average silver for total more than 1 with bronze of 2 for france and gold more than 0
### Answer:
SELECT AVG(silver) FROM table_name_62 WHERE total > 1 AND bronze = 2 AND nation = "france" AND 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_31 (team VARCHAR, time VARCHAR)
### Question:
Which Team has a Time of 1:14.51.73?
### Answer:
SELECT team FROM table_name_31 WHERE time = "1:14.51.73" |
Below is an context that describes a sql 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 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
### Question:
What's the total grid for a Time/Retired of +1:03.741, and Laps larger than 44?
### Answer:
SELECT COUNT(grid) FROM table_name_71 WHERE time_retired = "+1:03.741" AND laps > 44 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE user_profiles (partitionid VARCHAR, name VARCHAR)
### Question:
What is the partition id of the user named "Iron Man".
### Answer:
SELECT partitionid FROM user_profiles WHERE name = 'Iron Man' |
Below is an context that describes a sql 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 (away_team VARCHAR, match_score VARCHAR)
### Question:
What is the Away team when the match score was norths 19 manly 4?
### Answer:
SELECT away_team FROM table_name_54 WHERE match_score = "norths 19 manly 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_64 (title VARCHAR, left_office VARCHAR, entered_office VARCHAR)
### Question:
What is the title of the king who left office in 982 and entered office in 949?
### Answer:
SELECT title FROM table_name_64 WHERE left_office = "982" AND entered_office = "949" |
Below is an context that describes a sql 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 (recording VARCHAR, year VARCHAR)
### Question:
Name the recording for 2012
### Answer:
SELECT recording FROM table_name_86 WHERE year = "2012" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (constellation VARCHAR, ngc_number INTEGER)
### Question:
What is the name of the constellation that has a NGC number smaller tha 5457?
### Answer:
SELECT constellation FROM table_name_19 WHERE ngc_number < 5457 |
Below is an context that describes a sql 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 (rank INTEGER, nation VARCHAR, bronze VARCHAR, total VARCHAR)
### Question:
What kind of Rank has a Bronze of 0 and a Total smaller than 3 and a Nation of austria?
### Answer:
SELECT MAX(rank) FROM table_name_6 WHERE bronze = 0 AND total < 3 AND nation = "austria" |
Below is an context that describes a sql 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, money___$__ VARCHAR, player VARCHAR)
### Question:
What is the place when the player is Bob Gilder and the money was $20,903?
### Answer:
SELECT place FROM table_name_88 WHERE money___$__ = "20,903" AND player = "bob gilder" |
Below is an context that describes a sql 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 (pick INTEGER, player VARCHAR)
### Question:
What's the total number of picks of a team that had june longalong?
### Answer:
SELECT SUM(pick) FROM table_name_28 WHERE player = "june longalong" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10294071_1 (total_w_l VARCHAR, doubles_w_l VARCHAR)
### Question:
what is the total number of total w–l where doubles w–l is 11–11
### Answer:
SELECT COUNT(total_w_l) FROM table_10294071_1 WHERE doubles_w_l = "11–11" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR)
### Question:
What is the Time/Retired when lotus - ford was constructor and the laps were less than 17?
### Answer:
SELECT time_retired FROM table_name_99 WHERE constructor = "lotus - ford" AND laps < 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_10706879_3 (winning_team VARCHAR, name VARCHAR)
### Question:
The winning team of the race, los angeles times 500 is who?
### Answer:
SELECT winning_team FROM table_10706879_3 WHERE name = "Los Angeles Times 500" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29803475_2 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
### Question:
What is every original air date with U.S. viewers of 0.23 million?
### Answer:
SELECT original_air_date FROM table_29803475_2 WHERE us_viewers__million_ = "0.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_name_18 (position VARCHAR, college VARCHAR, overall VARCHAR)
### Question:
Which Position has a College of washington, and an Overall of 46?
### Answer:
SELECT position FROM table_name_18 WHERE college = "washington" AND overall = 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_name_84 (position VARCHAR, overall VARCHAR, pick VARCHAR)
### Question:
What is Position, when Overallis less than 314, and when Pick is less than 8?
### Answer:
SELECT position FROM table_name_84 WHERE overall < 314 AND pick < 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_8 (series VARCHAR, team VARCHAR)
### Question:
What series was Dick Johnson Racing the team?
### Answer:
SELECT series FROM table_name_8 WHERE team = "dick johnson racing" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (record VARCHAR, attendance VARCHAR)
### Question:
What was their record when the attendance was 26,827?
### Answer:
SELECT record FROM table_name_51 WHERE attendance = "26,827" |
Below is an context that describes a sql 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 (floors INTEGER, street_address VARCHAR)
### Question:
What is the average number of floors at 170 Fourth Avenue North?
### Answer:
SELECT AVG(floors) FROM table_name_76 WHERE street_address = "170 fourth avenue north" |
Below is an context that describes a sql 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 (byes INTEGER, central_murray VARCHAR, losses VARCHAR)
### Question:
What is the byes for Woorineen when losses are more than 13?
### Answer:
SELECT SUM(byes) FROM table_name_27 WHERE central_murray = "woorineen" AND losses > 13 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12226390_3 (title VARCHAR, production_code VARCHAR)
### Question:
what's the total number of title for production code 39
### Answer:
SELECT COUNT(title) FROM table_12226390_3 WHERE production_code = 39 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE races (name VARCHAR, date VARCHAR)
### Question:
What is the name of the race held most recently?
### Answer:
SELECT name FROM races ORDER BY date DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (estd INTEGER, college_or_campus_name VARCHAR)
### Question:
In what year was anna university - panruti campus established?
### Answer:
SELECT SUM(estd) FROM table_name_14 WHERE college_or_campus_name = "anna university - panruti campus" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1594772_2 (team__b_ VARCHAR, margin VARCHAR, winner VARCHAR)
### Question:
Name the number of team for 35 runs margin and india winner
### Answer:
SELECT COUNT(team__b_) FROM table_1594772_2 WHERE margin = "35 runs" AND winner = "India" |
Below is an context that describes a sql 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 (constructor VARCHAR, grid VARCHAR, rank VARCHAR)
### Question:
Who was #16 rank constructor with a grid of more than 1?
### Answer:
SELECT constructor FROM table_name_59 WHERE grid > 1 AND rank = 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_78 (record VARCHAR, opponent VARCHAR)
### Question:
What is Record, when Opponent is San Francisco Warriors?
### Answer:
SELECT record FROM table_name_78 WHERE opponent = "san francisco warriors" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1473672_4 (college_junior_club_team VARCHAR, pick__number VARCHAR)
### Question:
Name the college/junior club team for pick number 63
### Answer:
SELECT college_junior_club_team FROM table_1473672_4 WHERE pick__number = 63 |
Below is an context that describes a sql 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 (gold VARCHAR, bronze INTEGER)
### Question:
What is the value for Gold, when the value for Bronze is less than 0?
### Answer:
SELECT COUNT(gold) FROM table_name_31 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_12679326_1 (district VARCHAR, party VARCHAR, committee VARCHAR)
### Question:
What district is represented by a Republican Appropriations Committee?
### Answer:
SELECT district FROM table_12679326_1 WHERE party = "Republican" AND committee = "Appropriations" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (date VARCHAR, home_team VARCHAR)
### Question:
When did South Melbourne play as the home team?
### Answer:
SELECT date FROM table_name_66 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 editor (Age VARCHAR)
### Question:
What are the different ages of editors? Show each age along with the number of editors of that age.
### Answer:
SELECT Age, COUNT(*) FROM editor GROUP BY Age |
Below is an context that describes a sql 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 (championship VARCHAR, year VARCHAR, winning_score VARCHAR)
### Question:
Which championship after 1985 had a winning score of –8 (68-72-69-71=280)?
### Answer:
SELECT championship FROM table_name_17 WHERE year > 1985 AND winning_score = –8(68 - 72 - 69 - 71 = 280) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (silver INTEGER, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
### Question:
What is the highest number of Silvers for rank 7 teams with 1 gold and under 1 bronze?
### Answer:
SELECT MAX(silver) FROM table_name_37 WHERE bronze < 1 AND gold = 1 AND rank = "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_53 (agricultural_panel INTEGER, national_university_of_ireland VARCHAR, labour_panel VARCHAR, total VARCHAR)
### Question:
What is the average agricultural panel value with a Labour panel less than 1, a total value less than 21, and a National University of Ireland value greater than 0?
### Answer:
SELECT AVG(agricultural_panel) FROM table_name_53 WHERE labour_panel < 1 AND total < 21 AND national_university_of_ireland > 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_35 (to_par VARCHAR, place VARCHAR, player VARCHAR)
### Question:
What is the to par for t10 and Colin Montgomerie?
### Answer:
SELECT to_par FROM table_name_35 WHERE place = "t10" AND player = "colin montgomerie" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20539826_1 (mccain_percentage VARCHAR, county VARCHAR)
### Question:
How many percent of the votes in Debaca did McCain get?
### Answer:
SELECT mccain_percentage FROM table_20539826_1 WHERE county = "DeBaca" |
Below is an context that describes a sql 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 (fleet_size INTEGER, iata VARCHAR, commenced_operations VARCHAR)
### Question:
What is the of Fleet size with a IATA of pr, and a Commenced operations smaller than 1941?
### Answer:
SELECT SUM(fleet_size) FROM table_name_4 WHERE iata = "pr" AND commenced_operations < 1941 |
Below is an context that describes a sql 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 (result VARCHAR, goal VARCHAR, venue VARCHAR, competition VARCHAR)
### Question:
What was the result for the 1966 fifa world cup qualification in mexico city, mexico and a goal over 8?
### Answer:
SELECT result FROM table_name_41 WHERE venue = "mexico city, mexico" AND competition = "1966 fifa world cup qualification" AND goal > 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_39 (drawn INTEGER, points VARCHAR, games VARCHAR)
### Question:
What is the highest number of draws with 14 points and less than 7 games?
### Answer:
SELECT MAX(drawn) FROM table_name_39 WHERE points = 14 AND games < 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_79 (attendance VARCHAR, result VARCHAR)
### Question:
What was the attendance when the result was a bye?
### Answer:
SELECT attendance FROM table_name_79 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_29 (wins INTEGER, against VARCHAR, losses VARCHAR)
### Question:
What is the largest amount of wins of someone who has an against score greater than 1249 and a number of losses less than 17?
### Answer:
SELECT MAX(wins) FROM table_name_29 WHERE against > 1249 AND losses < 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_30 (silver VARCHAR, nation VARCHAR, rank VARCHAR)
### Question:
How many silvers have a Nation of hungary, and a Rank larger than 10?
### Answer:
SELECT COUNT(silver) FROM table_name_30 WHERE nation = "hungary" AND rank > 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_43 (silver INTEGER, rank VARCHAR, total VARCHAR)
### Question:
What is the most number of silvers for teams in rank 5 with more than 6 total medals?
### Answer:
SELECT MAX(silver) FROM table_name_43 WHERE rank = "5" AND total > 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_54 (year VARCHAR, artist VARCHAR)
### Question:
In what year was the artist Afro-dite?
### Answer:
SELECT year FROM table_name_54 WHERE artist = "afro-dite" |
Below is an context that describes a sql 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 (crowd VARCHAR, away_team VARCHAR)
### Question:
What is the listed crowd when essendon is the away squad?
### Answer:
SELECT COUNT(crowd) FROM table_name_68 WHERE away_team = "essendon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11959669_6 (team VARCHAR, score VARCHAR)
### Question:
What is the team when the score is 88–86?
### Answer:
SELECT team FROM table_11959669_6 WHERE score = "88–86" |
Below is an context that describes a sql 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 (total INTEGER, position VARCHAR, a_score VARCHAR)
### Question:
What's the total when the position was more than 6 and had an A Score of less than 7.6?
### Answer:
SELECT MAX(total) FROM table_name_83 WHERE position > 6 AND a_score < 7.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_62 (district VARCHAR, party VARCHAR, first_elected VARCHAR)
### Question:
Which district has a Democratic incumbent that was first elected before 1996?
### Answer:
SELECT district FROM table_name_62 WHERE party = "democratic" AND first_elected < 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_1218784_1 (manager VARCHAR, rank VARCHAR)
### Question:
Who is the manager whose rank is 16?
### Answer:
SELECT manager FROM table_1218784_1 WHERE rank = 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_11157122_5 (attempts INTEGER, player VARCHAR)
### Question:
How many attempts did Charles White make?
### Answer:
SELECT MIN(attempts) FROM table_11157122_5 WHERE player = "Charles White" |
Below is an context that describes a sql 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 (date VARCHAR, silbert VARCHAR)
### Question:
What is the date of the poll with Silbert at 18%?
### Answer:
SELECT date FROM table_name_53 WHERE silbert = "18%" |
Below is an context that describes a sql 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 (capacity INTEGER, vehicle VARCHAR)
### Question:
What is the lowest capacity for the 1975 toyota celica 1600gt?
### Answer:
SELECT MIN(capacity) FROM table_name_89 WHERE vehicle = "1975 toyota celica 1600gt" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1008653_1 (capital___exonym__ VARCHAR, capital___endonym__ VARCHAR)
### Question:
What is the English name given to the city of St. John's?
### Answer:
SELECT capital___exonym__ FROM table_1008653_1 WHERE capital___endonym__ = "St. John's" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26129220_2 (party VARCHAR, district VARCHAR)
### Question:
What is the party for district 27?
### Answer:
SELECT party FROM table_26129220_2 WHERE district = 27 |
Below is an context that describes a sql 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 (pronunciation_b VARCHAR, meaning_a VARCHAR)
### Question:
Name the pronunciation b for meaning of grind
### Answer:
SELECT pronunciation_b FROM table_name_56 WHERE meaning_a = "grind" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27882867_6 (location_attendance VARCHAR, date VARCHAR)
### Question:
How many games did they play on january 11?
### Answer:
SELECT COUNT(location_attendance) FROM table_27882867_6 WHERE date = "January 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_28884858_1 (home_games VARCHAR, average_attendance VARCHAR)
### Question:
How many home games are listed when the average attendance is 79475?
### Answer:
SELECT COUNT(home_games) FROM table_28884858_1 WHERE average_attendance = 79475 |
Below is an context that describes a sql 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 (mongolian VARCHAR, tamil_தமிழ் VARCHAR)
### Question:
Which Mongolian has a Tamil தமிழ் of pūrāṭam பூராடம்?
### Answer:
SELECT mongolian FROM table_name_78 WHERE tamil_தமிழ் = "pūrāṭam பூராடம்" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (tie_no VARCHAR, home_team VARCHAR)
### Question:
What is the tie no for the home team swansea city?
### Answer:
SELECT tie_no FROM table_name_26 WHERE home_team = "swansea city" |
Below is an context that describes a sql 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 (record VARCHAR, opponent VARCHAR, date VARCHAR)
### Question:
What was the home team's record when they played the Twins on September 25?
### Answer:
SELECT record FROM table_name_57 WHERE opponent = "twins" AND 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_16815824_1 (round4 INTEGER, team VARCHAR)
### Question:
What was team Toshiba's round 4 score?
### Answer:
SELECT MIN(round4) FROM table_16815824_1 WHERE team = "team Toshiba" |
Subsets and Splits