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_27 (silver INTEGER, nation VARCHAR, gold VARCHAR)
### Question:
What kind of Silver has a Nation of norway and a Gold smaller than 3?
### Answer:
SELECT SUM(silver) FROM table_name_27 WHERE nation = "norway" AND gold < 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_6 (week VARCHAR, finalist VARCHAR)
### Question:
What week was the finalist Martina Hingis?
### Answer:
SELECT week FROM table_name_6 WHERE finalist = "martina hingis"
|
Below is an context that describes a sql 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 (_percentage_buddhist VARCHAR, population VARCHAR)
### Question:
What is the percentage of Buddhist when the Population is ~2.6 million (2.6million)?
### Answer:
SELECT _percentage_buddhist FROM table_name_39 WHERE population = "~2.6 million (2.6million)"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_238124_1 (platelet_count VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)
### Question:
When the bleeding time is unaffected and prothrombin time is prolonged, what are the platelet counts?
### Answer:
SELECT platelet_count FROM table_238124_1 WHERE bleeding_time = "Unaffected" AND prothrombin_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_24 (on_demand VARCHAR, free_or_pay VARCHAR, provider VARCHAR)
### Question:
Which On demandhas a Free or pay of free and a Provider of freesat?
### Answer:
SELECT on_demand FROM table_name_24 WHERE free_or_pay = "free" AND provider = "freesat"
|
Below is an context that describes a sql 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 (week INTEGER, result VARCHAR)
### Question:
What is the largest week that has t 35-35 as the result?
### Answer:
SELECT MAX(week) FROM table_name_69 WHERE result = "t 35-35"
|
Below is an context that describes a sql 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 (director VARCHAR, rank VARCHAR, worldwide_gross VARCHAR)
### Question:
What director has a worldwide gross of $149,022,650 and is ranked greater than 7?
### Answer:
SELECT director FROM table_name_39 WHERE rank > 7 AND worldwide_gross = "$149,022,650"
|
Below is an context that describes a sql 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 (opponent VARCHAR, game VARCHAR, date VARCHAR)
### Question:
On May 9 after Game 3, what was the Opponent?
### Answer:
SELECT opponent FROM table_name_66 WHERE game > 3 AND date = "may 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_57 (inscription VARCHAR, identification VARCHAR)
### Question:
What is the name of the inscription where Virgil is listed as the identification?
### Answer:
SELECT inscription FROM table_name_57 WHERE identification = "virgil"
|
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR)
### Question:
What was Arnold Palmer's score in the tournamnet?
### Answer:
SELECT score FROM table_name_5 WHERE player = "arnold palmer"
|
Below is an context that describes a sql 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 (place VARCHAR, score VARCHAR)
### Question:
WHAT PLACE WAS A SCORE 67-70=137?
### Answer:
SELECT place FROM table_name_48 WHERE score = 67 - 70 = 137
|
Below is an context that describes a sql 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 (division_iV VARCHAR, division_iII VARCHAR, portsmouth VARCHAR)
### Question:
With a Division II of Portsmouth, what is the Division IV?
### Answer:
SELECT division_iV FROM table_name_35 WHERE division_iII = portsmouth
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Course_Authors_and_Tutors (address_line_1 VARCHAR, personal_name VARCHAR)
### Question:
What are the addresses of the course authors or tutors with personal name "Cathrine"
### Answer:
SELECT address_line_1 FROM Course_Authors_and_Tutors WHERE personal_name = "Cathrine"
|
Below is an context that describes a sql 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 (byes INTEGER, wins INTEGER)
### Question:
How many byes when there are more than 16 wins?
### Answer:
SELECT AVG(byes) FROM table_name_50 WHERE wins > 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_29 (score VARCHAR, date VARCHAR)
### Question:
What is the score of the match on 12 September 1990?
### Answer:
SELECT score FROM table_name_29 WHERE date = "12 september 1990"
|
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What score has October 31 as the date?
### Answer:
SELECT score FROM table_name_18 WHERE date = "october 31"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16494599_4 (player VARCHAR, position VARCHAR)
### Question:
What players play guard?
### Answer:
SELECT player FROM table_16494599_4 WHERE position = "Guard"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22904780_1 (title VARCHAR, us_viewers__million_ VARCHAR)
### Question:
List the number of shows that had 12.04 million viewers in the united states
### Answer:
SELECT COUNT(title) FROM table_22904780_1 WHERE us_viewers__million_ = "12.04"
|
Below is an context that describes a sql 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 (rank INTEGER, silver VARCHAR, total VARCHAR, nation VARCHAR)
### Question:
What is the lowest rank of Hungary where there was a total of 8 medals, including 2 silver?
### Answer:
SELECT MIN(rank) FROM table_name_37 WHERE total = 8 AND nation = "hungary" AND silver > 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_43 (date VARCHAR, venue VARCHAR, score VARCHAR)
### Question:
What is the date of the game at the Pro Player Stadium that had a score of 4-1?
### Answer:
SELECT date FROM table_name_43 WHERE venue = "pro player stadium" AND score = "4-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 Templates (Id VARCHAR)
### Question:
How many templates do we have?
### Answer:
SELECT COUNT(*) FROM Templates
|
Below is an context that describes a sql 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 (pole_position VARCHAR, race_name VARCHAR)
### Question:
What pole position did 2006 gehl championship finale have?
### Answer:
SELECT pole_position FROM table_name_82 WHERE race_name = "2006 gehl championship finale"
|
Below is an context that describes a sql 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 (term_ending INTEGER, name VARCHAR)
### Question:
Name of xue hanqin has what highest term ending?
### Answer:
SELECT MAX(term_ending) FROM table_name_89 WHERE name = "xue hanqin"
|
Below is an context that describes a sql 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 (round INTEGER, nationality VARCHAR, position VARCHAR)
### Question:
What is the average round of the rw position player from the United States?
### Answer:
SELECT AVG(round) FROM table_name_18 WHERE nationality = "united states" AND position = "rw"
|
Below is an context that describes a sql 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 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
### Question:
Which driver had an accident and laps smaller than 53?
### Answer:
SELECT driver FROM table_name_82 WHERE laps < 53 AND time_retired = "accident"
|
Below is an context that describes a sql 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 (romaji_title VARCHAR, tv_station VARCHAR, average_ratings VARCHAR)
### Question:
Which Romaji Title has a TV Station of fuji tv, and Average Ratings of 12.41%?
### Answer:
SELECT romaji_title FROM table_name_65 WHERE tv_station = "fuji tv" AND average_ratings = "12.41%"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22683369_8 (league INTEGER)
### Question:
What was the lowest number of points scored in the league cup?
### Answer:
SELECT MIN(league) AS Cup FROM table_22683369_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_9 (name VARCHAR, caps VARCHAR)
### Question:
Who has a 59 cap?
### Answer:
SELECT name FROM table_name_9 WHERE caps = 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_27 (fs VARCHAR, sp INTEGER, name VARCHAR, points VARCHAR, rank VARCHAR)
### Question:
What is the largest value for SP+FS with more than 164.56 points for Mitsuru Matsumura in a Rank greater than 1?
### Answer:
SELECT MAX(sp) + fs FROM table_name_27 WHERE points > 164.56 AND rank > 1 AND name = "mitsuru matsumura"
|
Below is an context that describes a sql 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 (rank VARCHAR, losing_semi__finalist VARCHAR, winner VARCHAR)
### Question:
Which Rank has a Losing Semi- finalist larger than 1, and a Winner smaller than 5?
### Answer:
SELECT rank FROM table_name_79 WHERE losing_semi__finalist > 1 AND winner < 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_90 (runner_up VARCHAR, venue VARCHAR)
### Question:
For the event held in Tartu, Estonia, what is the name of the runner-up?
### Answer:
SELECT runner_up FROM table_name_90 WHERE venue = "tartu, estonia"
|
Below is an context that describes a sql 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 (results VARCHAR, incumbent VARCHAR)
### Question:
What are the results for Bill Shuster?
### Answer:
SELECT results FROM table_name_71 WHERE incumbent = "bill shuster"
|
Below is an context that describes a sql 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 (digital_channel VARCHAR, name VARCHAR)
### Question:
Which digital channel is named Storm Tracker?
### Answer:
SELECT digital_channel FROM table_name_65 WHERE name = "storm tracker"
|
Below is an context that describes a sql 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 (date VARCHAR, opposing_teams VARCHAR, against VARCHAR)
### Question:
What day was Australia the opposing team and the against 12?
### Answer:
SELECT date FROM table_name_92 WHERE opposing_teams = "australia" AND against = 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_11 (team_1 VARCHAR)
### Question:
What is the 1st leg of the Al Fahaheel Team 1?
### Answer:
SELECT 1 AS st_leg FROM table_name_11 WHERE team_1 = "al fahaheel"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE prereq (course_id VARCHAR, prereq_id VARCHAR); CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR)
### Question:
Find the title of course whose prerequisite is course Differential Geometry.
### Answer:
SELECT title FROM course WHERE course_id IN (SELECT T1.course_id FROM prereq AS T1 JOIN course AS T2 ON T1.prereq_id = T2.course_id WHERE T2.title = 'Differential Geometry')
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21109892_1 (value__int_ INTEGER, value_world_rank VARCHAR)
### Question:
When the value rank is 23, what is the value?
### Answer:
SELECT MIN(value__int_) AS $1000_ FROM table_21109892_1 WHERE value_world_rank = "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_20 (class VARCHAR, stages_won VARCHAR, position VARCHAR)
### Question:
What is the class that that won 2 stages and has a position of DNF?
### Answer:
SELECT class FROM table_name_20 WHERE stages_won = "2" AND position = "dnf"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Has_allergy (Allergy VARCHAR)
### Question:
Show all allergies with number of students affected.
### Answer:
SELECT Allergy, COUNT(*) FROM Has_allergy GROUP BY Allergy
|
Below is an context that describes a sql 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 (season VARCHAR, pts VARCHAR, pos VARCHAR, pld VARCHAR)
### Question:
What season had 1st position, 33 pld, and 58 points?
### Answer:
SELECT season FROM table_name_21 WHERE pos = "1st" AND pld = "33" AND pts = "58"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (year INTEGER, date VARCHAR)
### Question:
Which is the average year with the date of February 24?
### Answer:
SELECT AVG(year) FROM table_name_70 WHERE date = "february 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_171236_1 (status VARCHAR, census_ranking VARCHAR)
### Question:
If the census ranking is 693 of 5,008, what is the status?
### Answer:
SELECT status FROM table_171236_1 WHERE census_ranking = "693 of 5,008"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14598_5 (buddhist VARCHAR, s_jain VARCHAR)
### Question:
How many buddhists are where s jain have 941?
### Answer:
SELECT buddhist FROM table_14598_5 WHERE s_jain = "941"
|
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR)
### Question:
What is the score for 4-1?
### Answer:
SELECT score FROM table_name_9 WHERE record = "4-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 (to_par VARCHAR, score VARCHAR)
### Question:
What is the to par for the player who had a score of 70-72-70-69=281?
### Answer:
SELECT to_par FROM table_name_18 WHERE score = 70 - 72 - 70 - 69 = 281
|
Below is an context that describes a sql 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 (area__sq_mi_ INTEGER, county VARCHAR)
### Question:
Which is the largest area in Greenville County, by square mile?
### Answer:
SELECT MAX(area__sq_mi_) FROM table_name_88 WHERE county = "greenville 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_name_7 (date VARCHAR, delta VARCHAR)
### Question:
On what Date is Delta 0:40?
### Answer:
SELECT date FROM table_name_7 WHERE delta = "0:40"
|
Below is an context that describes a sql 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 (year VARCHAR, total VARCHAR, la_matches VARCHAR)
### Question:
What year had a total of 2 and LA matches of 0?
### Answer:
SELECT year FROM table_name_35 WHERE total = "2" AND la_matches = "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_27722408_8 (location_attendance VARCHAR, team VARCHAR)
### Question:
What was location and attendance for the game where the Celtics played San Antonio?
### Answer:
SELECT location_attendance FROM table_27722408_8 WHERE team = "San Antonio"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
### Question:
Which grid has a time/retired of +3.9 secs in less than 96 laps?
### Answer:
SELECT AVG(grid) FROM table_name_42 WHERE time_retired = "+3.9 secs" AND laps < 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_15 (first_elected VARCHAR, incumbent VARCHAR)
### Question:
Which First elected has a Incumbent of none (new seat)?
### Answer:
SELECT first_elected FROM table_name_15 WHERE incumbent = "none (new seat)"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (expected_speed_up† VARCHAR, application VARCHAR)
### Question:
What is the expected speed up of the gpu-hmmer application?
### Answer:
SELECT expected_speed_up† FROM table_name_47 WHERE application = "gpu-hmmer"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (nanquan INTEGER, nangun VARCHAR, rank VARCHAR, total VARCHAR)
### Question:
WHAT IS THE LOWEST NANQUAN WITH A RANK BIGGER THAN 2, TOTAL LESS THAN 18.36 AND SMALLER THAN 8.85?
### Answer:
SELECT MIN(nanquan) FROM table_name_40 WHERE rank > 2 AND total < 18.36 AND nangun < 8.85
|
Below is an context that describes a sql 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 (opponent VARCHAR, game VARCHAR)
### Question:
Who was their opponent in game 4?
### Answer:
SELECT opponent FROM table_name_77 WHERE game = "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_35 (date_aired VARCHAR, network VARCHAR)
### Question:
Which date was the show aired on the RTL Televizija network?
### Answer:
SELECT date_aired FROM table_name_35 WHERE network = "rtl televizija"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_168274_1 (icb_sector VARCHAR, ticker_symbol VARCHAR)
### Question:
Name the icb sector for ai
### Answer:
SELECT icb_sector FROM table_168274_1 WHERE ticker_symbol = "AI"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE TV_series (Episode VARCHAR, Rating VARCHAR)
### Question:
List top 3 highest Rating TV series. List the TV series's Episode and Rating.
### Answer:
SELECT Episode, Rating FROM TV_series ORDER BY Rating DESC LIMIT 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_71 (week INTEGER, opponent VARCHAR)
### Question:
What is the Week of the game against Green Bay Packers?
### Answer:
SELECT AVG(week) FROM table_name_71 WHERE opponent = "green bay packers"
|
Below is an context that describes a sql 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 (mall_name VARCHAR, stores VARCHAR)
### Question:
Which Mall has 140 stores?
### Answer:
SELECT mall_name FROM table_name_3 WHERE stores = "140"
|
Below is an context that describes a sql 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 (year VARCHAR, chassis VARCHAR)
### Question:
Name the total number of years for chassis of ensign n175
### Answer:
SELECT COUNT(year) FROM table_name_2 WHERE chassis = "ensign n175"
|
Below is an context that describes a sql 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 (date VARCHAR, runner_s__up VARCHAR)
### Question:
On which date did Ian Mosey finish runner-up?
### Answer:
SELECT date FROM table_name_49 WHERE runner_s__up = "ian mosey"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE drivers (driverid VARCHAR, surname VARCHAR); CREATE TABLE races (raceid VARCHAR); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR)
### Question:
Find the id and surname of the driver who participated the most number of races?
### Answer:
SELECT T1.driverid, T1.surname FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid 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_27 (fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR)
### Question:
When the rank is less than 4, and has a second quarter of exxon mobil 341,140.3, what is the fourth quarter?
### Answer:
SELECT fourth_quarter FROM table_name_27 WHERE rank < 4 AND second_quarter = "exxon mobil 341,140.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_6 (opponent VARCHAR, date VARCHAR)
### Question:
What was the opponent on november 8, 1981?
### Answer:
SELECT opponent FROM table_name_6 WHERE date = "november 8, 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_11497980_1 (power_kw VARCHAR, model VARCHAR)
### Question:
What is the power kw@RPM of the 13.180 model?
### Answer:
SELECT COUNT(power_kw) AS @rpm FROM table_11497980_1 WHERE model = "13.180"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (icelandic VARCHAR, norwegian__nynorsk_ VARCHAR)
### Question:
Which Icelandic has a Norwegian (nynorsk) of kvitt/kvit?
### Answer:
SELECT icelandic FROM table_name_47 WHERE norwegian__nynorsk_ = "kvitt/kvit"
|
Below is an context that describes a sql 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 (year INTEGER, remixed_by VARCHAR)
### Question:
What the highest Year with a Remixed by Laurent Boutonnat?
### Answer:
SELECT MAX(year) FROM table_name_38 WHERE remixed_by = "laurent boutonnat"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2897457_2 (nhl_team VARCHAR, player VARCHAR)
### Question:
What NHL team picked richard borgo?
### Answer:
SELECT nhl_team FROM table_2897457_2 WHERE player = "Richard Borgo"
|
Below is an context that describes a sql 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 (round VARCHAR, name VARCHAR)
### Question:
How many rounds had a race name of anglia tv trophy?
### Answer:
SELECT COUNT(round) FROM table_name_25 WHERE name = "anglia tv trophy"
|
Below is an context that describes a sql 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 (writer_s_ VARCHAR, episode VARCHAR)
### Question:
Which writer wrote episode 18-09 (652)?
### Answer:
SELECT writer_s_ FROM table_name_29 WHERE episode = "18-09 (652)"
|
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR, record VARCHAR)
### Question:
Which Date has a Score of 2–7, and a Record of 5–8–2?
### Answer:
SELECT date FROM table_name_50 WHERE score = "2–7" AND record = "5–8–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_31 (position VARCHAR, cfl_team VARCHAR)
### Question:
Can you tell me the Position that has the CFL Team of toronto?
### Answer:
SELECT position FROM table_name_31 WHERE cfl_team = "toronto"
|
Below is an context that describes a sql 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 (notes VARCHAR, location VARCHAR)
### Question:
What is the notes left for Berlin?
### Answer:
SELECT notes FROM table_name_96 WHERE location = "berlin"
|
Below is an context that describes a sql 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 (total INTEGER, gold VARCHAR, silver VARCHAR)
### Question:
What is the least total when there are more than 2 golds and fewer than 0 silver?
### Answer:
SELECT MIN(total) FROM table_name_6 WHERE gold > 2 AND silver < 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_84 (date VARCHAR, race VARCHAR)
### Question:
When did the Argentine Grand Prix race?
### Answer:
SELECT date FROM table_name_84 WHERE race = "argentine grand prix"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_74 (singapore_gross VARCHAR, title VARCHAR)
### Question:
What is the Singapore Gross with a Title that is 2000?
### Answer:
SELECT singapore_gross FROM table_name_74 WHERE title = "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_62 (goals_for INTEGER, goal_difference VARCHAR, points_1 VARCHAR)
### Question:
What is the average goals for that has +40 as the goals difference, with points 1 greater than 55?
### Answer:
SELECT AVG(goals_for) FROM table_name_62 WHERE goal_difference = "+40" AND points_1 > 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_11190568_7 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
### Question:
When are the vacancy dates for outgoing manager Damien Fox?
### Answer:
SELECT date_of_vacancy FROM table_11190568_7 WHERE outgoing_manager = "Damien Fox"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (high_assists VARCHAR, date VARCHAR)
### Question:
Who has the highest assists on april 28?
### Answer:
SELECT high_assists FROM table_name_45 WHERE date = "april 28"
|
Below is an context that describes a sql 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 (pick VARCHAR, college VARCHAR)
### Question:
What is the pick of wiley college?
### Answer:
SELECT pick FROM table_name_70 WHERE college = "wiley"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE wrestler (Wrestler_ID VARCHAR, Days_held INTEGER); CREATE TABLE elimination (Time VARCHAR, Wrestler_ID VARCHAR)
### Question:
Show times of elimination of wrestlers with days held more than 50.
### Answer:
SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID WHERE T2.Days_held > 50
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342198_17 (first_elected INTEGER, incumbent VARCHAR)
### Question:
How many results for minimum first elected incumbent Noble Jones Gregory?
### Answer:
SELECT MIN(first_elected) FROM table_1342198_17 WHERE incumbent = "Noble Jones Gregory"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1725413_5 (open_era VARCHAR, first_title VARCHAR)
### Question:
How many open era titles does the team with their first title in 1925 have?
### Answer:
SELECT open_era FROM table_1725413_5 WHERE first_title = 1925
|
Below is an context that describes a sql 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 (grid INTEGER, laps VARCHAR, bike VARCHAR, time VARCHAR)
### Question:
What is the largest Grid that has a Bike of honda cbr1000rr, and a Time of +20.848, and a Lap greater than 24?
### Answer:
SELECT MAX(grid) FROM table_name_70 WHERE bike = "honda cbr1000rr" AND time = "+20.848" AND laps > 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_74 (city VARCHAR, jul VARCHAR)
### Question:
Name the city with july of 88 °f / 31.1 °c
### Answer:
SELECT city FROM table_name_74 WHERE jul = "88 °f / 31.1 °c"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (d_42_√ VARCHAR, d_45_o VARCHAR)
### Question:
What is the value of D 42 √, when the value of D 45 O is d 32 √?
### Answer:
SELECT d_42_√ FROM table_name_47 WHERE d_45_o = "d 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_1998037_9 (television_commentator VARCHAR, spokesperson VARCHAR)
### Question:
Who is the television commentator when the spokesperson is Kateryna Osadcha?
### Answer:
SELECT television_commentator FROM table_1998037_9 WHERE spokesperson = "Kateryna Osadcha"
|
Below is an context that describes a sql 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 (lost VARCHAR, opposition VARCHAR, tied VARCHAR)
### Question:
What is the total number of losses against the Rajasthan Royals with more than 0 ties?
### Answer:
SELECT COUNT(lost) FROM table_name_57 WHERE opposition = "rajasthan royals" AND tied > 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_26919_6 (sabaean VARCHAR, arabic VARCHAR)
### Question:
Name the sabaean for sabʕ-
### Answer:
SELECT sabaean FROM table_26919_6 WHERE arabic = "sabʕ-"
|
Below is an context that describes a sql 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 (event VARCHAR, score VARCHAR)
### Question:
Name the Event which has a Score of 209-197?
### Answer:
SELECT event FROM table_name_24 WHERE score = "209-197"
|
Below is an context that describes a sql 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 (goals_conceded INTEGER, points VARCHAR, played VARCHAR)
### Question:
What are the total amount of Goals Conceded when the Points are less than 26, and when the value for Played is less than 18?
### Answer:
SELECT SUM(goals_conceded) FROM table_name_86 WHERE points < 26 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_57 (pos VARCHAR, school_country VARCHAR)
### Question:
What position does the player from arkansas play?
### Answer:
SELECT pos FROM table_name_57 WHERE school_country = "arkansas"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (date VARCHAR, label VARCHAR, catalog VARCHAR)
### Question:
What date is the release when the label was Parlophone and the catalog was 582 2912?
### Answer:
SELECT date FROM table_name_35 WHERE label = "parlophone" AND catalog = "582 2912"
|
Below is an context that describes a sql 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 (virtues VARCHAR, psycho_social_crisis VARCHAR)
### Question:
What Virtue looks at the intimacy vs. isolation crisis?
### Answer:
SELECT virtues FROM table_name_48 WHERE psycho_social_crisis = "intimacy vs. isolation"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28523_2 (gender VARCHAR, school VARCHAR)
### Question:
What is the gender of the cunningham hill infant school?
### Answer:
SELECT gender FROM table_28523_2 WHERE school = "Cunningham Hill Infant 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_76 (games INTEGER, rank VARCHAR, rebounds VARCHAR)
### Question:
Which game has more than 112 rebounds and a rank greater than 3?
### Answer:
SELECT MAX(games) FROM table_name_76 WHERE rank > 3 AND rebounds = 112
|
Below is an context that describes a sql 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 (firefox VARCHAR, safari VARCHAR)
### Question:
What percentage of users were using Firefox according to the source that reported 15.40% used Safari?
### Answer:
SELECT firefox FROM table_name_66 WHERE safari = "15.40%"
|
Below is an context that describes a sql 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 (bonus_points VARCHAR, drawn VARCHAR, points_for VARCHAR)
### Question:
What is the number of bonus points for the team with 2 drawn games and 475 points?
### Answer:
SELECT bonus_points FROM table_name_63 WHERE drawn = "2" AND points_for = "475"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1137694_3 (round VARCHAR, winning_driver VARCHAR)
### Question:
How many total rounds did Damon Hill come in First Place?
### Answer:
SELECT COUNT(round) FROM table_1137694_3 WHERE winning_driver = "Damon Hill"
|
Below is an context that describes a sql 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 (frequency VARCHAR, power VARCHAR)
### Question:
What is the frequency with 900w power?
### Answer:
SELECT frequency FROM table_name_81 WHERE power = "900w"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.