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_61 (surface VARCHAR, opponent VARCHAR, score VARCHAR)
### Question:
What is the Surface of the court against Ivo Klec with a Score of 6–3, 6–3?
### Answer:
SELECT surface FROM table_name_61 WHERE opponent = "ivo klec" AND score = "6–3, 6–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_80 (pressure VARCHAR, name VARCHAR)
### Question:
What pressure is Ken?
### Answer:
SELECT pressure FROM table_name_80 WHERE name = "ken" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (player VARCHAR, college VARCHAR)
### Question:
What is the Player from appalachian state?
### Answer:
SELECT player FROM table_name_73 WHERE college = "appalachian 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_11 (wins INTEGER, against VARCHAR, losses VARCHAR)
### Question:
Can you tell me the average Wins that has the Against of 1132, and the Losses smaller than 7?
### Answer:
SELECT AVG(wins) FROM table_name_11 WHERE against = 1132 AND losses < 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_5 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
### Question:
What title was used in the nomination of Matrimonio All'Italiana?
### Answer:
SELECT film_title_used_in_nomination FROM table_name_5 WHERE original_title = "matrimonio all'italiana" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25360865_1 (height VARCHAR, name VARCHAR)
### Question:
Name the height for demetrius jemison
### Answer:
SELECT height FROM table_25360865_1 WHERE name = "Demetrius Jemison" |
Below is an context that describes a sql 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 (country VARCHAR, music VARCHAR, year VARCHAR)
### Question:
What is the country that has a music writer of Angelo Francesco Lavagnino, written in 1969?
### Answer:
SELECT country FROM table_name_57 WHERE music = "angelo francesco lavagnino" AND year = 1969 |
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR, date VARCHAR)
### Question:
What was the result of the game after Week 13 on December 8, 1991?
### Answer:
SELECT result FROM table_name_14 WHERE week > 13 AND date = "december 8, 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_18018248_2 (club VARCHAR, points VARCHAR)
### Question:
How many clubs had 29 points?
### Answer:
SELECT COUNT(club) FROM table_18018248_2 WHERE points = 29 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23718905_6 (matchup_results VARCHAR, city VARCHAR)
### Question:
How many different matchup/results appear in San Diego, California?
### Answer:
SELECT COUNT(matchup_results) FROM table_23718905_6 WHERE city = "San Diego, 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_56 (short_stem VARCHAR, perfect_stem VARCHAR)
### Question:
What is the short stem for the word that has a perfect stem of poztu?
### Answer:
SELECT short_stem FROM table_name_56 WHERE perfect_stem = "poztu" |
Below is an context that describes a sql 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 (league_cup_goals VARCHAR, total_apps VARCHAR, total_goals VARCHAR)
### Question:
How many League Cup Goals have Total Apps of 36, and Total Goals smaller than 1?
### Answer:
SELECT COUNT(league_cup_goals) FROM table_name_76 WHERE total_apps = "36" AND total_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_name_7 (contestant VARCHAR, height VARCHAR, hometown VARCHAR)
### Question:
What contestant is from santo domingo este and has height smaller than 1.79?
### Answer:
SELECT contestant FROM table_name_7 WHERE height < 1.79 AND hometown = "santo domingo este" |
Below is an context that describes a sql 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 (playing_for VARCHAR, opponent VARCHAR, season VARCHAR)
### Question:
What shows for playing when the opponent was Real España, in the 2012–13 season?
### Answer:
SELECT playing_for FROM table_name_76 WHERE opponent = "real españa" AND season = "2012–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_name_8 (total INTEGER, position VARCHAR, a_score VARCHAR)
### Question:
what is the total scored for the 8th position and a score more than 6.6
### Answer:
SELECT MAX(total) FROM table_name_8 WHERE position = "8th" AND a_score > 6.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_17257687_1 (event_2 VARCHAR, event_4 VARCHAR)
### Question:
When event 4 was Whiplash, what was event 2?
### Answer:
SELECT event_2 FROM table_17257687_1 WHERE event_4 = "Whiplash" |
Below is an context that describes a sql 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 (round INTEGER, overall VARCHAR)
### Question:
What is the average round of a player with an overall of 138?
### Answer:
SELECT AVG(round) FROM table_name_23 WHERE overall = "138" |
Below is an context that describes a sql 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 (date VARCHAR, save VARCHAR)
### Question:
When have a Save of ||20,599||32-37?
### Answer:
SELECT date FROM table_name_90 WHERE save = "||20,599||32-37" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (avg_finish INTEGER, position VARCHAR, top_5 VARCHAR)
### Question:
WHAT IS THE LOWEST AVERAGE FINISH FOR 40TH POSITION, WITH A TOP 5 LARGER THAN 0?
### Answer:
SELECT MIN(avg_finish) FROM table_name_70 WHERE position = "40th" 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_27776266_1 (production_code VARCHAR, no_in_series VARCHAR)
### Question:
What was the production code of the episode no. 55 in the series?
### Answer:
SELECT production_code FROM table_27776266_1 WHERE no_in_series = 55 |
Below is an context that describes a sql 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 (country VARCHAR, year__most_recent_ VARCHAR, adult_men VARCHAR)
### Question:
Which country has its most recent year as being 2005 and has an Adult Men literacy rate of 96%?
### Answer:
SELECT country FROM table_name_62 WHERE year__most_recent_ = 2005 AND adult_men = "96%" |
Below is an context that describes a sql 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 (to_par VARCHAR, country VARCHAR)
### Question:
What is the to par of canada?
### Answer:
SELECT to_par FROM table_name_65 WHERE country = "canada" |
Below is an context that describes a sql 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 (assists INTEGER, goals INTEGER)
### Question:
what is the most assists when the goals is less than 0?
### Answer:
SELECT MAX(assists) FROM table_name_48 WHERE goals < 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_75 (date VARCHAR, event VARCHAR)
### Question:
On what date was a record set in the team pursuit (8 laps) event?
### Answer:
SELECT date FROM table_name_75 WHERE event = "team pursuit (8 laps)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1067134_1 (dvd_name VARCHAR, region_2 VARCHAR)
### Question:
What DVD season/name for region 2 was released August 22, 2010?
### Answer:
SELECT dvd_name FROM table_1067134_1 WHERE region_2 = "August 22, 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_69 (elected INTEGER, incumbent VARCHAR, party VARCHAR, district VARCHAR)
### Question:
What's the elected year of Nydia Velazquez in a district bigger than 2 and a democrat?
### Answer:
SELECT AVG(elected) FROM table_name_69 WHERE party = "democrat" AND district > 2 AND incumbent = "nydia velazquez" |
Below is an context that describes a sql 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 (week INTEGER, result VARCHAR, opponent VARCHAR)
### Question:
Which Week has a Result of l 13-16 and an Opponent of at buffalo bills?
### Answer:
SELECT AVG(week) FROM table_name_27 WHERE result = "l 13-16" AND opponent = "at buffalo bills" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE manufacturers (revenue INTEGER, headquarter VARCHAR)
### Question:
Find the total revenue of companies whose revenue is larger than the revenue of some companies based in Austin.
### Answer:
SELECT SUM(revenue) FROM manufacturers WHERE revenue > (SELECT MIN(revenue) FROM manufacturers WHERE headquarter = 'Austin') |
Below is an context that describes a sql 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 (english_name VARCHAR, year_signed VARCHAR, chinese_name VARCHAR)
### Question:
What is the English name for the Chinese name of 蘇永康 later than 1974?
### Answer:
SELECT english_name FROM table_name_30 WHERE year_signed > 1974 AND chinese_name = "蘇永康" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (points INTEGER, chassis VARCHAR, year VARCHAR)
### Question:
What point is the lowest for listings of chassis labeled AGS JH23 before 1988?
### Answer:
SELECT MIN(points) FROM table_name_73 WHERE chassis = "ags jh23" AND year < 1988 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (country VARCHAR, to_par VARCHAR, score VARCHAR)
### Question:
What is the country that the player is from with +3 to par and score of 74-73=147?
### Answer:
SELECT country FROM table_name_30 WHERE to_par = "+3" AND score = 74 - 73 = 147 |
Below is an context that describes a sql 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 (game INTEGER, opponent VARCHAR)
### Question:
What was the highest game number when the opponent was the Miami Heat?
### Answer:
SELECT MAX(game) FROM table_name_5 WHERE opponent = "miami heat" |
Below is an context that describes a sql 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 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
### Question:
Which Attendance has an Opponent of green bay packers, and a Week larger than 10?
### Answer:
SELECT MIN(attendance) FROM table_name_95 WHERE opponent = "green bay packers" AND week > 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_20704243_6 (title VARCHAR, original_air_date VARCHAR)
### Question:
Which episode aired on august19,2012?
### Answer:
SELECT title FROM table_20704243_6 WHERE original_air_date = "August19,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_1213511_2 (position VARCHAR, nhl_team VARCHAR)
### Question:
How many positions do the players of Chicago Black Hawks play in?
### Answer:
SELECT COUNT(position) FROM table_1213511_2 WHERE nhl_team = "Chicago Black Hawks" |
Below is an context that describes a sql 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 (tournament VARCHAR, date VARCHAR)
### Question:
Which Tournament has a Date of jul 14, 2013?
### Answer:
SELECT tournament FROM table_name_6 WHERE date = "jul 14, 2013" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10082596_1 (primary_conference VARCHAR, location VARCHAR)
### Question:
How many of the schools listed are in Ames, IA?
### Answer:
SELECT COUNT(primary_conference) FROM table_10082596_1 WHERE location = "Ames, 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_33 (nationality VARCHAR, rank VARCHAR, lane VARCHAR)
### Question:
Which nationality has a lane of 6 and a rank smaller than 6?
### Answer:
SELECT nationality FROM table_name_33 WHERE rank < 6 AND lane = 6 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (player VARCHAR, to_par VARCHAR, score VARCHAR)
### Question:
What Player's had a To par of +1 and a Score of 73-71-73=217?
### Answer:
SELECT player FROM table_name_12 WHERE to_par = "+1" AND score = 73 - 71 - 73 = 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_32 (run_4 INTEGER, run_1 VARCHAR, run_3 VARCHAR)
### Question:
Which Run 4 has a Run 1 of 57.37, and a Run 3 smaller than 57.45?
### Answer:
SELECT SUM(run_4) FROM table_name_32 WHERE run_1 = 57.37 AND run_3 < 57.45 |
Below is an context that describes a sql 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 (lane INTEGER, time VARCHAR, rank VARCHAR)
### Question:
What is the highest Lane number of a person with a time of 55.94 with a Rank that's bigger than 8?
### Answer:
SELECT MAX(lane) FROM table_name_68 WHERE time > 55.94 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_31 (result VARCHAR, date VARCHAR)
### Question:
What was the result of the game that was played on 29,30–31 May 1902?
### Answer:
SELECT result FROM table_name_31 WHERE date = "29,30–31 may 1902" |
Below is an context that describes a sql 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 (champion VARCHAR, runner_up VARCHAR, score VARCHAR)
### Question:
Which Champion has a Runner-up of florian mayer, and a Score of 7–6(6), 4–6, 7–5?
### Answer:
SELECT champion FROM table_name_96 WHERE runner_up = "florian mayer" AND score = "7–6(6), 4–6, 7–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_1997759_1 (number VARCHAR, last_flew VARCHAR)
### Question:
on 19 april 1985 how many of number last flew
### Answer:
SELECT COUNT(number) FROM table_1997759_1 WHERE last_flew = "19 April 1985" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_273617_6 (status VARCHAR)
### Question:
What is the 2011 number (,000) when the status is separated?
### Answer:
SELECT 2011 AS _number__, 000 AS _ FROM table_273617_6 WHERE status = "Separated" |
Below is an context that describes a sql 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 (date_of_birth__age_ VARCHAR, player VARCHAR)
### Question:
What is Paino Hehea's date of birth?
### Answer:
SELECT date_of_birth__age_ FROM table_name_46 WHERE player = "paino hehea" |
Below is an context that describes a 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_7 (nationality VARCHAR, nhl_team VARCHAR)
### Question:
what country was the player drafted by the toronto maple leafs
### Answer:
SELECT nationality FROM table_1473672_7 WHERE nhl_team = "Toronto Maple Leafs" |
Below is an context that describes a sql 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 (team VARCHAR, rank VARCHAR, year VARCHAR)
### Question:
Which team is ranked 3rd in 2008?
### Answer:
SELECT team FROM table_name_66 WHERE rank = "3rd" AND year = 2008 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18373863_2 (year_drafted INTEGER, years_played VARCHAR)
### Question:
When 2005 is the year played what is the lowest year drafted?
### Answer:
SELECT MIN(year_drafted) FROM table_18373863_2 WHERE years_played = "2005" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (condition VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)
### Question:
Which Condition has an unaffected Prothrombin time and a Bleeding time, and a Partial thromboplastin time of prolonged?
### Answer:
SELECT condition FROM table_name_73 WHERE prothrombin_time = "unaffected" AND bleeding_time = "unaffected" AND partial_thromboplastin_time = "prolonged" |
Below is an context that describes a sql 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 (wins INTEGER, club VARCHAR, goals_for VARCHAR)
### Question:
Which average wins have a Club of barcelona atlètic, and Goals for larger than 56?
### Answer:
SELECT AVG(wins) FROM table_name_59 WHERE club = "barcelona atlètic" AND goals_for > 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_2668352_14 (result VARCHAR, first_elected VARCHAR)
### Question:
Name the result for 1810
### Answer:
SELECT result FROM table_2668352_14 WHERE first_elected = "1810" |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
Who is the opponent on June 6?
### Answer:
SELECT opponent FROM table_name_23 WHERE date = "june 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_6 (mel_martinez__r_ VARCHAR, sample_size VARCHAR)
### Question:
What is the percentage for Mel Martinez when the sample size is 800?
### Answer:
SELECT mel_martinez__r_ FROM table_name_6 WHERE sample_size = 800 |
Below is an context that describes a sql 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 (goals_for INTEGER, played INTEGER)
### Question:
What is the goals for when played is larger than 30?
### Answer:
SELECT MIN(goals_for) FROM table_name_72 WHERE played > 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_16575609_1 (position VARCHAR, college VARCHAR)
### Question:
What position was taken out of Louisiana-Lafayette?
### Answer:
SELECT position FROM table_16575609_1 WHERE college = "Louisiana-Lafayette" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE airports (name VARCHAR, city VARCHAR, apid VARCHAR); CREATE TABLE routes (dst_apid VARCHAR)
### Question:
Find the name and city of the airport which is the destination of the most number of routes.
### Answer:
SELECT T1.name, T1.city, T2.dst_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid GROUP BY T2.dst_apid ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (week__number VARCHAR, original_artist VARCHAR, theme VARCHAR)
### Question:
What is the Week # when the Beatles were the original artist and the theme was The Beatles?
### Answer:
SELECT week__number FROM table_name_18 WHERE original_artist = "the beatles" AND theme = "the beatles" |
Below is an context that describes a sql 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 (points INTEGER, year VARCHAR, class VARCHAR, wins VARCHAR)
### Question:
What is the least points for class 125cc with 1 win earlier than 1961?
### Answer:
SELECT MIN(points) FROM table_name_57 WHERE class = "125cc" AND wins = 1 AND year < 1961 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE chip_model (Model_name VARCHAR, Launch_year VARCHAR, RAM_MiB VARCHAR); CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, chip_model VARCHAR)
### Question:
List the hardware model name and company name for all the phones that were launched in year 2002 or have RAM size greater than 32.
### Answer:
SELECT T2.Hardware_Model_name, T2.Company_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model WHERE T1.Launch_year = 2002 OR T1.RAM_MiB > 32 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18064020_21 (solo VARCHAR, name VARCHAR)
### Question:
How many players named jake flaherty?
### Answer:
SELECT COUNT(solo) FROM table_18064020_21 WHERE name = "Jake Flaherty" |
Below is an context that describes a sql 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, date VARCHAR)
### Question:
What was the record on April 1?
### Answer:
SELECT record FROM table_name_57 WHERE date = "april 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_1637981_7 (kalamazoo__azo_ VARCHAR, lansing__lan_ VARCHAR)
### Question:
During the year when Lansing's fare is $433.59, what is the fare to Kalamazoo?
### Answer:
SELECT kalamazoo__azo_ FROM table_1637981_7 WHERE lansing__lan_ = "$433.59" |
Below is an context that describes a sql 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, home_team VARCHAR)
### Question:
Who was the away team when the home team Manchester United played?
### Answer:
SELECT away_team FROM table_name_54 WHERE home_team = "manchester united" |
Below is an context that describes a sql 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 (conceded INTEGER, played VARCHAR, points VARCHAR, position VARCHAR)
### Question:
What is the average number conceded for hte team that had less than 19 points, played more than 18 games and had a position less than 10?
### Answer:
SELECT AVG(conceded) FROM table_name_65 WHERE points < 19 AND position < 10 AND played > 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_48 (wins INTEGER, losses INTEGER)
### Question:
What is the greatest Wins with Losses larger than 1?
### Answer:
SELECT MAX(wins) FROM table_name_48 WHERE losses > 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_20396_1 (poles VARCHAR, season VARCHAR)
### Question:
How many poles were there in season 2000?
### Answer:
SELECT poles FROM table_20396_1 WHERE season = 2000 |
Below is an context that describes a sql 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 (event VARCHAR, round INTEGER)
### Question:
Which event has a Round larger than 2?
### Answer:
SELECT event FROM table_name_88 WHERE round > 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_2266976_1 (date VARCHAR, average_speed__mph_ VARCHAR)
### Question:
When was an average speed of 81.388 mph recorded?
### Answer:
SELECT date FROM table_2266976_1 WHERE average_speed__mph_ = "81.388" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24126606_2 (opponent VARCHAR, date VARCHAR)
### Question:
Name the total number of opponent for october 3
### Answer:
SELECT COUNT(opponent) FROM table_24126606_2 WHERE date = "October 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_87 (year VARCHAR, english_title VARCHAR)
### Question:
English title of amélie had what year?
### Answer:
SELECT year FROM table_name_87 WHERE english_title = "amélie" |
Below is an context that describes a sql 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 (incumbent VARCHAR, results VARCHAR)
### Question:
Who is the Incumbent with Results of 68% 32%?
### Answer:
SELECT incumbent FROM table_name_1 WHERE results = "68% 32%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27293285_4 (won VARCHAR, points_against VARCHAR, played VARCHAR, lost VARCHAR)
### Question:
Name the won for played being 22 and points against 511 and lost being 15
### Answer:
SELECT won FROM table_27293285_4 WHERE played = "22" AND lost = "15" AND points_against = "511" |
Below is an context that describes a sql 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 VARCHAR, venue VARCHAR, winner VARCHAR, runner_up VARCHAR)
### Question:
When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium?
### Answer:
SELECT year FROM table_name_65 WHERE winner = "panathinaikos" AND runner_up = "olympiacos" AND venue = "nikos goumas stadium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (position VARCHAR, league VARCHAR, year VARCHAR)
### Question:
What is the position when the League is the malaysian super league, and a Year of 2011?
### Answer:
SELECT position FROM table_name_85 WHERE league = "malaysian super league" AND 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_2102782_1 (archive VARCHAR, run_time VARCHAR)
### Question:
Name the archive for run time of 23:55
### Answer:
SELECT archive FROM table_2102782_1 WHERE run_time = "23:55" |
Below is an context that describes a sql 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 (gold INTEGER, rank VARCHAR, total VARCHAR, nation VARCHAR)
### Question:
How many gold did Gabon have when they were ranked no higher than 17, and less than 7 in total?
### Answer:
SELECT SUM(gold) FROM table_name_94 WHERE total < 7 AND nation = "gabon" AND rank < 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_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR)
### Question:
Which country had a contestant that was 1.76 meters tall?
### Answer:
SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.76" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
What was the home team score when the VFL played at Princes Park?
### Answer:
SELECT home_team AS score FROM table_name_86 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_46 (total INTEGER, bronze INTEGER)
### Question:
What is the average Total with a Bronze that is larger than 1?
### Answer:
SELECT AVG(total) FROM table_name_46 WHERE bronze > 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (days VARCHAR, _hours VARCHAR, _minutes VARCHAR, dates VARCHAR)
### Question:
What is the Days, hours, minutes for 21 – 26 October?
### Answer:
SELECT days, _hours, _minutes FROM table_name_81 WHERE dates = "21 – 26 october" |
Below is an context that describes a sql 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 (school_club_team VARCHAR, round VARCHAR, pick VARCHAR)
### Question:
What was the school/club after round 12, and picked smaller than 342?
### Answer:
SELECT school_club_team FROM table_name_95 WHERE round > 12 AND pick < 342 |
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR)
### Question:
Which Date has a Score of 0 – 2?
### Answer:
SELECT date FROM table_name_55 WHERE score = "0 – 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_14407512_4 (nationality VARCHAR)
### Question:
What was the length of the jumper representing FIN, in meters?
### Answer:
SELECT 1 AS st__m_ FROM table_14407512_4 WHERE nationality = "FIN" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE papers (Id VARCHAR)
### Question:
How many papers are published in total?
### Answer:
SELECT COUNT(*) FROM papers |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_97 (named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR, latitude VARCHAR)
### Question:
Tell me the named after for diameter less than 19.2 and latitude more than -37.5 with longitude less than 67.3
### Answer:
SELECT named AS after FROM table_name_97 WHERE diameter__km_ < 19.2 AND latitude > -37.5 AND longitude < 67.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_15451122_2 (second_member VARCHAR, first_member VARCHAR)
### Question:
How many different second members were there when John rudhale was first member?
### Answer:
SELECT COUNT(second_member) FROM table_15451122_2 WHERE first_member = "John Rudhale" |
Below is an context that describes a sql 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 (semifinalists VARCHAR, tournament VARCHAR)
### Question:
Who are the semifinalists when the tournament is in Cincinnati?
### Answer:
SELECT semifinalists FROM table_name_58 WHERE tournament = "cincinnati" |
Below is an context that describes a sql 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 (team VARCHAR, points VARCHAR, f_laps VARCHAR)
### Question:
Which team has 71 Points and F/Laps of 4?
### Answer:
SELECT team FROM table_name_85 WHERE points = "71" AND f_laps = "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 chip_model (Model_name VARCHAR, Launch_year INTEGER)
### Question:
the names of models that launched between 2002 and 2004.
### Answer:
SELECT Model_name FROM chip_model WHERE Launch_year BETWEEN 2002 AND 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_27 (sydney VARCHAR, gold_coast VARCHAR, perth VARCHAR, melbourne VARCHAR)
### Question:
Which Sydney has a Perth of no, a Melbourne of yes, and a Gold Coast of no?
### Answer:
SELECT sydney FROM table_name_27 WHERE perth = "no" AND melbourne = "yes" AND gold_coast = "no" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22879323_9 (record VARCHAR, score VARCHAR)
### Question:
Name the record for l 90–100 (ot)
### Answer:
SELECT record FROM table_22879323_9 WHERE score = "L 90–100 (OT)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24852622_1 (class_d_winner VARCHAR, round VARCHAR)
### Question:
Who was the Class D winner in round 6?
### Answer:
SELECT class_d_winner FROM table_24852622_1 WHERE round = "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_26352332_4 (cylinder_layout VARCHAR, years_produced VARCHAR, engine_family VARCHAR)
### Question:
The engine family MaxxForce 5 in the years produced 2007-current, have what cylinder layout?
### Answer:
SELECT cylinder_layout FROM table_26352332_4 WHERE years_produced = "2007-current" AND engine_family = "MaxxForce 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_37 (region VARCHAR, state VARCHAR, host VARCHAR)
### Question:
What region does the University of California, Los Angeles play in?
### Answer:
SELECT region FROM table_name_37 WHERE state = "california" AND host = "university of california, los angeles" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677691_4 (hometown VARCHAR, school VARCHAR)
### Question:
Where was the hometown for the player that attended Shanley High School?
### Answer:
SELECT hometown FROM table_11677691_4 WHERE school = "Shanley High school" |
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR)
### Question:
What score has an opponent gan teik chai lin woon fui?
### Answer:
SELECT score FROM table_name_6 WHERE opponent = "gan teik chai lin woon fui" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26099252_1 (vp9___webm__ VARCHAR, vp8___webm__ VARCHAR)
### Question:
When vp8 ( webm ) is 4.4, how much is vp9 ( webm )
### Answer:
SELECT vp9___webm__ FROM table_26099252_1 WHERE vp8___webm__ = "4.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_2388763_1 (year VARCHAR)
### Question:
What team finished in 4th place in 2007?
### Answer:
SELECT 4 AS th_place FROM table_2388763_1 WHERE year = 2007 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10975034_4 (pick__number INTEGER, cfl_team VARCHAR)
### Question:
What is the maximum number of picks for the CFL team Calgary Stampeders?
### Answer:
SELECT MAX(pick__number) FROM table_10975034_4 WHERE cfl_team = "Calgary Stampeders" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.