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_79 (opponent VARCHAR, outcome VARCHAR, score VARCHAR)
### Question:
Who was the opponent for the match were the outcome was runner-up and the score was 5-7, 1-6?
### Answer:
SELECT opponent FROM table_name_79 WHERE outcome = "runner-up" AND score = "5-7, 1-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_70 (report VARCHAR, name VARCHAR)
### Question:
Name the Report has a Name of lyon grand prix?
### Answer:
SELECT report FROM table_name_70 WHERE name = "lyon 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_51 (result VARCHAR, box_scores VARCHAR, date VARCHAR)
### Question:
What was the result of the game on September 25 with a box score of box?
### Answer:
SELECT result FROM table_name_51 WHERE box_scores = "box" AND date = "september 25"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24399615_4 (viewers VARCHAR, bbc_three_weekly_ranking VARCHAR)
### Question:
How many items are listed under viewers column when the bbd three weekly ranking was 1?
### Answer:
SELECT COUNT(viewers) FROM table_24399615_4 WHERE bbc_three_weekly_ranking = "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_35 (rank VARCHAR, wins VARCHAR, player VARCHAR)
### Question:
What rank is Miller Barber with more than 11 wins?
### Answer:
SELECT rank FROM table_name_35 WHERE wins > 11 AND player = "miller barber"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22577693_1 (host_nation_s_ VARCHAR, winner VARCHAR)
### Question:
What is the name of the host nations if the winner was Hong Kong 207/6 (47.1 overs)?
### Answer:
SELECT host_nation_s_ FROM table_22577693_1 WHERE winner = "Hong Kong 207/6 (47.1 overs)"
|
Below is an context that describes a sql 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 (player VARCHAR, nhl_team VARCHAR)
### Question:
Which player(s) was drafted by the Pittsburgh Penguins?
### Answer:
SELECT player FROM table_name_52 WHERE nhl_team = "pittsburgh penguins"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (us_cham_rank INTEGER, next_highest_spender VARCHAR, year VARCHAR)
### Question:
Which US Cham Rank is the lowest one that has a Next Highest Spender of national assn of realtors, and a Year smaller than 2012?
### Answer:
SELECT MIN(us_cham_rank) FROM table_name_94 WHERE next_highest_spender = "national assn of realtors" AND year < 2012
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Dogs (name VARCHAR, dog_id VARCHAR, breed_code VARCHAR); CREATE TABLE Treatments (date_of_treatment VARCHAR, dog_id VARCHAR); CREATE TABLE Dogs (breed_code VARCHAR)
### Question:
List the names of the dogs of the rarest breed and the treatment dates of them.
### Answer:
SELECT T1.name, T2.date_of_treatment FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id WHERE T1.breed_code = (SELECT breed_code FROM Dogs GROUP BY breed_code ORDER BY COUNT(*) 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_24913533_4 (assists INTEGER, player VARCHAR)
### Question:
What is the maximum number of assists for players named Anastasia Kostaki?
### Answer:
SELECT MAX(assists) FROM table_24913533_4 WHERE player = "Anastasia Kostaki"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (total INTEGER, bronze INTEGER)
### Question:
How many totals had more than 4 bronze?
### Answer:
SELECT SUM(total) FROM table_name_93 WHERE bronze > 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_28 (to_par VARCHAR, player VARCHAR)
### Question:
What is Gene Sauers' to par?
### Answer:
SELECT to_par FROM table_name_28 WHERE player = "gene sauers"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (october VARCHAR, record VARCHAR)
### Question:
What October has 0-2-2 as the record?
### Answer:
SELECT october FROM table_name_13 WHERE record = "0-2-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_81 (grid INTEGER, laps VARCHAR, driver VARCHAR)
### Question:
What is the lowest Grid for jj lehto with over 51 laps?
### Answer:
SELECT MIN(grid) FROM table_name_81 WHERE laps > 51 AND driver = "jj lehto"
|
Below is an context that describes a sql 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 (frequency VARCHAR, identifier VARCHAR)
### Question:
What Frequency has the Identifier of CBFX-FM-6?
### Answer:
SELECT frequency FROM table_name_53 WHERE identifier = "cbfx-fm-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_26 (team_classification VARCHAR, stage VARCHAR, points_classification VARCHAR, winner VARCHAR)
### Question:
What team classification has alejandro valverde as points classification, with alejandro valverde as the winner, with 3 as the stage?
### Answer:
SELECT team_classification FROM table_name_26 WHERE points_classification = "alejandro valverde" AND winner = "alejandro valverde" AND stage = "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_64 (latin VARCHAR, virtue VARCHAR)
### Question:
What is the Virtue of Temperance in Latin?
### Answer:
SELECT latin FROM table_name_64 WHERE virtue = "temperance"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17288825_7 (record VARCHAR, high_points VARCHAR)
### Question:
How many times did Ron Artest (24) receive the record for high points?
### Answer:
SELECT COUNT(record) FROM table_17288825_7 WHERE high_points = "Ron Artest (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_97 (athlete VARCHAR, time VARCHAR, country VARCHAR, place VARCHAR, year VARCHAR)
### Question:
Which Athlete has a Place of 1, and a Year smaller than 1988, and a Country of gre, and a Time of 21:57:00?
### Answer:
SELECT athlete FROM table_name_97 WHERE place = 1 AND year < 1988 AND country = "gre" AND time = "21:57:00"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (country VARCHAR, player VARCHAR)
### Question:
What is Country, when Player is "Scott Dunlap"?
### Answer:
SELECT country FROM table_name_70 WHERE player = "scott dunlap"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance VARCHAR); CREATE TABLE exhibition (exhibition_id VARCHAR, ticket_price VARCHAR)
### Question:
How many exhibitions have a attendance more than 100 or have a ticket price below 10?
### Answer:
SELECT COUNT(*) FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance > 100 OR T2.ticket_price < 10
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (scorers VARCHAR, round VARCHAR)
### Question:
Who were the scorers in round 3?
### Answer:
SELECT scorers FROM table_name_83 WHERE round = "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_79 (venue VARCHAR, competition VARCHAR, year VARCHAR)
### Question:
Where were the Mediterranean games after 2005?
### Answer:
SELECT venue FROM table_name_79 WHERE competition = "mediterranean games" AND year > 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_22 (launched VARCHAR, commissioned VARCHAR, bow_number VARCHAR)
### Question:
When did the ship that was commissioned July 1948 with a bow number of ps-31 launch?
### Answer:
SELECT launched FROM table_name_22 WHERE commissioned = "july 1948" AND bow_number = "ps-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_10015132_1 (position VARCHAR, school_club_team VARCHAR)
### Question:
What position did the player from Baylor play?
### Answer:
SELECT position FROM table_10015132_1 WHERE school_club_team = "Baylor"
|
Below is an context that describes a sql 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 (runner_up VARCHAR, venue VARCHAR)
### Question:
Who was the runner-up at the event held in Tartu, Estonia?
### Answer:
SELECT runner_up FROM table_name_53 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_17 (gender VARCHAR, name VARCHAR, roll VARCHAR, years VARCHAR, authority VARCHAR)
### Question:
Which gender has Years of 1–8, an Authority of state, a Roll less than 184, and a Name of matatoki school?
### Answer:
SELECT gender FROM table_name_17 WHERE years = "1–8" AND authority = "state" AND roll < 184 AND name = "matatoki 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_2182562_1 (year VARCHAR, winnings VARCHAR)
### Question:
What year did the winnings equal $281,945?
### Answer:
SELECT year FROM table_2182562_1 WHERE winnings = "$281,945"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (pujehun INTEGER, measure VARCHAR)
### Question:
What is the average pjehun measured by female enrollment?
### Answer:
SELECT AVG(pujehun) FROM table_name_10 WHERE measure = "female enrollment"
|
Below is an context that describes a sql 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 (third_place VARCHAR, fourth_placed VARCHAR, number_of_clubs VARCHAR, winners VARCHAR)
### Question:
Who was in third place when the Winner was Dalian Shide, Chongqing Longxin was 4th and 14 clubs?
### Answer:
SELECT third_place FROM table_name_48 WHERE number_of_clubs = 14 AND winners = "dalian shide" AND fourth_placed = "chongqing longxin"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (artist VARCHAR, number VARCHAR)
### Question:
Which artist has a serial number of ATM24016?
### Answer:
SELECT artist FROM table_name_41 WHERE number = "atm24016"
|
Below is an context that describes a sql 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 (club VARCHAR, tries_for VARCHAR)
### Question:
Which of the participating clubs had 73 tries for?
### Answer:
SELECT club FROM table_name_73 WHERE tries_for = "73"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (cuts_made VARCHAR, top_5 VARCHAR, events VARCHAR)
### Question:
What is the sum of cuts made when the top-5 is 2, and there are 12 events?
### Answer:
SELECT COUNT(cuts_made) FROM table_name_45 WHERE top_5 = 2 AND events = 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_66 (winning_score VARCHAR, tournament VARCHAR)
### Question:
What was the winning score at Burdine's Invitational?
### Answer:
SELECT winning_score FROM table_name_66 WHERE tournament = "burdine's invitational"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (rank INTEGER, points INTEGER)
### Question:
Which Rank is the highest one that has Points smaller than 256.6?
### Answer:
SELECT MAX(rank) FROM table_name_98 WHERE points < 256.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_1341522_38 (status VARCHAR, first_elected VARCHAR)
### Question:
how many status with first elected being 1968
### Answer:
SELECT COUNT(status) FROM table_1341522_38 WHERE first_elected = 1968
|
Below is an context that describes a sql 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 (national_title VARCHAR, miss_international VARCHAR)
### Question:
What's the national title of miss international ikumi yoshimatsu?
### Answer:
SELECT national_title FROM table_name_11 WHERE miss_international = "ikumi yoshimatsu"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26240046_1 (season_3 INTEGER, played_by VARCHAR)
### Question:
How many season 3 appearances by the character played by Stefan Van Ray?
### Answer:
SELECT MIN(season_3) FROM table_26240046_1 WHERE played_by = "Stefan van Ray"
|
Below is an context that describes a sql 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 (loss VARCHAR, date VARCHAR)
### Question:
Who lost on May 31?
### Answer:
SELECT loss FROM table_name_94 WHERE date = "may 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_name_5 (blagojevich__d_ VARCHAR, source VARCHAR, topinka__r_ VARCHAR)
### Question:
Which Blagojevich (D) has a Source of zogby/wsj, and a Topinka (R) of 33.2%?
### Answer:
SELECT blagojevich__d_ FROM table_name_5 WHERE source = "zogby/wsj" AND topinka__r_ = "33.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_80 (film VARCHAR, director_s_ VARCHAR)
### Question:
What film was directed by Sandro Aguilar?
### Answer:
SELECT film FROM table_name_80 WHERE director_s_ = "sandro aguilar"
|
Below is an context that describes a sql 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 (vote_to_save VARCHAR, eviction_no VARCHAR, vote_to_evict VARCHAR)
### Question:
Which Vote to Save has an Eviction # smaller than 14, and a Vote to Evict of 5.42%?
### Answer:
SELECT vote_to_save FROM table_name_3 WHERE eviction_no < 14 AND vote_to_evict = "5.42%"
|
Below is an context that describes a sql 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 (killeen_rate INTEGER, crime VARCHAR, texas_rate VARCHAR, reported_offenses VARCHAR, us_rate VARCHAR)
### Question:
Reported Offenses larger than 216, and a U.S. Rate smaller than 3274, and a Texas Rate smaller than 2688.9, and a Crime of violent crime has what killeen rate?
### Answer:
SELECT SUM(killeen_rate) FROM table_name_8 WHERE reported_offenses > 216 AND us_rate < 3274 AND texas_rate < 2688.9 AND crime = "violent crime"
|
Below is an context that describes a sql 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 (report VARCHAR, circuit VARCHAR)
### Question:
What's the report for the mosport park circuit?
### Answer:
SELECT report FROM table_name_67 WHERE circuit = "mosport 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_25 (team_1 VARCHAR)
### Question:
What is the 1st round with fc nantes (d1) as team 1?
### Answer:
SELECT 1 AS st_round FROM table_name_25 WHERE team_1 = "fc nantes (d1)"
|
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
What tournament has q2 as the 2004?
### Answer:
SELECT tournament FROM table_name_66 WHERE 2004 = "q2"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13688489_1 (goals_olimpia INTEGER)
### Question:
What was the least amount for Goals Olimpia?
### Answer:
SELECT MIN(goals_olimpia) FROM table_13688489_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_24115349_4 (kennedy__percentage VARCHAR, coakley__percentage VARCHAR)
### Question:
What percentage did kennedy win while coakly won 37.9%
### Answer:
SELECT kennedy__percentage FROM table_24115349_4 WHERE coakley__percentage = "37.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_25519358_1 (vertical_0_b VARCHAR, name VARCHAR)
### Question:
Name the vertical for 边 bian
### Answer:
SELECT vertical_0_b FROM table_25519358_1 WHERE name = "边 BIAN"
|
Below is an context that describes a sql 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 (gold VARCHAR, bronze VARCHAR, total VARCHAR)
### Question:
What is the total number of gold medals of the nation with 1 bronze and less than 1 total medal?
### Answer:
SELECT COUNT(gold) FROM table_name_49 WHERE bronze = 1 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 table_12226390_7 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)
### Question:
Who was the writters for the episode directed by Richard L. Bare, no. 8 in season?
### Answer:
SELECT written_by FROM table_12226390_7 WHERE directed_by = "Richard L. Bare" AND no_in_season = 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_25 (tournament VARCHAR)
### Question:
What's the tournamnet name that has a 2001 of 1r and 2011?
### Answer:
SELECT tournament FROM table_name_25 WHERE 2001 = "1r" AND 2011 = "a"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (state VARCHAR, venue VARCHAR)
### Question:
Which state has the venue Tsukisamu dome?
### Answer:
SELECT state FROM table_name_30 WHERE venue = "tsukisamu dome"
|
Below is an context that describes a sql 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 (venue VARCHAR, opponent VARCHAR, round VARCHAR)
### Question:
What is the venue when Woking was the opponent, and the round was less than 29?
### Answer:
SELECT venue FROM table_name_28 WHERE opponent = "woking" AND round < 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_name_80 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
### Question:
What is the grid associated witha Time/Retired of +8.180 secs, and under 47 laps?
### Answer:
SELECT SUM(grid) FROM table_name_80 WHERE time_retired = "+8.180 secs" AND laps < 47
|
Below is an context that describes a sql 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 (unit VARCHAR, construction_started VARCHAR)
### Question:
Which Unit's Construction started on 01.07.1967?
### Answer:
SELECT unit FROM table_name_61 WHERE construction_started = "01.07.1967"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (points INTEGER, game VARCHAR, january VARCHAR)
### Question:
Which Points is the highest one that has a Game smaller than 43, and a January larger than 8?
### Answer:
SELECT MAX(points) FROM table_name_64 WHERE game < 43 AND january > 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_14 (established VARCHAR, nickname VARCHAR)
### Question:
What year was the team with the nickname pride established?
### Answer:
SELECT COUNT(established) FROM table_name_14 WHERE nickname = "pride"
|
Below is an context that describes a sql 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 (hand VARCHAR)
### Question:
What would be the 4 credits result of a straight?
### Answer:
SELECT 4 AS _credits FROM table_name_28 WHERE hand = "straight"
|
Below is an context that describes a sql 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 (time___et__ VARCHAR, week VARCHAR, opponent VARCHAR)
### Question:
What is the time of the game after week 4 against the Baltimore Ravens?
### Answer:
SELECT time___et__ FROM table_name_67 WHERE week > 4 AND opponent = "baltimore ravens"
|
Below is an context that describes a sql 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 (school_club_team_country VARCHAR, height_in_ft VARCHAR)
### Question:
Name the school/club team/country for the player that is 6-5 ft
### Answer:
SELECT school_club_team_country FROM table_name_11 WHERE height_in_ft = "6-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_78 (result VARCHAR, date VARCHAR)
### Question:
What is the Result of the game on November 24, 1946?
### Answer:
SELECT result FROM table_name_78 WHERE date = "november 24, 1946"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27539272_7 (points INTEGER, score VARCHAR)
### Question:
What are the most points scored in a game where the score was 1-2?
### Answer:
SELECT MAX(points) FROM table_27539272_7 WHERE score = "1-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_36 (release_date VARCHAR, title VARCHAR, developer VARCHAR, version VARCHAR, category VARCHAR)
### Question:
What Release date has a Version of 1.0, a Category of utilities, a Developer of microsoft, and a Title of msn money?
### Answer:
SELECT release_date FROM table_name_36 WHERE version = "1.0" AND category = "utilities" AND developer = "microsoft" AND title = "msn money"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20466963_9 (guest_3 VARCHAR, guest_1 VARCHAR)
### Question:
On episodes where guest 1 is Jim White, who was guest 3?
### Answer:
SELECT guest_3 FROM table_20466963_9 WHERE guest_1 = "Jim White"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (programming VARCHAR, channel INTEGER)
### Question:
For the channel smaller than 63.2, what was the programming?
### Answer:
SELECT programming FROM table_name_16 WHERE channel < 63.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_55 (number_of_contestants VARCHAR, international_destinations VARCHAR)
### Question:
What is Number of Contestants, when International Destinations is London Lisbon?
### Answer:
SELECT number_of_contestants FROM table_name_55 WHERE international_destinations = "london lisbon"
|
Below is an context that describes a sql 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 (location VARCHAR, branding VARCHAR)
### Question:
What's the location when the branding is 1116 DXAS Zamboanga?
### Answer:
SELECT location FROM table_name_89 WHERE branding = "1116 dxas zamboanga"
|
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR)
### Question:
What is Mark O'Meara's Score?
### Answer:
SELECT score FROM table_name_44 WHERE player = "mark o'meara"
|
Below is an context that describes a sql 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 (choreographer_s_ VARCHAR, style VARCHAR, partner VARCHAR)
### Question:
Who choreographed the smooth waltz with lacey schwimmer?
### Answer:
SELECT choreographer_s_ FROM table_name_94 WHERE style = "smooth waltz" AND partner = "lacey schwimmer"
|
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR)
### Question:
Who scored a 68?
### Answer:
SELECT player FROM table_name_96 WHERE score = 68
|
Below is an context that describes a sql 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 (third VARCHAR, runner_up VARCHAR, edition VARCHAR)
### Question:
I want to know the third with runner of paris saint-germain and edition less than 5
### Answer:
SELECT third FROM table_name_40 WHERE runner_up = "paris saint-germain" AND edition < 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 College (cName VARCHAR, enr VARCHAR, state VARCHAR)
### Question:
Find the names of either colleges in LA with greater than 15000 size or in state AZ with less than 13000 enrollment.
### Answer:
SELECT cName FROM College WHERE enr < 13000 AND state = "AZ" UNION SELECT cName FROM College WHERE enr > 15000 AND state = "LA"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10682862_68 (last_title INTEGER)
### Question:
In what year was the last last title received, by any of the countries?
### Answer:
SELECT MAX(last_title) FROM table_10682862_68
|
Below is an context that describes a sql 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 (no_in_season INTEGER, written_by VARCHAR)
### Question:
Which episode was the last written by chris hawkshaw this season?
### Answer:
SELECT MAX(no_in_season) FROM table_name_72 WHERE written_by = "chris hawkshaw"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27961684_1 (state VARCHAR, enrollment VARCHAR)
### Question:
How many states were there when there was an enrollment of 2789?
### Answer:
SELECT COUNT(state) FROM table_27961684_1 WHERE enrollment = 2789
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)
### Question:
Who is the outgoing manager when the date of vacancy is 13 october 2008?
### Answer:
SELECT outgoing_manager FROM table_name_19 WHERE date_of_vacancy = "13 october 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_name_68 (home_team VARCHAR, score VARCHAR, away_team VARCHAR)
### Question:
Which Home team has a Score of 1–1, and an Away team of tottenham hotspur?
### Answer:
SELECT home_team FROM table_name_68 WHERE score = "1–1" AND away_team = "tottenham hotspur"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1057262_2 (tasmania INTEGER)
### Question:
what's the minimum tasmania value
### Answer:
SELECT MIN(tasmania) FROM table_1057262_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_16 (player VARCHAR, position VARCHAR, years_in_toronto VARCHAR)
### Question:
Which Player's Position is guard and played in Toronto during the Years 2007-08?
### Answer:
SELECT player FROM table_name_16 WHERE position = "guard" AND years_in_toronto = "2007-08"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (all_games VARCHAR, nonconference_games VARCHAR)
### Question:
Which All Games have a Nonconference Games of 1–10?
### Answer:
SELECT all_games FROM table_name_93 WHERE nonconference_games = "1–10"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (date_made VARCHAR, fleet_numbers VARCHAR)
### Question:
What is the date made that has an associated fleet number of 4?
### Answer:
SELECT date_made FROM table_name_99 WHERE fleet_numbers = "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 (enrollment VARCHAR, university VARCHAR)
### Question:
What was the university of akron's enrollment?
### Answer:
SELECT enrollment FROM table_name_35 WHERE university = "university of akron"
|
Below is an context that describes a sql 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 (event VARCHAR, round VARCHAR, method VARCHAR)
### Question:
What is the event of the match with a round larger than 2 and ended with a method of ko (kick)?
### Answer:
SELECT event FROM table_name_39 WHERE round > 2 AND method = "ko (kick)"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1301373_1 (founded VARCHAR, captain VARCHAR)
### Question:
When was the team, whose captain is Matt Smith, founded?
### Answer:
SELECT founded FROM table_1301373_1 WHERE captain = "Matt Smith"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1594772_2 (team__b_ VARCHAR, match_date VARCHAR)
### Question:
Name the team for oct 30, 1989
### Answer:
SELECT team__b_ FROM table_1594772_2 WHERE match_date = "Oct 30, 1989"
|
Below is an context that describes a sql 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 (crew_chief VARCHAR, team VARCHAR)
### Question:
Who was the crew chief for the team from Make Motorsports?
### Answer:
SELECT crew_chief FROM table_name_73 WHERE team = "make motorsports"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18428024_3 (original_air_date VARCHAR, no_in_series VARCHAR)
### Question:
What is the original air date in series 360?
### Answer:
SELECT COUNT(original_air_date) FROM table_18428024_3 WHERE no_in_series = 360
|
Below is an context that describes a sql 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 (entrant VARCHAR, engine VARCHAR, points VARCHAR)
### Question:
Which Entrant has an Engine of climax straight-4, and Points larger than 0?
### Answer:
SELECT entrant FROM table_name_44 WHERE engine = "climax straight-4" AND points > 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_19412902_1 (group_stage VARCHAR, play_off VARCHAR, clubs VARCHAR)
### Question:
which group stage was there 0 play-offs and 12 clubs played in it
### Answer:
SELECT COUNT(group_stage) FROM table_19412902_1 WHERE play_off = 0 AND clubs = 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_27003223_4 (registered_voters VARCHAR, d_r_spread VARCHAR)
### Question:
What is the percentage of registered voters in which the d-r spread is +14.3%?
### Answer:
SELECT registered_voters FROM table_27003223_4 WHERE d_r_spread = "+14.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_92 (championships INTEGER, established VARCHAR)
### Question:
How many championships did the team or teams established in 1976 win?
### Answer:
SELECT SUM(championships) FROM table_name_92 WHERE established = 1976
|
Below is an context that describes a sql 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 (ligue_1_titles INTEGER, position_in_2012_13 VARCHAR, number_of_seasons_in_ligue_1 VARCHAR)
### Question:
I want to know the lowest ligue 1 titles for position in 2012-13 of 010 12th and number of seasons in ligue 1 more than 56
### Answer:
SELECT MIN(ligue_1_titles) FROM table_name_80 WHERE position_in_2012_13 = "010 12th" AND number_of_seasons_in_ligue_1 > 56
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (batting_style VARCHAR, player VARCHAR)
### Question:
What batting style does player Shahid Afridi have?
### Answer:
SELECT batting_style FROM table_name_88 WHERE player = "shahid afridi"
|
Below is an context that describes a sql 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 (professional_partner VARCHAR, season VARCHAR)
### Question:
Who was the professional partner in season 4?
### Answer:
SELECT professional_partner FROM table_name_29 WHERE season = 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_67 (fcc_info VARCHAR, erp_w VARCHAR)
### Question:
Which FCC info has an ERP W of 100 watts?
### Answer:
SELECT fcc_info FROM table_name_67 WHERE erp_w = "100 watts"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16642_1 (islam VARCHAR, ethnicity VARCHAR)
### Question:
When tajik is the ethnicity what is islam?
### Answer:
SELECT islam FROM table_16642_1 WHERE ethnicity = "Tajik"
|
Below is an context that describes a sql 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 (week INTEGER, attendance INTEGER)
### Question:
Which Week has an Attendance larger than 65,070?
### Answer:
SELECT MAX(week) FROM table_name_57 WHERE attendance > 65 OFFSET 070
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28768469_10 (date VARCHAR, location_attendance VARCHAR)
### Question:
The location attendance is ford center 17,021 on what dates?
### Answer:
SELECT date FROM table_28768469_10 WHERE location_attendance = "Ford Center 17,021"
|
Below is an context that describes a sql 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 (points INTEGER, player VARCHAR, goals VARCHAR)
### Question:
What is Ivan Ciernik's average points with less than 11 goals?
### Answer:
SELECT AVG(points) FROM table_name_29 WHERE player = "ivan ciernik" AND goals < 11
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.