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_55 (venue VARCHAR, sport VARCHAR, club VARCHAR)
### Question:
What venue does the soccer team Pennsylvania Stoners play in?
### Answer:
SELECT venue FROM table_name_55 WHERE sport = "soccer" AND club = "pennsylvania stoners" |
Below is an context that describes a sql 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 (laid_down VARCHAR, hull_number VARCHAR)
### Question:
What is Laid Down, when Hull Number is "CVN-69"?
### Answer:
SELECT laid_down FROM table_name_85 WHERE hull_number = "cvn-69" |
Below is an context that describes a sql 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 (losses VARCHAR, place VARCHAR, ties VARCHAR)
### Question:
Name the total losses for 4 place and ties less than 0
### Answer:
SELECT COUNT(losses) FROM table_name_35 WHERE place = 4 AND ties < 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_50 (col__m_ INTEGER, peak VARCHAR, prominence__m_ VARCHAR)
### Question:
Name the lowest Col (m) with a Peak of pico basilé, and a Prominence (m) smaller than 3,011?
### Answer:
SELECT MIN(col__m_) FROM table_name_50 WHERE peak = "pico basilé" AND prominence__m_ < 3 OFFSET 011 |
Below is an context that describes a sql 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 (ties VARCHAR, name VARCHAR, lost VARCHAR)
### Question:
Tell me the total number of ties for name of totals and lost more than 30
### Answer:
SELECT COUNT(ties) FROM table_name_27 WHERE name = "totals" AND lost > 30 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_24 (tournament VARCHAR, result VARCHAR)
### Question:
In which tournament was the result 25th?
### Answer:
SELECT tournament FROM table_name_24 WHERE result = "25th" |
Below is an context that describes a sql 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 (rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)
### Question:
Which rider had more than 23 laps, a manufacturer of Aprilia, and a grid of 14
### Answer:
SELECT rider FROM table_name_95 WHERE laps > 23 AND manufacturer = "aprilia" AND grid = 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_2820584_3 (championship VARCHAR, partner VARCHAR)
### Question:
What championship was played with Allan Stone as a partner?
### Answer:
SELECT championship FROM table_2820584_3 WHERE partner = "Allan Stone" |
Below is an context that describes a sql 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 (milepost VARCHAR, name_of_the_tunnel VARCHAR)
### Question:
What is the Milepost of the Twin Tunnel #1 North?
### Answer:
SELECT COUNT(milepost) FROM table_name_74 WHERE name_of_the_tunnel = "twin tunnel #1 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 (opponent VARCHAR, record VARCHAR)
### Question:
Who is the opponent when the record is 17-19-4?
### Answer:
SELECT opponent FROM table_name_27 WHERE record = "17-19-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_55 (runner_up VARCHAR, venue VARCHAR)
### Question:
Who was the runner-up of the competition played at Minikahda Club?
### Answer:
SELECT runner_up FROM table_name_55 WHERE venue = "minikahda 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_name_32 (score VARCHAR, third_place VARCHAR)
### Question:
What was the score in the tournament in which Michael Stich took third place?
### Answer:
SELECT score FROM table_name_32 WHERE third_place = "michael stich" |
Below is an context that describes a sql 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 (laps INTEGER, year VARCHAR)
### Question:
How many Laps were there in 2010?
### Answer:
SELECT SUM(laps) FROM table_name_46 WHERE year = 2010 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11406866_2 (record VARCHAR, attendance VARCHAR)
### Question:
what's the record where attendance is 61,350
### Answer:
SELECT record FROM table_11406866_2 WHERE attendance = "61,350" |
Below is an context that describes a sql 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 (road_team VARCHAR, date VARCHAR)
### Question:
Who was the road team on May 2?
### Answer:
SELECT road_team FROM table_name_3 WHERE date = "may 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_2 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
### Question:
Which district had SC reserved and 169 Constituents?
### Answer:
SELECT district FROM table_name_2 WHERE reserved_for___sc___st__none_ = "sc" AND constituency_number = "169" |
Below is an context that describes a sql 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 (fa_cup_apps VARCHAR, league_goals VARCHAR, squad_no VARCHAR)
### Question:
What is the FA Cup App for Squad Number 3 having fewer than 4 league goals?
### Answer:
SELECT fa_cup_apps FROM table_name_53 WHERE league_goals < 4 AND squad_no = 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_8 (report VARCHAR, date VARCHAR)
### Question:
Who reported the game played on 1 september?
### Answer:
SELECT report FROM table_name_8 WHERE date = "1 september" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2076608_3 (control VARCHAR, founded VARCHAR)
### Question:
What is the control type which was founded in 1991?
### Answer:
SELECT control FROM table_2076608_3 WHERE founded = "1991" |
Below is an context that describes a sql 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 (total INTEGER, player VARCHAR, rank VARCHAR)
### Question:
What is the lowest total of player tommy ring, who has a rank greater than 1?
### Answer:
SELECT MIN(total) FROM table_name_62 WHERE player = "tommy ring" AND rank > 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_66 (female INTEGER, district VARCHAR, number_of_households VARCHAR)
### Question:
What is the lowest female number of the hiroo 1-chōme district, which has more than 1,666 households?
### Answer:
SELECT MIN(female) FROM table_name_66 WHERE district = "hiroo 1-chōme" AND number_of_households > 1 OFFSET 666 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29584601_1 (written_by VARCHAR, no_in_series VARCHAR)
### Question:
How many different pairs of writers wrote the episode with series number 56?
### Answer:
SELECT COUNT(written_by) FROM table_29584601_1 WHERE no_in_series = 56 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)
### Question:
Date of april 9 had what score?
### Answer:
SELECT score FROM table_name_11 WHERE date = "april 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_65 (year INTEGER, sideline_reporters VARCHAR)
### Question:
What's the average year that sara orlesky and farhan lalji are the sideline reporters?
### Answer:
SELECT AVG(year) FROM table_name_65 WHERE sideline_reporters = "sara orlesky and farhan lalji" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
WHAT IS THE 2009 PERFORMANCE WITH A 2012 OF 2R, 2001 OF 1R, 2007 OF A, AND 2008 OF A?
### Answer:
SELECT 2009 FROM table_name_77 WHERE 2012 = "2r" AND 2011 = "1r" AND 2007 = "a" AND 2008 = "a" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (city___state VARCHAR, circuit VARCHAR, winner VARCHAR)
### Question:
What is City / State, when Circuit is Eastern Creek Raceway, and when Winner is Michael Donaher?
### Answer:
SELECT city___state FROM table_name_83 WHERE circuit = "eastern creek raceway" AND winner = "michael donaher" |
Below is an context that describes a sql 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 VARCHAR, venue VARCHAR)
### Question:
What was the attendance at the Kardinia Park game?
### Answer:
SELECT crowd FROM table_name_25 WHERE venue = "kardinia 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_18268826_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
### Question:
How many episodes by different writers were seen by 3.24 million people in the US?
### Answer:
SELECT COUNT(written_by) FROM table_18268826_1 WHERE us_viewers__million_ = "3.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_64 (place VARCHAR, country VARCHAR)
### Question:
What is the place of the player from Spain?
### Answer:
SELECT place FROM table_name_64 WHERE country = "spain" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19149550_9 (chinese_population VARCHAR, pakistani_population VARCHAR)
### Question:
What's the Chinese population in the borough with 26347 Pakistanis?
### Answer:
SELECT chinese_population FROM table_19149550_9 WHERE pakistani_population = 26347 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE trip (bike_id VARCHAR)
### Question:
From the trip record, find the number of unique bikes.
### Answer:
SELECT COUNT(DISTINCT bike_id) FROM trip |
Below is an context that describes a sql 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 (score VARCHAR, place VARCHAR, player VARCHAR)
### Question:
WHat was the score for Phil Mickelson when he placed t3?
### Answer:
SELECT score FROM table_name_60 WHERE place = "t3" AND player = "phil mickelson" |
Below is an context that describes a sql 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 (minister VARCHAR, term_start VARCHAR)
### Question:
Whose term started on 4 May 2006?
### Answer:
SELECT minister FROM table_name_35 WHERE term_start = "4 may 2006" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (silver INTEGER, nation VARCHAR, rank VARCHAR)
### Question:
What is the silver for Germany and less than 2?
### Answer:
SELECT AVG(silver) FROM table_name_64 WHERE nation = "germany" AND rank < 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_5 (attendance INTEGER, date VARCHAR)
### Question:
What is the average Attendance for the game on November 1, 1981?
### Answer:
SELECT AVG(attendance) FROM table_name_5 WHERE date = "november 1, 1981" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (year INTEGER, album VARCHAR)
### Question:
What is the total years for roots and branches?
### Answer:
SELECT SUM(year) FROM table_name_5 WHERE album = "roots and branches" |
Below is an context that describes a sql 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 (crowd INTEGER, home_team VARCHAR)
### Question:
What was the attendance at the Fitzroy home game?
### Answer:
SELECT SUM(crowd) FROM table_name_36 WHERE home_team = "fitzroy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25042332_31 (incarceration_rate_total VARCHAR, incarceration_rate_female VARCHAR)
### Question:
How many regions had an incarceration rate for females of 63?
### Answer:
SELECT COUNT(incarceration_rate_total) FROM table_25042332_31 WHERE incarceration_rate_female = 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_6 (to_par VARCHAR, place VARCHAR, player VARCHAR)
### Question:
What is the To Par that has Tommy Bolt with a Place of t6?
### Answer:
SELECT to_par FROM table_name_6 WHERE place = "t6" AND player = "tommy bolt" |
Below is an context that describes a sql 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 (county VARCHAR, opposition VARCHAR)
### Question:
What County has Dublin as the Opposition?
### Answer:
SELECT county FROM table_name_78 WHERE opposition = "dublin" |
Below is an context that describes a sql 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 (episode INTEGER, performer_4 VARCHAR, performer_1 VARCHAR)
### Question:
What is the sum of the episodes where chip esten was the 4th performer and jim meskimen was the 1st performer?
### Answer:
SELECT SUM(episode) FROM table_name_96 WHERE performer_4 = "chip esten" AND performer_1 = "jim meskimen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27755603_7 (high_assists VARCHAR, team VARCHAR)
### Question:
Who had the most assists agains New Orleans?
### Answer:
SELECT high_assists FROM table_27755603_7 WHERE team = "New Orleans" |
Below is an context that describes a sql 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 (label VARCHAR, country VARCHAR)
### Question:
Which label is from Spain?
### Answer:
SELECT label FROM table_name_31 WHERE country = "spain" |
Below is an context that describes a sql 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 (score VARCHAR, home_team VARCHAR)
### Question:
If the Home Team is Newport County what is the Score?
### Answer:
SELECT score FROM table_name_60 WHERE home_team = "newport county" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22482077_1 (year VARCHAR)
### Question:
In 2010, how many 1st venue cities were there?
### Answer:
SELECT COUNT(1 AS st_venue) FROM table_22482077_1 WHERE year = 2010 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (tier INTEGER, postseason VARCHAR)
### Question:
What is the lowest tier for a postseason result of quarterfinalist?
### Answer:
SELECT MIN(tier) FROM table_name_68 WHERE postseason = "quarterfinalist" |
Below is an context that describes a sql 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 (result VARCHAR, score VARCHAR, competition VARCHAR)
### Question:
Which Result has a Score of 2 – 0, and a Competition of 2006 fifa world cup qualification?
### Answer:
SELECT result FROM table_name_74 WHERE score = "2 – 0" AND competition = "2006 fifa world cup qualification" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2985664_8 (strike_rate VARCHAR)
### Question:
How many entries for 50 occur when strike rate is 92.81?
### Answer:
SELECT COUNT(50) FROM table_2985664_8 WHERE strike_rate = "92.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_name_21 (Id VARCHAR)
### Question:
What 2010 has a 2006 less than 6.9, a 2008 greater than 1.6, and 2 for 2007?
### Answer:
SELECT 2010 FROM table_name_21 WHERE 2006 < 6.9 AND 2008 > 1.6 AND 2007 = 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_38 (league_apps VARCHAR, league_goals VARCHAR, flt_apps VARCHAR, total_goals VARCHAR)
### Question:
What league apps with 1 flt apps, 0 goals, and more than 1 league goals?
### Answer:
SELECT league_apps FROM table_name_38 WHERE flt_apps = "1" AND total_goals > 0 AND league_goals > 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_29942205_1 (miss_international INTEGER, rank VARCHAR)
### Question:
How many women has reached the title of Miss International representing the country ranked as number 1?
### Answer:
SELECT MIN(miss_international) FROM table_29942205_1 WHERE rank = 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_14332822_1 (variant_id VARCHAR)
### Question:
What is the 3'utr sequence with a variant id of ad'6a 4?
### Answer:
SELECT 3 AS ’utr_sequence FROM table_14332822_1 WHERE variant_id = "AD'6A 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_6 (receptions VARCHAR, receiving_yards VARCHAR, rushing_tds VARCHAR)
### Question:
How many receptions were smaller than 161 receiving yards but also had less than 14 rushing TDs?
### Answer:
SELECT COUNT(receptions) FROM table_name_6 WHERE receiving_yards < 161 AND rushing_tds < 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_43 (pick INTEGER, nfl_club VARCHAR)
### Question:
What is the lowest pick that has arizona cardinals as the NFL club?
### Answer:
SELECT MIN(pick) FROM table_name_43 WHERE nfl_club = "arizona cardinals" |
Below is an context that describes a sql 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 (year INTEGER, purse VARCHAR, time VARCHAR)
### Question:
In what Year was the Purse $150,000 with a Time of 1:49.00?
### Answer:
SELECT MIN(year) FROM table_name_6 WHERE purse = "$150,000" AND time = "1:49.00" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Project_Staff (date_from VARCHAR)
### Question:
When did the first staff for the projects started working?
### Answer:
SELECT date_from FROM Project_Staff ORDER BY date_from 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_69 (coach VARCHAR, location VARCHAR)
### Question:
Who is the coach located in Oakden?
### Answer:
SELECT coach FROM table_name_69 WHERE location = "oakden" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21034801_1 (game VARCHAR, opponent VARCHAR)
### Question:
What number was the game against Kansas State?
### Answer:
SELECT game FROM table_21034801_1 WHERE opponent = "Kansas State" |
Below is an context that describes a sql 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 (streak VARCHAR, opponent VARCHAR)
### Question:
What was the streak when the opponent was @ new jersey nets?
### Answer:
SELECT streak FROM table_name_26 WHERE opponent = "@ new jersey nets" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26250253_1 (theme VARCHAR, order__number VARCHAR)
### Question:
How many themes are there where the order # is 9?
### Answer:
SELECT COUNT(theme) FROM table_26250253_1 WHERE order__number = "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_21 (grid INTEGER, driver VARCHAR)
### Question:
What is the smallest grid for Ayrton Senna?
### Answer:
SELECT MIN(grid) FROM table_name_21 WHERE driver = "ayrton senna" |
Below is an context that describes a sql 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 (years VARCHAR, displacement VARCHAR)
### Question:
Which years have a displacement of 1816cc?
### Answer:
SELECT years FROM table_name_44 WHERE displacement = "1816cc" |
Below is an context that describes a sql 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 (total_time VARCHAR, margin VARCHAR, driver VARCHAR)
### Question:
How much time did Coad make when the margin was 04:02?
### Answer:
SELECT total_time FROM table_name_44 WHERE margin = "04:02" AND driver = "coad" |
Below is an context that describes a sql 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 (terminus VARCHAR, line VARCHAR)
### Question:
Which Terminus is on line 10?
### Answer:
SELECT terminus FROM table_name_1 WHERE line = "line 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_32 (chassis VARCHAR, engine VARCHAR)
### Question:
What chassis was paired with climax straight-4?
### Answer:
SELECT chassis FROM table_name_32 WHERE engine = "climax straight-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_28003469_1 (event_date VARCHAR, event_day VARCHAR, starting_time VARCHAR)
### Question:
What is every event date on Sunday with a starting time of 9:30 am?
### Answer:
SELECT event_date FROM table_28003469_1 WHERE event_day = "Sunday" AND starting_time = "9:30 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_53 (dissolved VARCHAR, summoned VARCHAR)
### Question:
What is the dissolved date of the parliament summoned on 28 February 1467?
### Answer:
SELECT dissolved FROM table_name_53 WHERE summoned = "28 february 1467" |
Below is an context that describes a sql 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 (species VARCHAR, genes VARCHAR)
### Question:
Which species has 3,441 genes?
### Answer:
SELECT species FROM table_name_58 WHERE genes = "3,441" |
Below is an context that describes a sql 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 (nominated_work VARCHAR, year INTEGER)
### Question:
Tell me the nominated work larger than 2011
### Answer:
SELECT nominated_work FROM table_name_54 WHERE year > 2011 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2679061_10 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
### Question:
What is the name of the college/junior/club team of the Buffalo Sabres?
### Answer:
SELECT college_junior_club_team FROM table_2679061_10 WHERE nhl_team = "Buffalo Sabres" |
Below is an context that describes a sql 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 (location VARCHAR, aircraft VARCHAR)
### Question:
What is the location for the an-12b aircraft?
### Answer:
SELECT location FROM table_name_50 WHERE aircraft = "an-12b" |
Below is an context that describes a sql 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 (partner VARCHAR, opponents_in_the_final VARCHAR)
### Question:
Who was the partner that played against Serena Williams Venus Williams?
### Answer:
SELECT partner FROM table_name_94 WHERE opponents_in_the_final = "serena williams venus williams" |
Below is an context that describes a sql 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 (streak VARCHAR, record VARCHAR)
### Question:
Which Streak has a Record of 21–22?
### Answer:
SELECT streak FROM table_name_9 WHERE record = "21–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_28059992_1 (cfl_team VARCHAR, college VARCHAR)
### Question:
What is every CFL team from the Calgary college?
### Answer:
SELECT cfl_team FROM table_28059992_1 WHERE college = "Calgary" |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
Who was the away team at Princes Park?
### Answer:
SELECT away_team FROM table_name_26 WHERE venue = "princes 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_name_86 (wins INTEGER, top_25 VARCHAR, top_5 VARCHAR)
### Question:
What is the Wins with a Top-25 of 3, and a Top-5 larger than 1?
### Answer:
SELECT AVG(wins) FROM table_name_86 WHERE top_25 = 3 AND top_5 > 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_76 (city VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR)
### Question:
What city had a score of 20 in aigburth after 1907?
### Answer:
SELECT city FROM table_name_76 WHERE year > 1907 AND score > 20 AND venue = "aigburth" |
Below is an context that describes a sql 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 (d_44_√ VARCHAR, d_46_√ VARCHAR)
### Question:
What's the D 44 √ when D 46 √ is d 26?
### Answer:
SELECT d_44_√ FROM table_name_27 WHERE d_46_√ = "d 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_21 (sales VARCHAR, song_title VARCHAR)
### Question:
What were the total number of sales for the song 21 Seconds?
### Answer:
SELECT COUNT(sales) FROM table_name_21 WHERE song_title = "21 seconds" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12828723_4 (tries_against VARCHAR, won VARCHAR)
### Question:
What is the tries against when the won is 14?
### Answer:
SELECT tries_against FROM table_12828723_4 WHERE won = "14" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (genitive_1 VARCHAR, genitive_3 VARCHAR)
### Question:
Which Genitive 1 has a Genitive 3 of *n(i)-ia?
### Answer:
SELECT genitive_1 FROM table_name_57 WHERE genitive_3 = "*n(i)-ia" |
Below is an context that describes a sql 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 (frequency VARCHAR, call_sign VARCHAR)
### Question:
Which Frequency has a Call sign of kcse?
### Answer:
SELECT frequency FROM table_name_93 WHERE call_sign = "kcse" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28885977_1 (stadium VARCHAR, location VARCHAR)
### Question:
Which stadium is located in Adelaide, South Australia?
### Answer:
SELECT stadium FROM table_28885977_1 WHERE location = "Adelaide, South Australia" |
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR)
### Question:
What was the result week 11?
### Answer:
SELECT result FROM table_name_74 WHERE week = 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_82 (location VARCHAR, year INTEGER)
### Question:
What was the location for a year later than 2012?
### Answer:
SELECT location FROM table_name_82 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_24 (player VARCHAR, to_par VARCHAR, score VARCHAR)
### Question:
What Player has a To par of +1 and a Score of 73-71-71=217?
### Answer:
SELECT player FROM table_name_24 WHERE to_par = "+1" AND score = 73 - 71 - 71 = 217 |
Below is an context that describes a sql 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 (game INTEGER, opponent VARCHAR)
### Question:
What game is the first with the Pittsburgh Penguins the opponent?
### Answer:
SELECT MIN(game) FROM table_name_49 WHERE opponent = "pittsburgh penguins" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1555308_1 (bleeding_time VARCHAR, prothrombin_time VARCHAR, platelet_count VARCHAR)
### Question:
What are all the possible bleeding time results where prothrombin time and platelet count are both unaffected?
### Answer:
SELECT bleeding_time FROM table_1555308_1 WHERE prothrombin_time = "Unaffected" AND platelet_count = "Unaffected" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Highschooler (ID VARCHAR, name VARCHAR)
### Question:
Show the ID of the high schooler named Kyle.
### Answer:
SELECT ID FROM Highschooler WHERE name = "Kyle" |
Below is an context that describes a sql 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 (tournament VARCHAR, score VARCHAR)
### Question:
What tournament had a game with a score of 6-7, 4-6?
### Answer:
SELECT tournament FROM table_name_35 WHERE score = "6-7, 4-6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16028459_2 (opponents INTEGER, opponent VARCHAR)
### Question:
What is the minimum number of points given up to the Baltimore Colts
### Answer:
SELECT MIN(opponents) FROM table_16028459_2 WHERE opponent = "Baltimore Colts" |
Below is an context that describes a sql 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 (losses INTEGER, point_differential VARCHAR, points_for VARCHAR, games_played VARCHAR)
### Question:
What is the highest number of losses that the team incurred while scoring less than 79 points in 10 games with a point differential less than 34?
### Answer:
SELECT MAX(losses) FROM table_name_69 WHERE points_for < 79 AND games_played = 10 AND point_differential < 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_91 (finish VARCHAR, year VARCHAR, chassis VARCHAR, start VARCHAR)
### Question:
What did the Dallara chassis with a 5 start in 2006 finish?
### Answer:
SELECT finish FROM table_name_91 WHERE chassis = "dallara" AND start = "5" AND year = 2006 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (period VARCHAR, country VARCHAR, peak_position VARCHAR)
### Question:
Name the period for south korea with peak position of #1
### Answer:
SELECT period FROM table_name_90 WHERE country = "south korea" AND peak_position = "#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_18483171_1 (founded VARCHAR, location VARCHAR)
### Question:
List the total number of institutions founded in Rock Island, Illinois.
### Answer:
SELECT COUNT(founded) FROM table_18483171_1 WHERE location = "Rock Island, 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_27 (street_address VARCHAR, name VARCHAR)
### Question:
What's the address of the union bank of California tower?
### Answer:
SELECT street_address FROM table_name_27 WHERE name = "union bank of california tower" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11964154_2 (game INTEGER, high_points VARCHAR)
### Question:
How many games was Damien Wilkins (27) the high scorer?
### Answer:
SELECT MIN(game) FROM table_11964154_2 WHERE high_points = "Damien Wilkins (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_13183076_3 (original_air_date VARCHAR, written_by VARCHAR)
### Question:
What is the Original air date for the episode written by Peter Ocko?
### Answer:
SELECT original_air_date FROM table_13183076_3 WHERE written_by = "Peter Ocko" |
Below is an context that describes a sql 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 (notes VARCHAR, competition VARCHAR)
### Question:
Which Notes has a Competition of venice marathon?
### Answer:
SELECT notes FROM table_name_78 WHERE competition = "venice marathon" |
Below is an context that describes a sql 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 (pocona_municipality VARCHAR, totora_municipality VARCHAR, pojo_municipality VARCHAR)
### Question:
What is Pocona Municipalities with 72 Totora municipalities and more than 74 pojo municipalities?
### Answer:
SELECT COUNT(pocona_municipality) FROM table_name_98 WHERE totora_municipality = 72 AND pojo_municipality > 74 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.