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_16390576_3 (title VARCHAR, no_in_series VARCHAR)
### Question:
what is the title of episode 28
### Answer:
SELECT title FROM table_16390576_3 WHERE no_in_series = 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_6 (parent_magazine VARCHAR, title VARCHAR, frequency VARCHAR, magazine_type VARCHAR)
### Question:
What was the parent magazine for the manga magazine, dengeki moeoh that was issued bimonthly?
### Answer:
SELECT parent_magazine FROM table_name_6 WHERE frequency = "bimonthly" AND magazine_type = "manga" AND title = "dengeki moeoh" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1805919_1 (english_translation VARCHAR, traditional_chinese VARCHAR)
### Question:
What is the English translation of ει’?
### Answer:
SELECT english_translation FROM table_1805919_1 WHERE traditional_chinese = "ει’" |
Below is an context that describes a sql 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 (runner_up VARCHAR)
### Question:
What shows for 3rd place when Runner-up shows as runner-up?
### Answer:
SELECT 3 AS rd_place FROM table_name_36 WHERE runner_up = "runner-up" |
Below is an context that describes a sql 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 (executive_director VARCHAR, type VARCHAR, location VARCHAR)
### Question:
Who is the executive director of the Lemery, Batangas extension?
### Answer:
SELECT executive_director FROM table_name_84 WHERE type = "extension" AND location = "lemery, batangas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341423_32 (results VARCHAR, district VARCHAR)
### Question:
Name the results for district new york 24
### Answer:
SELECT results FROM table_1341423_32 WHERE district = "New York 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_1656555_1 (archbishop VARCHAR, ordained_bishop VARCHAR)
### Question:
Which archbishop was ordained as bishop November 30, 1925?
### Answer:
SELECT archbishop FROM table_1656555_1 WHERE ordained_bishop = "November 30, 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_2 (nationality VARCHAR, college VARCHAR)
### Question:
What is Nationality, and when College is Illinois State?
### Answer:
SELECT nationality FROM table_name_2 WHERE college = "illinois 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_62 (frequency VARCHAR, magazine_run VARCHAR)
### Question:
What is the frequency for the magazine that runs September 2, 2010?
### Answer:
SELECT frequency FROM table_name_62 WHERE magazine_run = "september 2, 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_55 (result VARCHAR, round INTEGER)
### Question:
What is the result of a round greater than 3?
### Answer:
SELECT result FROM table_name_55 WHERE round > 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_32 (Id VARCHAR)
### Question:
What shows for 1988 when 1994 shows 10β6?
### Answer:
SELECT 1988 FROM table_name_32 WHERE 1994 = "10β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_73 (result INTEGER, location VARCHAR, rank VARCHAR)
### Question:
What is the smallest Result with a Location of birmingham, and Rank larger than 5?
### Answer:
SELECT MIN(result) FROM table_name_73 WHERE location = "birmingham" AND rank > 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_35 (municipality VARCHAR, proposed VARCHAR)
### Question:
The proposed 03/08/2004 site is in what municipality?
### Answer:
SELECT municipality FROM table_name_35 WHERE proposed = "03/08/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_44 (build_year VARCHAR, total_production VARCHAR)
### Question:
Tell me the build year for total production of 150
### Answer:
SELECT build_year FROM table_name_44 WHERE total_production = 150 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22410780_1 (production_stagemanager VARCHAR, secretary VARCHAR)
### Question:
How many production stage managers worked with secretary Rachel Hartmann?
### Answer:
SELECT COUNT(production_stagemanager) FROM table_22410780_1 WHERE secretary = "Rachel Hartmann" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_224837_4 (date_successor_seated VARCHAR, reason_for_change VARCHAR)
### Question:
Name the date successor seated for contested election; served until february 14, 1794
### Answer:
SELECT date_successor_seated FROM table_224837_4 WHERE reason_for_change = "Contested election; served until February 14, 1794" |
Below is an context that describes a sql 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 (name VARCHAR, construction VARCHAR, ref_number VARCHAR, built VARCHAR)
### Question:
What is the name of the mill constructed of red brick in 1910 with a reference number lower than 55?
### Answer:
SELECT name FROM table_name_7 WHERE ref_number < 55 AND built = 1910 AND construction = "red brick" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29542147_2 (w INTEGER, l VARCHAR)
### Question:
What is the highest W of the 0 L?
### Answer:
SELECT MAX(w) FROM table_29542147_2 WHERE l = 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 matches (YEAR VARCHAR)
### Question:
Find the year that has the most number of matches.
### Answer:
SELECT YEAR FROM matches GROUP BY YEAR 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_33 (captain VARCHAR, alternate__1_ VARCHAR)
### Question:
Which captain has Gintare Karpaviciute as an alternate?
### Answer:
SELECT captain FROM table_name_33 WHERE alternate__1_ = "gintare karpaviciute" |
Below is an context that describes a sql 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 (airport VARCHAR, city VARCHAR, iata VARCHAR)
### Question:
for milan and the iata of lin what is the airport?
### Answer:
SELECT airport FROM table_name_95 WHERE city = "milan" AND iata = "lin" |
Below is an context that describes a sql 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 (year INTEGER, start VARCHAR, stage VARCHAR)
### Question:
What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15?
### Answer:
SELECT MIN(year) FROM table_name_56 WHERE start = "saint-gaudens" AND stage < 15 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22347090_5 (no_in_season VARCHAR, no_in_series VARCHAR)
### Question:
Name the number of number in season for 26
### Answer:
SELECT COUNT(no_in_season) FROM table_22347090_5 WHERE no_in_series = 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_25129482_1 (stadium VARCHAR, manager VARCHAR)
### Question:
Which stadium is managed by Kari Martonen?
### Answer:
SELECT stadium FROM table_25129482_1 WHERE manager = "Kari Martonen" |
Below is an context that describes a sql 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 (nhl_team VARCHAR, pick__number VARCHAR)
### Question:
Which NHL team got pick 89?
### Answer:
SELECT nhl_team FROM table_name_49 WHERE pick__number = "89" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2701625_1 (female_life_expectancy INTEGER, overall_rank VARCHAR)
### Question:
Name the most female life expectancy for overall rank of 61
### Answer:
SELECT MAX(female_life_expectancy) FROM table_2701625_1 WHERE overall_rank = 61 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25085059_3 (cfl_team VARCHAR, college VARCHAR)
### Question:
What team got a draft pick player from McGill?
### Answer:
SELECT cfl_team FROM table_25085059_3 WHERE college = "McGill" |
Below is an context that describes a sql 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 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR)
### Question:
What was the score when the tie number was a replay and the home team was mansfield town?
### Answer:
SELECT score FROM table_name_59 WHERE tie_no = "replay" AND home_team = "mansfield town" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23927423_4 (promoted_to_league VARCHAR, relegated_to_league VARCHAR)
### Question:
Who was promoted to the league when Coventry was relegated to the league?
### Answer:
SELECT promoted_to_league FROM table_23927423_4 WHERE relegated_to_league = "Coventry" |
Below is an context that describes a sql 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 (points INTEGER, games INTEGER)
### Question:
What is the fewest number of points associated with more than 8 games?
### Answer:
SELECT MIN(points) FROM table_name_95 WHERE games > 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_1825751_14 (delegate VARCHAR, pageant VARCHAR, year VARCHAR)
### Question:
where pageant is elite model look and year is bigger than 1993.0, who is the delegate?
### Answer:
SELECT delegate FROM table_1825751_14 WHERE pageant = "Elite Model Look" AND year > 1993.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_22736523_1 (result VARCHAR, week__number VARCHAR)
### Question:
For week of top 9, what were the results?
### Answer:
SELECT result FROM table_22736523_1 WHERE week__number = "Top 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_4 (result VARCHAR, week VARCHAR)
### Question:
What was the result of the game on week 1?
### Answer:
SELECT result FROM table_name_4 WHERE week = 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (result VARCHAR, location VARCHAR, loser VARCHAR)
### Question:
What is result of the game at Arrowhead Stadium where the loser was the Kansas City Chiefs?
### Answer:
SELECT result FROM table_name_23 WHERE location = "arrowhead stadium" AND loser = "kansas city chiefs" |
Below is an context that describes a sql 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 (partner VARCHAR, score_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR)
### Question:
Who is the partner on a date later than 1971 who is the runner-up with a score of 3β6, 3β6?
### Answer:
SELECT partner FROM table_name_33 WHERE date > 1971 AND outcome = "runner-up" AND score_in_the_final = "3β6, 3β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_39 (road_team VARCHAR, result VARCHAR)
### Question:
What is the Road Team in the game with a Result of 105-95?
### Answer:
SELECT road_team FROM table_name_39 WHERE result = "105-95" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (driver VARCHAR, q1_order VARCHAR, q1_pos VARCHAR)
### Question:
Driver at larger than 10 with a Q1 of 18.
### Answer:
SELECT driver FROM table_name_28 WHERE q1_order > 10 AND q1_pos = 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_27614571_1 (song_choice VARCHAR, theme VARCHAR)
### Question:
What was Barreto's song choice when the theme was samba?
### Answer:
SELECT song_choice FROM table_27614571_1 WHERE theme = "Samba" |
Below is an context that describes a sql 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 (us_peak_position VARCHAR, uk_peak_position VARCHAR)
### Question:
What was the US Peak position of the film that peaked at #21 in the UK?
### Answer:
SELECT us_peak_position FROM table_name_83 WHERE uk_peak_position = "21" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17625749_1 (lost VARCHAR, tries_for VARCHAR)
### Question:
Name the number of lost where tries for is 109
### Answer:
SELECT COUNT(lost) FROM table_17625749_1 WHERE tries_for = "109" |
Below is an context that describes a sql 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 (years_in_orlando VARCHAR, school_club_team VARCHAR)
### Question:
Which Years in Orlando has a School/Club Team of kentucky?
### Answer:
SELECT years_in_orlando FROM table_name_96 WHERE school_club_team = "kentucky" |
Below is an context that describes a sql 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 (field_goals VARCHAR, player VARCHAR)
### Question:
How many field goals did duncan thompson have?
### Answer:
SELECT field_goals FROM table_name_8 WHERE player = "duncan thompson" |
Below is an context that describes a sql 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 (partner VARCHAR, tournament VARCHAR)
### Question:
Who was the Partner in the Algiers 2, Algeria Tournament?
### Answer:
SELECT partner FROM table_name_2 WHERE tournament = "algiers 2, algeria" |
Below is an context that describes a sql 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 (score VARCHAR, tournament VARCHAR)
### Question:
Which Score has a Tournament of san jose, us (2)?
### Answer:
SELECT score FROM table_name_56 WHERE tournament = "san jose, us (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_67 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR)
### Question:
Which title aired on 18 dec 2006- 10 feb 2007?
### Answer:
SELECT english_title__chinese_title_ FROM table_name_67 WHERE airing_date = "18 dec 2006- 10 feb 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_19810459_1 (background VARCHAR, result VARCHAR)
### Question:
What was the background of the contestant whose result was 11th place?
### Answer:
SELECT background FROM table_19810459_1 WHERE result = "11th place" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (val_de_marne VARCHAR, seine_saint_denis VARCHAR)
### Question:
WHAT IS Val-de-Marne WITH Seine-Saint-Denis of 4.0%?
### Answer:
SELECT val_de_marne FROM table_name_52 WHERE seine_saint_denis = "4.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_94 (competition_description VARCHAR, rank_qualifying VARCHAR, apparatus VARCHAR)
### Question:
What competition had a Rank-Qualifying of 1st and a ball apparatus?
### Answer:
SELECT competition_description FROM table_name_94 WHERE rank_qualifying = "1st" AND apparatus = "ball" |
Below is an context that describes a sql 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 (score VARCHAR, team VARCHAR)
### Question:
Can you tell me the Score that has the Team of memphis?
### Answer:
SELECT score FROM table_name_89 WHERE team = "memphis" |
Below is an context that describes a sql 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 (sources_of_pop___area VARCHAR, city VARCHAR)
### Question:
What is the sources for Bandung?
### Answer:
SELECT sources_of_pop___area FROM table_name_37 WHERE city = "bandung" |
Below is an context that describes a sql 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 (attendance VARCHAR, opponent VARCHAR)
### Question:
What was the attendance for the game against the Houston Oilers?
### Answer:
SELECT attendance FROM table_name_9 WHERE opponent = "houston oilers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (established INTEGER, championships VARCHAR, league VARCHAR)
### Question:
With less than 1 Championship, what es the Established date of the Niagara Rugby Union League?
### Answer:
SELECT SUM(established) FROM table_name_40 WHERE championships < 1 AND league = "niagara rugby union" |
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR)
### Question:
What is the score of the game with an 11-32-11 record?
### Answer:
SELECT score FROM table_name_40 WHERE record = "11-32-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_4 (team VARCHAR, location_attendance VARCHAR)
### Question:
Which Team has a Location Attendance of fedexforum 11,731?
### Answer:
SELECT team FROM table_name_4 WHERE location_attendance = "fedexforum 11,731" |
Below is an context that describes a sql 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 (directed_by VARCHAR, season VARCHAR, episode VARCHAR)
### Question:
Who was the director of the episode with a season after 8 and an episode of XVI?
### Answer:
SELECT directed_by FROM table_name_77 WHERE season > 8 AND episode = "xvi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (last_performance VARCHAR, status VARCHAR, name VARCHAR)
### Question:
What was the Last Performance when the status is current cast, and a Name of noah parets?
### Answer:
SELECT last_performance FROM table_name_16 WHERE status = "current cast" AND name = "noah parets" |
Below is an context that describes a sql 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 (venue VARCHAR, date VARCHAR)
### Question:
At which venue did the game on 28 october 2013 take place?
### Answer:
SELECT venue FROM table_name_5 WHERE date = "28 october 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_name_54 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)
### Question:
Tell me the constellation which has a right ascension of 18h17m41.1s
### Answer:
SELECT constellation FROM table_name_54 WHERE right_ascension___j2000__ = "18h17m41.1s" |
Below is an context that describes a sql 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 (year VARCHAR, award VARCHAR)
### Question:
What is the year of the Premios Carlos Gardel 2009 award?
### Answer:
SELECT year FROM table_name_58 WHERE award = "premios carlos gardel 2009" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (winning_amount VARCHAR, date_premiered__2009_ VARCHAR)
### Question:
What is the winning amount that has May 30, 2009 as the date premiered?
### Answer:
SELECT winning_amount FROM table_name_2 WHERE date_premiered__2009_ = "may 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_43 (venue VARCHAR, date VARCHAR)
### Question:
Where was the match held on July 17, 1999?
### Answer:
SELECT venue FROM table_name_43 WHERE date = "july 17, 1999" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
What is the home team's score when st kilda is away?
### Answer:
SELECT home_team AS score FROM table_name_23 WHERE away_team = "st kilda" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (score VARCHAR, tie_no VARCHAR)
### Question:
What's the score when the tie number was replay?
### Answer:
SELECT score FROM table_name_70 WHERE tie_no = "replay" |
Below is an context that describes a sql 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 (draw VARCHAR, place VARCHAR, televotes VARCHAR, song VARCHAR)
### Question:
What is the total number of Draw(s), when Televotes is greater than 1761, when Song is "Ils Sont LΓ ", and when Place is less than 2?
### Answer:
SELECT COUNT(draw) FROM table_name_9 WHERE televotes > 1761 AND song = "ils sont lΓ " AND place < 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_37 (total INTEGER, bask VARCHAR, base VARCHAR)
### Question:
What is the highest total value when bask and base are each 3?
### Answer:
SELECT MAX(total) FROM table_name_37 WHERE bask = "3" AND base = "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 train (ObjectNumber VARCHAR, Railway_ID VARCHAR); CREATE TABLE railway (ObjectNumber VARCHAR, Railway_ID VARCHAR)
### Question:
List the object number of railways that do not have any trains.
### Answer:
SELECT ObjectNumber FROM railway WHERE NOT Railway_ID IN (SELECT Railway_ID FROM train) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
What was the retired time on someone who had 43 laps on a grip of 18?
### Answer:
SELECT time_retired FROM table_name_17 WHERE laps = 43 AND grid = 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_46 (title VARCHAR, artist VARCHAR, cat__number VARCHAR)
### Question:
What is the title of the record with an artist of Tangorodrim, category number FSR006?
### Answer:
SELECT title FROM table_name_46 WHERE artist = "tangorodrim" AND cat__number = "fsr006" |
Below is an context that describes a sql 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 (winner VARCHAR, type VARCHAR, course VARCHAR)
### Question:
What is the name of the winner with a type of plain stage and a Course of nola to sora?
### Answer:
SELECT winner FROM table_name_35 WHERE type = "plain stage" AND course = "nola to sora" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10638523_1 (mid_hill_zone VARCHAR, particulars_and_characteristics VARCHAR)
### Question:
For mid-hill zone what is the altitude?
### Answer:
SELECT mid_hill_zone FROM table_10638523_1 WHERE particulars_and_characteristics = "Altitude" |
Below is an context that describes a sql 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 (tag_team VARCHAR, entered VARCHAR)
### Question:
Name the Tag Team with Entered of 6?
### Answer:
SELECT tag_team FROM table_name_94 WHERE entered = 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 Financial_transactions (account_id VARCHAR)
### Question:
Show the account id with most number of transactions.
### Answer:
SELECT account_id FROM Financial_transactions GROUP BY account_id 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_10015132_3 (nationality VARCHAR, player VARCHAR)
### Question:
What's Dell Curry nationality?
### Answer:
SELECT nationality FROM table_10015132_3 WHERE player = "Dell Curry" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27956_3 (percentage_change_yoy VARCHAR, institution VARCHAR)
### Question:
Name the percentage change yoy for presbyterian college
### Answer:
SELECT percentage_change_yoy FROM table_27956_3 WHERE institution = "Presbyterian College" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19948664_2 (ranking_la__2_ VARCHAR, world_ranking__1_ VARCHAR)
### Question:
How many items were under ranking l.a.(2) when the world ranking was 21st?
### Answer:
SELECT COUNT(ranking_la__2_) FROM table_19948664_2 WHERE world_ranking__1_ = "21st" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
At the home game in Collingwood, how much did the away team score?
### Answer:
SELECT away_team AS score FROM table_name_62 WHERE home_team = "collingwood" |
Below is an context that describes a sql 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 (fastest_laps INTEGER, season VARCHAR, poles VARCHAR)
### Question:
Which the Fastest Lap has a Season of 2009 and Poles smaller than 0?
### Answer:
SELECT MAX(fastest_laps) FROM table_name_65 WHERE season = "2009" AND poles < 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_94 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
### Question:
What is the average number of bronzes when the rank is below 11 for trinidad and tobago with less than 1 total medal?
### Answer:
SELECT AVG(bronze) FROM table_name_94 WHERE rank < 11 AND nation = "trinidad and tobago" AND total < 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 room (blockcode VARCHAR, unavailable VARCHAR)
### Question:
What are the unique block codes that have available rooms?
### Answer:
SELECT DISTINCT blockcode FROM room WHERE unavailable = 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_3 (cores VARCHAR, part_number_s_ VARCHAR, release_date VARCHAR, release_price___usd__ VARCHAR)
### Question:
How many cores does the processor released in April 2012 with a price of $393 and part number av8063801117503 have?
### Answer:
SELECT cores FROM table_name_3 WHERE release_date = "april 2012" AND release_price___usd__ = "$393" AND part_number_s_ = "av8063801117503" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17311797_10 (score VARCHAR, game VARCHAR)
### Question:
What was the score in game 81?
### Answer:
SELECT score FROM table_17311797_10 WHERE game = 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_49 (previous_conference VARCHAR, school VARCHAR)
### Question:
Which conference held at School of whiting?
### Answer:
SELECT previous_conference FROM table_name_49 WHERE school = "whiting" |
Below is an context that describes a sql 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 (time___et__ VARCHAR, location VARCHAR, opponent VARCHAR)
### Question:
What time did the game featuring the Detroit Lions at Three Rivers Stadium occur?
### Answer:
SELECT time___et__ FROM table_name_38 WHERE location = "three rivers stadium" AND opponent = "detroit lions" |
Below is an context that describes a sql 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 (position VARCHAR, nationality VARCHAR)
### Question:
What position does the draft pick from Finland play?
### Answer:
SELECT position FROM table_name_72 WHERE nationality = "finland" |
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR)
### Question:
What is the largest crowd for a Melbourne away team?
### Answer:
SELECT MAX(crowd) FROM table_name_35 WHERE away_team = "melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (to_par VARCHAR, score VARCHAR)
### Question:
What is the to par of the player with a 73-70-70-65=278 score?
### Answer:
SELECT to_par FROM table_name_92 WHERE score = 73 - 70 - 70 - 65 = 278 |
Below is an context that describes a sql 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 (film VARCHAR, role VARCHAR, leading_man VARCHAR, director VARCHAR, year VARCHAR)
### Question:
What film was the director william a. wellman, later than 1931 with a leading man of george brent, and a Role of joan gordon, aka francine la rue?
### Answer:
SELECT film FROM table_name_54 WHERE director = "william a. wellman" AND year > 1931 AND leading_man = "george brent" AND role = "joan gordon, aka francine la rue" |
Below is an context that describes a sql 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 (rank INTEGER, team VARCHAR, time VARCHAR)
### Question:
Team of honda 250cc, and a Time of 31β 03.093 has what lowest rank?
### Answer:
SELECT MIN(rank) FROM table_name_74 WHERE team = "honda 250cc" AND time = "31β 03.093" |
Below is an context that describes a sql 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 (season INTEGER, position INTEGER)
### Question:
What is the earliest season that has a position over 12?
### Answer:
SELECT MIN(season) FROM table_name_80 WHERE position > 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_82 (venue VARCHAR, goal VARCHAR, result VARCHAR)
### Question:
Which venue had more than 9 goals and a final result of 4-1?
### Answer:
SELECT venue FROM table_name_82 WHERE goal > 9 AND result = "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_26 (total INTEGER, player VARCHAR)
### Question:
Which mean total had Tim Sills as a player?
### Answer:
SELECT AVG(total) FROM table_name_26 WHERE player = "tim sills" |
Below is an context that describes a sql 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 (player VARCHAR, rank VARCHAR, tally VARCHAR)
### Question:
Which player had a rank of 8 and tally of 1-5?
### Answer:
SELECT player FROM table_name_56 WHERE rank = 8 AND tally = "1-5" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (runner_s__up VARCHAR, tournament VARCHAR)
### Question:
Who is the runner-up of Atlantic city classic?
### Answer:
SELECT runner_s__up FROM table_name_42 WHERE tournament = "atlantic city classic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19753079_12 (party VARCHAR, district VARCHAR)
### Question:
What party got elected in Florida 9 district?
### Answer:
SELECT party FROM table_19753079_12 WHERE district = "Florida 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_34 (numbers VARCHAR, model VARCHAR, year_built VARCHAR)
### Question:
What are the numbers for lc models built in 2009?
### Answer:
SELECT numbers FROM table_name_34 WHERE model = "lc" AND year_built = 2009 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24431264_17 (points VARCHAR, player VARCHAR)
### Question:
List the total number of defense points for caroline wozniacki.
### Answer:
SELECT points AS defending FROM table_24431264_17 WHERE player = "Caroline Wozniacki" |
Below is an context that describes a sql 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 (attendance INTEGER, opponent VARCHAR, points_against VARCHAR)
### Question:
What is the lowest Attendance against the tampa bay buccaneers, with Points Against of less than 7?
### Answer:
SELECT MIN(attendance) FROM table_name_53 WHERE opponent = "tampa bay buccaneers" AND points_against < 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_2064747_1 (location_s_ VARCHAR, founded VARCHAR)
### Question:
Where was there a school founded in 1927?
### Answer:
SELECT location_s_ FROM table_2064747_1 WHERE founded = 1927 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19850806_3 (report VARCHAR, rd VARCHAR)
### Question:
Which report is where rd. is 9?
### Answer:
SELECT report FROM table_19850806_3 WHERE rd = "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_31 (venue VARCHAR, report VARCHAR, date VARCHAR)
### Question:
What venue has a EAFF report on June 24, 2007?
### Answer:
SELECT venue FROM table_name_31 WHERE report = "eaff" AND date = "june 24, 2007" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.